float128: Extend the power of ten tables
[glibc.git] / ChangeLog
blob742e492909c06ed274a1163e5b6e0e8539fc2602
1 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * stdlib/fpioconst.h: Include bits/floatn.h.
4         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
5         power of ten table should be.
6         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
7         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
8         to include larger tables when _Float128 support is enabled.
9         (_fpioconst_pow10): Likewise.
11 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
13         * include/bits/types/clock_t.h: Use #include <path> instead of
14         #include "../../path".
15         * include/bits/types/clockid_t.h: Likewise.
16         * include/bits/types/struct_iovec.h: Likewise.
17         * include/bits/types/struct_itimerspec.h: Likewise.
18         * include/bits/types/struct_osockaddr.h: Likewise.
19         * include/bits/types/struct_sigstack.h: Likewise.
20         * include/bits/types/struct_timespec.h: Likewise.
21         * include/bits/types/struct_timeval.h: Likewise.
22         * include/bits/types/struct_tm.h: Likewise.
23         * include/bits/types/time_t.h: Likewise.
24         * include/bits/types/timer_t.h: Likewise.
26         [BZ #14096]
27         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
28         America/New_York.
30 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
32         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
33         into ...
34         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
35         ifunc-sse4_1.h.
37 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
39         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
40         Remove check for NULL 'buf'.
41         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
43 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
45         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
46         include test-skeleton.c.
47         Include support/check.h and support/test-driver.c.
49 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
51         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
52         (_dl_aarch64_cap_flags): New array.
53         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
54         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
55         functions.
57         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
58         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
59         Likewise.
60         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
61         up hwcap and hwcap_mask.
63         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
64         (init_cpu_features): Use glibc.tune.hwcap_mask.
65         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
67         * elf/dl-hwcaps.h: New file.
68         * elf/dl-hwcaps.c: Include it.
69         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
70         glibc.tune.hwcap_mask.
71         * elf/dl-cache.c: Include dl-hwcaps.h.
72         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
73         glibc.tune.hwcap_mask.
74         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
76         _dl_hwcap_mask.
77         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
78         _dl_hwcap_mask.
79         (process_envvars)[HAVE_TUNABLES]: Likewise.
80         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
81         Likewise.
82         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
83         initialize dl_hwcap_mask when tunables are enabled.
85         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
86         guard.
87         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
89         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
90         * scripts/gen-tunables.awk: Include dl-procinfo.h.
91         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
93         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
94         * elf/dl-tunables.c: Likewise.
95         (do_tunable_update_val): New function.
96         (__tunable_set_val): New function.
97         (__tunable_get_val): Call CB only if the tunable was externally
98         initialized.
99         (tunables_strtoul): Replace strval with initialized.
100         * elf/dl-tunables.h (strval): Replace with a bool initialized.
101         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
102         prevent collision.
103         (__tunable_set_val): New function.
104         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
105         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
106         (TUNABLE_SET_VAL): Remove.
107         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
108         * README.tunables: Document the new macros.
109         * malloc/arena.c (ptmalloc_init): Adjust.
111 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
114         wcsnlen-sse4_1 and wcsnlen-c.
115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
116         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
117         __wcsnlen_sse2.
118         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
119         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
120         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
121         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
122         * sysdeps/x86_64/wcsnlen.S: Removed.
124 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
126         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
127         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
128         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
129         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
131 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
133         * NEWS: Mention new spinlock implementation.
134         * include/atomic.h:
135         (__atomic_val_bysize): Cast type to omit volatile qualifier.
136         (atomic_exchange_acq): Likewise.
137         (atomic_load_relaxed): Likewise.
138         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
139         * nptl/pthread_spin_init.c (pthread_spin_init):
140         Use atomic_store_relaxed.
141         * nptl/pthread_spin_lock.c (pthread_spin_lock):
142         Use C11-like atomic macros.
143         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
144         Likewise.
145         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
146         Use atomic_store_release.
147         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
148         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
149         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
150         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
151         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
152         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
153         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
154         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
155         * sysdeps/alpha/atomic-machine.h: Likewise.
156         * sysdeps/arm/atomic-machine.h: Likewise.
157         * sysdeps/i386/atomic-machine.h: Likewise.
158         * sysdeps/ia64/atomic-machine.h: Likewise.
159         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
160         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
161         * sysdeps/microblaze/atomic-machine.h: Likewise.
162         * sysdeps/mips/atomic-machine.h: Likewise.
163         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
164         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
165         * sysdeps/s390/atomic-machine.h: Likewise.
166         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
167         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
168         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
169         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
170         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
171         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
172         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
173         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
174         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
175         * sysdeps/x86_64/atomic-machine.h: Likewise.
177 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
179         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
180         and use it instead of dl_x86_cpu_features.
181         (handle_intel): Replace maxidx with cpu_features.  Pass
182         cpu_features to intel_check_word.
183         (__cache_sysconf): Pass cpu_features to handle_intel.
184         (init_cacheinfo): Likewise.  Use cpu_features instead of
185         dl_x86_cpu_features.
187 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
189         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
191         memcmp-avx2 and wmemcmp-avx2.
192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
193         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
194         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
195         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
196         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
197         2 machines if AVX unaligned load is fast and vzeroupper is
198         preferred.
199         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
200         2 machines if AVX unaligned load is fast and vzeroupper is
201         preferred.
203 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
205         * include/wchar.h (__wmemset_chk): New.
206         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
207         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
208         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
209         (WMEMSET_CHK_SYMBOL): Likewise.
210         (WMEMSET_SYMBOL): Likewise.
211         (__wmemset): Add hidden definition.
212         (wmemset): Add weak hidden definition.
213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
214         wmemset_chk-nonshared.
215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
216         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
217         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
218         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
219         and __wmemset_chk_avx512_unaligned.
220         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
221         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
222         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
223         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
224         (WMEMSET_SYMBOL): Likewise.
225         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
226         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
227         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
228         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
229         (WMEMSET_SYMBOL): Likewise.
230         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
231         (WMEMSET_CHK_SYMBOL): New.
232         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
233         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
234         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
235         (libc_hidden_builtin_def): Also define __GI_wmemset and
236         __GI___wmemset.
237         (weak_alias): New.
238         * sysdeps/x86_64/multiarch/wmemset.c: New file.
239         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
240         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
241         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
242         * sysdeps/x86_64/wmemset.c: Likewise.
243         * sysdeps/x86_64/wmemset_chk.c: Likewise.
245 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
246             H.J. Lu  <hongjiu.lu@intel.com>
248         * sysdeps/x86/init-arch.h (PASTER1): New.
249         (EVALUATOR1): Likewise.
250         (PASTER2): Likewise.
251         (EVALUATOR2): Likewise.
252         (REDIRECT_NAME): Likewise.
253         (OPTIMIZE): Likewise.
254         (IFUNC_SELECTOR): Likewise.
256 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
258         * sysdeps/x86_64/strlen.S (PMINU): New.
259         (PCMPEQ): Likewise.
260         (SHIFT_RETURN): Likewise.
261         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
262         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
263         pminub with PCMPEQ and PMINU.
264         * sysdeps/x86_64/wcsnlen.S: New file.
266 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
268         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
269         the lower 32 bits.  Remove redundant instructions.
271 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
274         0 as the high part of offset.
275         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
277 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
279         [BZ #21538]
280         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
281         [__USE_UNIX98].
282         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
283         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
284         Likewise.
285         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
286         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
287         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
288         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
289         Likewise.
291         [BZ #21517]
292         * bits/types/stack_t.h (stack_t): Remove struct tag.
293         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
294         Likewise.
295         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
296         Likewise.
297         * debug/segfault.c (install_handler): Use stack_t instead of
298         struct sigaltstack.
299         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
300         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
301         * include/signal.h (__sigaltstack): Likwise.
302         * signal/sigaltstack.c (__sigaltstack): Likewise.
303         * signal/signal.h (sigaltstack): Likewise.
304         * sysdeps/mach/hurd/i386/signal-defines.sym
305         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
306         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
307         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
308         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
309         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
310         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
311         elf_prstatus): Likewise.
312         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
313         Likewise.
314         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
315         Likewise.
316         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
317         Likewise.
318         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
319         elf_prstatus): Likewise.
320         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
321         Likewise.
322         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
323         Likewise.
325 2017-06-04  Zack Weinberg  <zackw@panix.com>
327         * sysdeps/gnu/errlist.c: Regenerate.
329 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
331         * benchtests/bench-memchr.c (do_test): Print out both length
332         and position.
333         (test_main): Also test the position close to the beginning for
334         memrchr.
336 2017-06-04  Zack Weinberg  <zackw@panix.com>
338         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
339         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
340         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
341         * nis/nis_destroygroup.c, nis/nis_domain_of.c
342         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
343         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
344         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
345         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
346         * nis/nis_print_group_entry.c, nis/nis_remove.c
347         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
348         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
349         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
350         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
351         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
352         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
353         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
354         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
355         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
356         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
357         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
358         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
359         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
360         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
361         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
362         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
363         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
364         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
365         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
366         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
368         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
369         abi-versions.h as well as shlib-compat.h.
370         * sunrpc/get_myaddr.c: Remove obsolete comment.
371         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
372         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
373         * resolv/res_libc.c: Include shlib-compat.h only once.
375 2017-06-03  Florian Weimer  <fweimer@redhat.com>
377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
378         of strdup.
380 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
382         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
383         Set to the 3/4 of the total shared cache size.
385 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
387         * manual/errno.texi: Remove redundant error strings.
388         * manual/macros.texi (@errno): Render the error string in every
389         description.
391 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
393         [BZ #21543]
394         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
395         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
396         [__USE_XOPEN_EXTENDED].
398 2017-06-02  Florian Weimer  <fweimer@redhat.com>
400         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
401         strdupa.
402         (getcanonname): Use __strdup instead of strdup.
404 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
406         * misc/Makefile (CFLAGS-preadv2.c): New rule.
407         (CFLAGS-preadv64v2.c): Likewise.
408         (CFLAGS-pwritev2.c): Likewise.
409         (CFLAGS-pwritev64v2.c): Likewise.
411 2017-06-02  Florian Weimer  <fweimer@redhat.com>
413         Test res_init with several configuration files.
414         * resolv/Makefile [build-shared] (tests-internal): Add
415         tst-resolv-res_init, tst-resolv-res_init-thread.
416         (tst-resolv-res_init): Link against libdl, libresolv.
417         (tst-resolv-res_init-thread): Link against libdl, libresolv,
418         libpthread.
419         * resolv/tst-resolv-res_init.c: New file.
420         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
421         * resolv/tst-resolv-res_init-thread.c: Likewise.
422         * support/Makefile (libsupport-routines): Add support-xstat,
423         support_can_chroot, support_capture_subprocess_check,
424         support_isolate_in_subprocess, support_shared_allocate,
425         support_write_file_string, xchroot, xmkdir, xopen.
426         * support/capture_subprocess.h (enum support_capture_allow): Define.
427         (support_capture_subprocess_check): Declare.
428         * support/namespace.h (support_can_chroot)
429         (support_isolate_in_subprocess): Declare.
430         * support/support-xstat.c: New file.
431         * support/support.h (support_shared_allocate, support_shared_free)
432         (support_write_file_string): Declare.
433         * support/support_can_chroot.c: New file.
434         * support/support_capture_subprocess_check.c: Likewise.
435         * support/support_isolate_in_subprocess.c: Likewise.
436         * support/support_shared_allocate.c: Likewise.
437         * support/support_write_file_string.c: Likewise.
438         * support/xchroot.c: Likwise.
439         * support/xmkdir.c: Likwise.
440         * support/xopen.c: Likwise.
441         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
443 2017-06-02  Florian Weimer  <fweimer@redhat.com>
445         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
446         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
448 2017-06-02  Florian Weimer  <fweimer@redhat.com>
450         * malloc/Makefile (routines): Add dynarray_at_failure,
451         dynarray_emplace_enlarge, dynarray_finalize.
452         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
453         tst-dynarray-at-fail.
454         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
455         (tests-special): Add tst-dynarray-mem.out,
456         tst-dynarray-mem-fail.out.
457         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
458         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
459         mtrace.
460         * malloc/Versions (__libc_dynarray_at_failure)
461         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
462         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
463         GLIBC_PRIVATE.
464         * malloc/dynarray.h: New file.
465         * malloc/dynarray-skeleton.c: Likewise.
466         * malloc/dynarray_at_failure.c: Likewise.
467         * malloc/dynarray_emplace_enlarge.c: Likewise.
468         * malloc/dynarray_finalize.c: Likewise.
469         * malloc/dynarray_resize.c: Likewise.
470         * malloc/dynarray_resize_clear.c: Likewise.
471         * malloc/tst-dynarray.c: Likewise.
472         * malloc/tst-dynarray-fail.c: Likewise.
473         * malloc/tst-dynarray-at-fail.c: Likewise.
474         * malloc/tst-dynarray-shared.h: Likewise.
475         * support/Makefile (libsupport-routines): Add
476         support_capture_subprocess, xdup2, xpipe.
477         (tests): Add tst-support_capture_subprocess.
478         * support/capture_subprocess.h: New file.
479         * support/support_capture_subprocess.c: Likewise.
480         * support/tst-support_capture_subprocess.c: Likewise.
481         * support/xdup2.c: Likewise.
482         * support/xpipe.c: Likewise.
483         * support/xunistd.h (xdup2, xpipe): Declare.
485 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
487         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
488         macros MAX and MIN.
490 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
492         * conform/data/signal.h-data (sa_sigaction): Do not expect for
493         [XPG4].
494         (SA_SIGINFO): Likewise.
495         (SA_ONSTACK): Likewise.
496         (SA_RESETHAND): Likewise.
497         (SA_RESTART): Likewise.
498         (SA_NOCLDWAIT): Likewise.
499         (SA_NODEFER): Likewise.
500         (SS_ONSTACK): Likewise.
501         (SS_DISABLE): Likewise.
502         (MINSIGSTKSZ): Likewise.
503         (SIGSTKSZ): Likewise.
504         (ucontext_t): Likewise.
505         (stack_t): Likewise.
506         (struct sigstack): Likewise.
507         (SI_USER): Do not expect for [XPG4 || XPG42].
508         (SI_QUEUE): Likewise.
509         (SI_TIMER): Likewise.
510         (SI_ASYNCIO): Likewise.
511         (SI_MESGQ): Likewise.
512         (bsd_signal): Do not expect for [XPG4].
513         (killpg): Likewise.
514         (sigaltstack): Likewise.
515         (sighold): Likewise.
516         (sigignore): Likewise.
517         (siginterrupt): Likewise.
518         (sigpause): Likewise.
519         (sigrelse): Likewise.
520         (sigset): Likewise.
521         (sigwait): Do not expect for [XPG4 || XPG42].
523 2017-06-01  Zack Weinberg  <zackw@panix.com>
525         [BZ #21514]
526         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
527         pointing to the generated file in <builddir>/misc/bits/syscall.h.
529 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
531         [BZ #21457]
532         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
533         NGREG to __NGREG if [__USE_MISC].
534         (gregset_t): Define using __NGREG.
535         (__ctx): New macro.
536         (mcontext_t): Use __ctx in defining fields.
537         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
538         define NGREG to __NGREG if [__USE_MISC].
539         (gregset_t): Define using __NGREG.
540         (__ctx): New macro.
541         (__ctxt): Likewise.
542         (fpregset_t): Use __ctx and __ctxt in defining fields.
543         (mcontext_t): Likewise.
544         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
545         define NGREG to __NGREG if [__USE_MISC].
546         (gregset_t): Define using __NGREG.
547         (__ctx): New macro.
548         (mcontext_t): Use __ctx in defining fields.
549         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
550         define NGREG to __NGREG if [__USE_MISC].
551         (gregset_t): Define using __NGREG.
552         (__ctx): New macro.
553         (fpregset_t): Use __ctx in defining fields.
554         (mcontext_t): Likewise.
555         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
556         __NGREG and define NGREG to __NGREG if [__USE_MISC].
557         (gregset_t): Define using __NGREG.
558         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
559         [__USE_MISC].
560         (fpregset_t): Define using __NFPREG.
561         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
562         __NGREG and define NGREG to __NGREG if [__USE_MISC].
563         (gregset_t): Define using __NGREG.
564         (__ctx): New macro.
565         (fpregset_t): Use __ctx in defining fields.
566         (mcontext_t): Likewise.
567         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
568         __NGREG and define NGREG to __NGREG if [__USE_MISC].
569         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
570         [__USE_MISC].
571         (gregset_t): Define using __NGREG.
572         (__ctx): New macro.
573         (fpregset_t): Use __ctx in defining fields.
574         (mcontext_t): Likewise.
575         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
576         (mcontext_t): Use __ctx in defining fields.
577         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
578         macro.
579         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
580         __NGREG if [__USE_MISC].
581         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
582         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
583         (mcontext_t): Likewise.
584         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
585         __NGREG if [__USE_MISC].
586         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
587         to __NFPREG if [__USE_MISC].
588         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
589         to __NVRREG if [__USE_MISC].
590         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
591         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
592         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
593         [__WORDSIZE != 32] (vrregset_t): Likewise.
594         [__WORDSIZE != 32] (mcontext_t): Likewise.
595         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
596         (__psw_t): Use __ctx in defining fields.
597         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
598         [__USE_MISC].
599         (gregset_t): Define using __NGREG.
600         (fpreg_t): Use __ctx in defining fields.
601         (fpregset_t): Likewise.
602         (mcontext_t): Likewise.
603         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
604         __NGREG and define NGREG to __NGREG if [__USE_MISC].
605         (gregset_t): Define using __NGREG.
606         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
607         [__USE_MISC].
608         (fpregset_t): Define using __NFPREG.
609         (__ctx): New macro.
610         (mcontext_t): Use __ctx in defining fields.
611         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
612         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
613         __NGREG if [__USE_MISC].
614         [__x86_64__] (gregset_t): Define using __NGREG.
615         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
616         [__x86_64__] (struct _libc_fpstate): Likewise.
617         [__x86_64__] (mcontext_t): Likewise.
618         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
619         __NGREG if [__USE_MISC].
620         [!__x86_64__] (gregset_t): Define using __NGREG.
621         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
622         [!__x86_64__] (struct _libc_fpstate): Likewise.
623         [!__x86_64__] (mcontext_t): Likewise.
625 2017-06-01  Zack Weinberg  <zackw@panix.com>
627         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
628         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
629         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
630         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
631         libpthread.so no longer references __errno_location.
633 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
635         * NEWS: Add note about pwritev2 and preadv2 inclusion.
636         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
637         pwritev64v2.
638         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
639         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
640         pwritev64v2.
641         * misc/preadv2.c: New file.
642         * misc/preadv64v2.c: Likewise.
643         * misc/pwritev2.c: Likewise.
644         * misc/pwritev64v2.c: Likewise.
645         * misc/tst-preadvwritev2.c: Likewise.
646         * misc/tst-preadvwritev64v2.c: Likewise.
647         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
648         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
649         prototype.
650         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
651         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
652         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
653         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
654         (PWRITEV): Likewise.
655         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
656         ENOSYS.
657         * nptl/tst-cancel4.c (tf_pwritev2): New test.
658         (tf_preadv2): Likewise.
659         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
660         * sysdeps/posix/preadv2.c: Likewise.
661         * sysdeps/posix/preadv64v2.c: Likewise.
662         * sysdeps/posix/pwritev2.c: Likewise.
663         * sysdeps/posix/pwritev64v2.c: Likewise.
664         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
665         support in kernel.
666         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
667         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
668         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
669         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
670         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
671         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
672         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
673         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
674         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
675         support flags on Linux.
676         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
677         preadv2, preadv64v2, pwritev2, pwritev64v2.
678         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
679         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
680         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
681         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
682         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
683         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
684         Likewise.
685         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
686         Likewise.
687         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
688         Likewise.
689         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
690         Likewise.
691         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
692         Likewise.
693         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
694         Likewise.
695         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
696         Likewise.
697         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
699         (GLIBC_2.26): Likewise.
700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
701         (GLIBC_2.26): Likewise.
702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
703         Likewise.
704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
705         (GLIBC_2.26): Likewise.
706         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
707         Likewise.
708         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
709         Likewise.
710         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
711         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
712         Likewise.
713         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
714         Likewise.
715         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
716         Likewise.
717         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
718         Likewise.
719         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
720         Likewise.
721         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
722         Likewise.
723         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
724         Likewise.
726 2017-05-31  Andreas Schwab  <schwab@suse.de>
728         * nptl/tst-fork3.c: Include <support/test-driver.c>.
729         (main): Rename to do_test and make static.
731 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
733         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
734         ARCH_INIT_CPU_FEATURES.
735         (LIBC_START_MAIN): Call it.
736         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
737         (__libc_start_main): Remove.
738         (ARCH_INIT_CPU_FEATURES): New macro.
739         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
740         (ARCH_INIT_CPU_FEATURES): New macro.
742 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
743             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
745         * include/stdlib.h (__libc_reallocarray): New declaration.
746         * malloc/Makefile (routines): Add reallocarray.
747         (tests): Add tst-reallocarray.c.
748         * malloc/Versions: Add reallocarray and __libc_reallocarray.
749         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
750         function.
751         * malloc/malloc.h (reallocarray): New declaration.
752         * stdlib/stdlib.h (reallocarray): Likewise.
753         * malloc/reallocarray.c: New file.
754         * malloc/tst-reallocarray.c: New test file.
755         * manual/memory.texi: Document reallocarray.
756         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
757         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
760         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
761         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
762         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
763         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
764         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
765         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
766         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
767         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
769         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
771         Likewise.
772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
773         Likewise.
774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
776         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
777         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
778         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
779         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
780         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
783         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
784         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
785         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
787 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
789         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
790         the lower 32 bits.
792 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
794         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
795         $(build-pie-default) = yes]: Define.
797 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
799         * string/test-memchr.c (test_main): Add tests for n == 0.
801 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
803         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
804         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
805         (tests-internal): ... here.
807 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
808              H.J. Lu  <hongjiu.lu@intel.com>
810         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
811         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
812         (__tunable_set_val): Likewise.
814 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
816         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
817         dl-tunables.list in subdirectories.
819 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
820             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
821             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
823         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
824         (SNANF128): New macro.
825         * math/e_sqrtf128.c: New file.
826         * math/s_fmaxmag_template.c: Include math_private.h in order to
827         make inline expansion of fabs128().
828         * math/s_fminmag_template.c: Likewise.
830         * sysdeps/ieee754/float128/e_acosf128.c: New file.
831         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
832         * sysdeps/ieee754/float128/e_asinf128.c: New file.
833         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
834         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
835         * sysdeps/ieee754/float128/e_coshf128.c: New file.
836         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
837         * sysdeps/ieee754/float128/e_expf128.c: New file.
838         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
839         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
840         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
841         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
842         * sysdeps/ieee754/float128/e_j0f128.c: New file.
843         * sysdeps/ieee754/float128/e_j1f128.c: New file.
844         * sysdeps/ieee754/float128/e_jnf128.c: New file.
845         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
846         * sysdeps/ieee754/float128/e_log10f128.c: New file.
847         * sysdeps/ieee754/float128/e_log2f128.c: New file.
848         * sysdeps/ieee754/float128/e_logf128.c: New file.
849         * sysdeps/ieee754/float128/e_powf128.c: New file.
850         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
851         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
852         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
853         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
854         * sysdeps/ieee754/float128/float128_private.h: New file.
855         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
856         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
857         * sysdeps/ieee754/float128/k_cosf128.c: New file.
858         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
859         * sysdeps/ieee754/float128/k_sinf128.c: New file.
860         * sysdeps/ieee754/float128/k_tanf128.c: New file.
861         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
862         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
863         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
864         * sysdeps/ieee754/float128/s_atanf128.c: New file.
865         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
866         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
867         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
868         * sysdeps/ieee754/float128/s_cosf128.c: New file.
869         * sysdeps/ieee754/float128/s_erff128.c: New file.
870         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
871         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
872         * sysdeps/ieee754/float128/s_finitef128.c: New file.
873         * sysdeps/ieee754/float128/s_floorf128.c: New file.
874         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
875         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
876         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
877         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
878         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
879         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
880         * sysdeps/ieee754/float128/s_isinff128.c: New file.
881         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
882         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
883         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
884         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
885         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
886         * sysdeps/ieee754/float128/s_logbf128.c: New file.
887         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
888         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
889         * sysdeps/ieee754/float128/s_modff128.c: New file.
890         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
891         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
892         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
893         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
894         * sysdeps/ieee754/float128/s_remquof128.c: New file.
895         * sysdeps/ieee754/float128/s_rintf128.c: New file.
896         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
897         * sysdeps/ieee754/float128/s_roundf128.c: New file.
898         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
899         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
900         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
901         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
902         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
903         * sysdeps/ieee754/float128/s_significandf128.c: New file.
904         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
905         * sysdeps/ieee754/float128/s_sinf128.c: New file.
906         * sysdeps/ieee754/float128/s_tanf128.c: New file.
907         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
908         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
909         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
910         * sysdeps/ieee754/float128/s_truncf128.c: New file.
911         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
912         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
913         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
914         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
916         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
917         (__iscanonicalf128): Define as a macro.
919 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
921         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
922         (memmove): Use MEMMOVE for name.
923         (memcpy): Use MEMCPY for name.  Change internal labels
924         to external labels.
925         * sysdeps/aarch64/multiarch/Makefile: New file.
926         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
927         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
928         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
929         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
930         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
931         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
933 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
935         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
936         (_dl_arm_cap_flags): Fix array subscript.
937         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
938         Fix count.
940 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
942         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
944 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
946         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
947         (is_amd): Likewise.
948         (max_cpuid): Likewise.
949         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
950         (init_cacheinfo): Likewise.
952 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
954         [BZ #21511]
955         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
956         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
957         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
958         !__USE_XOPEN2K) || __USE_MISC].
959         * conform/data/signal.h-data (struct sigstack): Expect type only
960         if [!XOPEN2K8 && !POSIX2008].
961         (sigstack): Expect function only if [XPG42 || UNIX98].
963         [BZ #21457]
964         * sysdeps/arm/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/generic/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/i386/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/m68k/sys/ucontext.h: Do not include <signal.h>,
980         <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/mips/sys/ucontext.h: Do not include <signal.h>,
985         <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/aarch64/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/alpha/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/arm/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> instead of
1002         <bits/types/__sigset_t.h>.
1003         (ucontext_t): Use sigset_t instead of __sigset_t.
1004         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1005         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1006         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1007         <bits/types/__sigset_t.h>.
1008         (ucontext_t): Use sigset_t instead of __sigset_t.
1009         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1010         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1011         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
1012         * sysdeps/unix/sysv/linux/m68k/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/mips/sys/ucontext.h: Do not include
1018         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1019         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1020         <bits/types/__sigset_t.h>.
1021         (ucontext_t): Use sigset_t instead of __sigset_t.
1022         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1023         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1024         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1025         <bits/types/__sigset_t.h>.
1026         (ucontext_t): Use sigset_t instead of __sigset_t.
1027         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1028         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1029         <bits/ss_flags.h>.
1030         * sysdeps/unix/sysv/linux/s390/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/sh/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/sparc/sys/ucontext.h: Do not include
1041         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1042         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1043         <bits/types/__sigset_t.h>.
1044         (ucontext_t): Use sigset_t instead of __sigset_t.
1045         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1046         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1047         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1048         <bits/types/__sigset_t.h>.
1049         (ucontext_t): Use sigset_t instead of __sigset_t.
1050         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
1051         <bits/types.h>.
1052         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1053         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1054         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1055         <bits/types/__sigset_t.h>.
1056         (ucontext_t): Use sigset_t instead of __sigset_t.
1058 2017-05-22  Zack Weinberg  <zackw@panix.com>
1060         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1061         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
1062         bits/siginfo-arch.h, only if not already defined.
1063         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1064         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
1065         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
1066         Likewise.
1068         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1069         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1070         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1071         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1072         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1073         Unconditionally define __SI_* macros.
1075 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1077         [BZ #21393]
1078         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
1079         and add a check for dup3 failure.
1080         * libio/freopen64.c (freopen64): Likewise.
1081         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
1082         libsupport.
1083         (do_test_bz21398): New test.
1084         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
1086 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1088         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1089         Remove invalid comment.
1091 2017-05-21  Zack Weinberg  <zackw@panix.com>
1093         * signal/Makefile (headers): Add bits/types/sigval_t.h.
1095 2017-05-20  Zack Weinberg  <zackw@panix.com>
1097         * bits/sigevent-consts.h
1098         * bits/siginfo-consts.h
1099         * bits/types/__sigset_t.h
1100         * bits/types/sigevent_t.h
1101         * bits/types/siginfo_t.h
1102         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
1103         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1104         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
1105         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
1106         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
1107         New system-dependent bits headers.
1109         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
1110         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
1111         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1112         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
1113         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1114         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1115         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1116         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
1117         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1118         New Linux-only system-dependent bits headers.
1120         * signal/bits/types/sig_atomic_t.h
1121         * signal/bits/types/sigset_t.h
1122         * signal/bits/types/sigval_t.h:
1123         New non-system-dependent bits headers.
1125         * sysdeps/generic/sigsetops.h
1126         * sysdeps/unix/sysv/linux/sigsetops.h:
1127         New internal headers.
1129         * include/bits/types/sig_atomic_t.h
1130         * include/bits/types/sigset_t.h
1131         * include/bits/types/sigval_t.h:
1132         New wrappers.
1134         * signal/sigsetops.h
1135         * bits/siginfo.h
1136         * bits/sigset.h
1137         * sysdeps/unix/sysv/linux/bits/siginfo.h
1138         * sysdeps/unix/sysv/linux/bits/sigset.h
1139         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
1140         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
1141         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
1142         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
1143         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
1144         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
1145         Deleted.
1147         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
1148         Update lists of installed headers.
1150         * posix/bits/types.h: Define __sig_atomic_t here.
1151         * signal/signal.h: Use the new bits headers; no need to handle
1152         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
1153         to define sigmask.
1154         * include/signal.h: No need to handle __need_sig_atomic_t
1155         nor __need_sigset_t.  Don't define __sigemptyset.
1157         * io/sys/poll.h, setjmp/setjmp.h
1158         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
1159         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
1160         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1161         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
1162         * sysdeps/pthread/bits/sigthread.h
1163         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1164         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1165         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1166         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1167         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1168         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1169         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1170         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1171         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1172         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1173         Use bits/types/__sigset_t.h.
1175         * misc/sys/select.h, posix/spawn.h
1176         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1177         * sysdeps/unix/sysv/linux/sys/epoll.h
1178         * sysdeps/unix/sysv/linux/sys/signalfd.h:
1179         Use bits/types/sigset_t.h.
1181         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1182         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1183         * socket/sys/socket.h: Don't include bits/sigset.h.
1185         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1186         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1187         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1188         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1189         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1190         * sysdeps/unix/sysv/linux/nptl-signals.h:
1191         Include sigsetops.h.
1193         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1194         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1195         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1196         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
1197         now return no value.
1199         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
1200         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
1201         "sigsetops.h".
1203         * signal/sigsetops.c: Explicitly define __sigismember,
1204         __sigaddset, and __sigdelset as compatibility symbols.
1206         * signal/Versions: Correct commentary on __sigpause,
1207         __sigaddset, __sigdelset, __sigismember.
1209         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
1210         __sigblock/__sigsetmask to use __sigprocmask and friends.
1212         * resolv/resolv.h: Remove __need_res_state logic.
1213         Move definition of res_state and related constants to ...
1214         * resolv/bits/types/res_state.h: ...this new file.
1215         * resolv/Makefile: Install bits/types/res_state.h.
1216         * include/bits/types/res_state.h: New wrapper.
1217         * include/list.h: Remove __need_list_t logic.
1218         Move definition of list_t to ...
1219         * include/list_t.h: ...this new file.
1221         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1222         instead of list.h and resolv.h.
1224         * resolv/resolv.h: Remove __need_res_state logic.
1225         Move definition of res_state and related constants to ...
1226         * resolv/bits/types/res_state.h: ...this new file.
1227         * resolv/Makefile: Install bits/types/res_state.h.
1228         * include/bits/types/res_state.h: New wrapper.
1229         * include/list.h: Remove __need_list_t logic.
1230         Move definition of list_t to ...
1231         * include/list_t.h: ...this new file.
1233         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1234         instead of list.h and resolv.h.
1236 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1238         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
1240 2017-05-20  Zack Weinberg  <zackw@panix.com>
1242         * sysdeps/arm/sysdep.h
1243         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
1245         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
1246         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
1247         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
1248         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
1249         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
1250         * sysdeps/arm/armv6t2/strlen.S
1251         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
1252         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
1253         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
1254         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
1255         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
1256         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
1258 2017-05-20  Zack Weinberg  <zackw@panix.com>
1260         Remove the NaCl port.
1261         * sysdeps/arm/nacl: Remove directory and contents.
1262         * sysdeps/nacl: Remove directory and contents.
1263         * abi-tags: Remove .*-.*-nacl.* entry.
1265 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
1267         * manual/errno.texi: Convert @comment-based errno documentation to
1268         @errno.
1269         * manual/macros.texi (@errno): New macro.  Consolidate errors,
1270         their values, and messages, adding the error string to the Concept
1271         Index.  Provide a warning in the comment about external (to the
1272         manual) dependencies.
1273         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
1274         * sysdeps/mach/hurd/errnos.awk: Likewise.
1276 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1278         * bits/ss_flags.h: New file.
1279         * bits/types/stack_t.h: Likewise.
1280         * include/bits/types/struct_sigstack.h: Likewise.
1281         * signal/bits/types/struct_sigstack.h: Likewise.
1282         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1283         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1284         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1285         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1286         bits/types/stack_t.h and bits/ss_flags.h.
1287         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1288         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1289         <bits/ss_flags.h>.
1290         * bits/sigstack.h (struct sigstack): Remove.
1291         (stack_t): Likewise.
1292         (SS_ONSTACK): Likewise.
1293         (SS_DISABLE): Likewise.
1294         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1295         (struct sigstack): Likewise.
1296         (stack_t): Likewise.
1297         (SS_ONSTACK): Likewise.
1298         (SS_DISABLE): Likewise.
1299         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1300         Likewise.
1301         (stack_t): Likewise.
1302         (SS_ONSTACK): Likewise.
1303         (SS_DISABLE): Likewise.
1304         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1305         Likewise.
1306         (stack_t): Likewise.
1307         (SS_ONSTACK): Likewise.
1308         (SS_DISABLE): Likewise.
1309         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1310         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1311         Likewise.
1312         (stack_t): Likewise.
1313         (SS_ONSTACK): Likewise.
1314         (SS_DISABLE): Likewise.
1315         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1316         (struct sigstack): Likewise.
1317         (stack_t): Likewise.
1318         (SS_ONSTACK): Likewise.
1319         (SS_DISABLE): Likewise.
1320         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1321         Likewise.
1322         (stack_t): Likewise.
1323         (SS_ONSTACK): Likewise.
1324         (SS_DISABLE): Likewise.
1325         * sysdeps/arm/sys/ucontext.h: Include
1326         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1327         <bits/ss_flags.h>.
1328         * sysdeps/generic/sys/ucontext.h: Likewise.
1329         * sysdeps/i386/sys/ucontext.h: Likewise.
1330         * sysdeps/m68k/sys/ucontext.h: Likewise.
1331         * sysdeps/mips/sys/ucontext.h: Likewise.
1332         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1333         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1334         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1335         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1336         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1337         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1338         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1339         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1340         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1341         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1342         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1343         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1344         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1345         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1346         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1348 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1350         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1351         "edx + ecx - 16" to avoid possible addition overflow.
1352         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1354 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1356         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1357         (CFLAGS-splice.c): Likewise.
1358         (CFLAGS-open_by_handle_at.c): Likewise.
1359         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1360         (CFLAGS-splice.c): Likewise.
1361         (CFLAGS-open_by_handle_at.c): Likewise.
1363 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1365         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1366         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1367         <ldbl-compat-choose.h>.
1368         (maybe_long_double_symbol): New macro.
1369         [!declare_mgen_alias] (declare_mgen_alias): Use
1370         maybe_long_double_symbol.
1371         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1372         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1373         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1374         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1375         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1376         * Makerules [$(build-shared) = yes && !avoid-generated]
1377         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1378         [$(build-shared) = yes && !avoid-generated]
1379         ($(common-objpfx)ldbl-compat-choose.h): New target.
1381         * scripts/versions.awk: Generate first-versions.h.
1382         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1383         <first-versions.h>.
1384         (LDOUBLE_cabsl_libm_version): Remove macro.
1385         (LDOUBLE_cargl_libm_version): Likewise.
1386         (LDOUBLE_cimagl_libm_version): Likewise.
1387         (LDOUBLE_conjl_libm_version): Likewise.
1388         (LDOUBLE_creall_libm_version): Likewise.
1389         (LDOUBLE_cacosl_libm_version): Likewise.
1390         (LDOUBLE_cacoshl_libm_version): Likewise.
1391         (LDOUBLE_ccosl_libm_version): Likewise.
1392         (LDOUBLE_ccoshl_libm_version): Likewise.
1393         (LDOUBLE_casinl_libm_version): Likewise.
1394         (LDOUBLE_csinl_libm_version): Likewise.
1395         (LDOUBLE_casinhl_libm_version): Likewise.
1396         (LDOUBLE_csinhl_libm_version): Likewise.
1397         (LDOUBLE_catanl_libm_version): Likewise.
1398         (LDOUBLE_catanhl_libm_version): Likewise.
1399         (LDOUBLE_ctanl_libm_version): Likewise.
1400         (LDOUBLE_ctanhl_libm_version): Likewise.
1401         (LDOUBLE_cexpl_libm_version): Likewise.
1402         (LDOUBLE_clogl_libm_version): Likewise.
1403         (LDOUBLE_cprojl_libm_version): Likewise.
1404         (LDOUBLE_csqrtl_libm_version): Likewise.
1405         (LDOUBLE_cpowl_libm_version): Likewise.
1406         (LDOUBLE_clog10l_libm_version): Likewise.
1407         (LDOUBLE___clog10l_libm_version): Likewise.
1408         (LDOUBLE_fdiml_libm_version): Likewise.
1409         (LDOUBLE_fmaxl_libm_version): Likewise.
1410         (LDOUBLE_fminl_libm_version): Likewise.
1411         (LDOUBLE_ilogbl_libm_version): Likewise.
1412         (LDOUBLE_nanl_libm_version): Likewise.
1413         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1414         FIRST_VERSION_libm_* macros.
1415         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1416         * Makerules [$(build-shared) = yes && !avoid-generated]
1417         (before-compile): Add $(common-objpfx)first-versions.h.
1418         [$(build-shared) = yes && !avoid-generated]
1419         ($(common-objpfx)first-versions.h): New target.
1420         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1421         building $(common-objpfx)versions.stmp.
1423 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1425         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1426         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1427         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1428         auto-generation list.
1430         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1431         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1432         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1433         from auto-generation list.
1435         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1436         open_by_handle_at.
1437         (CFLAGS-open_by_handle_at.c): New flag.
1438         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1439         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1440         file.
1441         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1443         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1444         (CFLAGS-splice.c): New flag.
1445         * sysdeps/unix/sysv/linux/splice.c: New file.
1446         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1447         auto-generation syscall list.
1448         * misc/Makefile (CFLAGS-splice.c): New rule.
1450         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1451         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1452         auto-generation syscall list.
1453         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1454         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1456         * misc/Makefile (CFLAGS-fsync.c): New flag.
1457         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1458         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1459         syscall list.
1460         * sysdeps/unix/sysv/linux/fsync.c: New file.
1461         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1462         (__errno_location): Remove.
1464         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1465         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1466         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1467         list.
1468         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1470         * misc/Makefile (CFLAGS-msync.c): New rule.
1471         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1472         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1473         * sysdeps/unix/sysv/linux/msync.c: New file.
1475         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1476         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1477         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1478         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1479         (CFLAGS-sigsuspend.c): Remove rule.
1481         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1482         (CFLAGS-tee.c): New rule.
1483         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1484         auto-generated list.
1485         * sysdeps/unix/sysv/linux/tee.c: New file.
1487         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1488         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1489         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1490         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1491         auto-generated list.
1493         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1494         auto-generated list.
1495         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1496         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1497         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1498         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1499         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1501         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1502         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1503         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1504         (__NR_pause): Undefine.
1505         * sysdeps/unix/sysv/linux/pause.c: New file.
1506         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1507         auto-generation list.
1508         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1509         Remove rule.
1510         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1512 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1514         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1515         comments.
1517 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1519         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1520         LD_HWCAP_MASK.
1522 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1524         * manual/conf.texi: Convert @tables of annotated @items to
1525         @vtables.
1526         * manual/lang.texi: Likewise.
1527         * manual/pattern.texi: Likewise.
1528         * manual/resource.texi: Likewise.
1529         * manual/socket.texi: Likewise.
1531 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1533         * manual/crypt.texi: Move a comment out of an @*x list.
1534         * manual/filesys.texi: Refactor some comments, one of which looks
1535         like a standard.  Fix incorrectly separated standards.
1536         * manual/locale.texi: Invert an annotation.
1537         * manual/resource.texi: Fix incorrectly separated standards.
1538         * manual/time.texi: Refactor a @vtable that obscures an
1539         annotation.
1540         * manual/users.texi: Refactor multiple headers to occupy a single
1541         @comment.
1543 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1545         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1546         (sysdep_routines): Add memcmp-power8.
1547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1548         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1549         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1550         (memcmp): Add __memcmp_power8 to ifunc list.
1551         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1552         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1554 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1555             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1557         * math/math.h (__MATH_TG): Extend the conditions to add
1558         _Float128 support.
1559         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1561 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1564         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1565         s_cosf-ppc64.
1566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1569         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1571 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1573         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1574         (gen-libm-calls): Add e_exp2F to use the template.
1575         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1576         * math/e_exp2_template.c: New file, renamed from
1577         math/e_exp2l.c, and made into a template.
1578         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1580 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1582         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1583         TUNABLE_TYPE_UINT_64.
1584         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1585         Simplify computation of overflow.
1586         (tunable_set_val_if_valid_range_signed,
1587         tunable_set_val_if_valid_range_unsigned): Remove and replace
1588         with this...
1589         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1590         (tunable_initialize): Adjust.  Add uint64_t support.
1591         (__tunable_set_val): Add uint64_t support.
1592         * README.tunables: Document it.
1594         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1595         dl-tunables.list.
1596         * README.tunables: Document it.
1598 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1600         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1601         * sysdeps/posix/preadv64.c: Likewise.
1602         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1603         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1604         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1605         * sysdeps/posix/pwritev64.c: Likewise.
1606         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1607         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1608         * sysdeps/posix/preadv_common.c: New file.
1609         * sysdeps/posix/pwritev_common.c: Likewise.
1611 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1613         * sysdeps/generic/math-type-macros-float128.h
1614         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1615         wrapper templates.
1617 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1618             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1620         * include/complex.h (__kernel_casinhf128): New declaration.
1621         * include/float.h: New file.
1622         * include/math.h (__finitef128): Add a hidden def.
1623         (__isinff128): Likewise.
1624         (__isnanf128): Likewise.
1625         (__fpclassify): Likewise.
1626         (__issignalling): Likewise.
1627         (__expf128): Likewise.
1628         (__expm1f128): Likewise.
1630         * sysdeps/generic/fix-fp-int-convert-overflow.h:
1631         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1632         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1634         * sysdeps/generic/math-type-macros-float128.h: New file.
1636         * sysdeps/generic/math_private.h: Include bits/floatn.h and
1637         math_private_calls.h for _Float128.
1638         (__isinff128): New inline implementation used when GCC < 7.0,
1639         since in this case __builtin_isinf_sign is broken.
1640         (fabsf128): New inline implementation that calls the builtin.
1641         (__EXPR_FLT128): New macro.
1642         (min_of_type): Optionally include _Float128 types too.
1644         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1645         Declare for _Float128.
1646         (__kernel_rem_pio2): Likewise.
1648         * sysdeps/ieee754/ldbl-opt/s_sin.c:
1649         (__DECL_SIMD_sincos_disablef128): New macro.
1651 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1653         * math/math.h: Include bits/math-finite.h for float128.
1654         (__MATH_DECLARING_FLOATN): Define to control declaration of
1655         float128 functions.
1656         * math/bits/math-finite.h (pow10): Do not declare for float128.
1657         (gamma): Likewise.
1658         (scalb): Likewise.
1660 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1661             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1663         * bits/floatn.h: New file.
1664         * bits/huge_val_flt128.h: Likewise.
1666         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1667         (__DECL_SIMD_sinf128): Likewise.
1668         (__DECL_SIMD_sincosf128): Likewise.
1669         (__DECL_SIMD_logf128): Likewise.
1670         (__DECL_SIMD_expf128): Likewise.
1671         (__DECL_SIMD_powf128): Likewise.
1673         * math/Makefile (headers): Install bits/floatn.h and
1674         bits/huge_val_flt128.h.
1676         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1677         defined.
1679         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1680         (isnan, gamma, nexttoward, scalb): Only define if not
1681         __MATH_DECLARING_FLOATN.
1682         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
1683         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
1684         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
1685         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
1687         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
1688         Include bits/cmathcalls.h to get the declarations of _Float128
1689         versions of complex functions.
1690         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
1691         Define macro.
1693         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
1694         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
1695         get the declarations of _Float128 versions of math functions.
1696         (__MATH_DECLARING_FLOATN): New macro to control declaration of
1697         _FloatN types.
1698         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
1699         is type-generic, so use it without __MATH_TG.
1700         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
1701         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
1702         _Float128 type and GCC < 7.0, otherwise use the builtin.
1703         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
1704         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
1705         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
1706         New _GNU_SOURCE enabled macros.
1708 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1710         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
1711         (signbitf): Likewise.
1712         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
1713         Likewise.
1714         (signbitl): Likewise.
1715         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
1716         Likewise.
1717         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
1718         (signbitl): Likewise.
1719         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
1721 2017-05-12  Florian Weimer  <fweimer@redhat.com>
1723         [BZ #21386]
1724         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
1725         parent PID.  The assertion in the child is incorrect with PID
1726         namespaces.
1728 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1730         * sysdeps/unix/sysv/linux/kernel-features.h
1731         (__ASSUME_STATFS_F_FLAGS): Remove macro.
1732         * sysdeps/unix/sysv/linux/internal_statvfs.c
1733         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
1735 2017-05-11  Zack Weinberg  <zackw@panix.com>
1737         * Makerules: New subdir configuration variables 'tests-internal'
1738         and 'test-internal-extras'.  Test files in these categories will
1739         still be compiled with MODULE_NAME=nonlib.  Test files in the
1740         existing categories (tests, xtests, test-srcs, test-extras) are
1741         now compiled with MODULE_NAME=testsuite.
1742         New subdir configuration variable 'modules-names-tests'.  Files
1743         which are in both 'modules-names' and 'modules-names-tests' will
1744         be compiled with MODULE_NAME=testsuite instead of
1745         MODULE_NAME=extramodules.
1746         (gen-as-const-headers): Move to tests-internal.
1747         (do-tests-clean, common-mostlyclean): Support tests-internal.
1748         * Makeconfig (built-modules): Add testsuite.
1749         * Makefile: Change libof-check-installed-headers-c and
1750         libof-check-installed-headers-cxx to 'testsuite'.
1751         * Rules: Likewise.  Support tests-internal.
1752         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
1753         Remove extra-modules.mk.
1755         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
1756         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
1757         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
1758         very top of the file and rationalize their order.
1759         If MODULE_NAME is not defined at all, define IS_IN to always be
1760         false, and don't define _ISOMAC.
1761         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
1762         true, define _ISOMAC and suppress everything else in this file,
1763         starting with the inclusion of config.h.
1764         Do check for inappropriate definitions of __OPTIMIZE__ and
1765         __FAST_MATH__ here, but only if _ISOMAC is not defined.
1766         Correct some out-of-date commentary.
1768         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
1769         and _Mlong_double_ before including math.h.
1770         * include/string.h: If _ISOMAC is defined, don't expose
1771         _STRING_ARCH_unaligned. Move a comment to a more appropriate
1772         location.
1774         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
1775         * include/time.h, include/unistd.h, include/wchar.h: No need to
1776         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
1778         * misc/sys/cdefs.h (__NTHNL): New macro.
1779         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
1780         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
1782         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
1783         defined, for HAVE_TUNABLES.
1784         * inet/tst-checks-posix.c: No need to define _ISOMAC.
1785         * intl/tst-gettext2.c: Provide own definition of N_.
1786         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
1787         * math/test-signgam-main.c: No need to define _ISOMAC.
1788         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
1789         * stdlib/tst-strtod1i.c: ...this new file.
1790         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
1791         Split tests of __strtod_internal to...
1792         * stdlib/tst-strtod5i.c: ...this new file.
1793         * string/test-string.h: Include stdint.h. Duplicate definition of
1794         inhibit_loop_to_libcall here (from libc-symbols.h).
1795         * string/test-strstr.c: Provide dummy definition of
1796         libc_hidden_builtin_def when including strstr.c.
1797         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
1798         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
1799         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1800         Don't include init-arch.h.
1801         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1802         Don't include init-arch.h.
1804         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
1805         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
1806         unload, unload2, circleload1, neededtest, neededtest2,
1807         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
1808         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
1809         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
1810         ifunc tests to tests-internal.
1811         Don't add $(modules-names) to test-extras.
1812         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
1813         Add tst-deadline to tests-static-internal.
1814         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
1815         tests-internal.
1816         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
1817         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
1818         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
1819         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
1820         tst-sem12-static, and tst-stackguard1-static to tests-internal.
1821         Link tests-internal with libpthread also.
1822         Don't add $(modules-names) to test-extras.
1823         * nss/Makefile: Move tst-field to tests-internal.
1824         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
1825         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
1826         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
1827         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
1828         tests-internal.
1829         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
1830         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
1831         test-get_hwcap-static to tests-internal.
1832         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
1833         tests-internal.
1834         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
1835         modules-names-tests.
1837 2017-05-11  Zack Weinberg  <zackw@panix.com>
1839         * libio/libio.h: Condition dummy definition of _IO_lock_t on
1840         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
1841         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
1842         _IO_funlockfile, and _IO_ftrylockfile.  Only define
1843         _IO_cleanup_region_start and _IO_cleanup_region_end if not
1844         already defined.
1845         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
1846         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
1847         appropriately.
1848         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
1849         Define _IO_lock_t_defined after defining _IO_lock_t.
1851 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1853         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
1854         void* for argument type and use VDSO_SYMBOL macro.
1855         (is_sigtramp_address_rt): Likewise.
1856         (__backtrace): Setup expected frame pointer address for signal
1857         handling.
1858         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
1859         void* for argumetn type and use VSDO_SYMBOL macro.
1860         (__backtrace): Setup expected frame pointer address for signal
1861         handling.
1863         * sysdeps/unix/sysv/linux/writev.c: New file.
1865         * sysdeps/unix/sysv/linux/readv.c: New file.
1867         * include/unistd.h (write): Add hidden proto.
1868         * io/Makefile (CFLAGS-write.c): New define.
1869         * nptl/Makefile (CFLAGS-write.c): Likewise.
1870         * sysdeps/unix/sysv/linux/write.c: New file.
1872         [BZ #21428]
1873         * include/unistd.h (read): Add hidden proto.
1874         * io/Makefile (CFLAGS-read.c): New define.
1875         * nptl/Makefile (CFLAGS-read.c): Likewise.
1876         * sysdeps/unix/sysv/linux/read.c: New file.
1878         * io/Makefile (CFLAGS-creat.c): New rule.
1879         (CFLAGS-creat64.c): Likewise.
1880         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
1881         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
1882         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
1883         * sysdeps/unix/sysv/linux/creat.c: New file.
1884         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
1885         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
1886         auto-generated list.
1887         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1889         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
1890         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
1891         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
1892         * sysdeps/unix/sysv/linux/open.c: New file.
1893         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
1894         iff __WORDSIZE != 64 and use __NR_openat when available.
1895         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
1896         from auto-generated list.
1898         * nptl/Makefile (CFLAGS-close.c): New flag.
1899         * sysdeps/unix/sysv/linux/close.c: New file.
1901 2017-05-11  DJ Delorie  <dj@redhat.com>
1903         * MAINTAINERS: New.  Points to wiki.
1905 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1907         * scripts/gen-tunables.awk: Add attribute_relro to
1908         tunable_list.
1910 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
1912         [BZ #21457]
1913         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
1914         (R1): Likewise.
1915         (R2): Likewise.
1916         (R3): Likewise.
1917         (R4): Likewise.
1918         (R5): Likewise.
1919         (R6): Likewise.
1920         (R7): Likewise.
1921         (R8): Likewise.
1922         (R9): Likewise.
1923         (R10): Likewise.
1924         (R11): Likewise.
1925         (R12): Likewise.
1926         (R13): Likewise.
1927         (R14): Likewise.
1928         (R15): Likewise.
1929         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1930         (REG_FS): Likewise.
1931         (REG_ES): Likewise.
1932         (REG_DS): Likewise.
1933         (REG_EDI): Likewise.
1934         (REG_ESI): Likewise.
1935         (REG_EBP): Likewise.
1936         (REG_ESP): Likewise.
1937         (REG_EBX): Likewise.
1938         (REG_EDX): Likewise.
1939         (REG_ECX): Likewise.
1940         (REG_EAX): Likewise.
1941         (REG_TRAPNO): Likewise.
1942         (REG_ERR): Likewise.
1943         (REG_EIP): Likewise.
1944         (REG_CS): Likewise.
1945         (REG_EFL): Likewise.
1946         (REG_UESP): Likewise.
1947         (REG_SS): Likewise.
1948         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1949         (R_D1): Likewise.
1950         (R_D2): Likewise.
1951         (R_D3): Likewise.
1952         (R_D4): Likewise.
1953         (R_D5): Likewise.
1954         (R_D6): Likewise.
1955         (R_D7): Likewise.
1956         (R_A0): Likewise.
1957         (R_A1): Likewise.
1958         (R_A2): Likewise.
1959         (R_A3): Likewise.
1960         (R_A4): Likewise.
1961         (R_A5): Likewise.
1962         (R_A6): Likewise.
1963         (R_A7): Likewise.
1964         (R_SP): Likewise.
1965         (R_PC): Likewise.
1966         (R_PS): Likewise.
1967         (fpregset_t): Likewise.
1968         (MCONTEXT_VERSION): Likewise.
1969         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1970         (CTX_AT): Likewise.
1971         (CTX_V0): Likewise.
1972         (CTX_V1): Likewise.
1973         (CTX_A0): Likewise.
1974         (CTX_A1): Likewise.
1975         (CTX_A2): Likewise.
1976         (CTX_A3): Likewise.
1977         (CTX_T0): Likewise.
1978         (CTX_T1): Likewise.
1979         (CTX_T2): Likewise.
1980         (CTX_T3): Likewise.
1981         (CTX_T4): Likewise.
1982         (CTX_T5): Likewise.
1983         (CTX_T6): Likewise.
1984         (CTX_T7): Likewise.
1985         (CTX_S0): Likewise.
1986         (CTX_S1): Likewise.
1987         (CTX_S2): Likewise.
1988         (CTX_S3): Likewise.
1989         (CTX_S4): Likewise.
1990         (CTX_S5): Likewise.
1991         (CTX_S6): Likewise.
1992         (CTX_S7): Likewise.
1993         (CTX_T8): Likewise.
1994         (CTX_T9): Likewise.
1995         (CTX_K0): Likewise.
1996         (CTX_K1): Likewise.
1997         (CTX_GP): Likewise.
1998         (CTX_SP): Likewise.
1999         (CTX_S8): Likewise.
2000         (CTX_RA): Likewise.
2001         (CTX_MDLO): Likewise.
2002         (CTX_MDHI): Likewise.
2003         (CTX_CAUSE): Likewise.
2004         (CTX_EPC): Likewise.
2005         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
2006         inclusion of <sys/procfs.h> on [__USE_MISC].
2007         (greg_t): Condition on [__USE_MISC].
2008         (gregset_t): Likewise.
2009         (fpregset_t): Likewise.
2010         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
2011         (NGREG): Likewise.
2012         (gregset_t): Likewise.
2013         (REG_R0): Likewise.
2014         (REG_R1): Likewise.
2015         (REG_R2): Likewise.
2016         (REG_R3): Likewise.
2017         (REG_R4): Likewise.
2018         (REG_R5): Likewise.
2019         (REG_R6): Likewise.
2020         (REG_R7): Likewise.
2021         (REG_R8): Likewise.
2022         (REG_R9): Likewise.
2023         (REG_R10): Likewise.
2024         (REG_R11): Likewise.
2025         (REG_R12): Likewise.
2026         (REG_R13): Likewise.
2027         (REG_R14): Likewise.
2028         (REG_R15): Likewise.
2029         (struct _libc_fpstate): Likewise.
2030         (fpregset_t): Likewise.
2031         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
2032         (NFPREG): Likewise.
2033         (gregset_t): Likewise.
2034         (fpregset_t): Likewise.
2035         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
2036         (R_D1): Likewise.
2037         (R_D2): Likewise.
2038         (R_D3): Likewise.
2039         (R_D4): Likewise.
2040         (R_D5): Likewise.
2041         (R_D6): Likewise.
2042         (R_D7): Likewise.
2043         (R_A0): Likewise.
2044         (R_A1): Likewise.
2045         (R_A2): Likewise.
2046         (R_A3): Likewise.
2047         (R_A4): Likewise.
2048         (R_A5): Likewise.
2049         (R_A6): Likewise.
2050         (R_A7): Likewise.
2051         (R_SP): Likewise.
2052         (R_PC): Likewise.
2053         (R_PS): Likewise.
2054         (fpregset_t): Likewise.
2055         (MCONTEXT_VERSION): Likewise.
2056         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
2057         Likewise.
2058         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
2059         (REG_R1): Likewise.
2060         (REG_R2): Likewise.
2061         (REG_R3): Likewise.
2062         (REG_R4): Likewise.
2063         (REG_R5): Likewise.
2064         (REG_R6): Likewise.
2065         (REG_R7): Likewise.
2066         (REG_R8): Likewise.
2067         (REG_R9): Likewise.
2068         (REG_R10): Likewise.
2069         (REG_R11): Likewise.
2070         (REG_R12): Likewise.
2071         (REG_R13): Likewise.
2072         (REG_R14): Likewise.
2073         (REG_R15): Likewise.
2074         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
2075         of <arch/abi.h> on [__USE_MISC].
2076         (greg_t): Condition on [__USE_MISC].
2077         (NGREG): Likewise.
2078         (gregset_t): Likewise.
2080 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2082         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
2083         (__pthread_rwlock_arch_t): Remove __data definition.
2084         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
2085         (__pthread_rwlock_arch_t): Likewise.
2087 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2089         * resolv/inet_pton.c: Reformat in GNU style.  Remove
2090         internal_function on static functions.
2092 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2094         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
2095         from format_ai_flags.
2096         (format_ai_flags): New function.  Incorporate flag formatting code
2097         from format_ai_one.
2098         (format_ai_canonname): New function.
2099         (format_ai_one): Remove flags parameter.
2100         (format_ai_family): Likewise.
2101         (support_format_addrinfo): Call format_ai_flags,
2102         format_ai_canonname.
2103         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
2104         check_ai.
2105         (check_ai): Call check_ai_hints.
2106         (do_test): Add AI_CANONNAME tests.
2108 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2110         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
2111         (gaih_inet): Likewise.
2113 2017-05-10  Andreas Schwab  <schwab@suse.de>
2115         * nptl/tst-fork1.c: Include <support/test-driver.c>.
2116         (main): Rename to do_test and make static.
2118 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
2120         * string/rawmemchr.c: Include <libc-diag.h>.
2121         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
2122         with size (size_t)-1.
2124 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2126         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
2127         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2128         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2130         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
2131         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
2132         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
2133         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
2134         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
2135         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
2136         * sysdeps/unix/sysv/linux/kernel-features.h
2137         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
2138         socket syscalls.
2139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2140         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2141         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2142         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2143         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2144         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2145         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2146         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2147         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2148         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2149         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2150         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2151         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2152         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2153         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2155 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2157         * posix/Makefile (headers): Add pthreadtypes-arch.h and
2158         thread-shared-types.h.
2159         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
2160         specific thread definition.
2161         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
2162         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
2163         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
2164         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
2165         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
2166         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
2167         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
2168         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
2169         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
2170         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2171         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
2172         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
2173         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
2174         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
2175         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2176         thread definition between POSIX and C11.
2177         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2178         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2179         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2180         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2181         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2182         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2183         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2184         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2185         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2186         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2187         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2188         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2189         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2190         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2191         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2192         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2193         definitions shared across all architectures.
2195 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2197         * sysdeps/unix/sysv/linux/kernel-features.h
2198         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
2199         (__ASSUME_SENDMMSG): Likewise.
2200         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
2201         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
2202         sendmmsg syscall if that can be assumed to be present, socketcall
2203         otherwise, with no fallback for runtime failure.
2205         * sysdeps/unix/sysv/linux/kernel-features.h
2206         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
2207         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
2208         (__ASSUME_RECVMMSG): Likewise.
2209         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
2210         recvmmsg syscall if it can be assumed to be present, socketcall
2211         otherwise, with no fallback for runtime failure.
2213 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2214             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2216         * bits/libc-header-start.h:
2217         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
2218         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
2219         * manual/creature.texi: Likewise.
2221 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2222             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2224         * math/Makefile:
2225         (type-float128-suffix): New variable
2226         (type-float128-routines): Likewise
2227         (type-float128-yes): Likewise
2228         (types): Append float128 if supported
2229         (types-basic): New variable to control the use of templates for
2230         float, double, and long double, but not for float128 or newer types.
2231         (type-basic-foreach): Likewise.
2233         * sysdeps/ieee754/float128/Makeconfig: New file.
2234         * sysdeps/ieee754/float128/Versions: New file.
2236 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2238         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
2239         Remove macro.
2240         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
2241         prlimit64 is always available and does not give an ENOSYS error.
2242         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
2243         unconditional.
2244         [!__NR_prlimit64]: Remove conditional code.
2245         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
2246         prlimit64 is always available and does not give an ENOSYS error.
2247         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
2249 2017-05-09  Zack Weinberg  <zackw@panix.com>
2251         * sunrpc/tst-xdrmem2.c: Include stdint.h.
2253 2017-05-09  Florian Weimer  <fweimer@redhat.com>
2255         [BZ #21474]
2256         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
2257         (__res_maybe_init): Likewise.
2259 2017-05-09  Zack Weinberg  <zackw@panix.com>
2261         * extra-modules.mk: Delete file.
2262         * cppflags-iterator.mk: Rename to ...
2263         * libof-iterator.mk: ...this.  Adjust comments.
2265         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
2266         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
2267         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
2268         Use libof-iterator.mk instead of cppflags-iterator.mk or
2269         extra-modules.mk.
2271         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
2272         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
2274 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2276         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2278 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
2280         * stdio-common/vfprintf.c (EXTSIZ): Define.
2281         (vfprintf): Use EXTSIZ.
2282         (printf_positional): Likewise.
2284 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2286         * sysdeps/unix/sysv/linux/kernel-features.h
2287         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2288         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2289         <kernel-features.h>.
2290         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2292         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2293         (__ASSUME_GETCPU_SYSCALL): Remove macro.
2295 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2297         Prevent multiple deletion of temporary files.
2298         * support/temp_file.c (struct temp_name_list): Add owner member.
2299         (add_temp_file): Record owner.
2300         (support_delete_temp_files): Delete file only if owner matches.
2301         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2302         (do_prepare): Use create_temp_file instead of add_temp_file.
2303         Initialize temp_fd1, temp_fd2.
2304         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
2305         framework remove the temporary files.
2306         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2307         (do_prepare): Use create_temp_file instead of add_temp_file.
2308         Initialize temp_fd1, temp_fd2, temp_fd3.
2309         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
2310         the test framework remove the temporary files.
2311         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2312         deletion.
2313         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2314         temporary directory.  It is removed by the test framework.
2315         * dirent/tst-scandir.c (do_test): Likewise.
2317 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2319         Delete temporary files in LIFO order.
2320         * support/temp_file.c (struct temp_name_list): Replace q member
2321         with next.
2322         (add_temp_file): Add new file to front of linked list.
2323         (support_delete_temp_files): Use next member.
2324         (support_print_temp_files): Likewise.
2326 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2329         sys/ultrasound.h.
2330         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2332 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2334         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2335         Remove.
2336         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2337         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2338         (arch_minimum_kernel): Remove.
2339         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2340         * README: Update statement about Linux kernel requirements.
2342 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2344         * manual/llio.texi: Add preadv and pwritev documentation.
2346 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2348         [BZ #21455]
2349         * bits/stdint-intn.h: New file.
2350         * bits/stdint-uintn.h: Likewise.
2351         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2352         bits/stdint-uintn.h.
2353         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2354         <stdint.h>.
2355         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2356         (__int8_t_defined): Do not define here.
2357         (int8_t): Likewise.
2358         (int16_t): Likewise.
2359         (int32_t): Likewise.
2360         (int64_t): Likewise.
2361         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2362         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2363         <stdint.h>.
2364         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2365         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2366         <bits/stdint-uintn.h>.
2367         (int8_t): Do not define here.
2368         (int16_t): Likewise.
2369         (int32_t): Likewise.
2370         (int64_t): Likewise.
2371         (uint8_t): Likewise.
2372         (uint16_t): Likewise.
2373         (uint32_t): Likewise.
2374         (uint64_t): Likewise.
2375         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2376         variable.
2377         (test-xfail-XPG42/netdb.h/conform): Likewise.
2378         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2379         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2380         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2381         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2383 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2385         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2386         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2387         the above.
2388         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2391 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2393         [BZ #21445]
2394         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2396         [BZ #21457]
2397         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2398         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2399         __glibc_reserved1.
2400         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2401         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2402         (struct _fpxreg): Likewise.
2403         [!__x86_64__] (struct _fpstate): Rename field reserved to
2404         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2405         [__x86_64__] (struct _fpstate): Rename field padding to
2406         __glibc_reserved1.
2407         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2408         Rename field reserved2 to __glibc_reserved2.
2409         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2410         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2411         __glibc_reserved1.
2412         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2413         __glibc_reserved1.
2415 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2417         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2418         variable name.
2420 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2422         [BZ #21391]
2423         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2424         Only call init_cpu_features.
2425         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2426         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2427         * sysdeps/i386/dl-procinfo.h: Removed.
2428         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2429         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2430         <sysdeps/x86/dl-procinfo.h>.
2431         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2432         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2433         Include <sysdeps/x86/dl-procinfo.h> instead of
2434          <sysdeps/generic/dl-procinfo.h>.
2435         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2436         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2437         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2438         (bit_cpu_MOVBE): Likewise.
2439         (bit_cpu_BMI1): Likewise.
2440         (bit_cpu_BMI2): Likewise.
2441         (index_cpu_BMI1): Likewise.
2442         (index_cpu_BMI2): Likewise.
2443         (index_cpu_LZCNT): Likewise.
2444         (index_cpu_MOVBE): Likewise.
2445         (index_cpu_POPCNT): Likewise.
2446         (reg_BMI1): Likewise.
2447         (reg_BMI2): Likewise.
2448         (reg_LZCNT): Likewise.
2449         (reg_MOVBE): Likewise.
2450         (reg_POPCNT): Likewise.
2451         * sysdeps/x86/dl-hwcap.h: New file.
2452         * sysdeps/x86/dl-procinfo.h: Likewise.
2453         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2454         (_dl_x86_platforms): Likewise.
2456 2017-05-03  DJ Delorie  <dj@redhat.com>
2458         [BZ #21411]
2459         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2461 2017-05-03  Phil Blundell  <pb@pbcl.net>
2463         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2464         comments.
2466 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2468         [BZ #20116]
2469         * nptl/pthread_create.c: Expand comments to describe
2470         semaphore-like and mutex-like uses of PD->lock.
2472 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2474         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2475         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2476         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2477         auto-generation list.
2478         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2479         epoll_wait.
2480         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2481         Remove epoll_wait.
2483         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2484         osf_select.
2485         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2486         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2487         osf_select from auto-generation list.
2488         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2489         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2490         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2491         * sysdeps/unix/sysv/linux/select.c: New file.
2493         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2494         * sysdeps/unix/sysv/linux/poll.c: New file.
2495         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2496         auto-generation list.
2498 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2500         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2501         New macro.
2503 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2505         [BZ #21179]
2506         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2507         R_SPARC_REGISTER relocations.
2509 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2511         * include/unistd.h (__pread): Add libc_hidden_proto.
2512         (__pread64): Likewise.
2513         (__pwrite): Likewise.
2514         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2515         (__pread64): Remove.
2516         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2517         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2518         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2520 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2524 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2526         * nptl/tst-cancel4-common.c: Use libsupport.
2527         * nptl/tst-cancel4-common.h: Likewise.
2528         * nptl/tst-cancel4.c (tf_read): Likewise.
2529         (tf_readv): Likewise.
2530         (tf_write): Likewise.
2531         (tf_writev): Likewise.
2532         (tf_sleep): Likewise.
2533         (tf_usleep): Likewise.
2534         (tf_nanosleep): Likewise.
2535         (tf_select): Likewise.
2536         (tf_pselect): Likewise.
2537         (tf_poll): Likewise.
2538         (tf_ppoll): Likewise.
2539         (tf_wait): Likewise.
2540         (tf_waitpid): Likewise.
2541         (tf_waitid): Likewise.
2542         (tf_sigpause): Likewise.
2543         (tf_sigsuspend): Likewise.
2544         (tf_sigwait): Likewise.
2545         (tf_sigwaitinfo): Likewise.
2546         (tf_sigtimedwait): Likewise.
2547         (tf_pause): Likewise.
2548         (tf_accept): Likewise.
2549         (tf_send): Likewise.
2550         (tf_recv): Likewise.
2551         (tf_recvfrom): Likewise.
2552         (tf_recvmsg): Likewise.
2553         (tf_open): Likewise.
2554         (tf_close): Likewise.
2555         (tf_pread): Likewise.
2556         (tf_pwrite): Likewise.
2557         (tf_preadv): Likewise.
2558         (tf_pwritev): Likewise.
2559         (tf_fsync): Likewise.
2560         (tf_fdatasync): Likewise.
2561         (tf_msync): Likewise.
2562         (tf_sendto): Likewise.
2563         (tf_sendmsg): Likewise.
2564         (tf_creat): Likewise.
2565         (tf_connect): Likewise.
2566         (tf_tcdrain): Likewise.
2567         (tf_msgrcv): Likewise.
2568         (tf_msgsnd): Likewise.
2569         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2570         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2572         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2573         expected arguments.
2574         (do_test): Adapt to use libsupport.
2576 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2578         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2580         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2581         (PF_MAX): Set to 44.
2582         (AF_SMC): New macro.
2584         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2585         kernel version to 4.11.
2587 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2589         [BZ #21280]
2590         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2591         signal of subnormals and adjust the exponent of power of 2 down
2592         when low part has opposite sign.
2594 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2596         * sysdeps/powerpc/powerpc64le/Implies: New file.
2597         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2598         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2599         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2600         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2601         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2602         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2603         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2604         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2605         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2606         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2607         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2608         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2609         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2610         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2611         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2612         * sysdeps/powerpc/preconfigure: New file.
2613         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2616 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2618         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2619         inclusion.
2620         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2621         Remove.
2623 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
2625         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2626         (XPG3): Rename standard to XPG4.
2627         * conform/Makefile: Likewise.
2628         * conform/list-header-symbols.pl: Likewise.
2629         * conform/data/aio.h-data: Likewise.
2630         * conform/data/arpa/inet.h-data: Likewise.
2631         * conform/data/complex.h-data: Likewise.
2632         * conform/data/ctype.h-data: Likewise.
2633         * conform/data/dlfcn.h-data: Likewise.
2634         * conform/data/fcntl.h-data: Likewise.
2635         * conform/data/fenv.h-data: Likewise.
2636         * conform/data/float.h-data: Likewise.
2637         * conform/data/fmtmsg.h-data: Likewise.
2638         * conform/data/ftw.h-data: Likewise.
2639         * conform/data/grp.h-data: Likewise.
2640         * conform/data/inttypes.h-data: Likewise.
2641         * conform/data/iso646.h-data: Likewise.
2642         * conform/data/langinfo.h-data: Likewise.
2643         * conform/data/libgen.h-data: Likewise.
2644         * conform/data/limits.h-data: Likewise.
2645         * conform/data/locale.h-data: Likewise.
2646         * conform/data/math.h-data: Likewise.
2647         * conform/data/mqueue.h-data: Likewise.
2648         * conform/data/ndbm.h-data: Likewise.
2649         * conform/data/net/if.h-data: Likewise.
2650         * conform/data/netdb.h-data: Likewise.
2651         * conform/data/netinet/in.h-data: Likewise.
2652         * conform/data/poll.h-data: Likewise.
2653         * conform/data/pthread.h-data: Likewise.
2654         * conform/data/pwd.h-data: Likewise.
2655         * conform/data/sched.h-data: Likewise.
2656         * conform/data/search.h-data: Likewise.
2657         * conform/data/semaphore.h-data: Likewise.
2658         * conform/data/signal.h-data: Likewise.
2659         * conform/data/spawn.h-data: Likewise.
2660         * conform/data/stdbool.h-data: Likewise.
2661         * conform/data/stdint.h-data: Likewise.
2662         * conform/data/stdio.h-data: Likewise.
2663         * conform/data/stdlib.h-data: Likewise.
2664         * conform/data/string.h-data: Likewise.
2665         * conform/data/strings.h-data: Likewise.
2666         * conform/data/stropts.h-data: Likewise.
2667         * conform/data/sys/mman.h-data: Likewise.
2668         * conform/data/sys/resource.h-data: Likewise.
2669         * conform/data/sys/select.h-data: Likewise.
2670         * conform/data/sys/socket.h-data: Likewise.
2671         * conform/data/sys/stat.h-data: Likewise.
2672         * conform/data/sys/statvfs.h-data: Likewise.
2673         * conform/data/sys/time.h-data: Likewise.
2674         * conform/data/sys/timeb.h-data: Likewise.
2675         * conform/data/sys/types.h-data: Likewise.
2676         * conform/data/sys/uio.h-data: Likewise.
2677         * conform/data/sys/un.h-data: Likewise.
2678         * conform/data/sys/wait.h-data: Likewise.
2679         * conform/data/syslog.h-data: Likewise.
2680         * conform/data/termios.h-data: Likewise.
2681         * conform/data/tgmath.h-data: Likewise.
2682         * conform/data/time.h-data: Likewise.
2683         * conform/data/ucontext.h-data: Likewise.
2684         * conform/data/unistd.h-data: Likewise.
2685         * conform/data/utmpx.h-data: Likewise.
2686         * conform/data/varargs.h-data: Likewise.
2687         * conform/data/wchar.h-data: Likewise.
2688         * conform/data/wctype.h-data: Likewise.
2690 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
2692         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
2693         version to 7 branch.
2695 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
2697         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
2698         earlyclobber to output operand of sqrt insn.
2699         (__ieee754_sqrtf): Ditto.
2701 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
2703         [BZ #21426]
2704         * misc/bits/types/struct_iovec.h: New file.
2705         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
2706         * include/bits/types/struct_iovec.h: New file.
2707         * bits/uio.h (struct iovec): Replace by inclusion of
2708         <bits/types/struct_iovec.h>.
2709         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
2710         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
2711         of <sys/uio.h>.
2712         * nptl/tst-cancel4.c: Include <sys/uio.h>
2713         * posix/test-errno.c: Likewise.
2714         * support/resolv_test.c: Likewise.
2715         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
2716         Remove.
2717         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2718         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2719         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2721         * conform/data/sys/socket.h-data (*_t): Allow.
2723 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2725         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
2726         assignment.
2728 2017-04-24  Daurnimator  <quae@daurnimator.com>
2729             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2731         [BZ #21340]
2732         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
2733         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
2734         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
2735         valid flags.
2736         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
2737         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
2738         POSIX_SPAWN_SETSID.
2739         * sysdeps/posix/spawni.c (__spawni): Likewise.
2740         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2741         * NEWS: Add note about POSIX_SPAWN_SETSID support.
2743 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2745         * sysdeps/generic/math_private.h: Move the declaration of many
2746         functions to sysdeps/generic/math_private_calls.h.
2747         * sysdeps/generic/math_private_calls.h: New file with the
2748         declarations of the functions removed from math_private.h
2749         macroized by floating-point type.
2751 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2753         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
2754         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
2755         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2756         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2757         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2758         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2760 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2762         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
2763         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
2764         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
2765         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
2766         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
2767         New Define.
2769 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2771         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
2772         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
2773         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2774         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2775         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2776         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2778 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2780         * sysdeps/s390/multiarch/ifunc-resolve.h
2781         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
2782         * sysdeps/s390/multiarch/8bit-generic.c
2783         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
2784         define ifunc resolvers.
2786 2017-04-21  Florian Weimer  <fweimer@redhat.com>
2788         [BZ #20424]
2789         * manual/memory.texi (Replacing malloc): New section.
2790         (Allocating Storage For Program Data): Reference it.
2791         (The GNU Allocator): Likewise.
2793 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
2795         * stdlib/Versions (__strtod_internal): List explicitly, not as
2796         wildcard.
2797         (__strtof_internal): Likewise.
2798         (__strtold_internal): Likewise.
2799         (__strtol_internal): Likewise.
2800         (__strtoll_internal): Likewise.
2801         (__strtoul_internal): Likewise.
2802         (__strtoull_internal): Likewise.
2803         (__strtoq_internal): Likewise.
2804         (__strtouq_internal): Likewise.
2805         * wcsmbs/Versions (__wcstod_internal): Likewise.
2806         (__wcstof_internal): Likewise.
2807         (__wcstold_internal): Likewise.
2808         (__wcstol_internal): Likewise.
2809         (__wcstoll_internal): Likewise.
2810         (__wcstoul_internal): Likewise.
2811         (__wcstoull_internal): Likewise.
2813 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2815         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
2816         struct timespec definition.
2818 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2820         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
2822 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2824         * inet/rcmd.c (rresvport_af): Fix typo in comment.
2825         * inet/rexec.c (rexec_af): Likewise.
2827 2017-04-19  Zack Weinberg  <zackw@panix.com>
2829         * posix/tst-mmap-offset.c: Include stdint.h.
2830         * resolv/tst-ns_name_compress.c: Include string.h.
2831         * resolv/tst-resolv-edns.c: Include resolv.h.
2833 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2835         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
2836         with __glibc_likely.
2837         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
2838         Replace __builtin_expect with __glibc_unlikely.
2839         * resolv/res_init.c (__res_vinit): Likewise.
2840         * resolv/res_query.c (__libc_res_nquery): Likewise.
2841         * resolv/res_send.c (__libc_res_nsend): Likewise.
2843 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2845         [BZ #15722]
2846         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
2847         with SOCK_CLOEXEC.
2848         * resolv/res_send.c (send_vc, reopen): Likewise.
2849         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2850         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
2851         Likewise.
2852         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
2853         * inet/rexec.c (rexec_af): Add comment.
2854         * inet/rcmd.c (rresvport_af): Likewise.
2856 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2858         * nscd/connections.c (have_accept4): Removed definition.
2859         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
2860         accept4 works.
2861         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
2862         ia64 because that was the first version with accept4 support.
2863         * support/Makefile (libsupport-routines): Add xaccept4.
2864         * support/xsocket.h (xaccept4): Declare.
2865         * support/xaccept4.c: New file.
2866         * socket/tst-accept4.c: New file.
2867         * socket/Makefile (tests): Add tst-accept4.
2868         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
2869         definition.
2870         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
2871         comment.
2872         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
2873         implementation is available.
2874         (accept4): Use the system call if available, otherwise use the
2875         socket call.
2876         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
2877         Set to 3.2.18.
2878         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2879         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
2880         accept4 is unconditionally available in later 3.2 stable kernels.
2881         (__ASSUME_ACCEPT4_SYSCALL): Define.
2882         * sysdeps/unix/sysv/linux/kernel-features.h
2883         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
2884         definitions.
2885         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2886         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
2888 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
2890         * conform/Makefile (tests-special): Do not make addition of
2891         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
2892         (generated): Do not make addition of $(conformtest-header-base)
2893         conditional on [$(cross-compiling) = no].
2895         [BZ #21267]
2896         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
2897         if defined by <asm/socket.h> and not previously defined.
2898         (IOCSIZE_SHIFT): Likewise.
2899         (IOC_IN): Likewise.
2900         (IOC_INOUT): Likewise.
2901         (IOC_OUT): Likewise.
2903 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2905         [BZ #21396]
2906         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2907         Prefer_No_AVX512 if AVX512ER isn't available.
2908         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
2909         (index_arch_Prefer_No_AVX512): Likewise.
2910         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
2911         AVX512 version if Prefer_No_AVX512 is set.
2912         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
2913         Likewise.
2914         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
2915         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
2916         Likewise.
2917         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2918         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2919         Likewise.
2920         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2921         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2922         Likewise.
2924 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2926         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2927         Prefer_No_VZEROUPPER if AVX512ER is available.
2928         * sysdeps/x86/cpu-features.h
2929         (bit_cpu_AVX512PF): New.
2930         (bit_cpu_AVX512ER): Likewise.
2931         (bit_cpu_AVX512CD): Likewise.
2932         (bit_cpu_AVX512BW): Likewise.
2933         (bit_cpu_AVX512VL): Likewise.
2934         (index_cpu_AVX512PF): Likewise.
2935         (index_cpu_AVX512ER): Likewise.
2936         (index_cpu_AVX512CD): Likewise.
2937         (index_cpu_AVX512BW): Likewise.
2938         (index_cpu_AVX512VL): Likewise.
2939         (reg_AVX512PF): Likewise.
2940         (reg_AVX512ER): Likewise.
2941         (reg_AVX512CD): Likewise.
2942         (reg_AVX512BW): Likewise.
2943         (reg_AVX512VL): Likewise.
2945 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2947         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2948         O_CLOEXEC is defined.
2949         * include/fcntl.h (__have_o_cloexec): Remove declaration.
2950         * io/Makefile (aux): Remove.
2951         * io/have_o_cloexec.c: Remove file.
2952         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2953         defined and works.
2954         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2955         defined.
2956         * login/utmp_file.c (O_flags): Remove definition.
2957         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2958         O_CLOEXEC works.
2959         (pututline_file): Likewise.
2960         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2961         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2962         definition.
2963         (internal_setgrent): Assume that O_CLOEXEC works.
2964         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2965         Remove definition.
2966         (internal_setgrent): Assume that O_CLOEXEC works.
2967         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2968         definition.
2969         (internal_setpwent): Assume that O_CLOEXEC works.
2970         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2971         definition.
2972         (internal_setspent): Assume that O_CLOEXEC works.
2973         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2974         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2975         O_CLOEXEC is defined and works.
2976         * nss/Makefile (libnss_files-routines): Remove
2977         files-have_o_cloexec.
2978         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2979         defined.
2980         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2981         O_CLOEXEC is defined and works.
2982         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2983         * nss/nss_files/files-have_o_cloexec.c: Remove.
2984         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2985         defined.
2986         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2987         and works.
2988         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2989         definition.
2990         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2991         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2992         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2993         (__opendirat, __opendir): Adjust opendir_oflags call.
2994         (check_have_o_cloexec): Remove.
2995         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2996         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2997         defined.
2998         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2999         Remove definition.
3001 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3003         * include/unistd.h (__have_dup3): Remove declaration.
3004         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
3005         dup3 is available.
3006         * libio/freopen64.c (freopen64): Likewise.
3007         * socket/Makefile (aux): Remove have_sock_cloexec.
3008         * socket/have_sock_cloexec.c: Remove file.
3009         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
3010         definition.
3011         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
3012         Likewise.
3013         * sysdeps/nacl/kernel-features.h: Update comment.
3015 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3017         * include/unistd.h (__have_pipe2): Remove declaration.
3018         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
3019         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
3020         available.
3021         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
3022         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
3023         Remove definition.
3025 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3027         * malloc/malloc.c (cfree): Turn into compat symbol.
3028         (__cfree): Remove alias.
3029         * stdlib/stdlib.h (cfree): Remove declaration.
3030         * malloc/malloc.h (cfree): Likewise.
3031         * manual/memory.texi (Freeing after Malloc): Remove cfree.
3032         * malloc/Versions (GLIBC_2.26): Add.
3034 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3036         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3037         (sysdep_routines): Add strrchr-power8.
3038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3039         (strrchr): Add __strrchr_power8 to list of strrchr functions.
3040         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
3041         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
3042         (strrchr): Add __strrchr_power8 to ifunc list.
3043         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
3045 2017-04-17  Rabin Vincent  <rabinv@axis.com>
3047         [BZ #21357]
3048         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
3049         Call free() outside of mutex.
3051 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3053         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
3054         is defined.
3055         * elf/rtld.c (process_envvars): Likewise.
3056         * sysdeps/posix/shm_open.c (shm_open): Likewise.
3057         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
3058         O_NOFOLLOW directly.
3059         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
3061 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3063         [BZ #21369]
3064         Remove EDNS fallback.
3065         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
3066         handling.
3067         * resolv/res_send.c (send_dg): Likewise.
3068         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
3069         "tcp." prefixes.
3070         (do_test): Send a "formerr."-prefixed query in an attempt to
3071         trigger EDNS fallback.
3073 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3075         [BZ #21361]
3076         Limit EDNS buffer size to 1200 bytes.
3077         * include/resolv.h (__res_nopt): Remove declaration.
3078         * resolv/Makefile (tests): tst-resolv-edns.
3079         (tst-resolv-edns): Link with -lresolv, -lpthread.
3080         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
3081         interval [512, 1200].
3082         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
3083         we can resize the buffer.
3084         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
3085         (__res_nopt): Declare.
3086         * resolv/tst-resolv-edns.c: New file.
3087         * resolv/resolv_test.h (struct resolv_edns_info): Define.
3088         (struct resolv_response_context): Add edns member.
3089         * resolv/resolv_test.c (struct query_info): Add edns member.
3090         (parse_query): Extract EDNS information from the query.
3091         (server_thread_udp_process_one): Propagate EDNS data.
3092         (server_thread_tcp_client): Likewise.
3094 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3096         [BZ #21359]
3097         * resolv/ns_name.c (ns_name_pack): Do not require an additional
3098         byte in the destination buffer.  Avoid out-of-bounds pointer
3099         arithmetic.
3100         * resolv/Makefile (tests): Add tst-ns_name_compress.
3101         (tst-ns_name_compress): Link with -lresolv.
3102         * resolv/tst-ns_name_compress.c: New file.
3103         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
3104         (response): Recognize LONG_NAME.
3105         (do_test): Add LONG_NAME tests.
3106         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
3107         for ns_name_unpack.  Add tests for ns_name_pton and
3108         ns_name_compress.
3110 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3112         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
3113         (res_nisourserver): Remove definition.
3114         (p_section, res_npquery, res_nisourserver): Remove declaration.
3115         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
3116         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
3117         ... here.
3118         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
3119         <resolv.h>.
3120         * resolv/res_query.c: Likewise.
3121         * resolv/res_debug.c (p_section): Define as static.
3123 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3125         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
3126         strncat-power8.
3127         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
3128         __strncat_power8 to ifunc list.
3129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3130         (strncat): Add __strncat_power8 to list of strncat functions.
3131         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
3133 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3135         [BZ #21270]
3136         * posix/tst-mmap-offset.c (do_prepare): New function.
3137         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
3138         (do_test_bz21270): New function.
3139         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
3140         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
3141         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
3142         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
3143         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
3144         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3145         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
3146         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
3147         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
3148         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
3149         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
3150         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3151         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3152         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3153         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
3154         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
3155         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3156         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
3157         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
3158         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
3159         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
3160         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
3161         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
3162         from auto-generation list.
3163         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
3164         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3165         * sysdeps/unix/sysv/linux/mmap.c: New file.
3166         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
3167         offsets and support for mmap2 syscall.
3169         * posix/globtest.sh: Add cleanup routine on trap 0.
3171 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3173         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
3174         implementation-specific function name and remove unneeded
3175         macros definition.
3176         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3177         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3178         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3179         name if not defined and pass as parameter to macros accordingly.
3180         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3181         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3183         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3184         implementation-specific function name and remove unneeded
3185         macros definition.
3186         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3187         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3188         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3189         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3190         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3191         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3192         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3193         name if not defined and pass as parameter to macros accordingly.
3194         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3195         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3196         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3197         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3198         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3199         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
3201         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
3202         implementation-specific function name and remove unneeded macros
3203         definition.
3204         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3205         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3206         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
3207         function name if not defined and pass as parameter to macros
3208         accordingly.
3209         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3210         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
3212         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
3213         implementation-specific function name and remove unneeded macros
3214         definition.
3215         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3216         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3217         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3218         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3219         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
3220         not defined and pass as parameter to macros accordingly.
3221         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3222         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3223         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3224         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
3226         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
3227         strcasestr implementation name and remove unneeded macros definition.
3228         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
3229         strstr implementation name and remove unneeded macros definition.
3230         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
3231         name if not defined and pass as parameter to macros accordingly.
3232         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
3234         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
3235         implementation-specific function name and remove unneeded macros
3236         definition.
3237         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3238         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3239         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3240         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3241         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3242         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
3243         function name if not defined and pass as parameter to macros
3244         accordingly.
3245         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
3246         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
3247         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
3248         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
3250         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
3251         the strlen implementation name and remove unneeded macros definition.
3252         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3253         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3254         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
3255         the strnlen implementation name and remove unneeded macros definition.
3256         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
3257         name if not defined and pass as parameter to macros accordingly.
3258         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
3259         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
3260         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3262         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
3263         the implementation-specific function name and remove unneeded
3264         macros definition.
3265         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3266         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
3267         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3268         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3269         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3270         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3271         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3272         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3273         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3274         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
3275         name if not defined and pass as parameter to macros accordingly.
3276         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3277         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3278         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3279         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3280         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3281         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3282         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3283         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3285         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3286         implementation-specific function name and remove unneeded macros
3287         definition.
3288         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3289         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3290         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3291         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3292         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3293         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3294         function name if not defined.
3295         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3296         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3298 2017-04-11  Paul Clarke  <pc@us.ibm.com>
3300         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3301         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3302         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
3303         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3305 2017-04-11  Florian Weimer  <fweimer@redhat.com>
3306             Zack Weinberg  <zackw@panix.com>
3308         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3309         readdir64 as thread-safe.  Update warning about readdir_r.
3311 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3313         * sysdeps/unix/sysv/linux/x86/Implies: New file.
3314         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3315         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3316         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3317         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3318         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3319         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3321 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3323         * sysdeps/i386/dl-procinfo.c: Include
3324         <sysdeps/x86/dl-procinfo.c>.
3325         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3326         * sysdeps/x86/dl-procinfo.c: New file.
3328 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3330         * sysdeps/generic/math_private.h: Remove declarations of
3331         many functions that are already declared in math.h.
3332         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3333         declaration for __frexpl.
3334         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3335         the declarations for __scalbnl and fabsl.
3337 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3339         [BZ #20831]
3340         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3341         of __mprotect to change protection on the excess portion
3342         to disallow all access.
3344 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3346         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3347         HAS_CPU_FEATURE to check for SSE.
3348         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3349         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3350         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3351         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3352         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3353         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3354         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3355         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3356         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3357         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3358         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3359         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3360         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3361         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3362         (index_cpu_SSE): Likewise.
3363         (reg_SSE): Likewise.
3365 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3367         * posix/getopt1.c: Include <config.h>, not "config.h".
3369 2017-04-07  Zack Weinberg  <zackw@panix.com>
3371         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3372         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3373         Mention in top-of-file boilerplate that these files are shared
3374         with gnulib.
3375         * posix/getopt.h, posix/bits/getopt_posix.h:
3376         Mention in top-of-file boilerplate that these files are NOT shared
3377         with gnulib, unlike the rest of the getopt implementation.
3379         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3380         New files, intended to be shared with gnulib.
3381         * posix/bits/getopt_posix.h:
3382         New file, not intended to be shared with gnulib.
3383         * posix/getopt.h: Now just includes features.h,
3384         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3385         no longer be shared with gnulib.
3386         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3387         * include/bits/getopt_posix.h: New wrappers.
3388         * posix/Makefile: Install new headers.
3389         * posix/unistd.h, libio/stdio.h:
3390         Include bits/getopt_posix.h instead of getopt.h.
3392         * include/libc-symbols.h: For gnulib compatibility, define
3393         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3394         _GL_ATTRIBUTE_CONST.
3395         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3396         parameters with _GL_UNUSED.
3398         * posix/getopt.c: When used standalone, define __libc_use_alloca
3399         as always false and alloca to abort if called.
3400         (process_long_option): Rewrite handling of ambiguous long options
3401         to use a single boolean vector, not a linked list; use
3402         __libc_use_alloca to decide whether to allocate this using alloca.
3403         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3405         * posix/getopt.c (process_long_option): New function split out
3406         from _getopt_internal_r.
3407         (_getopt_internal_r): Replace both copies of the long-option
3408         processing code with calls to process_long_option.
3409         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3410         (do_test): Differentiate argv[0] in the two subtests.
3412         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3413         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3414         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3416         * posix/getopt.h: Add backup definition of __nonnull for
3417         consistency with gnulib.  Define __getopt_argv_const to const
3418         if not already defined.
3419         (getopt): Update doc comment from gnulib.  Prototype
3420         unconditionally.  Add __nonnull annotation.
3421         (__posix_getopt): Add __nonnull annotation.
3422         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3423         prototypes for consistency with gnulib.  Add __nonnull
3424         annotations.
3425         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3426         (getopt_internal): Change 'argv' argument to type 'char **'.
3427         Remove now-unnecessary casts.
3428         (getopt, __posix_getopt): Eliminate repetition with a macro.
3429         Cast 'argv' to 'char **' when calling _getopt_internal.
3430         * posix/getopt1.c (getopt_long, getopt_long_only):
3431         Use __getopt_argv_const for consistency with gnulib.
3432         Cast 'argv' to 'char **' when calling _getopt_internal.
3433         (_getopt_long_r, _getopt_long_only_r):
3434         Change 'argv' argument to type 'char **'.
3435         (main): Constify 'long_options'.
3436         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3437         (_getopt_long_r, _getopt_long_only_r):
3438         Change 'argv' argument to type 'char **'.
3440         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3441         (locked_vfxprintf): New helper function. Handle arbitrary
3442         multibyte strings, not just ASCII.
3443         * include/stdio.h: Declare __fxprintf_nocancel.
3444         * posix/getopt.c: When _LIBC is defined, define fprintf to
3445         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3446         to _IO_funlockfile.  When neither _LIBC nor
3447         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3448         funlockfile as no-ops.
3449         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3450         the standalone error-printing code can now be used for libc as
3451         well.  Add an flockfile/funlockfile pair around one case where
3452         the error message is printed in several chunks.  Don't use fputc.
3453         * posix/tst-getopt-cancel.c: New test.
3454         * posix/Makefile: Run it.
3456         * posix/getopt.c (_getopt_internal_r): Don't increment
3457         d->optind a second time when reporting ambiguous -W options.
3459         * posix/getopt_int.h: Include getopt.h.
3460         Use impl-namespace names for all arguments to _getopt_internal and
3461         _getopt_internal_r.
3462         Declare __ordering enum outside the struct.
3463         Harmonize comments with gnulib.
3464         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3465         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3466         #ifdef TEST block and make unconditional.  Do not define NULL.
3467         * posix/getopt.c: Partial merge from gnulib, covering the
3468         initial includes and global declarations, commentary, and
3469         a couple of semantically-neutral code changes.
3471         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3472         Use '...' instead of `...' for quotation marks inside
3473         comments and strings.
3475         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3476         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3477         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3478         * posix/getopt_int.h: Likewise.
3479         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3480         __libc_argc and __libc_argv externs, which were only used by
3481         #ifdef USE_NONOPTION_FLAGS blocks.
3482         * posix/getopt_init.c: Remove file.
3483         * posix/Makefile (routines): Remove getopt_init.
3484         * include/getopt.h: Don't declare __getopt_initialize_environment.
3485         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3486         a comment.
3488 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3490         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3492 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3494         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3495         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3496         to __wrap_.udiv.
3497         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3498         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3500         * sysdeps/i386/symbol-hacks.h: New file.
3501         * sysdeps/m68k/symbol-hacks.h: New file.
3502         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3503         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3504         * sysdeps/unix/sysv/linux/i386/Makefile
3505         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3506         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3507         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3508         * sysdeps/unix/sysv/linux/m68k/Makefile
3509         [$(subdir) = csu] (sysdep_routines): Likewise.
3510         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3511         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3513         [$(subdir) = csu] (sysdep_routines): Likewise.
3514         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3515         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3516         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3517         [$(subdir) = csu] (sysdep_routines): Likewise.
3518         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3519         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3520         * sysdeps/wordsize-32/Makefile: Remove file.
3521         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3522         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3524 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3526         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3527         (TEST_FUNCTION_ARGV): New.
3529 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3531         * elf/next.c: Import support/test-driver.c instead of
3532         test-skeleton.c and delete TEST_FUNCTION macro definition.
3533         * elf/nodelete.c: Likewise.
3534         * elf/order2.c: Likewise.
3535         * elf/tst-_dl_addr_inside_object.c: Likewise.
3536         * elf/tst-addr1.c: Likewise.
3537         * elf/tst-align.c: Likewise.
3538         * elf/tst-align2.c: Likewise.
3539         * elf/tst-audit11.c: Likewise.
3540         * elf/tst-audit12.c: Likewise.
3541         * elf/tst-audit2.c: Likewise.
3542         * elf/tst-audit9.c: Likewise.
3543         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3544         * elf/tst-deep1.c: Likewise.
3545         * elf/tst-dl-iter-static.c: Likewise.
3546         * elf/tst-dlmodcount.c: Likewise.
3547         * elf/tst-dlmopen1.c: Likewise.
3548         * elf/tst-dlmopen2.c: Likewise.
3549         * elf/tst-dlmopen3.c: Likewise.
3550         * elf/tst-dlopen-aout.c: Likewise.
3551         * elf/tst-dlopenrpath.c: Likewise.
3552         * elf/tst-dlsym-error.c: Likewise.
3553         * elf/tst-execstack-needed.c: Likewise.
3554         * elf/tst-execstack-prog.c: Likewise.
3555         * elf/tst-execstack.c: Likewise.
3556         * elf/tst-global1.c: Likewise.
3557         * elf/tst-gnu2-tls1.c: Likewise.
3558         * elf/tst-latepthread.c: Likewise.
3559         * elf/tst-leaks1.c: Likewise.
3560         * elf/tst-linkall-static.c: Likewise.
3561         (do_test): New function.
3562         * elf/tst-nodelete-opened.c: Likewise.
3563         * elf/tst-nodelete.cc: Likewise.
3564         * elf/tst-nodelete2.c: Likewise.
3565         * elf/tst-noload.c: Likewise.
3566         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3567         * elf/tst-order-main.c: Likewise.
3568         * elf/tst-pathopt.c: Likewise.
3569         * elf/tst-pie2.c: Likewise.
3570         * elf/tst-piemod1.c: Likewise.
3571         * elf/tst-prelink.c: Likewise.
3572         * elf/tst-protected1a.c: Likewise.
3573         * elf/tst-protected1b.c: Likewise.
3574         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3575         and define _GNU_SOURCE macro.
3576         (cmdline_process_function): New function.
3577         * elf/tst-relsort1.c: Likewise.
3578         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3579         and define _GNU_SOURCE macro.
3580         (cmdline_process_function): New function.
3581         * elf/tst-thrlock.c: Likewise.
3582         * elf/tst-tls-dlinfo.c: Likewise.
3583         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3584         * elf/tst-tls1.c: Likewise.
3585         * elf/tst-tls10.c: Likewise.
3586         * elf/tst-tls11.c: Likewise.
3587         * elf/tst-tls12.c: Likewise.
3588         * elf/tst-tls13.c: Likewise.
3589         * elf/tst-tls14.c: Likewise.
3590         * elf/tst-tls15.c: Likewise.
3591         * elf/tst-tls16.c: Likewise.
3592         * elf/tst-tls17.c: Likewise.
3593         * elf/tst-tls18.c: Likewise.
3594         * elf/tst-tls19.c: Likewise.
3595         * elf/tst-tls2.c: Likewise.
3596         * elf/tst-tls3.c: Likewise.
3597         * elf/tst-tls4.c: Likewise.
3598         * elf/tst-tls5.c: Likewise.
3599         * elf/tst-tls6.c: Likewise.
3600         * elf/tst-tls7.c: Likewise.
3601         * elf/tst-tls8.c: Likewise.
3602         * elf/tst-tls9.c: Likewise.
3603         * elf/tst-tlsalign-extern.c: Likewise.
3604         * elf/tst-tlsalign.c: Likewise.
3605         * elf/tst-unique1.c: Likewise.
3606         * elf/tst-unique2.c: Likewise.
3607         * elf/vismain.c: Likewise.
3609 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3611         * string/test-strnlen.c (do_page_tests): New function
3612         to check length of strings ending at the page boundary.
3613         (test_main): Added call to the do_page_tests function.
3615 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3616             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3618         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3619         (sysdep_routines): Add strnlen-power8.
3620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3621         (strnlen): Add __strnlen_power8 to list of strnlen functions.
3622         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3623         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3624         (__strnlen): Add __strnlen_power8 to ifunc list.
3625         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3627 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3629         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3630         the TEST_FUNCTION macro definition.
3631         * wcsmbs/tst-mbrtowc2.c: Likewise.
3632         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3633         * wcsmbs/tst-wchar-h.c: Likewise.
3634         * wcsmbs/tst-wcpncpy.c: Likewise.
3635         * wcsmbs/tst-wcrtomb.c: Likewise.
3636         * wcsmbs/tst-wcsnlen.c: Likewise.
3637         * wcsmbs/tst-wcstof.c: Likewise.
3639 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3641         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3642         CALL_THREAD_FCT macro usage.
3643         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3644         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3645         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3647         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3648         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3649         (__ASSUME_REQUEUE_PI): Likewise.
3650         * sysdeps/unix/sysv/linux/kernel-features.h
3651         (__ASSUME_REQUEUE_PI): Likewise.
3652         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3653         (__ASSUME_REQUEUE_PI): Likewise.
3654         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3655         (__ASSUME_REQUEUE_PI): Likewise.
3656         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3657         (__ASSUME_REQUEUE_PI): Likewise.
3659 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3661         * resolv/tst-resolv-canonname.c: New file.
3662         * resolv/Makefile (tests): Add tst-resolv-canonname.
3663         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3665 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3667         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3668         Declare.
3669         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3670         (NS_MAXCDNAME): Remove definition.
3671         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3672         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3673         (NS_MAXCDNAME): Remove definition.
3674         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3676 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3678         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3679         call whose result is not used.
3681 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3683         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
3684         * resolv/Makefile (tests): Add tst-ns_name.
3685         (tst-ns_name): Link with -lresolv.
3686         (tst-ns_name.out): Depend on the input data file.
3688 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3690         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
3691         Clobber also r14.
3693 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
3695         [BZ #21253]
3696         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
3697         slack space by 32KiB.
3699 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
3701         [BZ #21338]
3702         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
3703         instead of incorrect do_set_arena_test
3705 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3707         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
3708         * math/bits/math-finite.h: Likewise.
3710 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
3712         [BZ #21289]
3713         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
3715 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3717         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
3718         non expected inotify_add_watch and quotactl return.
3720 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3722         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
3723         to int32_t.
3724         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
3725         as returning int32_t.
3727 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3729         * math/math.h: Include bits/math-finite.h once per
3730         floating-point type.
3731         * math/bits/math-finite.h: Macroize all declarations by
3732         floating-point type.
3734 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3736         [BZ #21182]
3737         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
3738         near end of a page.
3739         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
3740         overflow calculation.
3742 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3744         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
3745         (IMPL) Call with 1 instead of 0 as argument.
3747 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3749         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3750         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3751         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3752         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3753         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3754         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3755         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3756         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3757         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3758         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3759         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3760         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3761         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3762         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3763         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3764         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3765         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3766         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3767         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3768         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3769         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3770         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3771         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3772         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3773         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3774         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3775         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3776         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3777         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3778         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3779         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3780         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3781         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3782         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3783         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3784         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3785         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3786         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3787         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3788         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3789         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3790         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3791         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3792         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3793         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3794         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3795         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3796         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3798         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3799         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3800         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3801         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3802         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3803         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3804         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3805         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3806         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3807         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3808         defined.
3809         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3810         __NR_setgroups32 if defined.
3811         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3812         if defined.
3813         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3814         __NR_setresgid32 is defined.
3815         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3816         __NR_setresuid32 if defined.
3817         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3818         __NR_setreuid32 if defined.
3819         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3820         defined.
3821         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3822         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3823         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3824         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3825         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3826         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3827         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3828         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3829         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3830         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3831         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3832         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3833         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3834         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3835         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3836         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3837         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3838         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3839         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3840         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3841         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3842         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3843         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3844         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3845         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3846         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3847         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3848         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3849         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3850         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3851         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3852         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3853         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3854         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3855         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3856         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3857         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3858         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3859         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3860         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3861         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3862         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3863         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3864         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3865         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3866         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3867         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3868         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3869         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3870         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3871         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3872         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3873         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3874         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3875         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3876         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3877         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3878         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3879         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3880         defined.
3881         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3882         __NR_setgroups32 if defined.
3883         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3884         if defined.
3885         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3886         __NR_setresgid32 is defined.
3887         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3888         __NR_setresuid32 if defined.
3889         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3890         __NR_setreuid32 if defined.
3891         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3892         defined.
3894 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
3896         [BZ #21277]
3897         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
3898         unconditionally.
3899         (IMAXBEL): Likewise.
3900         (IUTF8): Likewise.
3902 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3904         * sysdeps/aarch64/libm-test-ulps: Update.
3906 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
3908         * README.tunables: Updated descriptions.
3909         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
3910         * scripts/gen-tunables.awk: Updated the code related to the
3911         commit.
3913 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
3915         * benchtests/Makefile (string-benchset): Add memcpy-random.
3916         * benchtests/bench-memcpy-random.c: New file.
3918 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3920         * stdio-common/printf.h (register_printf_modifier): Change the
3921         order of __wur and __THROW.
3922         (register_printf_type): Likewise.
3924 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3926         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3927         test_main ().
3928         (CMDLINE_PROCESS): Use function instead of defined macro.
3929         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3930         <suppport/support.h> to use set_fortify_handler().
3931         * string/bug-envz1.c: Import support/test-driver.c instead of
3932         test-skeleton.c.
3933         * string/bug-strcoll2.c: Likewise.
3934         * string/bug-strtok1.c: Likewise.
3935         * string/stratcliff.c: Likewise.
3936         * string/test-ffs.c: Likewise.
3937         * string/test-memccpy.c: Likewise.
3938         * string/test-memchr.c: Likewise.
3939         * string/test-memcmp.c: Likewise.
3940         * string/test-memcpy.c: Likewise.
3941         * string/test-memmem.c: Likewise.
3942         * string/test-memmove.c: Likewise.
3943         * string/test-memrchr.c: Likewise.
3944         * string/test-memset.c: Likewise.
3945         * string/test-rawmemchr.c: Likewise.
3946         * string/test-strcasecmp.c: Likewise.
3947         * string/test-strcasestr.c: Likewise.
3948         * string/test-strcat.c: Likewise.
3949         * string/test-strchr.c: Likewise.
3950         * string/test-strcmp.c: Likewise.
3951         * string/test-strcpy.c: Likewise.
3952         * string/test-string.h: Likewise.
3953         * string/test-strlen.c: Likewise.
3954         * string/test-strncasecmp.c: Likewise.
3955         * string/test-strncat.c: Likewise.
3956         * string/test-strncmp.c: Likewise.
3957         * string/test-strncpy.c: Likewise.
3958         * string/test-strnlen.c: Likewise.
3959         * string/test-strpbrk.c: Likewise.
3960         * string/test-strrchr.c: Likewise.
3961         * string/test-strspn.c: Likewise.
3962         * string/test-strstr.c: Likewise.
3963         * string/tst-bswap.c: Likewise.
3964         * string/tst-cmp.c: Likewise.
3965         * string/tst-endian.c: Likewise.
3966         * string/tst-inlcall.c: Likewise.
3967         * string/tst-strcoll-overflow.c: Likewise.
3968         * string/tst-strfry.c: Likewise.
3969         * string/tst-strlen.c: Likewise.
3970         * string/tst-strtok.c: Likewise.
3971         * string/tst-strtok_r.c: Likewise.
3972         * string/tst-strxfrm.c: Likewise.
3973         * string/tst-strxfrm2.c: Likewise.
3974         * string/tst-svc.c: Likewise.
3975         * string/tst-svc2.c: Likewise.
3977 2017-03-22  Zack Weinberg  <zackw@panix.com>
3979         * stdio-common/bug25.c: Include stdlib.h.
3980         * support/tst-support_format_dns_packet.c: Include stdio.h,
3981         stdlib.h, and string.h.
3982         * support/tst-support_record_failure.c: Include string.h.
3983         * support/tst-support_record_failure-2.sh: Adjust line number
3984         expectations and correct a typo in an error message.
3986 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3988         [BZ #21258]
3989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3990         Define only if _dl_runtime_resolve is defined to
3991         _dl_runtime_resolve_sse_vex.
3992         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3993         Fallthrough to _dl_runtime_resolve_sse_vex.
3995 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3997         * INSTALL: Regenerated.
3999 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
4001         * config.h.in: Add LINK_OBSOLETE_NSL.
4002         * config.make.in: Add build-obsolete-nsl.
4003         * configure.ac: Add obsolete-nsl option.
4004         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
4005         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
4006         * include/rpcsvc/nislib.h: Likewise.
4007         * include/rpcsvc/ypclnt.h: Likewise.
4008         * manual/install.texi: Document --enable-obsolete-nsl.
4009         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
4010         * nis/nis_add.c: Replace libnsl_hidden_def with
4011         libnsl_hidden_nolink_def.
4012         * nis/nis_addmember.c: Likewise.
4013         * nis/nis_call.c: Likewise.
4014         * nis/nis_clone_obj.c: Likewise.
4015         * nis/nis_defaults.c: Likeise.
4016         * nis/nis_domain_of_r.c: Likewise.
4017         * nis/nis_error.c: Likewise.
4018         * nis/nis_file.c: Likewise.
4019         * nis/nis_free.c: Likewise.
4020         * nis_local_names.c: Likewise.
4021         * nis/nis_lookup.c: Likewise.
4022         * nis/nis_modify.c: Likewise.
4023         * nis/nis_print.c: Likewise.
4024         * nis/nis_remove.c: Likewise.
4025         * nis/nis_table.c: Likewise.
4026         * nis/nis_util.c: Likewise.
4027         * nis/nis_xdr.c: Likewise.
4028         * nis/yp_xdr.c: Likewise.
4029         * nis/ypclnt.c: Likewise.
4030         * nis/ypupdate_xdr.c: Likewise.
4031         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
4032         * nis/nis_clone_dir.c: Likewise.
4033         * nis/nis_clone_res.c: Likewise.
4034         * nis/nis_creategroup.c: Likewise.
4035         * nis/nis_destroygroup.c: Likewise.
4036         * nis/nis_domain_of.c: Likewise.
4037         * nis/nis_getservlist.c: Likewise.
4038         * nis/nis_ismember.c: Likewise.
4039         * nis/nis_mkdir.c: Likewise.
4040         * nis/nis_ping.c: Likewise.
4041         * nis/nis_print_group_entry.c: Likewise.
4042         * nis/nis_removemember.c: Likewise.
4043         * nis/nis_rmdir.c: Likewise.
4044         * nis/nis_server.c: Likewise.
4045         * nis/nis_subr.c: Likewise.
4046         * nis/nis_verifygroup.c: Likewise.
4048 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4050         * malloc/tst-interpose-aux.c (check_for_allocations):
4051         Move compiler barrier before free.
4053 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
4055         [BZ #21279]
4056         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4057         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4058         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
4059         x86_64-x32-linux.
4060         (mq_attr.mq_maxmsg): Likewise.
4061         (mq_attr.mq_msgsize): Likewise.
4062         (mq_attr.mq_curmsgs): Likewise.
4064         [BZ #21278]
4065         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
4066         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4067         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
4068         mips-o32-linux.
4070         [BZ #21268]
4071         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
4072         if [__USE_MISC]
4073         (NL3): Likewise.
4075 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
4077         [BZ #21275]
4078         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
4079         __stack to __stackbase.
4080         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
4081         checks so we can include defined(__ia64__) first.
4083 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
4085         * sysdeps/unix/sysv/linux/ttyname.h: New file.
4086         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
4087         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
4088         Call is_pty when the link does not exist or does not match, fail
4089         with ENODEV when it returns true.
4090         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
4091         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
4092         Call is_pty when the link does not exist or does not match, fail
4093         with ENODEV when it returns true.
4095 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
4097         [BZ #16437]
4098         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4099         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4100         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
4101         x86_64-x32-linux.
4102         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
4103         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
4104         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
4106         [BZ #21261]
4107         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
4108         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
4109         names for all fields.
4110         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
4111         for jmp_buf field renaming.
4112         (_JMPBUF_UNWINDS_ADJ): Likewise.
4114         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
4115         with allow-header.
4117 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
4119         * malloc/malloc.c (unlink): Add consistency check between size and
4120         next->prev->size, to further harden against 1-byte overflows.
4122 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
4124         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4125         CPU_FEATURES_CPU_P.
4127 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
4129         [BZ #21259]
4130         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
4131         unconditionally, not just for [__USE_MISC].
4133         [BZ #17786]
4134         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
4135         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
4136         mips-o32-linux.
4138         [BZ #21260]
4139         * sysdeps/unix/sysv/linux/alpha/Makefile
4140         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4141         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
4143         * conform/conformtest.pl ($cross): New variable.
4144         (--cross): New command-line option.
4145         (runtest): Skip test execution when cross-compiling.
4146         * conform/Makefile (conformtest-cross): New variable.
4147         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
4148         conformtest.pl.
4150         * conform/conformtest.pl ($xfail_str): New variable.
4151         (--xfail=): New command-line option.
4152         (top level): Handle expectations starting xfail[cond]-.
4153         * conform/Makefile (conformtest-xfail): New variable.
4154         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
4155         conformtest.pl.
4157 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4159         * conform/conformtest.pl: Use compilation instead of execution
4160         tests for testing values of constants and usability in #if.
4162 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4164         * math/auto-libm-test-in: Mark some catan and catanh as
4165         xfail-rounding:ibm128-libgcc.
4166         * math/auto-libm-test-out-catan: Regenerate.
4167         * math/auto-libm-test-out-catanh: Likewise.
4169 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4171         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
4172         (__END_NAMESPACE_STD): Likewise.
4173         (__USING_NAMESPACE_STD): Likewise.
4174         (__BEGIN_NAMESPACE_C99): Likewise.
4175         (__END_NAMESPACE_C99): Likewise.
4176         (__USING_NAMESPACE_C99): Likewise.
4177         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4178         undefine macro.
4179         (_Mdouble_END_NAMESPACE): Likewise.
4180         * ctype/ctype.h: Do not handle C++ namespaces.
4181         * libio/bits/stdio-ldbl.h: Likewise.
4182         * libio/stdio.h: Likewise.
4183         * locale/locale.h: Likewise.
4184         * math/bits/mathcalls.h: Likewise.
4185         * setjmp/setjmp.h: Likewise.
4186         * signal/signal.h: Likewise.
4187         * stdlib/bits/stdlib-float.h: Likewise.
4188         * stdlib/bits/stdlib-ldbl.h: Likewise.
4189         * stdlib/stdlib.h: Likewise.
4190         * string/string.h: Likewise.
4191         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4192         * time/bits/types/clock_t.h: Likewise.
4193         * time/bits/types/struct_tm.h: Likewise.
4194         * time/bits/types/time_t.h: Likewise.
4195         * time/time.h: Likewise.
4196         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4197         * wcsmbs/uchar.h: Likewise.
4198         * wcsmbs/wchar.h: Likewise.
4199         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
4200         * wctype/wctype.h: Do not handle C++ namespaces.
4201         * scripts/begin-end-check.pl: Remove.
4202         * Makefile (installed-headers): Likewise.
4203         (tests-special): Do not add $(objpfx)begin-end-check.out.
4204         ($(objpfx)begin-end-check.out): Remove.
4206 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
4207             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4209         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
4210         (DL_PLATFORM_INIT): New define.
4211         (dl_platform_init): New function.
4212         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
4213         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
4214         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
4215         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
4216         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
4218 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
4220         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
4221         instead of PIC.
4223 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4225         [BZ #21094]
4226         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4227         24+24+24-bit pi for wider range of values around pi/2.
4228         * math/auto-libm-test-in: Add more tests of cos and tan.
4229         * math/auto-libm-test-out-cos: Regenerated.
4230         * math/auto-libm-test-out-tan: Likewise.
4232 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
4234         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
4235         (RTLD_START): Don't record stack end address in _dl_start_user.
4237 2017-03-15  Alexey Neyman  <stilor@att.net>
4239         [BZ #21088]
4240         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
4241         around definitions match those around use.
4243 2017-03-15  Alexey Neyman  <stilor@att.net>
4245         * configure.ac: Avoid empty subexpression in grep.
4246         * configure: Regenerate.
4248 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4250         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
4251         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
4252         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
4253         (test_wrp_rv): Fix format.
4254         (test_wrp_rv2): New macro.
4255         (do_test): Handle mlock return on 64 bits kernels with 32 bits
4256         binaries.
4258 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4260         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
4261         Use a union when storing pointers.
4262         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
4263         cast result when passing to INIT_VEC_PTRS_LOOP.
4264         (VECTOR_WRAPPER_fFF_3): Likewise.
4265         (VECTOR_WRAPPER_fFF_4): Likewise.
4267 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4269         * include/bits/mathcalls-helper-functions.h: New file.
4270         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
4271         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
4272         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
4273         math/bits/mathcalls-helper-functions.h.
4274         * math/bits/mathcalls-helper-functions.h: New file.
4275         * math/math.h: Include bits/mathcalls-helper-functions.h for
4276         float, double, and long double.
4278 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4280         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4281         instead of feraiseexcept.
4283 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4285         [BZ #21243]
4286         * support/temp_file.c (support_delete_temp_files): Add comment
4287         about ignored errors.
4289 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4291         [BZ #21244]
4292         * support/xclose.c: New file.
4293         * support/Makefile (libsupport-routines): Add xclose.
4294         * support/xunistd.h (xclose): Declare.
4295         * support/resolv_test.c (server_thread_tcp_client)
4296         (server_thread_tcp, make_server_sockets, resolv_test_start)
4297         (resolv_test_end): Call xclose instead of close.
4298         * support/support_enter_network_namespace.c
4299         (support_enter_network_namespace): Likewise.
4300         * support/support_run_diff.c (write_to_temp_file): Likewise.
4302 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4304         * support/support_format_dns_packet.c (support_format_dns_packet):
4305         Handle CNAME records in the response.  Extract RDATA names from
4306         rdata, not the whole packet.  Check AAAA record length.
4307         * support/tst-support_format_dns_packet.c: New file.
4308         * support/Makefile (tests): Add tst-support_format_dns_packet.
4309         (tst-support_format_dns_packet): Link against libresolv.
4311 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4313         [BZ #21232]
4314         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4315         posix_fadvise64 weak_alias for static build.
4317 2017-03-14  Andreas Schwab  <schwab@suse.de>
4319         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4320         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4321         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4322         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4323         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4324         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4325         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4326         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4328 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4330         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4331         posix error code.
4332         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4334 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4336         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4337         no_isolate usage for SH.
4339 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4341         [BZ #15105]
4342         [BZ #19463]
4343         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4344         * inet/rcmd.c (rcmd_af): Likewise.
4345         * inet/rexec.c   (rexec_af): Likewise.
4346         * intl/dcigettext.c (_LIBC): Likewise.
4347         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4348         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4349         * locale/setlocale.c (setlocale): Likewise.
4350         * posix/spawn_faction_addopen.c
4351         (posix_spawn_file_actions_addopen): Likewise.
4352         * stdlib/putenv.c (putenv): Use __strndup.
4353         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4355         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4356         (__Need_M_And_C) Remove define/undef.
4357         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4358         (__malloc_and_calloc_defined): Remove define.
4359         * string/bits/string2.h (__strdup): Remove define.
4360         (strdup): Likewise.
4361         (__strndup): Likewise.
4362         (strndup): Likewise.
4364 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4366         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4367         macro.
4368         (IPV6_ADDR_PREFERENCES): Likewise.
4369         (IPV6_MINHOPCOUNT): Likewise.
4370         (IPV6_ORIGDSTADDR): Likewise.
4371         (IPV6_RECVORIGDSTADDR): Likewise.
4372         (IPV6_TRANSPARENT): Likewise.
4373         (IPV6_UNICAST_IF): Likewise.
4374         (IPV6_RECVFRAGSIZE): Likewise.
4376 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4378         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4380 2017-03-12  Alexey Neyman <stilor@att.net>
4382         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4383         in R_SH_DIR32 case is always false when inlined from
4384         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4386 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4388         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4389         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4390         __ASSUME_SEND_SYSCALL.
4392 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4394         * sunrpc/Makefile: don't build and install rpcsvc header
4395         files, rpcgen and librpcsvc.a by default.
4397 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4399         * math/auto-libm-test-out-catan: Regenerated.
4400         * math/auto-libm-test-out-catanh: Likewise.
4401         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4403 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4405         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4406         for long double with corrected test expectations.
4408 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4410         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4411         Define.
4412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4413         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4414         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4415         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4416         * sysdeps/unix/sysv/linux/tile/sysdep.h
4417         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4418         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4419         (__ASSUME_RECV_SYSCALL): Define.
4420         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4421         (__ASSUME_RECV_SYSCALL): Likewise.
4422         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4423         (__ASSUME_RECV_SYSCALL): Likewise.
4424         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4425         (__ASSUME_RECV_SYSCALL): Likewise.
4426         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4427         (__ASSUME_RECV_SYSCALL): Likewise.
4428         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4429         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4430         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4431         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4432         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4433         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4434         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4435         auto-generation list.
4436         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4437         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4438         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4439         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4440         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4441         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4442         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4443         __ASSUME_SENDTO_SYSCALL.
4444         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4445         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4446         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4448         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4449         auto-generation list.
4450         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4451         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4452         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4453         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4454         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4455         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4456         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4457         * sysdeps/unix/sysv/linux/kernel-features.h
4458         (__ASSUME_SENDTO_SYSCALL): Define by default.
4459         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4460         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4461         __NR_sendto.
4462         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4463         (__ASSUME_SENDTO_SYSCALL): Likewise.
4464         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4465         (__ASSUME_SENDTO_SYSCALL): Likewise.
4466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4467         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4468         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4469         (__ASSUME_SENDTO_SYSCALL): Likewise.
4470         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4471         (__ASSUME_SENDTO_SYSCALL): Likewise.
4472         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4474         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4475         auto-generation list.
4476         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4477         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4478         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4479         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4480         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4481         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4482         (__ASSUME_RECV_SYSCALL): New define.
4483         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4484         (__ASSUME_RECV_SYSCALL): Likewise.
4485         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4486         (__ASSUME_RECV_SYSCALL): Likewise.
4487         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4488         (__ASSUME_RECV_SYSCALL): Likewise.
4489         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4490         (__ASSUME_RECV_SYSCALL): Likewise.
4491         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4492         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4493         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4494         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4495         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4496         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4497         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4498         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4499         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4500         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4501         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4502         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4504         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4505         auto-generation list.
4506         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4507         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4508         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4509         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4510         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4511         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4512         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4513         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4514         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4515         * sysdeps/unix/sysv/linux/kernel-features.h
4516         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4517         __NR_recvfrom.
4518         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4519         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4520         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4521         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4522         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4523         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4524         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4525         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4526         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4527         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4528         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4529         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4530         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4532         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4533         auto-generation list.
4534         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4535         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4536         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4537         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4538         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4539         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4540         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4541         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4542         * sysdeps/unix/sysv/linux/kernel-features.h
4543         (__ASSUME_CONNECT_SYSCALL): Define.
4544         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4545         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4546         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4547         (__ASSUME_CONNECT_SYSCALL): Likewise.
4548         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4549         (__ASSUME_CONNECT_SYSCALL): Likewise.
4550         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4551         (__ASSUME_CONNECT_SYSCALL): Likewise.
4553         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4554         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4555         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4556         auto-generation list.
4557         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4558         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4559         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4560         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4561         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4562         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4563         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4564         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4565         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4566         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4567         * sysdeps/unix/sysv/linux/kernel-features.h
4568         (__ASSUME_ACCEPT_SYSCALL): New define.
4569         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4570         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4571         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4572         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4573         (__ASSUME_ACCEPT_SYSCALL): Define.
4574         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4575         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4576         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4577         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4578         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4579         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4580         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4581         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4582         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4584 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4585             Zack Weinberg  <zackw@panix.com>
4587         * posix/test-errno.c: New file.
4588         * posix/Makefile (tests): Add test-errno.
4589         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4590         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4592 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4594         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4596 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4598         * time/tzset.c (compute_offset): Open-code min macro.
4599         (min, max, sign): Remove.
4601 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4603         [BZ #15576]
4604         Remove TZNAME_MAX limit from sysconf.
4605         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4606         declaration.
4607         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4608         compute_tzname_max.
4609         (compute_tzname_max): Remove.
4610         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4611         (update_vars): Do not update __tzname_cur_max.
4612         (tzset_internal): Remove argument.
4613         (__tzset): Adjust call to tzset_internal.
4614         (__tz_convert): Likewise.
4616         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4617         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4618         * manual/conf.texi (Sysconf Definition): Update comment.
4620 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4622         [BZ #21209]
4623         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4624         AT_SECURE processes.
4625         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4626         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4627         (test_child): Likewise.
4628         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4630 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4632         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4634 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4636         * sysdeps/s390/atomic-machine.h
4637         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4638         (__arch_compare_and_exchange_val_8_acq,
4639         __arch_compare_and_exchange_val_16_acq,
4640         __arch_compare_and_exchange_val_32_acq,
4641         __arch_compare_and_exchange_val_64_acq):
4642         Delete macro.
4643         (atomic_compare_and_exchange_val_acq,
4644         atomic_compare_and_exchange_val_rel,
4645         atomic_compare_and_exchange_bool_acq,
4646         catomic_compare_and_exchange_bool_acq,
4647         atomic_exchange_acq, atomic_exchange_rel,
4648         atomic_exchange_and_add_acq,
4649         atomic_exchange_and_add_rel,
4650         catomic_exchange_and_add, atomic_or_val,
4651         atomic_or, catomic_or, atomic_bit_test_set,
4652         atomic_and_val, atomic_and, catomic_and):
4653         Define macros with help of C11 atomic builtins.
4655 2017-03-03  Justus Winter <justus@gnupg.org>
4657         * sysdeps/mach/hurd/ftruncate64.c: New file.
4658         * sysdeps/mach/hurd/truncate64.c: Likewise.
4660 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4662         * time/tzfile.c (NOID): Do not define.
4663         * time/tzset.c (NOID): Likewise.
4665 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4667         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4669 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4671         * elf/get-dynamic-info.h: Remove header file inclusion guard.
4673 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4675         [BZ #21015]
4676         * manual/install.texi (Configuring and compiling): Document
4677         --enable-bind-now.
4678         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4679         (build-shlib-helper): Use $(LDFLAGS-lib.so).
4680         (format.lds): Likewise.
4681         [bind-now] (LDFLAGS-c.so): Remove.
4682         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
4683         be R_X86_64_GLOB_DAT.
4684         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
4685         relocation can be R_386_GLOB_DAT.
4686         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
4687         relocaiton can be R_ALPHA_GLOB_DAT.
4688         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
4690 2017-03-01  Zack Weinberg  <zackw@panix.com>
4692         * include/libc-pointer-arith.h: New file.  Define
4693         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
4694         PTR_ALIGN_DOWN here.
4695         * include/libc-internal.h: Definitions of above macros
4696         moved from here.  Don't include libc-diag.h anymore either.
4697         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
4698         Don't include libc-internal.h.
4700         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
4701         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
4702         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
4703         * string/strcoll_l.c, sysdeps/nacl/brk.c
4704         * sysdeps/unix/clock_settime.c
4705         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
4706         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
4707         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4708         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
4709         Don't include libc-internal.h.
4711         * elf/get-dynamic-info.h, iconv/loop.c
4712         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
4713         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
4714         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
4715         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
4716         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4717         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
4718         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4719         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
4720         * sysdeps/ieee754/ldbl-128/k_tanl.c
4721         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4722         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4723         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
4724         Include libc-diag.h instead of libc-internal.h.
4726         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
4727         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
4728         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
4729         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
4730         * sysdeps/unix/sysv/linux/spawni.c
4731         * sysdeps/x86_64/nptl/tls.h:
4732         Include libc-pointer-arith.h instead of libc-internal.h.
4734         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
4735         * sysdeps/x86_64/atomic-machine.h:
4736         Add multiple include guard.
4738         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
4739         * string/strcasestr.c: No need to include config.h.
4740         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
4741         sys/auxv.h. Don't include sysdep.h.
4742         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
4744         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
4745         DL_LOOKUP_ADDRESS.
4746         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
4747         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
4748         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
4749         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
4750         of ARTIFICIAL_LIMIT.
4751         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
4752         declaration of __clone2.
4754 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4756         * scripts/backport-support.sh (latest_commit): New file.
4758 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4760         [BZ #20257]
4761         * inet/Makefile (routines): Add deadline.
4762         (tests-static): Add tst-deadline.
4763         * inet/net-internal.h (struct deadline_current_time)
4764         (__deadline_current_time, struct deadline, __deadline_is_infinite)
4765         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
4766         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
4767         * inet/deadline.c: New file.
4768         * inet/tst-deadline.c: Likewise.
4769         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
4770         tst-udp-timeout, tst-udp-garbage.
4771         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
4772         explicitly.
4773         (tst-udp-garbage): Likewise.  Also link against thread library.
4774         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
4775         struct layout is part of the ABI.
4776         (clntudp_call): Rework timeout handling.
4777         * sunrpc/tst-udp-garbage.c: New file.
4778         * sunrpc/tst-udp-nonblocking.c: Likewise.
4779         * sunrpc/tst-udp-timeout.c: Likewise.
4781 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4783         [BZ #5010]
4784         * sunrpc/svc.c (svc_is_mapped): Remove.
4785         (svc_unregister): Obtain mapped status while the service is still
4786         registered.
4787         * sunrpc/Makefile [have-thread-library] (tests): Add
4788         tst-svc_register.
4789         (tst-svc_register): Link against libc.so explicitly and the thread
4790         library.
4791         * sunrpc/tst-svc_register.c: New file.
4793 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4795         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
4796         * sysdeps/pthread/bits/sigthread.h: Likewise.
4798 2017-02-27  Florian Weimer  <fweimer@redhat.com>
4800         [BZ #21115]
4801         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
4802         * sunrpc/Makefile (tests): Add tst-udp-error.
4803         (tst-udp-error): Link against libc.so explicitly.
4804         * sunrpc/tst-udp-error: New file.
4806 2017-02-25  Zack Weinberg  <zackw@panix.com>
4808         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
4809         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
4811         * sysdeps/generic/math_ldbl.h
4812         * sysdeps/ia64/fpu/math_ldbl.h
4813         * sysdeps/ieee754/ldbl-128/math_ldbl.h
4814         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4815         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4816         * sysdeps/powerpc/fpu/math_ldbl.h
4817         * sysdeps/x86_64/fpu/math_ldbl.h:
4818         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
4819         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
4820         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
4821         Add copyright notices.
4823         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4824         Don't use EXTRACT_WORDS64.
4826         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
4827         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
4828         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
4829         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
4830         Include math_ldbl.h, not math_private.h.
4832 2017-02-25  Zack Weinberg  <zackw@panix.com>
4834         * include/libc-diag.h: New file.  Define ignore_value,
4835         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
4836         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
4838         * include/libc-internal.h: Definitions of above macros moved from
4839         here.  Include libc-diag.h.  Add copyright notice.
4841         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
4842         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
4843         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
4844         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
4845         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
4846         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
4847         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
4848         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
4849         Include libc-diag.h instead of libc-internal.h.
4851         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
4852         call to unsetenv (NULL).
4853         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
4854         call to pthread_mutexattr_destroy (NULL).
4856 2017-02-25  Zack Weinberg  <zackw@panix.com>
4858         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
4859         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
4860         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
4861         gets was removed from C++ in C++14.
4862         * include/stdio.h: Remove redundant declaration of gets.
4863         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
4864         be declared, since we are testing it.
4865         * stdio-common/Makefile (tst-gets.c): Compile with
4866         -Wno-deprecated-declarations.
4867         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
4868         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
4869         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
4870         Compile with -Wno-deprecated-declarations.
4872 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4874         * math/libm-test-support.c (check_ulp): Use LIT() around literal
4875         numbers.
4877 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4879         * resolv/tst-resolv-qtypes.c (domain):
4880         Change type to const pointer to const char.
4882 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
4884         * math/Makefile (libm-tests-generated): Remove variable.
4885         (libm-tests-base-normal): New variable.
4886         (libm-tests-base-finite): Likewise.
4887         (libm-tests-base-inline): Likewise.
4888         (libm-tests-base): Likewise.
4889         (libm-tests-normal): Likewise.
4890         (libm-tests-finite): Likewise.
4891         (libm-tests-inline): Likewise.
4892         (libm-tests-vector): Likewise.
4893         (libm-tests): Define in terms of these new variables.
4894         (libm-tests-for-type): New variable.
4895         (libm-tests.o): Move definition.
4896         (tests): Move addition of $(libm-tests).
4897         (generated): Update for new and removed libm test files.
4898         ($(objpfx)libm-test.c): Remove target.
4899         ($(objpfx)libm-have-vector-test.h): Likewise.
4900         (CFLAGS-test-double-vlen2.c): Remove variable.
4901         (CFLAGS-test-double-vlen4.c): Likewise.
4902         (CFLAGS-test-double-vlen8.c): Likewise.
4903         (CFLAGS-test-float-vlen4.c): Likewise.
4904         (CFLAGS-test-float-vlen8.c): Likewise.
4905         (CFLAGS-test-float-vlen16.c): Likewise.
4906         (CFLAGS-test-float.c): Likewise.
4907         (CFLAGS-test-float-finite.c): Likewise.
4908         (CFLAGS-libm-test-support-float.c): Likewise.
4909         (CFLAGS-test-double.c): Likewise.
4910         (CFLAGS-test-double-finite.c): Likewise.
4911         (CFLAGS-libm-test-support-double.c): Likewise.
4912         (CFLAGS-test-ldouble.c): Likewise.
4913         (CFLAGS-test-ldouble-finite.c): Likewise.
4914         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4915         (libm-test-inline-cflags): New variable.
4916         (CFLAGS-test-ifloat.c): Remove variable.
4917         (CFLAGS-test-idouble.c): Likewise.
4918         (CFLAGS-test-ildouble.c): Likewise.
4919         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4920         dependencies.
4921         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4922         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4923         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4924         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4925         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4926         Likewise.
4927         (dependencies on libm-test-support-*.o): Remove.
4928         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4929         rules using iterators.
4930         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4931         Likewise.
4932         ($(objpfx)libm-test-support-$(o).o): Likewise.
4933         ($(addprefix $(objpfx),$(filter-out $(tests-static)
4934         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4935         instead.
4936         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4937         define rule instead.
4938         * math/README.libm-test: Update.
4939         * math/libm-test-acos.inc: Include libm-test-driver.c.
4940         (do_test): New function.
4941         * math/libm-test-acosh.inc: Include libm-test-driver.c.
4942         (do_test): New function.
4943         * math/libm-test-asin.inc: Include libm-test-driver.c.
4944         (do_test): New function.
4945         * math/libm-test-asinh.inc: Include libm-test-driver.c.
4946         (do_test): New function.
4947         * math/libm-test-atan.inc: Include libm-test-driver.c.
4948         (do_test): New function.
4949         * math/libm-test-atan2.inc: Include libm-test-driver.c.
4950         (do_test): New function.
4951         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4952         (do_test): New function.
4953         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4954         (do_test): New function.
4955         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4956         (do_test): New function.
4957         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4958         (do_test): New function.
4959         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4960         (do_test): New function.
4961         * math/libm-test-carg.inc: Include libm-test-driver.c.
4962         (do_test): New function.
4963         * math/libm-test-casin.inc: Include libm-test-driver.c.
4964         (do_test): New function.
4965         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4966         (do_test): New function.
4967         * math/libm-test-catan.inc: Include libm-test-driver.c.
4968         (do_test): New function.
4969         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4970         (do_test): New function.
4971         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4972         (do_test): New function.
4973         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4974         (do_test): New function.
4975         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4976         (do_test): New function.
4977         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4978         (do_test): New function.
4979         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4980         (do_test): New function.
4981         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4982         (do_test): New function.
4983         * math/libm-test-clog.inc: Include libm-test-driver.c.
4984         (do_test): New function.
4985         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4986         (do_test): New function.
4987         * math/libm-test-conj.inc: Include libm-test-driver.c.
4988         (do_test): New function.
4989         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4990         (do_test): New function.
4991         * math/libm-test-cos.inc: Include libm-test-driver.c.
4992         (do_test): New function.
4993         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4994         (do_test): New function.
4995         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4996         (do_test): New function.
4997         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4998         (do_test): New function.
4999         * math/libm-test-creal.inc: Include libm-test-driver.c.
5000         (do_test): New function.
5001         * math/libm-test-csin.inc: Include libm-test-driver.c.
5002         (do_test): New function.
5003         * math/libm-test-csinh.inc: Include libm-test-driver.c.
5004         (do_test): New function.
5005         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
5006         (do_test): New function.
5007         * math/libm-test-ctan.inc: Include libm-test-driver.c.
5008         (do_test): New function.
5009         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
5010         (do_test): New function.
5011         * math/libm-test-erf.inc: Include libm-test-driver.c.
5012         (do_test): New function.
5013         * math/libm-test-erfc.inc: Include libm-test-driver.c.
5014         (do_test): New function.
5015         * math/libm-test-exp.inc: Include libm-test-driver.c.
5016         (do_test): New function.
5017         * math/libm-test-exp10.inc: Include libm-test-driver.c.
5018         (do_test): New function.
5019         * math/libm-test-exp2.inc: Include libm-test-driver.c.
5020         (do_test): New function.
5021         * math/libm-test-expm1.inc: Include libm-test-driver.c.
5022         (do_test): New function.
5023         * math/libm-test-fabs.inc: Include libm-test-driver.c.
5024         (do_test): New function.
5025         * math/libm-test-fdim.inc: Include libm-test-driver.c.
5026         (do_test): New function.
5027         * math/libm-test-floor.inc: Include libm-test-driver.c.
5028         (do_test): New function.
5029         * math/libm-test-fma.inc: Include libm-test-driver.c.
5030         (do_test): New function.
5031         * math/libm-test-fmax.inc: Include libm-test-driver.c.
5032         (do_test): New function.
5033         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
5034         (do_test): New function.
5035         * math/libm-test-fmin.inc: Include libm-test-driver.c.
5036         (do_test): New function.
5037         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
5038         (do_test): New function.
5039         * math/libm-test-fmod.inc: Include libm-test-driver.c.
5040         (do_test): New function.
5041         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
5042         (do_test): New function.
5043         * math/libm-test-frexp.inc: Include libm-test-driver.c.
5044         (do_test): New function.
5045         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
5046         (do_test): New function.
5047         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
5048         (do_test): New function.
5049         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
5050         (do_test): New function.
5051         * math/libm-test-hypot.inc: Include libm-test-driver.c.
5052         (do_test): New function.
5053         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
5054         (do_test): New function.
5055         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
5056         (do_test): New function.
5057         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
5058         (do_test): New function.
5059         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
5060         (do_test): New function.
5061         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
5062         (do_test): New function.
5063         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
5064         (do_test): New function.
5065         * math/libm-test-isinf.inc: Include libm-test-driver.c.
5066         (do_test): New function.
5067         * math/libm-test-isless.inc: Include libm-test-driver.c.
5068         (do_test): New function.
5069         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
5070         (do_test): New function.
5071         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
5072         (do_test): New function.
5073         * math/libm-test-isnan.inc: Include libm-test-driver.c.
5074         (do_test): New function.
5075         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
5076         (do_test): New function.
5077         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
5078         (do_test): New function.
5079         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
5080         (do_test): New function.
5081         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
5082         (do_test): New function.
5083         * math/libm-test-iszero.inc: Include libm-test-driver.c.
5084         (do_test): New function.
5085         * math/libm-test-j0.inc: Include libm-test-driver.c.
5086         (do_test): New function.
5087         * math/libm-test-j1.inc: Include libm-test-driver.c.
5088         (do_test): New function.
5089         * math/libm-test-jn.inc: Include libm-test-driver.c.
5090         (do_test): New function.
5091         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
5092         (do_test): New function.
5093         * math/libm-test-llogb.inc: Include libm-test-driver.c.
5094         (do_test): New function.
5095         * math/libm-test-llrint.inc: Include libm-test-driver.c.
5096         (do_test): New function.
5097         * math/libm-test-llround.inc: Include libm-test-driver.c.
5098         (do_test): New function.
5099         * math/libm-test-log.inc: Include libm-test-driver.c.
5100         (do_test): New function.
5101         * math/libm-test-log10.inc: Include libm-test-driver.c.
5102         (do_test): New function.
5103         * math/libm-test-log1p.inc: Include libm-test-driver.c.
5104         (do_test): New function.
5105         * math/libm-test-log2.inc: Include libm-test-driver.c.
5106         (do_test): New function.
5107         * math/libm-test-logb.inc: Include libm-test-driver.c.
5108         (do_test): New function.
5109         * math/libm-test-lrint.inc: Include libm-test-driver.c.
5110         (do_test): New function.
5111         * math/libm-test-lround.inc: Include libm-test-driver.c.
5112         (do_test): New function.
5113         * math/libm-test-modf.inc: Include libm-test-driver.c.
5114         (do_test): New function.
5115         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
5116         (do_test): New function.
5117         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
5118         (do_test): New function.
5119         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
5120         (do_test): New function.
5121         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
5122         (do_test): New function.
5123         * math/libm-test-nextup.inc: Include libm-test-driver.c.
5124         (do_test): New function.
5125         * math/libm-test-pow.inc: Include libm-test-driver.c.
5126         (do_test): New function.
5127         * math/libm-test-remainder.inc: Include libm-test-driver.c.
5128         (do_test): New function.
5129         * math/libm-test-remquo.inc: Include libm-test-driver.c.
5130         (do_test): New function.
5131         * math/libm-test-rint.inc: Include libm-test-driver.c.
5132         (do_test): New function.
5133         * math/libm-test-round.inc: Include libm-test-driver.c.
5134         (do_test): New function.
5135         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
5136         (do_test): New function.
5137         * math/libm-test-scalb.inc: Include libm-test-driver.c.
5138         (do_test): New function.
5139         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
5140         (do_test): New function.
5141         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
5142         (do_test): New function.
5143         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
5144         (do_test): New function.
5145         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
5146         (do_test): New function.
5147         * math/libm-test-signbit.inc: Include libm-test-driver.c.
5148         (do_test): New function.
5149         * math/libm-test-significand.inc: Include libm-test-driver.c.
5150         (do_test): New function.
5151         * math/libm-test-sin.inc: Include libm-test-driver.c.
5152         (do_test): New function.
5153         * math/libm-test-sincos.inc: Include libm-test-driver.c.
5154         (do_test): New function.
5155         * math/libm-test-sinh.inc: Include libm-test-driver.c.
5156         (do_test): New function.
5157         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
5158         (do_test): New function.
5159         * math/libm-test-tan.inc: Include libm-test-driver.c.
5160         (do_test): New function.
5161         * math/libm-test-tanh.inc: Include libm-test-driver.c.
5162         (do_test): New function.
5163         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
5164         (do_test): New function.
5165         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
5166         (do_test): New function.
5167         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
5168         (do_test): New function.
5169         * math/libm-test-trunc.inc: Include libm-test-driver.c.
5170         (do_test): New function.
5171         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
5172         (do_test): New function.
5173         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
5174         (do_test): New function.
5175         * math/libm-test-y0.inc: Include libm-test-driver.c.
5176         (do_test): New function.
5177         * math/libm-test-y1.inc: Include libm-test-driver.c.
5178         (do_test): New function.
5179         * math/libm-test-yn.inc: Include libm-test-driver.c.
5180         (do_test): New function.
5181         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5182         (HAVE_VECTOR): Remove macro.
5183         (START): Do not call HAVE_VECTOR.
5184         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5185         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5186         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5187         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5188         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5189         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5190         * math/test-math-vector.h (FUNC_TEST): New macro.
5191         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5192         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5193         (double-vlen4-funcs): Likewise.
5194         (double-vlen4-avx2-funcs): Likewise.
5195         (double-vlen8-funcs): Likewise.
5196         (float-vlen4-funcs): Likewise.
5197         (float-vlen8-funcs): Likewise.
5198         (float-vlen8-avx2-funcs): Likewise.
5199         (float-vlen16-funcs): Likewise.
5200         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
5201         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
5202         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
5203         macro.
5204         (TEST_VECTOR_sin): Likewise.
5205         (TEST_VECTOR_sincos): Likewise.
5206         (TEST_VECTOR_log): Likewise.
5207         (TEST_VECTOR_exp): Likewise.
5208         (TEST_VECTOR_pow): Likewise.
5209         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
5210         Likewise.
5211         (TEST_VECTOR_sin): Likewise.
5212         (TEST_VECTOR_sincos): Likewise.
5213         (TEST_VECTOR_log): Likewise.
5214         (TEST_VECTOR_exp): Likewise.
5215         (TEST_VECTOR_pow): Likewise.
5216         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
5217         Likewise.
5218         (TEST_VECTOR_sinf): Likewise.
5219         (TEST_VECTOR_sincosf): Likewise.
5220         (TEST_VECTOR_logf): Likewise.
5221         (TEST_VECTOR_expf): Likewise.
5222         (TEST_VECTOR_powf): Likewise.
5223         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
5224         Likewise.
5225         (TEST_VECTOR_sinf): Likewise.
5226         (TEST_VECTOR_sincosf): Likewise.
5227         (TEST_VECTOR_logf): Likewise.
5228         (TEST_VECTOR_expf): Likewise.
5229         (TEST_VECTOR_powf): Likewise.
5230         * math/gen-libm-have-vector-test.sh: Remove file.
5231         * math/libm-test.inc: Likewise.
5232         * math/libm-test-support-double.c: Likewise.
5233         * math/libm-test-support-float.c: Likewise.
5234         * math/libm-test-support-ldouble.c: Likewise.
5235         * math/test-double-finite.c: Likewise.: Likewise.
5236         * math/test-double.c: Likewise.
5237         * math/test-float-finite.c: Likewise.
5238         * math/test-float.c: Likewise.
5239         * math/test-idouble.c: Likewise.
5240         * math/test-ifloat.c: Likewise.
5241         * math/test-ildouble.c: Likewise.
5242         * math/test-ldouble-finite.c: Likewise.
5243         * math/test-ldouble.c: Likewise.
5244         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5245         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
5246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5247         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5248         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5249         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5250         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5251         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
5252         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5253         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5255 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5256            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5258         * math/Makefile: Add wrappers to gen-libm-calls.
5259         * math/w_acos_template.c: New file.
5260         * math/w_acosh_template.c: Likewise.
5261         * math/w_asin_template.c: Likewise.
5262         * math/w_atan2_template.c: Likewise.
5263         * math/w_atanh_template.c: Likewise.
5264         * math/w_cosh_template.c: Likewise.
5265         * math/w_exp10_template.c: Likewise.
5266         * math/w_exp2_template.c: Likewise.
5267         * math/w_exp_template.c: Likewise.
5268         * math/w_fmod_template.c: Likewise.
5269         * math/w_hypot_template.c: Likewise.
5270         * math/w_j0_template.c: Likewise.
5271         * math/w_j1_template.c: Likewise.
5272         * math/w_jn_template.c: Likewise.
5273         * math/w_lgamma_r_template.c: Likewise.
5274         * math/w_lgamma_template.c: Likewise.
5275         * math/w_log10_template.c: Likewise.
5276         * math/w_log2_template.c: Likewise.
5277         * math/w_log_template.c: Likewise.
5278         * math/w_pow_template.c: Likewise.
5279         * math/w_remainder_template.c: Likewise.
5280         * math/w_sinh_template.c: Likewise.
5281         * math/w_sqrt_template.c: Likewise.
5282         * math/w_tgamma_template.c: Likewise.: Likewise.
5283         * sysdeps/generic/math-type-macros-double.h
5284         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5285         the new wrappers.
5286         * sysdeps/generic/math-type-macros-float.h: Likewise.
5287         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5289 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
5291         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5292         New enum constant and macro.
5294         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5295         kernel version to 4.10.
5297 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
5299         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5301 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5305 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5307         * sysdeps/powerpc/tst-set_ppr.c: New file.
5308         Implement test cases for __ppc_set_ppr_* functions.
5309         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5310         in the list of tests.
5312 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5314         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5315         instead of test-skeleton.c.
5316         (do_test): Replaced pthread_create and pthread_join with
5317         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
5318         Removed unneeded status variable.
5319         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5320         instead of test-skeleton.c.
5321         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5323 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
5325         [BZ #20313]
5326         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5327         201605L, for Unicode 9.
5329 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5331         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5332         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5333         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5334         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5335         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5336         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5338 2017-02-19  Zack Weinberg  <zackw@panix.com>
5340         * rt/tst-mqueue4.c: Include stdint.h.
5342 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5344         * sysdeps/arm/libm-test-ulps: Update.
5345         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5346         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5347         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5349 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5351         [BZ #21029]
5352         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5353         * sysdeps/unix/sysv/linux/i386/Makefile
5354         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5355         (uses-6-syscall-arguments): Remove.
5356         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5357         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5358         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5359         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5360         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5361         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5362         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5363         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5364         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5365         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5366         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5367         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5368         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5369         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5370         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5371         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5372         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5373         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5374         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5375         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5376         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5377         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5378         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5379         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5380         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5381         Likewise.
5382         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5383         Likewise.
5384         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5385         Likewise.
5386         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5387         Likewise.
5388         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5389         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5390         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5391         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5392         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5393         ebp on inline assembly.
5394         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5395         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5396         Set if CAN_USE_REGISTER_ASM_EBP is set.
5398 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5400         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5401         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5403 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5405         * math/auto-libm-test-in: Add tests of catan and catanh.
5406         * math/auto-libm-test-out-catan: New generated file.
5407         * math/auto-libm-test-out-catanh: Likewise.
5408         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5409         Move tests with finite inputs, except divide-by-zero cases, to
5410         auto-libm-test-in.
5411         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5412         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5413         (libm-test-funcs-noauto): Remove catan and catanh.
5414         * sysdeps/i386/fpu/libm-test-ulps: Update.
5415         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5418         * math/auto-libm-test-in: Add tests of casin and casinh.
5419         * math/auto-libm-test-out-casin: New generated file.
5420         * math/auto-libm-test-out-casinh: Likewise.
5421         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5422         Move tests with finite inputs to auto-libm-test-in.
5423         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5424         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5425         (libm-test-funcs-noauto): Remove casin and casinh.
5426         * sysdeps/i386/fpu/libm-test-ulps: Update.
5427         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5430         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5431         * math/auto-libm-test-out-cacos: New generated file.
5432         * math/auto-libm-test-out-cacosh: Likewise.
5433         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5434         Move tests with finite inputs to auto-libm-test-in.
5435         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5436         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5437         (libm-test-funcs-noauto): Remove cacos and cacosh.
5438         * sysdeps/i386/fpu/libm-test-ulps: Update.
5439         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5442         Revert:
5443         2017-02-16  Zack Weinberg  <zackw@panix.com>
5445         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5446         Don't include init-arch.h.
5447         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5448         Don't include init-arch.h.
5450 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5452         [BZ #21171]
5453         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5454         +Inf and raise divide-by-zero when x is negative.
5455         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5456         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5457         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5458         -Inf and raise divide-by-zero when x = +-0.
5459         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5460         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5461         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5462         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5463         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5464         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5465         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5467 2017-02-16  Zack Weinberg  <zackw@panix.com>
5469         * scripts/build-many-glibcs.py (bot_build_mail): If the
5470         bot_config does not contain all of the necessary email-
5471         related settings, just print a warning and continue.
5473 2017-02-16  Zack Weinberg  <zackw@panix.com>
5475         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5476         * dirent/opendir-tst1.c: Include sys/stat.h.
5477         * dirent/tst-fdopendir.c: Include sys/stat.h.
5478         * dirent/tst-fdopendir2.c: Include stdlib.h.
5479         * dirent/tst-scandir.c: Include stdbool.h.
5480         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5481         * elf/tst-tls15.c: Include stdlib.h.
5482         * elf/tst-tls16.c: Include stdlib.h.
5483         * elf/tst-tls17.c: Include stdlib.h.
5484         * elf/tst-tls18.c: Include stdlib.h.
5485         * iconv/tst-iconv6.c: Include endian.h.
5486         * iconvdata/bug-iconv11.c: Include limits.h.
5487         * io/test-utime.c: Include stdint.h.
5488         * io/tst-faccessat.c: Include sys/stat.h.
5489         * io/tst-fchmodat.c: Include sys/stat.h.
5490         * io/tst-fchownat.c: Include sys/stat.h.
5491         * io/tst-fstatat.c: Include sys/stat.h.
5492         * io/tst-futimesat.c: Include sys/stat.h.
5493         * io/tst-linkat.c: Include sys/stat.h.
5494         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5495         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5496         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5497         * io/tst-openat.c: Include stdbool.h.
5498         * io/tst-readlinkat.c: Include sys/stat.h.
5499         * io/tst-renameat.c: Include sys/stat.h.
5500         * io/tst-symlinkat.c: Include sys/stat.h.
5501         * io/tst-unlinkat.c: Include stdbool.h.
5502         * libio/bug-memstream1.c: Include stdlib.h.
5503         * libio/bug-wmemstream1.c: Include stdlib.h.
5504         * libio/tst-fwrite-error.c: Include stdlib.h.
5505         * libio/tst-memstream1.c: Include stdlib.h.
5506         * libio/tst-memstream2.c: Include stdlib.h.
5507         * libio/tst-memstream3.c: Include stdlib.h.
5508         * malloc/tst-interpose-aux.c: Include stdint.h.
5509         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5510         * nptl/tst-basic7.c: Include limits.h.
5511         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5512         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5513         * nptl/tst-cancel4_1.c: Include stddef.h.
5514         * nptl/tst-cancel4_2.c: Include stddef.h.
5515         * nptl/tst-cond16.c: Include limits.h.
5516         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5517         * nptl/tst-cond18.c: Include limits.h.
5518         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5519         * nptl/tst-cond4.c: Include stdint.h.
5520         * nptl/tst-cond6.c: Include stdint.h.
5521         * nptl/tst-stack2.c: Include limits.h.
5522         * nptl/tst-stackguard1.c: Include stddef.h.
5523         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5524         * nptl/tst-tls4moda.c: Include stddef.h.
5525         Don't include stdio.h, unistd.h, or tls.h.
5526         * nptl/tst-tls4modb.c: Include stddef.h.
5527         Don't include stdio.h, unistd.h, or tls.h.
5528         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5529         * posix/tst-getaddrinfo2.c: Include stdio.h.
5530         * posix/tst-getaddrinfo5.c: Include stdio.h.
5531         * posix/tst-pathconf.c: Include sys/stat.h.
5532         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5533         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5534         * posix/tst-regex.c: Include stdint.h.
5535         Don't include spawn.h or spawn_int.h.
5536         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5537         * posix/tst-vfork3.c: Include sys/stat.h.
5538         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5539         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5540         * resolv/tst-resolv-search.c: Include stdlib.h.
5541         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5542         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5543         * stdlib/test-canon.c: Include sys/stat.h.
5544         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5545         * string/test-memchr.c: Include stdint.h.
5546         * string/tst-cmp.c: Include stdint.h.
5547         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5548         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5549         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5550         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5551         Don't include init-arch.h.
5552         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5553         Don't include init-arch.h.
5554         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5555         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5556         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5557         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5558         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5559         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5560         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5561         * time/clocktest.c: Include stdint.h.
5562         * time/tst-posixtz.c: Include stdint.h.
5563         * timezone/tst-timezone.c: Include stdint.h.
5565 2017-02-16  Zack Weinberg  <zackw@panix.com>
5567         * string/string.h [__USE_MISC]: Include strings.h.
5568         (__bzero, bcmp, bcopy, bzero, index, rindex)
5569         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5570         (ffs, ffsl, ffsll): Don't declare.
5571         * string/strings.h: Do not suppress the file if string.h has
5572         already been included.
5573         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5574         annotations.
5575         (index, rindex): Define inline forwarders even if
5576         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5577         (ffs): Use __attribute_const__.
5578         (ffsl, ffsll): Declare here.
5579         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5580         have now been standardized.
5581         * include/string.h (__bzero): Declare here.
5583         * bits/types.h: Move to posix/bits.
5584         * include/bits/types.h: New wrapper.
5586 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5588         * string/bits/string2.h (strcmp): Remove define.
5589         (__strcmp_cg): Likewise.
5590         (strncmp): Likewise.
5592 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5594         * include/string.h: Add __cplusplus check.
5596 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5598         [BZ #21134]
5599         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5600         "divide by zero" exception when the input is zero.
5601         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5602         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5603         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5604         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5605         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5607 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5609         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5610         and include ...
5611         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5613         to, and include ...
5614         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5615         file.
5616         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5617         and include ...
5618         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5619         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5620         and include ...
5621         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
5622         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5623         and include ...
5624         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
5625         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5626         and include ...
5627         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
5628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5629         to, and include ...
5630         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
5631         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5632         and include ...
5633         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
5635 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
5637         * math/libm-test-support.h: Do not include <math-tests-arch.h>
5638         here.
5639         * math/libm-test-support.c (libm_test_init): Do not call
5640         INIT_ARCH_EXT here.
5641         * math/libm-test-driver.c: Include <math-tests-arch.h>.
5642         (main): Call INIT_ARCH_EXT.
5644 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5646         [BZ #21130]
5647         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5648         with the "invalid" exception raised when x is -Inf.
5649         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5651 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
5653         * string/bits/string2.h (strchr): Remove define.
5655 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
5657         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5658         tst-avx512.
5659         (test-extras): Add tst-avx-aux and tst-avx512-aux.
5660         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5661         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5662         ($(objpfx)tst-sse): New rule.
5663         ($(objpfx)tst-avx): Likewise.
5664         ($(objpfx)tst-avx512): Likewise.
5665         (CFLAGS-tst-avx-aux.c): New.
5666         (CFLAGS-tst-avxmod.c): Likewise.
5667         (CFLAGS-tst-avx512-aux.c): Likewise.
5668         (CFLAGS-tst-avx512mod.c): Likewise.
5669         * sysdeps/x86_64/tst-avx-aux.c: New file.
5670         * sysdeps/x86_64/tst-avx.c: Likewise.
5671         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5672         * sysdeps/x86_64/tst-avx512.c: Likewise.
5673         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5674         * sysdeps/x86_64/tst-avxmod.c: Likewise.
5675         * sysdeps/x86_64/tst-sse.c: Likewise.
5676         * sysdeps/x86_64/tst-ssemod.c: Likewise.
5678 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5680         * math/auto-libm-test-in: Add more tests of csin and csinh.
5681         * math/auto-libm-test-out-csin: Regenerated.
5682         * math/auto-libm-test-out-csinh: Likewise.
5683         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
5684         auto-libm-test-in.
5685         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
5687 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5689         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
5690         libm-compat-calls-auto.
5691         (libm-compat-calls): Likewise.
5692         (libm-compat-calls-auto): Rename to libm-compat-calls and add
5693         w_lgamma_compatF and k_standardF (merged from the items above).
5694         (libm-routines): Use libm-compat-calls, instead of
5695         libm-compat-calls-auto, with type-foreach.
5697 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5699         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
5700         macro.
5701         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
5702         (CFLAGS-test-ifloat.c): ... this.  Remove
5703         -U__LIBC_INTERNAL_MATH_INLINES.
5704         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
5705         (CFLAGS-test-idouble.c): ... this.  Remove
5706         -U__LIBC_INTERNAL_MATH_INLINES.
5707         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
5708         (CFLAGS-test-ildouble.c): ... this.  Remove
5709         -U__LIBC_INTERNAL_MATH_INLINES.
5711 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
5713         * math/libm-test-support.c: New file.  Content from
5714         math/libm-test-driver.c.
5715         * math/libm-test-support.h: Likewise.
5716         * math/libm-test-support-double.c: New file.
5717         * math/libm-test-support-float.c: Likewise.
5718         * math/libm-test-support-ldouble.c: Likewise.
5719         * math/libm-test-driver.c: Remove main comment and header
5720         includes.  Include libm-test-support.h.
5721         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
5722         (flag_test_errno): Remove static.
5723         (flag_test_exceptions): Likewise.
5724         (flag_test_finite): Likewise.
5725         (flag_test_inline): Likewise.
5726         (flag_test_mathvec): Likewise.
5727         (test_msg): Likewise.
5728         (NO_EXCEPTION): Remove.
5729         (INVALID_EXCEPTION): Likewise.
5730         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5731         (OVERFLOW_EXCEPTION): Likewise.
5732         (UNDERFLOW_EXCEPTION): Likewise.
5733         (INEXACT_EXCEPTION): Likewise.
5734         (INVALID_EXCEPTION_OK): Likewise.
5735         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5736         (OVERFLOW_EXCEPTION_OK): Likewise.
5737         (UNDERFLOW_EXCEPTION_OK): Likewise.
5738         (NO_INEXACT_EXCEPTION): Likewise.
5739         (EXCEPTIONS_OK): Likewise.
5740         (IGNORE_ZERO_INF_SIGN): Likewise.
5741         (TEST_NAN_SIGN): Likewise.
5742         (TEST_NAN_PAYLOAD): Likewise.
5743         (NO_TEST_INLINE): Likewise.
5744         (XFAIL_TEST): Likewise.
5745         (ERRNO_UNCHANGED): Likewise.
5746         (ERRNO_EDOM): Likewise.
5747         (ERRNO_ERANGE): Likewise.
5748         (IGNORE_RESULT): Likewise.
5749         (NON_FINITE): Likewise.
5750         (TEST_SNAN): Likewise.
5751         (NO_TEST_MATHVEC): Likewise.
5752         (__CONCATX): Likewise.
5753         (TYPE_MIN): Likewise.
5754         (TYPE_TRUE_MIN): Likewise.
5755         (TYPE_MAX): Likewise.
5756         (MIN_EXP): Likewise.
5757         (MAX_EXP): Likewise.
5758         (MANT_DIG): Likewise.
5759         (FSTR_MAX): Likewise.
5760         (ulp_idx): Likewise.
5761         (qtype_str): Remove static.
5762         (TEST_COND_binary32): Remove.
5763         (TEST_COND_binary64): Likewise.
5764         (TEST_COND_binary128): Likewise.
5765         (TEST_COND_ibm128): Likewise.
5766         (TEST_COND_intel96): Likewise.
5767         (TEST_COND_m68k96): Likewise.
5768         (TEST_COND_ibm128_libgcc): Likewise.
5769         (XFAIL_IBM128_LIBGCC): Likewise.
5770         (PAYLOAD_DIG): Likewise.
5771         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5772         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5773         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5774         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5775         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5776         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5777         (TEST_COND_long32): Likewise.
5778         (TEST_COND_long64): Likewise.
5779         (TEST_COND_before_rounding): Likewise.
5780         (TEST_COND_after_rounding): Likewise.
5781         (ulps_file_name): Likewise.
5782         (ulps_file): Likewise.
5783         (output_ulps): Likewise.
5784         (output_dir): Likewise.
5785         (noErrors): Likewise.
5786         (noTests): Likewise.
5787         (noExcTests): Likewise.
5788         (noErrnoTests): Likewise.
5789         (verbose): Likewise.
5790         (output_max_error): Likewise.
5791         (output_points): Likewise.
5792         (ignore_max_ulp): Likewise.
5793         (max_error): Likewise.
5794         (real_max_error): Likewise.
5795         (imag_max_error): Likewise.
5796         (prev_max_error): Likewise.
5797         (prev_real_max_error): Likewise.
5798         (prev_imag_max_error): Likewise.
5799         (max_valid_error): Likewise.
5800         (TYPE_DECIMAL_DIG): Likewise.
5801         (TYPE_HEX_DIG): Likewise.
5802         (fmt_ftostr): Likewise.
5803         (compare_ulp_data): Likewise.
5804         (find_ulps): Likewise.
5805         (init_max_error): Likewise.
5806         (set_max_error): Likewise.
5807         (print_float): Likewise.
5808         (print_screen): Likewise.
5809         (print_screen_max_error): Likewise.
5810         (update_stats): Likewise.
5811         (print_function_ulps): Likewise.
5812         (print_complex_function_ulps): Likewise.
5813         (fpstack_test): Likewise.
5814         (print_max_error): Likewise.
5815         (print_complex_max_error): Likewise.
5816         (test_single_exception): Likewise.
5817         (test_exceptions): Likewise.
5818         (test_single_errno): Likewise.
5819         (test_errno): Likewise.
5820         (ULPDIFF): Likewise.
5821         (ulp): Likewise.
5822         (check_float_internal): Likewise.
5823         (check_float): Likewise.
5824         (check_complex): Likewise.
5825         (check_int): Likewise.
5826         (check_long): Likewise.
5827         (check_bool): Likewise.
5828         (check_longlong): Likewise.
5829         (check_intmax_t): Likewise.
5830         (check_uintmax_t): Likewise.
5831         (enable_test): Likewise.
5832         (matherr): Likewise.
5833         (initialize): Likewise.
5834         (options): Likewise.
5835         (doc): Remove static.
5836         (argp): Likewise.
5837         (parse_opt): Remove.
5838         (check_ulp): Likewise.
5839         (libm_test_init): Likewise.
5840         (libm_test_finish): Likewise.
5841         * math/Makefile (libm-test-support): New variable.
5842         (test-extras): Add libm-test-support files.
5843         (extra-test-objs): Likewise.
5844         (CFLAGS-libm-test-support-float.c): New variable.
5845         (CFLAGS-libm-test-support-double.c): Likewise.
5846         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5847         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
5848         libm-test-support objects.
5850 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5852         * math/Makefile (libm-calls): Move w_exp...
5853         (libm-compat-calls-auto): Here.
5855         * math/w_expl.c: Add suffix "_compat" to filename.
5856         * sysdeps/ia64/fpu/w_expl.c: Likewise.
5857         * sysdeps/ia64/fpu/w_expf.c: Likewise.
5858         * sysdeps/ia64/fpu/w_exp.c: Likewise.
5859         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5860         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5861         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5862         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5863         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5865         * math/w_expl_compat.c: New file, copied from above.
5866         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
5867         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
5868         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
5869         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5870         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5871         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5872         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5873         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5875         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
5876         to filename.
5877         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
5879         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
5880         copied from above and adjusted for the new filenames.
5881         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5883 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5885         * math/Makefile (libm-calls): Move w_lgammaF...
5886         (libm-compat-calls-auto): Here.
5888         * math/w_lgamma.c: Add suffix "_compat2" to filename.
5889         * math/w_lgammaf.c: Likewise.
5890         * math/w_lgammal.c: Likewise.
5892         * math/w_lgamma_compat2.c: New file, copied from above.
5893         * math/w_lgammaf_compat2.c: Likewise.
5894         * math/w_lgammal_compat2.c: Likewise.
5896 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5898         * math/Makefile (libm-calls): Move w_lgammaF_r...
5899         (libm-compat-calls-auto): Here.
5901         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
5902         * math/w_lgammaf_r.c: Likewise.
5903         * math/w_lgammal_r.c: Likewise.
5904         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5905         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5906         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5908         * math/w_lgamma_r_compat.c: New file, copied from above.
5909         * math/w_lgammaf_r_compat.c: Likewise.
5910         * math/w_lgammal_r_compat.c: Likewise.
5911         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
5912         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
5913         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
5915         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
5916         to filename.
5917         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5919         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5920         copied from above and adjusted for the new filenames.
5921         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5923 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
5925         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5926         calculation in SYSCALL_ERROR_HANDLER().
5928 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
5930         * manual/contrib.texi: Fix typo.
5932 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5934         [BZ #21109]
5935         * elf/dl-tunable-types.h (tunable_callback_t): Accept
5936         tunable_val_t as argument.
5937         * elf/dl-tunables.c (__tunable_set_val): Add comment.
5938         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5939         argument.
5940         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5942 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
5944         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5945         Add PTRACE_EVENT_STOP.
5946         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5947         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5948         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5949         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5950         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5951         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5953 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5955         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5956         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5957         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5958         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5959         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5960         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5961         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5962         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5963         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5964         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5966         [BZ #21112]
5967         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5968         12 bits zero.
5969         (cp_l): Update for new value of cp_h.
5970         * math/auto-libm-test-in: Add another test of pow.
5971         * math/auto-libm-test-out-pow: Regenerated.
5973 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5975         * manual/contrib.texi: Fix typo.
5977 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5979         [BZ #15998]
5980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5981         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5984 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5986         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5987         STRCHR as __strchr_power8.
5988         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5989         strlen as __strlen_power8.
5991 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5993         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5994         unaligned load for shorter strings.
5995         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5997 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5999         * math/libm-test-driver.c (flag_test_errno): New variable.
6000         (flag_test_exceptions): Likewise.
6001         (flag_test_finite): Likewise.
6002         (flag_test_inline): Likewise.
6003         (flag_test_mathvec): Likewise.
6004         (test_msg): Likewise.
6005         (ulp_idx): Likewise.
6006         (qtype_str): Likewise.
6007         (ULP_IDX): Remove macro.
6008         (QTYPE_STR): Likewise.
6009         (find_ulps): Use ulp_idx not ULP_IDX.
6010         (print_function_ulps): Use qtype_str, printed with %s, not
6011         QTYPE_STR, printed with concatentation to format string.
6012         (print_complex_function_ulps): Likewise.
6013         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
6014         (test_errno): Use flag_test_errno not TEST_ERRNO.
6015         (enable_test): Use flag_test_inline, flag_test_finite and
6016         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
6017         TEST_MATHVEC.
6018         (libm_test_init): New function.  Factored out of main.
6019         (libm_test_finish): Likewise.
6020         (main): Call libm_test_init and libm_test_finish and move most
6021         code to those functions.
6023         * math/libm-test-driver.c (STRX): New macro.
6024         (STR): Likewise.
6025         (STR_FLOAT): Likewise.
6026         (STR_VEC_LEN): Likewise.
6027         (TEST_MSG): Likewise.  Define here instead of expecting to be
6028         defined by including file.
6029         * math/test-double-finite.c (TEST_MSG): Remove macro.
6030         * math/test-double-vlen2.h (TEST_MSG): Likewise.
6031         * math/test-double-vlen4.h (TEST_MSG): Likewise.
6032         * math/test-double-vlen8.h (TEST_MSG): Likewise.
6033         * math/test-double.c (TEST_MSG): Likewise.
6034         * math/test-float-finite.c (TEST_MSG): Likewise.
6035         * math/test-float-vlen16.h (TEST_MSG): Likewise.
6036         * math/test-float-vlen4.h (TEST_MSG): Likewise.
6037         * math/test-float-vlen8.h (TEST_MSG): Likewise.
6038         * math/test-float.c (TEST_MSG): Likewise.
6039         * math/test-idouble.c (TEST_MSG): Likewise.
6040         * math/test-ifloat.c (TEST_MSG): Likewise.
6041         * math/test-ildouble.c (TEST_MSG): Likewise.
6042         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
6043         * math/test-ldouble.c (TEST_MSG): Likewise.
6045         * math/libm-test.inc: Move all tests of individual functions to
6046         libm-test-*.inc and #include libm-test-*.c files.
6047         (acos_test_data): Remove.
6048         (acos_test): Likewise.
6049         (acosh_test_data): Likewise.
6050         (acosh_test): Likewise.
6051         (asin_test_data): Likewise.
6052         (asin_test): Likewise.
6053         (asinh_test_data): Likewise.
6054         (asinh_test): Likewise.
6055         (atan_test_data): Likewise.
6056         (atan_test): Likewise.
6057         (atanh_test_data): Likewise.
6058         (atanh_test): Likewise.
6059         (atan2_test_data): Likewise.
6060         (atan2_test): Likewise.
6061         (cabs_test_data): Likewise.
6062         (cabs_test): Likewise.
6063         (cacos_test_data): Likewise.
6064         (cacos_test): Likewise.
6065         (cacosh_test_data): Likewise.
6066         (cacosh_test): Likewise.
6067         (canonicalize_test_data): Likewise.
6068         (canonicalize_test): Likewise.
6069         (carg_test_data): Likewise.
6070         (carg_test): Likewise.
6071         (casin_test_data): Likewise.
6072         (casin_test): Likewise.
6073         (casinh_test_data): Likewise.
6074         (casinh_test): Likewise.
6075         (catan_test_data): Likewise.
6076         (catan_test): Likewise.
6077         (catanh_test_data): Likewise.
6078         (catanh_test): Likewise.
6079         (cbrt_test_data): Likewise.
6080         (cbrt_test): Likewise.
6081         (ccos_test_data): Likewise.
6082         (ccos_test): Likewise.
6083         (ccosh_test_data): Likewise.
6084         (ccosh_test): Likewise.
6085         (ceil_test_data): Likewise.
6086         (ceil_test): Likewise.
6087         (cexp_test_data): Likewise.
6088         (cexp_test): Likewise.
6089         (cimag_test_data): Likewise.
6090         (cimag_test): Likewise.
6091         (clog_test_data): Likewise.
6092         (clog_test): Likewise.
6093         (clog10_test_data): Likewise.
6094         (clog10_test): Likewise.
6095         (conj_test_data): Likewise.
6096         (conj_test): Likewise.
6097         (copysign_test_data): Likewise.
6098         (copysign_test): Likewise.
6099         (cos_test_data): Likewise.
6100         (cos_test): Likewise.
6101         (cosh_test_data): Likewise.
6102         (cosh_test): Likewise.
6103         (cpow_test_data): Likewise.
6104         (cpow_test): Likewise.
6105         (cproj_test_data): Likewise.
6106         (cproj_test): Likewise.
6107         (creal_test_data): Likewise.
6108         (creal_test): Likewise.
6109         (csin_test_data): Likewise.
6110         (csin_test): Likewise.
6111         (csinh_test_data): Likewise.
6112         (csinh_test): Likewise.
6113         (csqrt_test_data): Likewise.
6114         (csqrt_test): Likewise.
6115         (ctan_test_data): Likewise.
6116         (ctan_test): Likewise.
6117         (ctanh_test_data): Likewise.
6118         (ctanh_test): Likewise.
6119         (erf_test_data): Likewise.
6120         (erf_test): Likewise.
6121         (erfc_test_data): Likewise.
6122         (erfc_test): Likewise.
6123         (exp_test_data): Likewise.
6124         (exp_test): Likewise.
6125         (exp10_test_data): Likewise.
6126         (exp10_test): Likewise.
6127         (pow10_test): Likewise.
6128         (exp2_test_data): Likewise.
6129         (exp2_test): Likewise.
6130         (expm1_test_data): Likewise.
6131         (expm1_test): Likewise.
6132         (fabs_test_data): Likewise.
6133         (fabs_test): Likewise.
6134         (fdim_test_data): Likewise.
6135         (fdim_test): Likewise.
6136         (floor_test_data): Likewise.
6137         (floor_test): Likewise.
6138         (fma_test_data): Likewise.
6139         (fma_test): Likewise.
6140         (fmax_test_data): Likewise.
6141         (fmax_test): Likewise.
6142         (fmaxmag_test_data): Likewise.
6143         (fmaxmag_test): Likewise.
6144         (fmin_test_data): Likewise.
6145         (fmin_test): Likewise.
6146         (fminmag_test_data): Likewise.
6147         (fminmag_test): Likewise.
6148         (fmod_test_data): Likewise.
6149         (fmod_test): Likewise.
6150         (fpclassify_test_data): Likewise.
6151         (fpclassify_test): Likewise.
6152         (frexp_test_data): Likewise.
6153         (frexp_test): Likewise.
6154         (fromfp_test_data): Likewise.
6155         (fromfp_test): Likewise.
6156         (fromfpx_test_data): Likewise.
6157         (fromfpx_test): Likewise.
6158         (getpayload_test_data): Likewise.
6159         (getpayload_test): Likewise.
6160         (hypot_test_data): Likewise.
6161         (hypot_test): Likewise.
6162         (ilogb_test_data): Likewise.
6163         (ilogb_test): Likewise.
6164         (iscanonical_test_data): Likewise.
6165         (iscanonical_test): Likewise.
6166         (iseqsig_test_data): Likewise.
6167         (iseqsig_test): Likewise.
6168         (isfinite_test_data): Likewise.
6169         (isfinite_test): Likewise.
6170         (finite_test): Likewise.
6171         (isgreater_test_data): Likewise.
6172         (isgreater_test): Likewise.
6173         (isgreaterequal_test_data): Likewise.
6174         (isgreaterequal_test): Likewise.
6175         (isinf_test_data): Likewise.
6176         (isinf_test): Likewise.
6177         (isless_test_data): Likewise.
6178         (isless_test): Likewise.
6179         (islessequal_test_data): Likewise.
6180         (islessequal_test): Likewise.
6181         (islessgreater_test_data): Likewise.
6182         (islessgreater_test): Likewise.
6183         (isnan_test_data): Likewise.
6184         (isnan_test): Likewise.
6185         (isnormal_test_data): Likewise.
6186         (isnormal_test): Likewise.
6187         (issignaling_test_data): Likewise.
6188         (issignaling_test): Likewise.
6189         (issubnormal_test_data): Likewise.
6190         (issubnormal_test): Likewise.
6191         (isunordered_test_data): Likewise.
6192         (isunordered_test): Likewise.
6193         (iszero_test_data): Likewise.
6194         (iszero_test): Likewise.
6195         (j0_test_data): Likewise.
6196         (j0_test): Likewise.
6197         (j1_test_data): Likewise.
6198         (j1_test): Likewise.
6199         (jn_test_data): Likewise.
6200         (jn_test): Likewise.
6201         (lgamma_test_data): Likewise.
6202         (lgamma_test): Likewise.
6203         (gamma_test): Likewise.
6204         (llogb_test_data): Likewise.
6205         (llogb_test): Likewise.
6206         (lrint_test_data): Likewise.
6207         (lrint_test): Likewise.
6208         (llrint_test_data): Likewise.
6209         (llrint_test): Likewise.
6210         (log_test_data): Likewise.
6211         (log_test): Likewise.
6212         (log10_test_data): Likewise.
6213         (log10_test): Likewise.
6214         (log1p_test_data): Likewise.
6215         (log1p_test): Likewise.
6216         (log2_test_data): Likewise.
6217         (log2_test): Likewise.
6218         (logb_test_data): Likewise.
6219         (logb_test): Likewise.
6220         (lround_test_data): Likewise.
6221         (lround_test): Likewise.
6222         (llround_test_data): Likewise.
6223         (llround_test): Likewise.
6224         (modf_test_data): Likewise.
6225         (modf_test): Likewise.
6226         (nearbyint_test_data): Likewise.
6227         (nearbyint_test): Likewise.
6228         (nextafter_test_data): Likewise.
6229         (nextafter_test): Likewise.
6230         (nextup_test_data): Likewise.
6231         (nextup_test): Likewise.
6232         (nextdown_test_data): Likewise.
6233         (nextdown_test): Likewise.
6234         (nexttoward_test_data): Likewise.
6235         (nexttoward_test): Likewise.
6236         (pow_test_data): Likewise.
6237         (pow_test): Likewise.
6238         (remainder_test_data): Likewise.
6239         (remainder_test): Likewise.
6240         (drem_test): Likewise.
6241         (remquo_test_data): Likewise.
6242         (remquo_test): Likewise.
6243         (rint_test_data): Likewise.
6244         (rint_test): Likewise.
6245         (round_test_data): Likewise.
6246         (round_test): Likewise.
6247         (roundeven_test_data): Likewise.
6248         (roundeven_test): Likewise.
6249         (scalb_test_data): Likewise.
6250         (scalb_test): Likewise.
6251         (scalbn_test_data): Likewise.
6252         (scalbn_test): Likewise.
6253         (ldexp_test): Likewise.
6254         (scalbln_test_data): Likewise.
6255         (scalbln_test): Likewise.
6256         (setpayload_test_data): Likewise.
6257         (setpayload_test): Likewise.
6258         (setpayloadsig_test_data): Likewise.
6259         (setpayloadsig_test): Likewise.
6260         (signbit_test_data): Likewise.
6261         (signbit_test): Likewise.
6262         (sin_test_data): Likewise.
6263         (sin_test): Likewise.
6264         (sincos_test_data): Likewise.
6265         (sincos_test): Likewise.
6266         (sinh_test_data): Likewise.
6267         (sinh_test): Likewise.
6268         (sqrt_test_data): Likewise.
6269         (sqrt_test): Likewise.
6270         (tan_test_data): Likewise.
6271         (tan_test): Likewise.
6272         (tanh_test_data): Likewise.
6273         (tanh_test): Likewise.
6274         (tgamma_test_data): Likewise.
6275         (tgamma_test): Likewise.
6276         (totalorder_test_data): Likewise.
6277         (totalorder_test): Likewise.
6278         (totalordermag_test_data): Likewise.
6279         (totalordermag_test): Likewise.
6280         (trunc_test_data): Likewise.
6281         (trunc_test): Likewise.
6282         (ufromfp_test_data): Likewise.
6283         (ufromfp_test): Likewise.
6284         (ufromfpx_test_data): Likewise.
6285         (ufromfpx_test): Likewise.
6286         (y0_test_data): Likewise.
6287         (y0_test): Likewise.
6288         (y1_test_data): Likewise.
6289         (y1_test): Likewise.
6290         (yn_test_data): Likewise.
6291         (yn_test): Likewise.
6292         (significand_test_data): Likewise.
6293         (significand_test): Likewise.
6294         * math/Makefile (auto-libm-test-out-files): Remove variable.
6295         (libm-test-funcs-noauto): New variable.
6296         (libm-test-funcs-all): Likewise.
6297         (libm-test-c-auto): Likewise.
6298         (libm-test-c-noauto): Likewise.
6299         (libm-tests-generated): Add $(libm-test-c-auto) and
6300         $(libm-test-c-noauto).
6301         (generated): Do not add auto-libm-test-out.
6302         (libm-test-c-auto-obj): New variable.
6303         (libm-test-c-noauto-obj): Likewise.
6304         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6305         ($(libm-test-c-noauto-obj)): New static pattern rule.
6306         ($(libm-test-c-auto-obj)): Likewise.
6307         (libm-test-incs): New variable.
6308         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6309         and pass it to gen-libm-have-vector-test.sh.
6310         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6311         be passed on command line.
6312         * math/libm-test-acos.inc: New file.  Content from
6313         math/libm-test.inc.
6314         * math/libm-test-acosh.inc: Likewise.
6315         * math/libm-test-asin.inc: Likewise.
6316         * math/libm-test-asinh.inc: Likewise.
6317         * math/libm-test-atan.inc: Likewise.
6318         * math/libm-test-atan2.inc: Likewise.
6319         * math/libm-test-atanh.inc: Likewise.
6320         * math/libm-test-cabs.inc: Likewise.
6321         * math/libm-test-cacos.inc: Likewise.
6322         * math/libm-test-cacosh.inc: Likewise.
6323         * math/libm-test-canonicalize.inc: Likewise.
6324         * math/libm-test-carg.inc: Likewise.
6325         * math/libm-test-casin.inc: Likewise.
6326         * math/libm-test-casinh.inc: Likewise.
6327         * math/libm-test-catan.inc: Likewise.
6328         * math/libm-test-catanh.inc: Likewise.
6329         * math/libm-test-cbrt.inc: Likewise.
6330         * math/libm-test-ccos.inc: Likewise.
6331         * math/libm-test-ccosh.inc: Likewise.
6332         * math/libm-test-ceil.inc: Likewise.
6333         * math/libm-test-cexp.inc: Likewise.
6334         * math/libm-test-cimag.inc: Likewise.
6335         * math/libm-test-clog.inc: Likewise.
6336         * math/libm-test-clog10.inc: Likewise.
6337         * math/libm-test-conj.inc: Likewise.
6338         * math/libm-test-copysign.inc: Likewise.
6339         * math/libm-test-cos.inc: Likewise.
6340         * math/libm-test-cosh.inc: Likewise.
6341         * math/libm-test-cpow.inc: Likewise.
6342         * math/libm-test-cproj.inc: Likewise.
6343         * math/libm-test-creal.inc: Likewise.
6344         * math/libm-test-csin.inc: Likewise.
6345         * math/libm-test-csinh.inc: Likewise.
6346         * math/libm-test-csqrt.inc: Likewise.
6347         * math/libm-test-ctan.inc: Likewise.
6348         * math/libm-test-ctanh.inc: Likewise.
6349         * math/libm-test-erf.inc: Likewise.
6350         * math/libm-test-erfc.inc: Likewise.
6351         * math/libm-test-exp.inc: Likewise.
6352         * math/libm-test-exp10.inc: Likewise.
6353         * math/libm-test-exp2.inc: Likewise.
6354         * math/libm-test-expm1.inc: Likewise.
6355         * math/libm-test-fabs.inc: Likewise.
6356         * math/libm-test-fdim.inc: Likewise.
6357         * math/libm-test-floor.inc: Likewise.
6358         * math/libm-test-fma.inc: Likewise.
6359         * math/libm-test-fmax.inc: Likewise.
6360         * math/libm-test-fmaxmag.inc: Likewise.
6361         * math/libm-test-fmin.inc: Likewise.
6362         * math/libm-test-fminmag.inc: Likewise.
6363         * math/libm-test-fmod.inc: Likewise.
6364         * math/libm-test-fpclassify.inc: Likewise.
6365         * math/libm-test-frexp.inc: Likewise.
6366         * math/libm-test-fromfp.inc: Likewise.
6367         * math/libm-test-fromfpx.inc: Likewise.
6368         * math/libm-test-getpayload.inc: Likewise.
6369         * math/libm-test-hypot.inc: Likewise.
6370         * math/libm-test-ilogb.inc: Likewise.
6371         * math/libm-test-iscanonical.inc: Likewise.
6372         * math/libm-test-iseqsig.inc: Likewise.
6373         * math/libm-test-isfinite.inc: Likewise.
6374         * math/libm-test-isgreater.inc: Likewise.
6375         * math/libm-test-isgreaterequal.inc: Likewise.
6376         * math/libm-test-isinf.inc: Likewise.
6377         * math/libm-test-isless.inc: Likewise.
6378         * math/libm-test-islessequal.inc: Likewise.
6379         * math/libm-test-islessgreater.inc: Likewise.
6380         * math/libm-test-isnan.inc: Likewise.
6381         * math/libm-test-isnormal.inc: Likewise.
6382         * math/libm-test-issignaling.inc: Likewise.
6383         * math/libm-test-issubnormal.inc: Likewise.
6384         * math/libm-test-isunordered.inc: Likewise.
6385         * math/libm-test-iszero.inc: Likewise.
6386         * math/libm-test-j0.inc: Likewise.
6387         * math/libm-test-j1.inc: Likewise.
6388         * math/libm-test-jn.inc: Likewise.
6389         * math/libm-test-lgamma.inc: Likewise.
6390         * math/libm-test-llogb.inc: Likewise.
6391         * math/libm-test-llrint.inc: Likewise.
6392         * math/libm-test-llround.inc: Likewise.
6393         * math/libm-test-log.inc: Likewise.
6394         * math/libm-test-log10.inc: Likewise.
6395         * math/libm-test-log1p.inc: Likewise.
6396         * math/libm-test-log2.inc: Likewise.
6397         * math/libm-test-logb.inc: Likewise.
6398         * math/libm-test-lrint.inc: Likewise.
6399         * math/libm-test-lround.inc: Likewise.
6400         * math/libm-test-modf.inc: Likewise.
6401         * math/libm-test-nearbyint.inc: Likewise.
6402         * math/libm-test-nextafter.inc: Likewise.
6403         * math/libm-test-nextdown.inc: Likewise.
6404         * math/libm-test-nexttoward.inc: Likewise.
6405         * math/libm-test-nextup.inc: Likewise.
6406         * math/libm-test-pow.inc: Likewise.
6407         * math/libm-test-remainder.inc: Likewise.
6408         * math/libm-test-remquo.inc: Likewise.
6409         * math/libm-test-rint.inc: Likewise.
6410         * math/libm-test-round.inc: Likewise.
6411         * math/libm-test-roundeven.inc: Likewise.
6412         * math/libm-test-scalb.inc: Likewise.
6413         * math/libm-test-scalbln.inc: Likewise.
6414         * math/libm-test-scalbn.inc: Likewise.
6415         * math/libm-test-setpayload.inc: Likewise.
6416         * math/libm-test-setpayloadsig.inc: Likewise.
6417         * math/libm-test-signbit.inc: Likewise.
6418         * math/libm-test-significand.inc: Likewise.
6419         * math/libm-test-sin.inc: Likewise.
6420         * math/libm-test-sincos.inc: Likewise.
6421         * math/libm-test-sinh.inc: Likewise.
6422         * math/libm-test-sqrt.inc: Likewise.
6423         * math/libm-test-tan.inc: Likewise.
6424         * math/libm-test-tanh.inc: Likewise.
6425         * math/libm-test-tgamma.inc: Likewise.
6426         * math/libm-test-totalorder.inc: Likewise.
6427         * math/libm-test-totalordermag.inc: Likewise.
6428         * math/libm-test-trunc.inc: Likewise.
6429         * math/libm-test-ufromfp.inc: Likewise.
6430         * math/libm-test-ufromfpx.inc: Likewise.
6431         * math/libm-test-y0.inc: Likewise.
6432         * math/libm-test-y1.inc: Likewise.
6433         * math/libm-test-yn.inc: Likewise.
6434         * math/README.libm-test: Update.
6436         * math/gen-auto-libm-tests.c: Update comment about use of program.
6437         (generate_output): Add argument FUNCTION.
6438         (main): Require extra argument.  Pass function name to
6439         generate_output.
6440         * math/Makefile (generated): Add auto-libm-test-out.
6441         (libm-test-funcs-auto): New variable.
6442         (auto-libm-test-out-files): New variable.
6443         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6444         Concatenate those files to form $(objpfx)auto-libm-test-out and
6445         use it as input to gen-libm-test.pl.
6446         * math/README.libm-test: Update.
6447         * math/auto-libm-test-out: Remove.
6448         * math/auto-libm-test-out-acos: New generated file.
6449         * math/auto-libm-test-out-acosh: Likewise.
6450         * math/auto-libm-test-out-asin: Likewise.
6451         * math/auto-libm-test-out-asinh: Likewise.
6452         * math/auto-libm-test-out-atan: Likewise.
6453         * math/auto-libm-test-out-atan2: Likewise.
6454         * math/auto-libm-test-out-atanh: Likewise.
6455         * math/auto-libm-test-out-cabs: Likewise.
6456         * math/auto-libm-test-out-carg: Likewise.
6457         * math/auto-libm-test-out-cbrt: Likewise.
6458         * math/auto-libm-test-out-ccos: Likewise.
6459         * math/auto-libm-test-out-ccosh: Likewise.
6460         * math/auto-libm-test-out-cexp: Likewise.
6461         * math/auto-libm-test-out-clog: Likewise.
6462         * math/auto-libm-test-out-clog10: Likewise.
6463         * math/auto-libm-test-out-cos: Likewise.
6464         * math/auto-libm-test-out-cosh: Likewise.
6465         * math/auto-libm-test-out-cpow: Likewise.
6466         * math/auto-libm-test-out-csin: Likewise.
6467         * math/auto-libm-test-out-csinh: Likewise.
6468         * math/auto-libm-test-out-csqrt: Likewise.
6469         * math/auto-libm-test-out-ctan: Likewise.
6470         * math/auto-libm-test-out-ctanh: Likewise.
6471         * math/auto-libm-test-out-erf: Likewise.
6472         * math/auto-libm-test-out-erfc: Likewise.
6473         * math/auto-libm-test-out-exp: Likewise.
6474         * math/auto-libm-test-out-exp10: Likewise.
6475         * math/auto-libm-test-out-exp2: Likewise.
6476         * math/auto-libm-test-out-expm1: Likewise.
6477         * math/auto-libm-test-out-fma: Likewise.
6478         * math/auto-libm-test-out-hypot: Likewise.
6479         * math/auto-libm-test-out-j0: Likewise.
6480         * math/auto-libm-test-out-j1: Likewise.
6481         * math/auto-libm-test-out-jn: Likewise.
6482         * math/auto-libm-test-out-lgamma: Likewise.
6483         * math/auto-libm-test-out-log: Likewise.
6484         * math/auto-libm-test-out-log10: Likewise.
6485         * math/auto-libm-test-out-log1p: Likewise.
6486         * math/auto-libm-test-out-log2: Likewise.
6487         * math/auto-libm-test-out-pow: Likewise.
6488         * math/auto-libm-test-out-sin: Likewise.
6489         * math/auto-libm-test-out-sincos: Likewise.
6490         * math/auto-libm-test-out-sinh: Likewise.
6491         * math/auto-libm-test-out-sqrt: Likewise.
6492         * math/auto-libm-test-out-tan: Likewise.
6493         * math/auto-libm-test-out-tanh: Likewise.
6494         * math/auto-libm-test-out-tgamma: Likewise.
6495         * math/auto-libm-test-out-y0: Likewise.
6496         * math/auto-libm-test-out-y1: Likewise.
6497         * math/auto-libm-test-out-yn: Likewise.
6499         * math/Makefile (generated): Do not include libm-test.stmp.
6500         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6501         on $(objpfx)libm-test.stmp.
6502         ($(objpfx)libm-test.stmp): Remove rule.
6503         ($(objpfx)libm-test-ulps.h): New rule.
6504         ($(objpfx)libm-test.c): Likewise.
6505         ($(objpfx)libm-have-vector-test.h): Likewise.
6506         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6507         individual generated files, not libm-test.stmp.
6509         * math/gen-libm-test.pl ($output_dir): Remove variable.
6510         ($srcdir): Likewise.
6511         ($opt_a): New variable.
6512         ($opt_c): Likewise.
6513         ($opt_C): Likewise.
6514         ($opt_H): Likewise.
6515         (-n): Make option take argument and use it as NewUlps output.
6516         (-a): New option.  Use its argument for auto-libm-test-out input.
6517         (-c): New option.  Use its argument for libm-test.inc input.
6518         (-C): New option.  Use its argument for libm-test.c output.
6519         (-H): New option.  Use its argument for libm-test-ulps.h output.
6520         (top level): Only process inputs needed to generate outputs
6521         specified by command-line options.  Only generate outputs
6522         specified by command-line options.
6523         * math/README.libm-test: Update example gen-libm-test.pl command.
6524         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6525         commands.
6526         (regen-ulps): Likewise.
6528 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6530         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6531         * include/string.h (index): Remove define.
6532         (rindex): Likewise.
6533         * misc/getttyent.c (__getttyent): Rename index to strchr.
6534         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6535         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6537 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6539         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6540         * math/libm-test.inc: Move all contents, other than tests of
6541         individual functions, to libm-test-driver.c.
6542         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6543         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6544         [!FE_UPWARD] (FE_UPWARD): Likewise.
6545         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6546         (NO_EXCEPTION): Likewise.
6547         (INVALID_EXCEPTION): Likewise.
6548         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6549         (OVERFLOW_EXCEPTION): Likewise.
6550         (UNDERFLOW_EXCEPTION): Likewise.
6551         (INEXACT_EXCEPTION): Likewise.
6552         (INVALID_EXCEPTION_OK): Likewise.
6553         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6554         (OVERFLOW_EXCEPTION_OK): Likewise.
6555         (UNDERFLOW_EXCEPTION_OK): Likewise.
6556         (NO_INEXACT_EXCEPTION): Likewise.
6557         (EXCEPTIONS_OK): Likewise.
6558         (IGNORE_ZERO_INF_SIGN): Likewise.
6559         (TEST_NAN_SIGN): Likewise.
6560         (TEST_NAN_PAYLOAD): Likewise.
6561         (NO_TEST_INLINE): Likewise.
6562         (XFAIL_TEST): Likewise.
6563         (ERRNO_UNCHANGED): Likewise.
6564         (ERRNO_EDOM): Likewise.
6565         (ERRNO_ERANGE): Likewise.
6566         (IGNORE_RESULT): Likewise.
6567         (NON_FINITE): Likewise.
6568         (TEST_SNAN): Likewise.
6569         (NO_TEST_MATHVEC): Likewise.
6570         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6571         (__CONCATX): Likewise.
6572         (TYPE_MIN): Likewise.
6573         (TYPE_TRUE_MIN): Likewise.
6574         (TYPE_MAX): Likewise.
6575         (MIN_EXP): Likewise.
6576         (MAX_EXP): Likewise.
6577         (MANT_DIG): Likewise.
6578         (FSTR_MAX): Likewise.
6579         (ULP_IDX): Likewise.
6580         (QTYPE_STR): Likewise.
6581         (TEST_COND_binary32): Likewise.
6582         (TEST_COND_binary64): Likewise.
6583         (TEST_COND_binary128): Likewise.
6584         (TEST_COND_ibm128): Likewise.
6585         (TEST_COND_intel96): Likewise.
6586         (TEST_COND_m68k96): Likewise.
6587         (TEST_COND_ibm128_libgcc): Likewise.
6588         (XFAIL_IBM128_LIBGCC): Likewise.
6589         (PAYLOAD_DIG): Likewise.
6590         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6591         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6592         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6593         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6594         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6595         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6596         (TEST_COND_long32): Likewise.
6597         (TEST_COND_long64): Likewise.
6598         (TEST_COND_before_rounding): Likewise.
6599         (TEST_COND_after_rounding): Likewise.
6600         (lit_pi_3_m_4_d): Likewise.
6601         (lit_pi_3_m_4_ln10_m_d): Likewise.
6602         (lit_pi_2_ln10_m_d): Likewise.
6603         (lit_pi_4_ln10_m_d): Likewise.
6604         (lit_pi_ln10_d): Likewise.
6605         (lit_pi_2_d): Likewise.
6606         (lit_pi_4_d): Likewise.
6607         (lit_pi): Likewise.
6608         (lit_e): Likewise.
6609         (ulps_file_name): Likewise.
6610         (ulps_file): Likewise.
6611         (output_ulps): Likewise.
6612         (output_dir): Likewise.
6613         (noErrors): Likewise.
6614         (noTests): Likewise.
6615         (noExcTests): Likewise.
6616         (noErrnoTests): Likewise.
6617         (verbose): Likewise.
6618         (output_max_error): Likewise.
6619         (output_points): Likewise.
6620         (ignore_max_ulp): Likewise.
6621         (plus_zero): Likewise.
6622         (minus_zero): Likewise.
6623         (plus_infty): Likewise.
6624         (minus_infty): Likewise.
6625         (qnan_value_pl): Likewise.
6626         (qnan_value): Likewise.
6627         (snan_value_pl): Likewise.
6628         (snan_value): Likewise.
6629         (max_value): Likewise.
6630         (min_value): Likewise.
6631         (min_subnorm_value): Likewise.
6632         (snan_value_ld): Likewise.
6633         (max_error): Likewise.
6634         (real_max_error): Likewise.
6635         (imag_max_error): Likewise.
6636         (prev_max_error): Likewise.
6637         (prev_real_max_error): Likewise.
6638         (prev_imag_max_error): Likewise.
6639         (max_valid_error): Likewise.
6640         (TYPE_DECIMAL_DIG): Likewise.
6641         (TYPE_HEX_DIG): Likewise.
6642         (fmt_ftostr): Likewise.
6643         (compare_ulp_data): Likewise.
6644         (find_ulps): Likewise.
6645         (init_max_error): Likewise.
6646         (set_max_error): Likewise.
6647         (print_float): Likewise.
6648         (print_screen): Likewise.
6649         (print_screen_max_error): Likewise.
6650         (update_stats): Likewise.
6651         (print_function_ulps): Likewise.
6652         (print_complex_function_ulps): Likewise.
6653         (fpstack_test): Likewise.
6654         (print_max_error): Likewise.
6655         (print_complex_max_error): Likewise.
6656         (test_single_exception): Likewise.
6657         (test_exceptions): Likewise.
6658         (test_single_errno): Likewise.
6659         (test_errno): Likewise.
6660         (ULPDIFF): Likewise.
6661         (ulp): Likewise.
6662         (check_float_internal): Likewise.
6663         (check_float): Likewise.
6664         (check_complex): Likewise.
6665         (check_int): Likewise.
6666         (check_long): Likewise.
6667         (check_bool): Likewise.
6668         (check_longlong): Likewise.
6669         (check_intmax_t): Likewise.
6670         (check_uintmax_t): Likewise.
6671         (enable_test): Likewise.
6672         (struct test_f_f_data): Likewise.
6673         (struct test_ff_f_data): Likewise.
6674         (struct test_fj_f_data): Likewise.
6675         (struct test_fi_f_data): Likewise.
6676         (struct test_fl_f_data): Likewise.
6677         (struct test_if_f_data): Likewise.
6678         (struct test_fff_f_data): Likewise.
6679         (struct test_fiu_M_data): Likewise.
6680         (struct test_fiu_U_data): Likewise.
6681         (struct test_c_f_data): Likewise.
6682         (struct test_f_f1_data): Likewise.
6683         (struct test_fF_f1_data): Likewise.
6684         (struct test_ffI_f1_data): Likewise.
6685         (struct test_c_c_data): Likewise.
6686         (struct test_cc_c_data): Likewise.
6687         (struct test_f_i_data): Likewise.
6688         (struct test_ff_i_data): Likewise.
6689         (struct test_f_l_data): Likewise.
6690         (struct test_f_L_data): Likewise.
6691         (struct test_fFF_11_data): Likewise.
6692         (struct test_Ff_b1_data): Likewise.
6693         (IF_ROUND_INIT_): Likewise.
6694         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6695         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6696         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6697         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6698         (ROUND_RESTORE_): Likewise.
6699         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6700         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6701         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6702         (ROUND_RESTORE_FE_UPWARD): Likewise.
6703         (RM_): Likewise.
6704         (RM_FE_DOWNWARD): Likewise.
6705         (RM_FE_TONEAREST): Likewise.
6706         (RM_FE_TOWARDZERO): Likewise.
6707         (RM_FE_UPWARD): Likewise.
6708         (COMMON_TEST_SETUP): Likewise.
6709         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6710         (COMMON_TEST_CLEANUP): Likewise.
6711         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6712         (RUN_TEST_f_f): Likewise.
6713         (RUN_TEST_LOOP_f_f): Likewise.
6714         (RUN_TEST_fp_f): Likewise.
6715         (RUN_TEST_LOOP_fp_f): Likewise.
6716         (RUN_TEST_2_f): Likewise.
6717         (RUN_TEST_LOOP_2_f): Likewise.
6718         (RUN_TEST_ff_f): Likewise.
6719         (RUN_TEST_LOOP_ff_f): Likewise.
6720         (RUN_TEST_LOOP_fj_f): Likewise.
6721         (RUN_TEST_fi_f): Likewise.
6722         (RUN_TEST_LOOP_fi_f): Likewise.
6723         (RUN_TEST_fl_f): Likewise.
6724         (RUN_TEST_LOOP_fl_f): Likewise.
6725         (RUN_TEST_if_f): Likewise.
6726         (RUN_TEST_LOOP_if_f): Likewise.
6727         (RUN_TEST_fff_f): Likewise.
6728         (RUN_TEST_LOOP_fff_f): Likewise.
6729         (RUN_TEST_fiu_M): Likewise.
6730         (RUN_TEST_LOOP_fiu_M): Likewise.
6731         (RUN_TEST_fiu_U): Likewise.
6732         (RUN_TEST_LOOP_fiu_U): Likewise.
6733         (RUN_TEST_c_f): Likewise.
6734         (RUN_TEST_LOOP_c_f): Likewise.
6735         (RUN_TEST_f_f1): Likewise.
6736         (RUN_TEST_LOOP_f_f1): Likewise.
6737         (RUN_TEST_fF_f1): Likewise.
6738         (RUN_TEST_LOOP_fF_f1): Likewise.
6739         (RUN_TEST_fI_f1): Likewise.
6740         (RUN_TEST_LOOP_fI_f1): Likewise.
6741         (RUN_TEST_ffI_f1_mod8): Likewise.
6742         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
6743         (RUN_TEST_Ff_b1): Likewise.
6744         (RUN_TEST_LOOP_Ff_b1): Likewise.
6745         (RUN_TEST_Ffp_b1): Likewise.
6746         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6747         (RUN_TEST_c_c): Likewise.
6748         (RUN_TEST_LOOP_c_c): Likewise.
6749         (RUN_TEST_cc_c): Likewise.
6750         (RUN_TEST_LOOP_cc_c): Likewise.
6751         (RUN_TEST_f_i): Likewise.
6752         (RUN_TEST_LOOP_f_i): Likewise.
6753         (RUN_TEST_f_i_tg): Likewise.
6754         (RUN_TEST_LOOP_f_i_tg): Likewise.
6755         (RUN_TEST_ff_b): Likewise.
6756         (RUN_TEST_LOOP_ff_b): Likewise.
6757         (RUN_TEST_ff_i_tg): Likewise.
6758         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6759         (RUN_TEST_f_b): Likewise.
6760         (RUN_TEST_LOOP_f_b): Likewise.
6761         (RUN_TEST_f_b_tg): Likewise.
6762         (RUN_TEST_LOOP_f_b_tg): Likewise.
6763         (RUN_TEST_f_l): Likewise.
6764         (RUN_TEST_LOOP_f_l): Likewise.
6765         (RUN_TEST_f_L): Likewise.
6766         (RUN_TEST_LOOP_f_L): Likewise.
6767         (RUN_TEST_fFF_11): Likewise.
6768         (RUN_TEST_LOOP_fFF_11): Likewise.
6769         (VEC_SUFF): Likewise.
6770         (STR_CONCAT): Likewise.
6771         (STR_CON3): Likewise.
6772         (HAVE_VECTOR): Likewise.
6773         (START): Likewise.
6774         (END): Likewise.
6775         (END_COMPLEX): Likewise.
6776         (ALL_RM_TEST): Likewise.
6777         (matherr): Likewise.
6778         (initialize): Likewise.
6779         (options): Likewise.
6780         (doc): Likewise.
6781         (parse_opt): Likewise.
6782         (argp): Likewise.
6783         (check_ulp): Likewise.
6784         (main): Likewise.
6785         (do_test): New function.  Call tests of individual functions
6786         previously called from main.
6788         * math/libm-test.inc: Remove comment listing functions tested and
6789         not tested.
6791 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6793         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
6794         (allocate_stack): Remove COLORING_INCREMENT usage.
6795         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
6796         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
6798 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6800         * manual/libm-err-tab.pl (@all_functions): Change to
6801         %all_functions.  Initialize as empty.
6802         (parse_ulps): Add to %all_functions based on functions found in
6803         ulps files.  Ignore results for non-default rounding modes and
6804         vector functions.
6805         (print_platforms): Use %all_platforms.
6806         * manual/math.texi (Errors in Math Functions): Document omissions
6807         from the table.
6809         * math/Makefile (before-compile): Remove.
6811 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
6813         [BZ #21075]
6814         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
6815         unused assignment.
6816         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6818 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6820         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
6821         Add __glibc_unlikely hint.
6823 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6825         [BZ #16640]
6826         * sysdeps/i386/i686/strtok.S: Remove file.
6827         * sysdeps/i386/i686/strtok_r.S: Likewise.
6828         * sysdeps/i386/strtok.S: Likewise.
6829         * sysdeps/i386/strtok_r.S: Likewise.
6830         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
6831         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
6832         * sysdeps/x86_64/strtok.S: Likewise.
6833         * sysdeps/x86_64/strtok_r.S: Likewise.
6835         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
6836         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6837         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6838         (__ASSUME_FADVISE64_AS_64_64): Define.
6839         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
6840         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
6841         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
6842         __ALIGNMENT_ARG usage.
6843         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
6844         __NR_fadvise64_64 if it is not defined.
6846 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6848         * version.h (RELEASE): Set to "development"
6849         (VERSION): Set to 2.25.90.
6850         * NEWS: Add 2.26 section.
6852         * version.h (RELEASE): Set to "stable"
6853         (VERSION): Set to 2.25.
6854         * include/features.h (__GLIBC_MINOR__): Set to 25.
6856         * manual/contrib.texi: Add more contributors from this release
6857         and past releases.
6859         * NEWS (2.25): Add list of bugs fixed.
6861         * NEWS: Add missing news items.
6863 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6865         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
6866         parent if child exited in that manner.  Print WEXITSTATUS
6867         instead of the raw status.
6868         (do_test_prep): Rename to do_test.
6869         (do_test): Return the result of run_executable_sgid.
6870         (TEST_FUNCTION_ARGV): Adjust.
6872 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
6873             Florian Weimer  <fweimer@redhat.com>
6874             Carlos O'Donell  <carlos@redhat.com>
6876         [BZ #20915]
6877         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
6878         Do not initialize DTV.
6879         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6881 2017-02-03  David S. Miller  <davem@davemloft.net>
6883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
6884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
6886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
6888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
6890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6891         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6892         (libm-sysdep_routines): Update.
6893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
6894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
6895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
6897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6898         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
6899         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
6900         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
6901         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
6902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
6903         Likewise.
6904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
6906         Likewise.
6907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
6909         Likewise.
6910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
6912         Likewise.
6913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6915         (libm-sysdep_routines): Update.
6917 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6919         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6920         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6921         against unrelocated shared library.
6922         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6924 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6926         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6927         * elf/tst-env-setuid-tunables.c
6928         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6929         GLIBC_TUNABLES is removed in a setgid process.
6931         [BZ #21073]
6932         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6933         * elf/dl-tunables.c (tunables_strdup): Remove.
6934         (get_next_env): Also return the previous envp.
6935         (parse_tunables): Erase tunables of category
6936         TUNABLES_SECLEVEL_SXID_ERASE.
6937         (maybe_enable_malloc_check): Make MALLOC_CHECK_
6938         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6939         (__tunables_init)[TUNABLES_FRONTEND ==
6940         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6941         after parsing.
6942         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6943         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6944         * elf/dl-tunables.h (struct _tunable): Change member is_secure
6945         to security_level.
6946         * elf/dl-tunables.list: Add security_level annotations for all
6947         tunables.
6948         * scripts/gen-tunables.awk: Recognize and generate enum values
6949         for security_level.
6950         * elf/tst-env-setuid.c: New test case.
6951         * elf/tst-env-setuid-tunables: new test case.
6952         * elf/Makefile (tests-static): Add them.
6954 2017-02-01  Richard Henderson  <rth@twiddle.net>
6956         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6957         adjusting the byte count.
6959 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6961         * conform/Makefile (linknamespace-libs): Define.
6963         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6964         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6965         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6966         operands.
6968 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6970         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6972 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6974         [BZ #21081]
6975         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6976         (L(stosb)): Add VZEROUPPER before ret.
6978 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6979             Alexey Makhalov <amakhalov@vmware.com>
6980             Florian Weimer <fweimer@redhat.com>
6982         [BZ #20116]
6983         * nptl/pthread_create.c: Document concurrency notes.
6984         Enhance thread creation notes.
6985         (create_thread): Use bool *stopped_start.
6986         (START_THREAD_DEFN): Comment ownership of PD.
6987         (__pthread_create_2_1): Add local bool stopped_start and use
6988         that instead of pd->stopped_start where appropriate.
6989         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6990         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6991         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6992         * nptl/tst-create-detached.c: New file.
6993         * nptl/Makefile (tests): Add tst-create-detached.
6994         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6995         Reference the enhanced thread creation notes.
6996         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6997         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6998         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6999         (__pthread_current_priority): Likewise.
7000         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
7001         xpthread_attr_init, xpthread_attr_setdetachstate, and
7002         xpthread_attr_setstacksize.
7003         * support/xpthread_attr_destroy.c: New file.
7004         * support/xpthread_attr_init.c: New file.
7005         * support/xpthread_attr_setdetachstate.c: New file.
7006         * support/xpthread_attr_setstacksize.c: New file.
7007         * support/xthread.h: Define prototypes for xpthread_attr_destroy
7008         xpthread_attr_init, xpthread_attr_setdetachstate, and
7009         xpthread_attr_setstacksize.
7011 2017-01-27  Florian Weimer  <fweimer@redhat.com>
7013         * nptl/Makefile (tests): Add tst-robust-fork.
7014         * nptl/tst-robust-fork.c: New file.
7015         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
7016         xpthread_mutex_consistent, xpthread_mutex_destroy,
7017         xpthread_mutex_init, xpthread_mutexattr_destroy,
7018         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
7019         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
7020         xpthread_mutexattr_settype.
7021         * support/xmmap.c: New file.
7022         * support/xmunmap.c: Likewise.
7023         * support/xpthread_mutex_consistent.c: Likewise.
7024         * support/xpthread_mutex_destroy.c: Likewise.
7025         * support/xpthread_mutex_init.c: Likewise.
7026         * support/xpthread_mutexattr_destroy.c: Likewise.
7027         * support/xpthread_mutexattr_init.c: Likewise.
7028         * support/xpthread_mutexattr_setprotocol.c: Likewise.
7029         * support/xpthread_mutexattr_setpshared.c: Likewise.
7030         * support/xpthread_mutexattr_setrobust.c: Likewise.
7031         * support/xpthread_mutexattr_settype.c: Likewise.
7032         * support/xthread.h (xpthread_mutexattr_destroy)
7033         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
7034         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
7035         (xpthread_mutexattr_settype, xpthread_mutex_init)
7036         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
7037         * support/xunistd.h (xmmap, xmunmap): Likewise.
7039 2017-01-25  Florian Weimer  <fweimer@redhat.com>
7041         * string/Makefile (xtests): Add comment.
7042         (LOCALES): Add en_GB.UTF-8.
7043         (tst-strcoll-overflow.out): Depend on generated locales.
7044         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
7045         (SIZE, TIMEOUT): Update comments.
7046         (do_test): Define as static.  Fail test if setlocale fails.
7047         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
7048         messages.
7049         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
7050         TIMEOUT at 300 seconds should be enough to run this test
7051         successfully.
7053 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
7055         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
7056         /* FALLTHRU */ comments.
7058 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
7060         [BZ #21053]
7061         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
7062         constants instead of the old R* ones.
7063         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
7064         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7065         (NGREG): ... to this, to fit in with other architectures.
7066         (gpregset_t): Use new NGREG macro.
7067         [__USE_GNU]: Remove condition; all architectures other than tile
7068         are unconditional.
7069         (R*): Rename to REG_R*.
7071 2017-01-20  DJ Delorie  <dj@redhat.com>
7073         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
7074         (tunable_set_val_if_valid_range_signed) ... this, and ...
7075         (tunable_set_val_if_valid_range_unsigned) ... this.
7076         (tunable_initialize): Call the correct one of the above based on type.
7078 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
7080         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
7081         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7082         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7083         * sysdeps/microblaze/libm-test-ulps: Likewise.
7084         * sysdeps/sh/libm-test-ulps: Likewise.
7086         * math/README.libm-test: Update list of characters for input and
7087         output types.
7089 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7091         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7092         (__lll_unlock_elision): Fix adapt_count decrement.
7094 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
7096         * README.pretty-printers (Known issues): Warn about printers not
7097         always covering everything.
7098         * nptl/nptl-printers.py (MutexPrinter): Change output.
7099         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
7101 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7103         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
7104         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7105         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
7106         (__lll_lock_elision): Do not test futex before starting a
7107         transaction.  Use __glibc_likely instead of __builtin_expect.
7108         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
7109         (__lll_trylock_elision): Do not test futex before starting a
7110         transaction.  Use __glibc_likely instead of __builtin_expect.
7112 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7114         * po/Makefile (update-translations): New target.
7116 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7118         [BZ #21061]
7119         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
7121 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7123         * elf/dl-tunables (get_next_env): Always advance envp.
7124         * stdlib/tst-empty-env.c: New test case.
7125         * stdlib/Makefile (tests): Use it.
7127 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7129         [BZ #21047]
7130         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
7131         name for instruction.
7132         [!__SOFTFP__] (_FPU_SETCW): Likewise.
7134 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7136         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
7137         for make install.
7139 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7141         * po/bg.po: Merge from Translation Project.
7142         * po/fr.po: Likewise.
7143         * po/ko.po: Likewise.
7144         * po/nl.po: Likewise.
7145         * po/sv.po: Likewise.
7147 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7149         * manual/install.texi (Tools for Compilation): Update GCC version
7150         known to work to build glibc.
7151         * INSTALL: Regenerated.
7153 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7155         [BZ #21006]
7156         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
7158 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
7160         [BZ #21045]
7161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7162         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
7163         to __sigprocmask.
7165 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
7167         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
7168         wrap-around.
7169         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
7171         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
7173 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7175         * NEWS: Fix typo.
7177 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7179         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7180         barriers and comments.
7181         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7182         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7183         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7185 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7187         [BZ #19402]
7188         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7189         mutexes.
7191 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7193         [BZ #20985]
7194         * nptl/Makefile: Adapt.
7195         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7196         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7197         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7198         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7199         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
7200         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
7201         lll_robust* functions and adapt.
7202         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7203         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
7204         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7205         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7206         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
7207         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7208         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
7209         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7210         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
7211         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7212         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7213         * nptl/lowlevelrobustlock.c: Remove file.
7214         * nptl/lowlevelrobustlock.sym: Likewise.
7215         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
7216         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
7218 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7220         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7222 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7224         * po/cs.po: Merge translations from the Translation Project.
7225         * po/de.po: Likewise.
7226         * po/pl.po: Likewise.
7227         * po/ru.po: Likewise.
7228         * po/tr.po: Likewise.
7229         * po/uk.po: Likewise.
7230         * po/vi.po: Likewise.
7231         * po/zh_CN.po: Likewise.
7233 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
7235         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
7237         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
7238         object.
7240 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7242         [BZ #16458]
7243         * bits/uintn-identity.h: New file.
7244         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
7245         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
7246         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
7247         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
7248         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
7249         * string/endian.h: Include <bits/uintn-identity.h>.
7250         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
7251         __uint16_identity.
7252         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
7253         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
7254         __uint32_identity.
7255         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
7256         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
7257         __uint64_identity.
7258         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
7259         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
7260         __uint16_identity.
7261         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
7262         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
7263         __uint32_identity.
7264         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
7265         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
7266         __uint64_identity.
7267         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
7268         * string/Makefile (headers): Add bits/uintn-identity.h.
7269         (tests): Add test-endian-types.
7270         * string/test-endian-types.c: New file.
7271         * inet/Makefile (tests): Add test-hnto-types.
7272         * inet/test-hnto-types.c: New file.
7274 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7276         * po/be.po: Update from Translation Project.
7277         * po/bg.po: Likewise.
7278         * po/ca.po: Likewise.
7279         * po/cs.po: Likewise.
7280         * po/da.po: Likewise.
7281         * po/de.po: Likewise.
7282         * po/el.po: Likewise.
7283         * po/eo.po: Likewise.
7284         * po/es.po: Likewise.
7285         * po/fi.po: Likewise.
7286         * po/fr.po: Likewise.
7287         * po/gl.po: Likewise.
7288         * po/hr.po: Likewise.
7289         * po/hu.po: Likewise.
7290         * po/ia.po: Likewise.
7291         * po/id.po: Likewise.
7292         * po/it.po: Likewise.
7293         * po/ja.po: Likewise.
7294         * po/ko.po: Likewise.
7295         * po/lt.po: Likewise.
7296         * po/nb.po: Likewise.
7297         * po/nl.po: Likewise.
7298         * po/pl.po: Likewise.
7299         * po/pt_BR.po: Likewise.
7300         * po/ru.po: Likewise.
7301         * po/rw.po: Likewise.
7302         * po/sk.po: Likewise.
7303         * po/sl.po: Likewise.
7304         * po/sv.po: Likewise.
7305         * po/tr.po: Likewise.
7306         * po/uk.po: Likewise.
7307         * po/vi.po: Likewise.
7308         * po/zh_CN.po: Likewise.
7309         * po/zh_TW.po: Likewise.
7311 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7313         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7314         -Wformat-truncation instead of -Wformat-length.
7315         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7316         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7317         GCC 7.
7318         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7319         (do_test): Ignore -Wformat-truncation for GCC 7.
7321         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7322         buffer used to print long int value.
7324         * elf/sotruss-lib.c (init): Increase space allocated for pid by
7325         one byte.  Print it with %ld, cast to long int.
7327 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7329         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7330         (re.fullmatch, subprocess.run): Likewise.
7332 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7334         * po/libc.pot: Regenerate.
7336 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7338         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7339         (min_strlen): Likewise.
7340         (disable_tunable): Likewise.
7341         (maybe_disable_malloc_check): Rename to
7342         maybe_enable_malloc_check.
7343         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7344         if /etc/suid-debug file exists.
7345         (__tunables_init): Update caller.
7346         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7347         secure.
7349 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7351         * nptl/DESIGN-rwlock.txt: Remove.
7352         * nptl/lowlevelrwlock.sym: Remove.
7353         * nptl/Makefile: Add new tests.
7354         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7355         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7356         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7357         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7358         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7359         PTHREAD_RWLOCK_FUTEX_USED): New.
7360         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7361         implementation.
7362         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7363         (__pthread_rwlock_rdlock): Adapt.
7364         * nptl/pthread_rwlock_timedrdlock.c
7365         (pthread_rwlock_timedrdlock): Adapt.
7366         * nptl/pthread_rwlock_timedwrlock.c
7367         (pthread_rwlock_timedwrlock): Adapt.
7368         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7369         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7370         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7371         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7372         (__pthread_rwlock_wrlock): Adapt.
7373         * nptl/tst-rwlock10.c: Adapt.
7374         * nptl/tst-rwlock11.c: Adapt.
7375         * nptl/tst-rwlock17.c: New file.
7376         * nptl/tst-rwlock18.c: New file.
7377         * nptl/tst-rwlock19.c: New file.
7378         * nptl/tst-rwlock2b.c: New file.
7379         * nptl/tst-rwlock8.c: Adapt.
7380         * nptl/tst-rwlock9.c: Adapt.
7381         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7382         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7383         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7384         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7385         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7386         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7387         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7388         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7389         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7390         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7391         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7392         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7393         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7394         (pthread_rwlock_t): Adapt.
7395         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7396         (pthread_rwlock_t): Adapt.
7397         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7398         * nptl/nptl-printers.py (): Adapt.
7399         * nptl/nptl_lock_constants.pysym: Adapt.
7400         * nptl/test-rwlock-printers.py: Adapt.
7401         * nptl/test-rwlockattr-printers.c: Adapt.
7402         * nptl/test-rwlockattr-printers.py: Adapt.
7404 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7406         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7407         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7408         (fma_test_data): Likewise.
7409         (hypot_test_data): Likewise.
7410         (log1p_test_data): Likewise.
7411         (modf_test_data): Likewise.
7412         (pow_test_data): Likewise.
7413         (remainder_test_data): Likewise.
7414         (remquo_test_data): Likewise.
7415         (scalb_test_data): Likewise.
7416         (scalbn_test_data): Likewise.
7417         (scalbln_test_data): Likewise.
7418         * math/gen-libm-test.pl (parse_args): Transform
7419         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7420         on the rounding mode.
7422 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7424         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7425         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7426         and those that can underflow to zero.
7427         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7428         add others.
7429         * math/auto-libm-test-out: Regenerated.
7431         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7432         supported.
7433         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7434         modes support if not supported.
7436         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7437         Add libc.so PLT entry.
7438         (__tls_get_addr): Make ld.so PLT entry optional.
7440 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7442         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7443         * string/bits/string3.h: ... here.
7445 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7447         [BZ #21028]
7448         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7449         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7450         if EXCEPTION_TESTS returns false.
7452 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7454         [BZ #20558]
7455         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7456         strings_fortified.h.
7457         [__USE_MISC] (bzero): Likewise.
7458         [__USE_MISC] (explicit_bzero): Likewise.
7459         * string/strings.h: Include strings_fortified.h.
7460         * string/Makefile (headers): Add strings_fortified.h.
7461         * string/bits/strings_fortified.h: New file.
7462         * include/bits/strings_fortified.h: Likewise.
7464 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7466         * elf/tst-tls13.c (TIMEOUT): Remove.
7467         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7468         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7469         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7470         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7471         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7473         [BZ #21026]
7474         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7475         (readahead): New syscall entry.
7477 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7479         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7480         around tests of strncat with large sizes.
7482         * malloc/tst-malloc.c: Include <libc-internal.h>.
7483         (do_test): Disable -Walloc-size-larger-than= around tests of
7484         malloc with negative sizes.
7485         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7486         (do_test): Disable -Walloc-size-larger-than= around tests of
7487         malloc and realloc with negative sizes.
7488         * malloc/tst-realloc.c: Include <libc-internal.h>.
7489         (do_test): Disable -Walloc-size-larger-than= around tests of
7490         realloc with negative sizes.
7492         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7493         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7494         allowed to 16 ulps.
7495         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7496         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7497         * math/auto-libm-test-out: Regenerated.
7499 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7501         * math/Makefile (libm-calls): Move wrappers...
7502         (libm-compat-call-auto): Here.
7503         (libm-routines): Add items in libm-compat-calls-auto.
7504         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7505         the filenames of the wrappers that have been renamed.
7506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7509         * math/w_acos.c: Add _compat suffix to filename.
7510         * math/w_acosf.c: Likewise.
7511         * math/w_acosh.c: Likewise.
7512         * math/w_acoshf.c: Likewise.
7513         * math/w_acoshl.c: Likewise.
7514         * math/w_acosl.c: Likewise.
7515         * math/w_asin.c: Likewise.
7516         * math/w_asinf.c: Likewise.
7517         * math/w_asinl.c: Likewise.
7518         * math/w_atan2.c: Likewise.
7519         * math/w_atan2f.c: Likewise.
7520         * math/w_atan2l.c: Likewise.
7521         * math/w_atanh.c: Likewise.
7522         * math/w_atanhf.c: Likewise.
7523         * math/w_atanhl.c: Likewise.
7524         * math/w_cosh.c: Likewise.
7525         * math/w_coshf.c: Likewise.
7526         * math/w_coshl.c: Likewise.
7527         * math/w_exp10.c: Likewise.
7528         * math/w_exp10f.c: Likewise.
7529         * math/w_exp10l.c: Likewise.
7530         * math/w_exp2.c: Likewise.
7531         * math/w_exp2f.c: Likewise.
7532         * math/w_exp2l.c: Likewise.
7533         * math/w_fmod.c: Likewise.
7534         * math/w_fmodf.c: Likewise.
7535         * math/w_fmodl.c: Likewise.
7536         * math/w_hypot.c: Likewise.
7537         * math/w_hypotf.c: Likewise.
7538         * math/w_hypotl.c: Likewise.
7539         * math/w_j0.c: Likewise.
7540         * math/w_j0f.c: Likewise.
7541         * math/w_j0l.c: Likewise.
7542         * math/w_j1.c: Likewise.
7543         * math/w_j1f.c: Likewise.
7544         * math/w_j1l.c: Likewise.
7545         * math/w_jn.c: Likewise.
7546         * math/w_jnf.c: Likewise.
7547         * math/w_jnl.c: Likewise.
7548         * math/w_log10.c: Likewise.
7549         * math/w_log10f.c: Likewise.
7550         * math/w_log10l.c: Likewise.
7551         * math/w_log2.c: Likewise.
7552         * math/w_log2f.c: Likewise.
7553         * math/w_log2l.c: Likewise.
7554         * math/w_log.c: Likewise.
7555         * math/w_logf.c: Likewise.
7556         * math/w_logl.c: Likewise.
7557         * math/w_pow.c: Likewise.
7558         * math/w_powf.c: Likewise.
7559         * math/w_powl.c: Likewise.
7560         * math/w_remainder.c: Likewise.
7561         * math/w_remainderf.c: Likewise.
7562         * math/w_remainderl.c: Likewise.
7563         * math/w_scalb.c: Likewise.
7564         * math/w_scalbf.c: Likewise.
7565         * math/w_scalbl.c: Likewise.
7566         * math/w_sinh.c: Likewise.
7567         * math/w_sinhf.c: Likewise.
7568         * math/w_sinhl.c: Likewise.
7569         * math/w_sqrt.c: Likewise.
7570         * math/w_sqrtf.c: Likewise.
7571         * math/w_sqrtl.c: Likewise.
7572         * math/w_tgamma.c: Likewise.
7573         * math/w_tgammaf.c: Likewise.
7574         * math/w_tgammal.c: Likewise.
7576         * math/w_acos_compat.c: New file copied from above and
7577         adjusted for new #includes path
7578         * math/w_acosf_compat.c: Likewise.
7579         * math/w_acosh_compat.c: Likewise.
7580         * math/w_acoshf_compat.c: Likewise.
7581         * math/w_acoshl_compat.c: Likewise.
7582         * math/w_acosl_compat.c: Likewise.
7583         * math/w_asin_compat.c: Likewise.
7584         * math/w_asinf_compat.c: Likewise.
7585         * math/w_asinl_compat.c: Likewise.
7586         * math/w_atan2_compat.c: Likewise.
7587         * math/w_atan2f_compat.c: Likewise.
7588         * math/w_atan2l_compat.c: Likewise.
7589         * math/w_atanh_compat.c: Likewise.
7590         * math/w_atanhf_compat.c: Likewise.
7591         * math/w_atanhl_compat.c: Likewise.
7592         * math/w_cosh_compat.c: Likewise.
7593         * math/w_coshf_compat.c: Likewise.
7594         * math/w_coshl_compat.c: Likewise.
7595         * math/w_exp10_compat.c: Likewise.
7596         * math/w_exp10f_compat.c: Likewise.
7597         * math/w_exp10l_compat.c: Likewise.
7598         * math/w_exp2_compat.c: Likewise.
7599         * math/w_exp2f_compat.c: Likewise.
7600         * math/w_exp2l_compat.c: Likewise.
7601         * math/w_fmod_compat.c: Likewise.
7602         * math/w_fmodf_compat.c: Likewise.
7603         * math/w_fmodl_compat.c: Likewise.
7604         * math/w_hypot_compat.c: Likewise.
7605         * math/w_hypotf_compat.c: Likewise.
7606         * math/w_hypotl_compat.c: Likewise.
7607         * math/w_j0_compat.c: Likewise.
7608         * math/w_j0f_compat.c: Likewise.
7609         * math/w_j0l_compat.c: Likewise.
7610         * math/w_j1_compat.c: Likewise.
7611         * math/w_j1f_compat.c: Likewise.
7612         * math/w_j1l_compat.c: Likewise.
7613         * math/w_jn_compat.c: Likewise.
7614         * math/w_jnf_compat.c: Likewise.
7615         * math/w_jnl_compat.c: Likewise.
7616         * math/w_log10_compat.c: Likewise.
7617         * math/w_log10f_compat.c: Likewise.
7618         * math/w_log10l_compat.c: Likewise.
7619         * math/w_log2_compat.c: Likewise.
7620         * math/w_log2f_compat.c: Likewise.
7621         * math/w_log2l_compat.c: Likewise.
7622         * math/w_log_compat.c: Likewise.
7623         * math/w_logf_compat.c: Likewise.
7624         * math/w_logl_compat.c: Likewise.
7625         * math/w_pow_compat.c: Likewise.
7626         * math/w_powf_compat.c: Likewise.
7627         * math/w_powl_compat.c: Likewise.
7628         * math/w_remainder_compat.c: Likewise.
7629         * math/w_remainderf_compat.c: Likewise.
7630         * math/w_remainderl_compat.c: Likewise.
7631         * math/w_scalb_compat.c: Likewise.
7632         * math/w_scalbf_compat.c: Likewise.
7633         * math/w_scalbl_compat.c: Likewise.
7634         * math/w_sinh_compat.c: Likewise.
7635         * math/w_sinhf_compat.c: Likewise.
7636         * math/w_sinhl_compat.c: Likewise.
7637         * math/w_sqrt_compat.c: Likewise.
7638         * math/w_sqrtf_compat.c: Likewise.
7639         * math/w_sqrtl_compat.c: Likewise.
7640         * math/w_tgamma_compat.c: Likewise.
7641         * math/w_tgammaf_compat.c: Likewise.
7642         * math/w_tgammal_compat.c: Likewise.
7644         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7645         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7646         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7647         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7648         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7649         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7650         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7651         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7652         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7653         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7654         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7655         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7656         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7657         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7658         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7659         * sysdeps/ia64/fpu/w_powl.c: Likewise.
7660         * sysdeps/ia64/fpu/w_powf.c: Likewise.
7661         * sysdeps/ia64/fpu/w_pow.c: Likewise.
7662         * sysdeps/ia64/fpu/w_logl.c: Likewise.
7663         * sysdeps/ia64/fpu/w_logf.c: Likewise.
7664         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7665         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7666         * sysdeps/ia64/fpu/w_log2.c: Likewise.
7667         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7668         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7669         * sysdeps/ia64/fpu/w_log10.c: Likewise.
7670         * sysdeps/ia64/fpu/w_log.c: Likewise.
7671         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7672         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7673         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7674         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7675         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7676         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7677         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7678         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7679         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7680         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7681         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7682         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7683         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7684         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7685         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7686         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7687         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7688         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7689         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7690         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7691         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7692         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7693         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7694         * sysdeps/ia64/fpu/w_asin.c: Likewise.
7695         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7696         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7697         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7698         * sysdeps/ia64/fpu/w_acos.c: Likewise.
7699         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7700         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7701         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7702         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
7703         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
7704         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
7705         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
7706         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
7707         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
7708         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
7709         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
7710         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
7711         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
7712         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
7713         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
7714         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
7715         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
7716         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
7717         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
7718         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
7719         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
7720         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
7721         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
7722         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
7723         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
7724         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
7725         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
7726         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
7727         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
7728         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
7729         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
7730         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
7731         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
7732         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
7733         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
7734         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
7735         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
7736         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
7737         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
7738         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
7739         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
7740         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
7741         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
7742         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
7743         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
7744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
7745         Likewise.
7746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
7747         Likewise.
7748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
7749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
7750         Likewise.
7751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
7752         Likewise.
7753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
7754         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7755         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7756         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7757         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7758         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7759         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
7761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
7763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7764         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7765         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7766         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7767         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7769         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
7770         and adjusted for new #includes path
7771         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
7772         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
7773         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
7774         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
7775         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
7776         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
7777         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
7778         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
7779         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
7780         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
7781         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
7782         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
7783         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
7784         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
7785         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
7786         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
7787         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
7788         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
7789         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
7790         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
7791         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
7792         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
7793         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
7794         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
7795         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
7796         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
7797         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
7798         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
7799         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
7800         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
7801         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
7802         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
7803         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
7804         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
7805         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
7806         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
7807         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
7808         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
7809         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
7810         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
7811         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
7812         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
7813         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
7814         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
7815         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
7816         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
7817         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
7818         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
7819         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
7820         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
7821         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
7822         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
7823         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
7824         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
7825         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
7826         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
7827         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
7828         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
7829         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
7830         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7831         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7832         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
7833         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7834         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
7835         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7836         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
7837         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7838         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
7839         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7840         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
7841         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
7842         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
7843         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7844         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
7845         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7846         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
7847         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7848         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
7849         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7850         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
7851         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7852         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
7853         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7854         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
7855         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7856         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
7857         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7858         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
7859         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7860         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
7861         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7862         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
7863         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
7864         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
7865         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7866         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
7867         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7868         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
7869         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7871         Likewise.
7872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7873         Likewise.
7874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7875         Likewise.
7876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7877         Likewise.
7878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7879         Likewise.
7880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7881         Likewise.
7882         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7883         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7884         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7885         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7886         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7887         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7889         Likewise.
7890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7891         Likewise.
7892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7893         Likewise.
7894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7895         Likewise.
7896         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7897         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7898         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7899         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7901 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7903         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
7904         __jmp_buf_internal_tag.
7906         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7907         preserve NaN payload if [__mips_nan2008].
7908         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
7910         [BZ #21022]
7911         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
7913 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7915         * sysdeps/i386/fpu/libm-test-ulps: Update.
7917 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7919         * sysdeps/ia64/strcat.c: Remove file.
7920         * sysdeps/powerpc/strcat.c: Likewise.
7921         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7922         C implementation.
7923         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7924         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7926 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7927             Steven Munroe  <sjmunroe@us.ibm.com>
7928             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7930         [BZ #20822]
7931         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7932         (__lll_lock_elision): Access adapt_count via C11 atomics.
7933         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7934         (__lll_trylock_elision): Likewise.
7935         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7936         (__lll_unlock_elision):  Update adapt_count variable inside the
7937         critical section using C11 atomics.
7939 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7941         * math/test-fenvinline.c (do_test): Disable tests of raised
7942         exceptions if !EXCEPTION_TESTS (FLOAT).
7944 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7946         [BZ #19390]
7947         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7948         maximum string size.
7949         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7950         in pointer addition.
7951         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7952         Likewise.
7954 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7956         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7957         passed to tst-ldconfig-X.sh.
7959 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7961         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7963 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7965         [BZ #21019]
7966         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7967         New syscall entry.
7968         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7969         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7970         lseek.
7972         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7973         power4 glibc for powerpc-linux-gnu.
7975 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7977         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7978         semctl.
7980 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7982         * math/test-nearbyint-except.c: Include <stdbool.h>.
7983         (any_supported): New variable.
7984         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7985         set any_supported.
7986         (do_test): Return 77 if no floating-point type supported
7987         exceptions.
7989         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7990         condition on [__mips_hard_float].
7992 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7994         [BZ #21014]
7995         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7996         in pointer addition.
7997         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7999 2017-01-02  Torvald Riegel  <triegel@redhat.com>
8001         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
8002         new condvar.
8004 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8006         * scripts/build-many-glibcs.py (Context.checkout): Default
8007         binutils version to 2.28 branch.
8009 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8011         * support/support_format_netent.c (support_format_netent): Work
8012         around alpha struct netent definition difference.
8014 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8016         * support/xwrite.c (xwrite): Use %td for pointer difference.
8018 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8020         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
8021         have-tunables only.
8022         (tests-static): Add tst-malloc-usable-static-tunables for
8023         have-tunables only.
8025 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
8027         * scripts/config.guess: Update to version 2017-01-01.
8028         * scripts/config.sub: Update to version 2017-01-01.
8030         * NEWS: Update copyright dates.
8031         * catgets/gencat.c (print_version): Likewise.
8032         * csu/version.c (banner): Likewise.
8033         * debug/catchsegv.sh: Likewise.
8034         * debug/pcprofiledump.c (print_version): Likewise.
8035         * debug/xtrace.sh (do_version): Likewise.
8036         * elf/ldconfig.c (print_version): Likewise.
8037         * elf/ldd.bash.in: Likewise.
8038         * elf/pldd.c (print_version): Likewise.
8039         * elf/sotruss.sh: Likewise.
8040         * elf/sprof.c (print_version): Likewise.
8041         * iconv/iconv_prog.c (print_version): Likewise.
8042         * iconv/iconvconfig.c (print_version): Likewise.
8043         * locale/programs/locale.c (print_version): Likewise.
8044         * locale/programs/localedef.c (print_version): Likewise.
8045         * login/programs/pt_chown.c (print_version): Likewise.
8046         * malloc/memusage.sh (do_version): Likewise.
8047         * malloc/memusagestat.c (print_version): Likewise.
8048         * malloc/mtrace.pl: Likewise.
8049         * manual/libc.texinfo: Likewise.
8050         * nptl/version.c (banner): Likewise.
8051         * nscd/nscd.c (print_version): Likewise.
8052         * nss/getent.c (print_version): Likewise.
8053         * nss/makedb.c (print_version): Likewise.
8054         * posix/getconf.c (main): Likewise.
8055         * scripts/test-installation.pl: Likewise.
8056         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8058         * All files with FSF copyright notices: Update copyright dates
8059         using scripts/update-copyrights.
8060         * intl/plural.c: Regenerated.
8061         * locale/programs/charmap-kw.h: Likewise.
8062         * locale/programs/locfile-kw.h: Likewise.
8064 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8066         [BZ #20593]
8067         Update DNS RR type definitions.
8068         * scripts/gen-rrtypes.py: New file.
8069         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
8070         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
8071         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
8072         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
8073         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
8074         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
8075         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
8076         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
8077         ns_t_ta, ns_t_dlv.
8078         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
8079         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
8080         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
8081         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
8082         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
8083         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
8084         Define.
8085         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
8086         entry for ns_t_zxfr.
8088 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8090         [BZ #18784]
8091         CVE-2015-5180
8092         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
8093         T_UNSPEC.  Adjust value.
8094         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
8095         * resolv/res_query.c (__libc_res_nquery): Likewise.
8096         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
8097         QTYPEs.
8098         * resolv/tst-resolv-qtypes.c: New file.
8099         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
8100         (tst-resolv-qtypes): Link against libresolv and libpthread.
8102 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8104         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
8106 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8108         * manual/tunables.texi: New chapter.
8109         * manual/Makefile (chapters): Add it.
8110         * manual/probes.texi (@node): Point to the Tunables chapter.
8112         * Makeconfig (have-tunables): Check for non-negative instead
8113         of positive.
8114         * configure.ac: Add 'valstring' as a valid value for
8115         --enable-tunables.
8116         * configure: Regenerate.
8117         * elf/Makefile (have-tunables): Check for non-negative instead
8118         of positive.
8119         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
8120         dl-tunables.c.
8121         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
8122         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8123         (tunables_strdup): Likewise.
8124         (disable_tunables): Likewise.
8125         (parse_tunables): Likewise.
8126         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
8127         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8128         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
8129         (TUNABLES_FRONTEND_yes): New macro, define as
8130         TUNABLES_FRONTEND_valstring by default.
8131         * manual/install.texi: Document new acceptable values for
8132         --enable-tunables.
8133         * INSTALL: Regenerate.
8135         * config.make.in (have-loop-to-function): Define.
8136         * elf/Makefile (CFLAGS-dl-tunables.c): Add
8137         -fno-tree-loop-distribute-patterns.
8138         * elf/dl-tunables.c: Include libc-internals.h.
8139         (GLIBC_TUNABLES): New macro.
8140         (tunables_strdup): New function.
8141         (parse_tunables): New function.
8142         (min_strlen): New function.
8143         (__tunables_init): Use the new functions and macro.
8144         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
8145         * malloc/tst-malloc-usable-tunables.c: New test case.
8146         * malloc/tst-malloc-usable-static-tunables.c: New test case.
8147         * malloc/Makefile (tests, tests-static): Add tests.
8149         * manual/install.texi: Add --enable-tunables option.
8150         * INSTALL: Regenerate.
8151         * README.tunables: New file.
8152         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
8153         (before-compile): Generate dl-tunable-list.h early.
8154         * config.h.in: Add HAVE_TUNABLES.
8155         * config.make.in: Add have-tunables.
8156         * configure.ac: Add --enable-tunables option.
8157         * configure: Regenerate.
8158         * csu/init-first.c (__libc_init_first): Move
8159         __libc_init_secure earlier...
8160         * csu/init-first.c (LIBC_START_MAIN):... to here.
8161         Include dl-tunables.h, libc-internal.h.
8162         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
8163         binaries.
8164         * elf/Makefile (dl-routines): Add dl-tunables.
8165         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
8166         namespace.
8167         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
8168         only when !HAVE_TUNABLES.
8169         * elf/rtld.c (process_envvars): Likewise.
8170         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
8171         (_dl_sysdep_start): Call __tunables_init.
8172         * elf/dl-tunable-types.h: New file.
8173         * elf/dl-tunables.c: New file.
8174         * elf/dl-tunables.h: New file.
8175         * elf/dl-tunables.list: New file.
8176         * malloc/tst-malloc-usable-static.c: New test case.
8177         * malloc/Makefile (tests-static): Add it.
8178         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8179         Define TUNABLE_NAMESPACE.
8180         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8181         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
8182         callback functions.
8183         (ptmalloc_init): Set tunable values.
8184         * scripts/gen-tunables.awk: New file.
8185         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8186         (_dl_sysdep_start): Call __tunables_init.
8188 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8190         * resolv/resolv.h (RES_BLAST): Deprecate.
8191         * resolv/res_debug.c (p_option): Remove RES_BLAST.
8192         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8193         to RES_BLAST.
8195 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8197         [BZ #19582]
8198         Deprecate RES_USE_INET6.
8199         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
8200         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
8201         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
8202         RES_USE_INET6.
8203         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
8204         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
8205         (_nss_nisplus_gethostbyaddr_r): Likewise.
8206         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
8207         of res_use_inet6.
8208         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
8209         instead of RES_USE_INET6.
8210         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
8211         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
8212         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
8213         Likewise.
8214         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
8215         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
8216         Likewise.
8217         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
8218         (_nss_dns_gethostbyname_r): Likewise.
8219         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
8220         alternate RES_USE_INET6 handling.
8221         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
8222         instead of RES_USE_INET6.
8223         * resolv/res_init.c (res_setoptions): Likewise.
8224         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
8225         * resolv/resolv-internal.h: New file.
8226         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
8227         make the deprecation warning non-fatal.
8228         * resolv/README (Using the resolver in multi-threaded code): Drop
8229         reference to RES_USE_INET6.
8230         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
8231         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
8233 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8235         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
8236         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
8237         tst-resolv-search.
8238         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
8239         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
8240         with libresolv and libpthread.
8241         * resolv/tst-bug18665.c: New file.
8242         * resolv/tst-bug18665-tcp: Likewise.
8243         * resolv/tst-res_use_inet6: Likewise.
8244         * resolv/tst-resolv-basic: Likewise.
8245         * resolv/tst-resolv-network: Likewise.
8246         * resolv/tst-resolv-search: Likewise.
8247         * support/Makefile (libsupport-routines): Add check_addrinfo,
8248         check_dns_packet, check_hostent, check_netent, resolv_test,
8249         support_format_address_family, support_format_addrinfo,
8250         support_format_dns_packet, support_format_herrno,
8251         support_format_hostent, support_format_netent, support_run_diff,
8252         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
8253         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
8254         xstrdup, xwrite.
8255         * support/check_addrinfo.c: New file.
8256         * support/check_dns_packet.c: Likewise.
8257         * support/check_hostent.c: Likewise.
8258         * support/check_netent.c: Likewise.
8259         * support/check_nss.h: Likewise.
8260         * support/format_nss.h: Likewise.
8261         * support/resolv_test.c: Likewise.
8262         * support/resolv_test.h: Likewise.
8263         * support/run_diff.h: Likewise.
8264         * support/support_format_address_family.c: Likewise.
8265         * support/support_format_addrinfo.c: Likewise.
8266         * support/support_format_dns_packet.c: Likewise.
8267         * support/support_format_herrno.c: Likewise.
8268         * support/support_format_hostent.c: Likewise.
8269         * support/support_format_netent.c: Likewise.
8270         * support/support_run_diff.c: Likewise.
8271         * support/xaccept.c: Likewise.
8272         * support/xbind.c: Likewise.
8273         * support/xconnect.c: Likewise.
8274         * support/xfclose.c: Likewise.
8275         * support/xfopen.c: Likewise.
8276         * support/xgetsockname.c: Likewise.
8277         * support/xlisten.c: Likewise.
8278         * support/xmemstream.c: Likewise.
8279         * support/xmemstream.h: Likewise.
8280         * support/xpoll.c: Likewise.
8281         * support/xpthread_once.c: Likewise.
8282         * support/xrecvfrom.c: Likewise.
8283         * support/xsendto.c: Likewise.
8284         * support/xsetsockopt.c: Likewise.
8285         * support/xstdio.h: Likewise.
8286         * support/xstrdup.c: Likewise.
8287         * support/support.h (xstrdup): Declare.
8288         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8289         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8290         * support/xthread.h (xpthread_once): Likwise.
8291         * support/xunistd.h (xwrite): Declare.
8293 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8295         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8296         (test_verbose): Declare.
8297         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8298         * support/support_test_main.c (default_options): Likewise.
8299         (usage, support_test_main): Handle 'v'.
8300         (test_verbose): Define.
8301         * support/tst-support_record_failure.c (do_test): Use
8302         test_verbose.
8303         * support/tst-support_record_failure-2.sh (different_status): Add
8304         --verbose test.
8306 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8308         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8309         test failures are recorded.
8310         * support/check.c (support_print_failure_impl): Call
8311         support_record_failure.
8312         (support_exit_failure_impl): Call support_record_failure if status
8313         indicates failure.
8314         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8315         * support/xasprintf.c (xasprintf): Likewise.
8316         * support/xfork.c (xfork): Likewise.
8317         * support/xpthread_check_return.c (xpthread_check_return):
8318         Likewise.
8319         * support/xsocket.c (xsocket): Likeweise.
8320         * support/xwaitpid.c (xwaitpid): Likewise.
8321         * support/support_record_failure.c (struct test_failures): Adjust
8322         to coding style.
8323         * support/support_test_verify_impl.c (support_test_verify_impl):
8324         Adjust error messages.
8325         * support/tst-support_record_failure-2.sh (different_status):
8326         Adjust error messages.
8328 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8330         * support/namespace.h: New file.
8331         * support/support_become_root.c: Likewise.
8332         * support/support_enter_network_namespace.c: Likewise.
8333         * support/tst-support-namespace.c: Likewise.
8334         * support/xsocket.c: Likewise.
8335         * support/xsocket.h: Likewise.
8336         * support/Makefile (libsupport-routines): Add support_become_root,
8337         support_enter_network_namespace, xsocket.
8338         (tests): Add tst-support-namespace.
8340 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8342         [BZ #17252]
8343         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8344         __USE_GNU.
8346 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8348         [BZ #13165]
8349         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8350         use new algorithm.
8351         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8352         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8353         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8354         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8355         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8356         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8357         __condvar_cleanup_waiting, __condvar_dec_grefs,
8358         __pthread_cond_wait_common): New.
8359         (__condvar_cleanup): Remove.
8360         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8361         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8362         Likewise.
8363         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8364         Likewise.
8365         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8366         * nptl/tst-cond1.c: Add comment.
8367         * nptl/tst-cond20.c (do_test): Adapt.
8368         * nptl/tst-cond22.c (do_test): Likewise.
8369         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8370         structure.
8371         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8372         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8373         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8374         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8375         Likewise.
8376         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8377         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8378         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8379         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8380         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8381         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8382         Likewise.
8383         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8384         Likewise.
8385         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8386         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8387         (COND_CLOCK_BITS): Adapt.
8388         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8389         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8390         __PTHREAD_COND_SHARED_MASK): New.
8391         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8392         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8393         * nptl/nptl_lock_constants.pysym: Adapt.
8394         * nptl/test-cond-printers.py: Adapt.
8395         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8396         cond_compat_check_and_clear): Adapt.
8397         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8398         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8399         (__pthread_cond_timedwait): ... and move here.
8400         * nptl/DESIGN-condvar.txt: Remove file.
8401         * nptl/lowlevelcond.sym: Likewise.
8402         * nptl/pthread_cond_timedwait.c: Likewise.
8403         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8404         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8406         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8407         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8408         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8409         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8410         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8411         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8412         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8413         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8414         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8416         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8417         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8418         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8420 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8422         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8423         (fromfp): New declaration.
8424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8427         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8432         * math/math.h: Include <bits/types.h>.
8433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8434         constant and macro.
8435         (FP_INT_DOWNWARD): Likewise.
8436         (FP_INT_TOWARDZERO): Likewise.
8437         (FP_INT_TONEARESTFROMZERO): Likewise.
8438         (FP_INT_TONEAREST): Likewise.
8439         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8440         (fromfpf): Likewise.
8441         (fromfpl): Likewise.
8442         (ufromfp): Likewise.
8443         (ufromfpf): Likewise.
8444         (ufromfpl): Likewise.
8445         (fromfpx): Likewise.
8446         (fromfpxf): Likewise.
8447         (fromfpxl): Likewise.
8448         (ufromfpx): Likewise.
8449         (ufromfpxf): Likewise.
8450         (ufromfpxl): Likewise.
8451         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8452         s_fromfpxF and s_ufromfpxF.
8453         * math/gen-fromfp-tests.py: New file.
8454         * math/gen-fromfp-tests-inputs: Likewise.
8455         * math/libm-test.inc: Include <stdint.h>
8456         (check_intmax_t): New function.
8457         (check_uintmax_t): Likewise.
8458         (struct test_fiu_M_data): New type.
8459         (struct test_fiu_U_data): Likewise.
8460         (RUN_TEST_fiu_M): New macro.
8461         (RUN_TEST_LOOP_fiu_M): Likewise.
8462         (RUN_TEST_fiu_U): Likewise.
8463         (RUN_TEST_LOOP_fiu_U): Likewise.
8464         (fromfp_test_data): New array.
8465         (fromfp_test): New function.
8466         (fromfpx_test_data): New array.
8467         (fromfpx_test): New function.
8468         (ufromfp_test_data): New array.
8469         (ufromfp_test): New function.
8470         (ufromfpx_test_data): New array.
8471         (ufromfpx_test): New function.
8472         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8473         ufromfpx_test.
8474         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8475         characters.
8476         * math/test-tgmath-ret.c: Include <stdint.h>.
8477         (rm): New variable.
8478         (width): Likewise.
8479         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8480         called function.
8481         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8482         CHECK_RET_CONST_TYPE.
8483         (CHECK_RET_CONST_DOUBLE): Likewise.
8484         (CHECK_RET_CONST_LDOUBLE): Likewise.
8485         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8486         macros.
8487         (fromfp): New CHECK_RET_CONST call.
8488         (ufromfp): Likewise.
8489         (fromfpx): Likewise.
8490         (ufromfpx): Likewise.
8491         (do_test): Call check_return_fromfp, check_return_ufromfp,
8492         check_return_fromfpx and check_return_ufromfpx.
8493         * math/test-tgmath.c: Include <stdint.h>
8494         (NCALLS): Increase to 138.
8495         (F(compile_test)): Initialize i.  Call fromfp functions.
8496         (F(fromfp)): New function.
8497         (F(fromfpx)): Likewise.
8498         (F(ufromfp)): Likewise.
8499         (F(ufromfpx)): Likewise.
8500         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8501         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8502         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8503         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8504         ufromfpxl.
8505         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8506         ufromfp and ufromfpx.
8507         * math/fromfp.h: New file.
8508         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8509         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8510         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8511         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8512         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8513         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8514         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8515         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8516         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8517         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8518         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8519         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8520         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8521         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8522         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8523         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8524         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8525         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8526         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8527         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8528         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8529         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8530         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8531         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8532         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8533         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8534         ufromfp, fromfpx and ufromfpx.
8535         (CFLAGS-nldbl-fromfp.c): New variable.
8536         (CFLAGS-nldbl-fromfpx.c): Likewise.
8537         (CFLAGS-nldbl-ufromfp.c): Likewise.
8538         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8539         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8540         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8541         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8542         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8543         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8544         * sysdeps/nacl/libm.abilist: Update.
8545         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8546         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8547         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8548         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8549         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8550         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8551         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8552         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8553         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8554         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8555         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8556         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8558         Likewise.
8559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8560         Likewise.
8561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8562         Likewise.
8563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8564         Likewise.
8565         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8566         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8567         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8568         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8569         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8571         Likewise.
8572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8575         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8576         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8578 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8580         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8581         compat-gethnamaddr.
8582         (CPPFLAGS): Remove.
8583         * resolv/gethnamaddr.c: Rename ...
8584         * resolv/compat-gethnamaddr.c: ... to this file.
8585         (_endhtent): Make static.
8586         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8587         symbol.
8588         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8589         compat symbol.
8590         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8591         symbol.
8592         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8593         Turn into compat symbol.
8594         * include/resolv.h (_endhtent): Remove declaration.
8596 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8598         * bits/types.h (__intmax_t): New typedef.
8599         (__uintmax_t): Likewise.
8600         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8601         (intmax_t): Define using __intmax_t.
8602         (uintmax_t): Define using __uintmax_t.
8604         * support/Makefile (tests-special): Make definition conditional on
8605         [$(run-built-tests) = yes].
8606         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8607         on [$(run-built-tests) = yes].
8609 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8611         * Rules (tests): Add tests-printers-programs to tests to be
8612         built.
8614 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8616         * sysvipc/Makefile (tests): Add test-sysvshm.
8617         * sysvipc/test-sysvshm.c: New file.
8619         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8620         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8621         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8622         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8623         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8624         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8625         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8626         Likewise.
8627         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8628         Likewise.
8629         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8630         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8631         is defined.
8633         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8634         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8635         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8636         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8637         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8638         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8639         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8640         Likewise.
8641         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8642         Likewise.
8643         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8644         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8645         defined.
8647         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8648         oldshmctl.
8649         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8650         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8651         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8652         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8653         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8654         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8655         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8656         Likewise.
8657         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8658         Likewise.
8659         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8660         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8661         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8662         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8663         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8664         implementation.
8665         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8666         if it is defined.
8668         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8669         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8670         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8671         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8672         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8673         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8674         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8675         Likewise.
8676         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8677         Likewise.
8678         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8679         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8680         Define to __NR_osf_shmat.
8681         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
8682         defined.
8684         * sysvipc/Makefile (tests): Add test-sysvsem.
8685         * sysvipc/test-sysvsem.c: New file.
8687         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
8688         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
8689         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
8690         Likewise.
8691         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
8692         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
8693         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
8694         Likewise.
8695         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
8696         Likewise.
8697         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
8698         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
8699         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
8700         add a comment about s390 syscall difference from default one.
8701         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
8702         syscall if it is defined.
8704         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
8705         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
8706         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
8707         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
8708         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8709         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
8710         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
8711         Likewise.
8712         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
8713         Likewise.
8714         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
8715         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
8716         defined.
8718         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
8719         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
8720         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
8721         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
8722         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
8723         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
8724         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
8725         Likewise.
8726         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
8727         Likewise.
8728         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
8729         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
8730         if it is defined.
8732         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8733         oldsemctl.
8734         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
8735         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
8736         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
8737         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
8738         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
8739         implementation.
8740         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
8741         syscall if it is defined.
8742         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
8743         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
8744         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
8745         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
8746         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
8747         Likewise.
8748         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
8750         * sysvipc/Makefile (tests): Add test-sysvmsg.
8751         * sysvipc/test-sysvmsg.c: New file.
8752         * support/check.h (FAIL_UNSUPPORTED): New define.
8754         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
8755         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
8756         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
8757         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
8758         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
8759         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
8760         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
8761         Likewise.
8762         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
8763         Likewise.
8764         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
8765         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
8766         define.
8768         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
8769         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
8770         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
8771         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
8772         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
8773         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
8774         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
8775         Likewise.
8776         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
8777         Likewise.
8778         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
8779         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
8780         if defined.
8782         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
8783         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
8784         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8785         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8786         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8787         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
8788         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8789         Likewise.
8790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
8791         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
8792         Likewise.
8793         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
8794         if defined.
8795         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
8797         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8798         oldmsgctl.
8799         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
8800         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
8801         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
8802         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
8803         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8804         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8805         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8806         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8807         Likewise.
8808         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
8809         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
8810         implementation.
8811         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
8812         if defined.
8814         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
8815         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
8816         definition and define its own.
8817         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
8818         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
8819         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
8820         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
8821         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
8822         definitions to common header.
8823         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
8824         operation from ipc_ops.h.
8826         * sysdeps/unix/sysv/linux/kernel-features.h
8827         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
8828         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8829         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
8830         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8831         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8832         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8833         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8834         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8835         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8836         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8837         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8838         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8839         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8840         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8841         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8843 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8845         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
8846         overflow in pointer addition.
8848 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8850         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8851         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
8852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8853         (strchr): Add __strchr_power8 to list of strchr functions.
8854         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
8855         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
8856         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
8857         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
8858         (strchr): Add __strchr_power8 to ifunc list.
8859         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
8860         (__strchrnul): Add __strchrnul_power8 to ifunc list.
8861         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
8862         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
8864 2016-12-28  Florian Weimer  <fweimer@redhat.com>
8866         * support/Makefile (libsupport-routines): Add
8867         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
8868         (tests): Add tst-support_record_failure.
8869         (tests-special): tst-support_record_failure-2.
8870         (tst-support_record_failure-2.out): Depend on
8871         tst-support_record_failure-2.sh and tst-support_record_failure.
8872         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
8873         (support_test_verify_impl, support_record_failure)
8874         (support_report_failure, support_report_failure_reset): Declare.
8875         * support/support_test_main.c (adjust_exit_status): New function.
8876         (support_test_main): Call it to incorporate record test failures.
8877         * support/support_test_verify_impl.c: New file.
8878         * support/support_record_failure.c: Likewise.
8879         * support/tst-support_record_failure.c: Likewise.
8880         * support/tst-support_record_failure-2.sh: Likewise.
8881         * support/xunistd.h: Likewise.
8882         * support/xfork.c: Likewise.
8883         * support/xwaitpid.c: Likewise.
8885 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
8887         * scripts/check-c++-types.sh: Add comments.
8889 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
8891         [BZ #19514]
8892         * resolv/res_send.c: Fix typo in comment.
8893         * sysdeps/i386/i386-mcount.S: Likewise.
8894         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8895         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8896         * sysdeps/sparc/sparc-mcount.S: Likewise.
8898 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8900         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
8901         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
8902         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
8903         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
8904         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
8905         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
8906         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
8907         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
8909 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8911         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
8913 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8915         [BZ #17252]
8916         * posix/unistd.h (getentropy): Declare.
8918 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8920         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8921         Remove.
8922         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8923         (cmd): Remove spoof, nospoof, spoofalert.
8924         (parse_line): Ignore spoof-related lines.
8925         (do_init): Do not process RESOLV_SPOOF_CHECK.
8927 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8929         [BZ #20964]
8930         sunrpc: Always obtain AF_INET addresses from NSS.
8931         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8932         * sunrpc/rpc_gethostbyname.c: New file.
8933         * sunrpc/Makefile (routines): Add it.
8934         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8935         * sunrpc/clnt_simp.c (callrpc): Likewise.
8936         * sunrpc/getrpcport.c (getrpcport): Likewise.
8938 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8940         * sunrpc/rpcinfo.c: Remove.
8941         * sunrpc/Makefile: Remove comments referring to rpcinfo.
8943 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8945         [BZ #19387]
8946         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8947         addition.
8948         * string/test-memchr.c (do_test): Remove alignment limitation.
8949         (test_main): Add test that trigger BZ #19387.
8951 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8953         [BZ #7065]
8954         Enable stack protectore if requested by ./configure.
8955         * Makeconfig (+stack-protector): New variable.
8956         (+cflags): Use it.
8958 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8960         [BZ #7065]
8961         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8962         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8963         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8964         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8965         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8967 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8969         [BZ #7065]
8970         * login/Makefile (pt_chown-cflags): Remove.
8971         * nscd/Makefile (CFLAGS-nscd): Likewise.
8972         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8974 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8976         [BZ #7065]
8977         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8978         non-libc-linking testcase.
8980 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8981             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8982             Florian Weimer  <fweimer@redhat.com>
8984         [BZ #7065]
8985         PLT avoidance for __stack_chk_fail*.
8986         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8987         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8988         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8989         __stack_chk_fail_local alias.
8990         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8991         (__stack_chk_fail): Turn into hidden reference to
8992         __stack_chk_fail_local.
8994 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8996         [BZ #7065]
8997         * configure.ac: Add check for unsupported stack-protection level.
8998         (libc_cv_predef_stack_protector): Remove.
8999         (no_ssp): New variable.
9000         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
9001         (stack_protector): Set to -fno-stack-protector similarly.
9002         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
9003         (libc_cv_asm_set_directive): Likewise.
9004         (libc_cv_protected_data): Likewise.
9005         (libc_cv_z_combreloc): Likewise.
9006         (libc_cv_hashstyle): Likewise.
9007         (libc_cv_has_glob_dat): Likewise.
9008         (libc_cv_output_format): Likewise.
9009         (libc_cv_output_format): Likewise.
9010         (libc_cv_ehdr_start): Likewise.
9011         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
9012         (LIBC_LINKER_FEATURE): Likewise.
9013         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
9015 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9017         [BZ #7065]
9018         * elf/Makefile (dummy-stack-chk-fail): New.
9019         (librtld.map): Use it.
9021 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9023         [BZ #7065]
9024         Compile the dynamic linker without stack protection.
9025         * elf/Makefile (elide-stack-protector): New.
9026         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
9027         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
9028         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
9029         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
9031 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9033         [BZ #7065]
9034         * config.make.in (have-ssp, no-stack-protector): New.
9035         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
9036         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
9037         (CFLAGS-sbrk.op): Likewise.
9038         (CFLAGS-brk.o): Likewise.
9039         (CFLAGS-brk.op): Likewise.
9040         * string/Makefile (CFLAGS-memcpy.c): Likewise.
9041         (CFLAGS-wordcopy.c): Likewise.
9043 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9045         [BZ #7065]
9046         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
9047         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
9048         * include/libc-symbols.h (inhibit_stack_protector): New macro.
9049         (__ifunc_resolver): Use it.
9050         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
9051         inhibit_stack_protector.
9052         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
9053         * elf/ifuncmain7.c (foo_ifunc): Likewise.
9054         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
9055         (foo_protected_ifunc): Likewise.
9056         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
9057         (foo_protected_ifunc): Likewise.
9058         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9059         * sysdeps/nacl/nacl_interface_query.c
9060         (nacl_interface_query_ifunc): Likewise.
9061         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9062         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
9063         Likewise.
9064         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
9065         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
9066         the generated vDSO syscall resolver.
9068 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9069             Florian Weimer  <fweimer@redhat.com>
9071         [BZ #7065]
9072         Initialize the stack guard earlier when linking statically.
9073         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
9074         (__pthread_initialize_minimal): Declare.
9075         * csu/libc-start.c (__pthread_initialize_minimal): Remove
9076         declaration.
9077         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
9078         stack canary and apply_irel initialization up.  Call
9079         __pthread_initialize_minimal only if linked in.
9080         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
9081         constant values.
9082         (__pthread_initialize_minimal): Remove.
9083         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
9084         (__pthread_initialize_minimal_internal): Do not call
9085         __libc_setup_tls.
9087 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9089         [BZ #7065]
9090         * configure.ac (libc_cv_ssp): Move up.
9091         (libc_cv_ssp_strong): Likewise.
9092         (libc_cv_ssp_all): New.
9093         (stack_protector): Augment, adding -fstack-protector-all.
9094         (no_stack_protector): New.
9095         (STACK_PROTECTOR_LEVEL): New.
9096         (AC_ARG_ENABLE(stack-protector)): New configure flag.
9097         * manual/install.texi (--enable-stack-protector): Document it.
9098         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
9100 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
9102         * README.pretty-printers: Must specify CPPFLAGS-* also.
9103         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
9104         (CPPFLAGS-test-mutex-printers.c): Define.
9105         (CPPFLAGS-test-condattr-printers.c): Define.
9106         (CPPFLAGS-test-cond-printers.c): Define.
9107         (CPPFLAGS-test-rwlockattr-printers.c): Define.
9108         (CPPFLAGS-test-rwlock-printers.c): Define.
9110         * nss/Makefile [ifeq (yes,$(have-thread-library))]
9111         (tests): Add tst-cancel-getpwuid_r.
9112         * nss/tst-cancel-getpwuid_r.c: New file.
9114         [BZ #11941]
9115         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
9116         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
9117         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
9118         tst-nodelete-dlclose.
9119         (modules-names): Add tst-nodelete-dlclose-dso and
9120         tst-nodelete-dlclose-plugin.
9121         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
9122         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
9123         ($(objpfx)tst-nodelete-dlclose): Define.
9124         ($(objpfx)tst-nodelete-dlclose.out): Define.
9126 2016-12-23  Florian Weimer  <fweimer@redhat.com>
9128         * scripts/test_printers_common.py: Log GDB output in case of
9129         Python detection failure.
9131 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9133         * configure.ac: Check for python3 or python.
9134         * configure: Regenerated.
9135         * config.make.in (PYTHON): New variable.
9136         * benchtests/Makefile: Don't define PYTHON.
9137         (bench): Define target only if PYTHON was defined.
9138         * Rules: Don't define PYTHON.
9139         Define pretty printer targets only if PYTHON was defined.
9140         (tests-printers): Add to tests-unsupported if PYTHON is not
9141         found.
9142         (python-flags, python-invoke): Remove.
9143         (tests-printers-out): Use PYTHON instead of python-invoke.
9145 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9147         [BZ #20978]
9148         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9149         Compare name == NULL, not name != NULL.
9151         * manual/texinfo.tex: Update to version 2016-09-18.18 with
9152         trailing whitespace removed.
9153         * scripts/config.guess: Update to version 2016-10-02.
9154         * scripts/config.sub: Update to version 2016-11-19.
9155         * scripts/install-sh: Update to version 2016-01-11.22.
9156         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
9157         * scripts/move-if-change: Update to version 2016-01-11 22:04.
9159 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
9161         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
9162         (do_one_test) Restore original string so iteration works.
9163         * string/string-inlines.c (do_test): Create better input strings.
9164         (test_main) Reduce number of testruns.
9165         * string/string-inlines.c (__old_strsep_1c): New function.
9166         (__old_strsep_2c): Likewise.
9167         (__old_strsep_3c): Likewise.
9168         * string/strsep.c (__strsep): Remove case of small delim string.
9169         Call strcspn directly rather than strpbrk.
9170         * string/bits/string2.h (__strsep): Remove define.
9171         (__strsep_1c): Remove.
9172         (__strsep_2c): Remove.
9173         (__strsep_3c): Remove.
9174         (strsep): Remove.
9175         * sysdeps/unix/sysv/linux/internal_statvfs.c
9176         (__statvfs_getflags): Rename to __strsep.
9178 2016-12-21  Florian Weimer  <fweimer@redhat.com>
9180         * csu/libc-tls.c (_dl_tls_setup): Remove.
9181         * elf/dl-tls.c (_dl_tls_setup): Likewise.
9182         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9183         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9185 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9187         [BZ #7065]
9188         * sysdeps/x86_64/Makefile [$(subdir) = elf]
9189         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9191 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9192             Florian Weimer  <fweimer@redhat.com>
9194         [BZ #7065]
9195         * csu/Makefile (tests): Empty assignment and document it.
9196         (tests-static): Remove.
9197         * csu/tst-empty.c: Move to...
9198         * misc/tst-empty.c: ... here.  Switch to new test driver.
9199         * csu/tst-atomic.c: Move to...
9200         * misc/tst-atomic.c: ... here.  Switch to new test driver.
9201         * csu/tst-atomic-long.c: Move to...
9202         * misc/tst-atomic-long.c: ... here.
9203         * misc/Makefile (tests): Add tst-empty, tst-atomic,
9204         tst-atomic-long.
9205         (tests-static): Add tst-empty.
9207 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
9209         * manual/nss.texi: Change incorrect @vtable to @table.
9210         * manual/arith.texi: Convert @tables of variables to @vtables
9211         and remove unnecessary indexing.
9212         * manual/filesys.texi: Likewise.
9213         * manual/llio.texi: Likewise.
9214         * manual/memory.texi: Likewise.
9215         * manual/process.texi: Likewise.
9216         * manual/resource.texi: Likewise.
9217         * manual/search.texi: Likewise.
9218         * manual/signal.texi: Likewise.
9219         * manual/socket.texi: Likewise.
9220         * manual/stdio.texi: Likewise.
9221         * manual/sysinfo.texi: Likewise.
9222         * manual/syslog.texi: Likewise.
9223         * manual/terminal.texi: Likewise.
9224         * manual/time.texi: Likewise.
9225         * manual/users.texi: Likewise.
9227 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9229         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9230         (roundeven): New declaration.
9231         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
9232         macro.
9233         * math/Versions (roundeven): New libm symbol at version
9234         GLIBC_2.25.
9235         (roundevenf): Likewise.
9236         (roundevenl): Likewise.
9237         * math/Makefile (libm-calls): Add s_roundevenF.
9238         * math/libm-test.inc (roundeven_test_data): New array.
9239         (roundeven_test): New function.
9240         (main): Call roundeven_test.
9241         * math/test-tgmath.c (NCALLS): Increase to 134.
9242         (F(compile_test)): Call roundeven.
9243         (F(roundeven)): New function.
9244         * manual/arith.texi (Rounding Functions): Document roundeven,
9245         roundevenf and roundevenl.
9246         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
9247         * include/math.h (roundeven): Use libm_hidden_proto.
9248         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
9249         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
9250         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
9251         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
9252         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
9253         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
9254         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9255         roundeven.
9256         (CFLAGS-nldbl-roundeven.c): New variable.
9257         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
9258         * sysdeps/nacl/libm.abilist: Update.
9259         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9260         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9261         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9262         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9263         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9264         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9265         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9266         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9267         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9268         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9269         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9270         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9272         Likewise.
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9274         Likewise.
9275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9276         Likewise.
9277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9278         Likewise.
9279         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9280         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9281         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9282         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9283         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9285         Likewise.
9286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9287         Likewise.
9288         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9289         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9290         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9292 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9294         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9295         preprocessor indentation inside #if.
9297 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9299         * math/libm-test.inc (fmt_ftostr): New function.
9300         (print_float, check_float_internal): Replace some uses of
9301         FTOSTR with uses of fmt_ftostr.
9302         (print_max_error, print_complex_max_error, print_function_ulps)
9303         (print_complex_function_ulps): Remove uses of the macros
9304         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9305         * math/test-double.h (FTOSTR): Define to strfromd.
9306         (PRINTF_EXPR): Delete.
9307         (PRINTF_XEXPR): Likewise.
9308         (PRINTF_NEXPR): Likewise.
9309         * math/test-float.h (FTOSTR): Define to strfromf.
9310         (PRINTF_EXPR): Delete.
9311         (PRINTF_XEXPR): Likewise.
9312         (PRINTF_NEXPR): Likewise.
9313         * math/test-ldouble.h (FTOSTR): Define to strfroml.
9314         (PRINTF_EXPR): Delete.
9315         (PRINTF_XEXPR): Likewise.
9316         (PRINTF_NEXPR): Likewise.
9318 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9320         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9321         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9322         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9323         (__lll_lock_elision): Decrement adapt_count while unlocking
9324         instead of before locking.
9325         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9326         (__lll_trylock_elision): Likewise.
9327         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9328         (__lll_unlock_elision): Likewise.
9330 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9332         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9333         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9334         Use __libc_tbegin_retry macro.
9336 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9338         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9339         Add -msoft-float.
9340         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9341         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9342         Use __libc_t* transaction macros instead of __builtin_t*.
9343         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9344         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9346 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9348         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9349         (__lll_lock_elision): Use atomics to load / store adapt_count.
9350         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9351         (__lll_trylock_elision): Likewise.
9353 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9355         Do not require memset elimination in explicit_bzero test.
9356         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9357         (enum test_expectation): Add NO_EXPECTATIONS.
9358         (subtests): NO_EXPECTATIONS for ordinary clear.
9359         (check_test_buffer): Handle NO_EXPECTATIONS.
9360         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9362 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9364         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9365         (fmaxmag): New declaration.
9366         (fminmag): Likewise.
9367         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9368         macro.
9369         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9370         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9371         (fmaxmagf): Likewise.
9372         (fmaxmagl): Likewise.
9373         (fminmag): Likewise.
9374         (fminmagf): Likewise.
9375         (fminmagl): Likewise.
9376         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9377         * math/s_fmaxmag_template.c: New file.
9378         * math/s_fminmag_template.c: Likewise.
9379         * math/libm-test.inc (fmaxmag_test_data): New array.
9380         (fmaxmag_test): New function.
9381         (fminmag_test_data): New array.
9382         (fminmag_test): New function.
9383         (main): Call fmaxmag_test and fminmag_test.
9384         * math/test-tgmath.c (NCALLS): Increase to 132.
9385         (F(compile_test)): Call fmaxmag and fminmag.
9386         (F(fminmag)): New function.
9387         (F(fmaxmag)): Likewise.
9388         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9389         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9390         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9391         fminmag.
9392         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9393         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9394         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9395         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9396         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9397         and fminmag.
9398         (CFLAGS-nldbl-fmaxmag.c): New variable.
9399         (CFLAGS-nldbl-fminmag.c): Likewise.
9400         * sysdeps/nacl/libm.abilist: Update.
9401         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9402         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9403         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9404         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9405         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9406         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9407         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9409         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9410         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9411         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9414         Likewise.
9415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9416         Likewise.
9417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9418         Likewise.
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9420         Likewise.
9421         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9422         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9423         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9424         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9425         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9427         Likewise.
9428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9429         Likewise.
9430         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9431         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9432         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9434 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9436         [BZ #20973]
9437         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9438         wake-up in robust mutexes.
9439         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9441 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9443         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9444         (CFLAGS-bench-fmaxf.c): New rule.
9445         (CFLAGS-bench-fminf.c): Likewise.
9446         * benchtests/fmaxf-inputs: New file.
9447         * benchtests/fminf-inputs: Likewise.
9449         * benchtests/Makefile (bench-math): Add fmin and fmax.
9450         (CFLAGS-bench-fmax.c): New rule.
9451         (CFLAGS-bench-fmin.c): Likewise.
9452         * benchtests/fmax-inputs: New file.
9453         * benchtests/fmin-inputs: Likewise.
9455         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9456         parenthesis.
9457         (CMDLINE_PROCESS): Define using function instead of macro.
9458         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9459         of test-skeleton.
9460         * benchtests/bench-memchr.c: Likewise.
9461         * benchtests/bench-memcmp.c: Likewise.
9462         * benchtests/bench-memcpy-large.c: Likewise.
9463         * benchtests/bench-memcpy.c: Likewise.
9464         * benchtests/bench-memmem.c: Likewise.
9465         * benchtests/bench-memmove-large.c: Likewise.
9466         * benchtests/bench-memmove.c: Likewise.
9467         * benchtests/bench-memset-large.c: Likewise.
9468         * benchtests/bench-memset.c: Likewise.
9469         * benchtests/bench-rawmemchr.c: Likewise.
9470         * benchtests/bench-strcasecmp.c: Likewise.
9471         * benchtests/bench-strcasestr.c: Likewise.
9472         * benchtests/bench-strcat.c: Likewise.
9473         * benchtests/bench-strchr.c: Likewise.
9474         * benchtests/bench-strcmp.c: Likewise.
9475         * benchtests/bench-strcpy.c: Likewise.
9476         * benchtests/bench-strcpy_chk.c: Likewise.
9477         * benchtests/bench-strlen.c: Likewise.
9478         * benchtests/bench-strncasecmp.c: Likewise.
9479         * benchtests/bench-strncmp.c: Likewise.
9480         * benchtests/bench-strncpy.c: Likewise.
9481         * benchtests/bench-strnlen.c: Likewise.
9482         * benchtests/bench-strpbrk.c: Likewise.
9483         * benchtests/bench-strrchr.c: Likewise.
9484         * benchtests/bench-strsep.c: Likewise.
9485         * benchtests/bench-strspn.c: Likewise.
9486         * benchtests/bench-strstr.c: Likewise.
9487         * benchtests/bench-strtok.c: Likewise.
9489 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9491         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9492         stepping identification.
9493         (init_cpu_features): Add handle of Haswell.
9495 2016-11-25  Jim Meyering  <meyering@fb.com>
9497         [BZ #20386]
9498         Let gcc detect assert(a = 1) errors.
9499         * assert/assert.h (assert): Rewrite, retaining the old definintion
9500         when required, but otherwise putting the expression as-is in an "if"
9501         expression (hence, with no added parentheses) within a statement
9502         expression.
9504 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9506         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9507         DSO.
9509 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9511         * Rules (python-flags, python-invoke): New.
9512         ($(test-printers-out)): Use $(python-flags).
9514 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9516         * manual/arith.texi (Math Error Reporting): Document that sNaN
9517         arguments are not considered domain errors.
9519 2016-12-16  Zack Weinberg <zackw@panix.com>
9520             Florian Weimer <fweimer@redhat.com>
9521             Nick Mathewson <nickm@torproject.org>
9523         * string/explicit_bzero.c: New routine.
9524         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9525         * string/Makefile (routines, strop-tests, tests): Add them.
9526         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9527         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9529         * debug/explicit_bzero_chk.c: New routine.
9530         * debug/Makefile (routines): Add it.
9531         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9532         * string/bits/string3.h: Fortify explicit_bzero.
9534         * manual/string.texi: Document explicit_bzero.
9535         * NEWS: Mention addition of explicit_bzero.
9537         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9538         data before returning, using explicit_bzero.
9539         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9540         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9541         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9543         * include/string.h: Redirect internal uses of explicit_bzero
9544         to __explicit_bzero_chk[_internal].
9545         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9546         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9547         * sysdeps/arm/nacl/libc.abilist
9548         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9549         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9550         * sysdeps/unix/sysv/linux/arm/libc.abilist
9551         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9552         * sysdeps/unix/sysv/linux/i386/libc.abilist
9553         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9554         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9555         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9556         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9557         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9558         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9559         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9560         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9561         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9566         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9567         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9568         * sysdeps/unix/sysv/linux/sh/libc.abilist
9569         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9570         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9573         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9574         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9575         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9576         Add entries for explicit_bzero and __explicit_bzero_chk.
9578 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9580         * math/fenv.h
9581         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9582         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9583         * math/test-fe-snans-always-signal.c: New file.
9584         * math/Makefile (tests): Add test-fe-snans-always-signal.
9585         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9586         * manual/arith.texi (Infinity and NaN): Document
9587         FE_SNANS_ALWAYS_SIGNAL.
9589 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9591         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9592         bracket.
9594 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9596         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9597         before calling execv.
9599 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9601         [BZ #20971]
9602         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9603         overflow in pointer addition.
9604         * string/test-memchr.c (do_test): Add an argument to pass as
9605         the size on memchr.
9606         (test_main): Add check for SIZE_MAX.
9608 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9610         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9611         (libm-calls): Add w_scalblnF.
9612         * math/w_scalbln.c: Remove.
9613         * math/w_scalblnf.c: Likewise.
9614         * math/w_scalblnl.c: Likewise.
9615         * math/w_scalbln_template.c: New file with type-generic
9616         implementation based on math/w_scalbln.c.
9617         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9618         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9620 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9622         [BZ #20947]
9623         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9624         either is a signaling NaN.
9625         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
9626         follow fmaxl more closely.
9627         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9628         when either is a signaling NaN.
9629         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9630         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9631         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9632         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9633         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9634         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9635         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9636         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9637         (fmin_test_data): Likewise.
9639 2016-12-15  Andreas Schwab  <schwab@suse.de>
9641         * support/support_test_main.c (support_test_main): Don't shadow
9642         file-local variable test_pid.
9644 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9646         [BZ #20947]
9647         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9648         either is a signaling NaN.
9649         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9651 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9653         [BZ #20947]
9654         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9655         when either is a signaling NaN.
9656         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9658         * bits/long-double.h: New file.
9659         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9660         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9661         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9662         * sysdeps/mips/bits/long-double.h: Likewise.
9663         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9664         * math/Makefile (headers): Add bits/long-double.h.
9665         * misc/sys/cdefs.h: Include <bits/long-double.h>.
9666         * stdlib/strtold.c: Include <bits/long-double.h> instead of
9667         <bits/wordsize.h>.
9668         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9669         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9670         * math/math.h: Do not include <bits/mathdef.h>.
9671         * sysdeps/aarch64/bits/mathdef.h: Remove file.
9672         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9673         inclusion.
9674         * sysdeps/ia64/bits/mathdef.h: Remove file.
9675         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9676         * sysdeps/mips/bits/mathdef.h: Likewise.
9677         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9678         * sysdeps/s390/bits/mathdef.h: Likewise.
9679         * sysdeps/sparc/bits/mathdef.h: Likewise.
9680         * sysdeps/x86/bits/mathdef.h: Likewise.
9681         * sysdeps/s390/s390-32/bits/wordsize.h
9682         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
9683         conditional code.
9684         * sysdeps/s390/s390-64/bits/wordsize.h
9685         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9686         Likewise.
9687         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
9688         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9689         Likewise.
9690         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
9691         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9692         Likewise.
9693         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9694         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9695         Likewise.
9697         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
9698         <linux/falloc.h>.
9699         (FALLOC_FL_KEEP_SIZE): Remove.
9700         (FALLOC_FL_PUNCH_HOLE): Likewise.
9701         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
9702         (FALLOC_FL_ZERO_RANGE): Likewise.
9704 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9706         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
9708 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9710         * sysdeps/unix/sysv/linux/renameat.c: New file.
9711         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
9713         * sysdeps/unix/sysv/linux/rename.c: New file.
9714         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
9716 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9718         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
9719         * string/strtok.c (strtok): Change to tailcall __strtok_r.
9720         * string/strtok_r.c (__strtok_r): Optimize for performance.
9721         * string/string-inlines.c (__old_strtok_r_1c): New function.
9722         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
9724 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9726         * math/Makefile (gen-libm-calls): Add w_log1pF.
9727         (libm-calls): Remove w_log1pF.
9728         * math/w_log1p.c: Remove.
9729         * math/w_log1pf.c: Likewise.
9730         * math/w_log1pl.c: Likewise.
9731         * math/w_log1p_template.c: New file with type-generic
9732         implementation based on math/w_log1p.c.
9733         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
9734         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
9736 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9738         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
9740 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9742         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9743         kernel version to 4.9.
9745 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
9747         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
9748         ($(inst_libdir)/libm.a): Fix rule to create the target only.
9750 2016-12-13  Andreas Schwab  <schwab@suse.de>
9752         * sysdeps/powerpc/dl-procinfo.c: Don't define
9753         _dl_powerpc_platforms.
9754         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
9755         constants instead of referencing _dl_powerpc_platforms.
9756         (_dl_platform_string): Remove.
9758 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9760         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
9762 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9764         * Rules (binaries-shared-tests, binaries-pie-tests)
9765         (binaries-static-tests): Link with $(link-extra-libs-tests).
9766         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
9767         Remove $(link-extra-libs-tests).
9769 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9771         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9772         (sysdep_routines): Add strncmp_power9.
9773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9774         (strncmp): Add __strncmp_power9 to list of strncmp functions.
9775         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
9776         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9777         (strncmp): Add __strncmp_power9 to ifunc list.
9778         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
9780 2016-12-12  Florian Weimer  <fweimer@redhat.com>
9782         [BZ #17252]
9783         Add getentropy, getrandom.
9784         * stdlib/sys/random.h: New file.
9785         (headers): Add it.
9786         * stdlib/Makefile (routines): Add getentropy, getrandom.
9787         (tests): Add tst-getrandom.
9788         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
9789         * stdlib/getentropy.c: New file.
9790         * stdlib/getrandom.c: Likewise.
9791         * stdlib/tst-getrandom.c: Likewise.
9792         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
9793         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
9794         * manual/crypt.texi (Unpredictable Bytes): New section.
9795         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
9796         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
9797         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9802         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9804         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9805         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9806         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9807         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9808         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9809         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9810         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9812         Likewise.
9813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9814         Likewise.
9815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9817         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9818         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9819         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9820         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9821         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9824         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9825         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9826         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9828 2016-12-10  Florian Weimer  <fweimer@redhat.com>
9830         [BZ #20956]
9831         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
9832         as additional compiler barriers.
9833         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
9834         (fn2, do_test): Declare with external linkage.
9835         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
9836         (do_test): Declare with external linkage.
9837         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
9838         (do_test): Declare with external linkage.
9839         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
9840         (do_test): Declare with external linkage.
9842 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
9844         * support/support_test_main.c (support_test_main): Use correct
9845         timeout.
9847 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
9848             Florian Weimer  <fweimer@redhat.com>
9850         [BZ #16421]
9851         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
9852         and __u6_addr32 members.
9853         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
9854         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
9855         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
9856         Use __u6_addr32.
9857         * inet/tst-checks.c: Use <support/test-driver.c>
9858         * inet/tst-checks-posix.c: New file.
9859         * inet/Makefile (tests): Add it.
9860         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
9862 2016-12-09  Florian Weimer  <fweimer@redhat.com>
9864         New subdirectory support for build and test infrastructure.
9865         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
9866         setting install-lib.
9867         * Makeconfig (link-extra-libs-tests): Define.
9868         (+link-pie-tests, +link-static-tests, +link-tests): Use
9869         link-extra-libs-tests.
9870         (rpath-dirs, all-subdirs): Add support.
9871         (built-modules): Add libsupport.
9872         (libsupport): Define.
9873         * support: New directory.
9874         * support/Makefile: New file.
9875         * support/check.c: Likewise.
9876         * support/check.h: Likewise.
9877         * support/delayed_exit.c: Likewise.
9878         * support/ignore_stderr.c: Likewise.
9879         * support/oom_error.c: Likewise.
9880         * support/set_fortify_handler.c: Likewise.
9881         * support/support.h: Likewise.
9882         * support/temp_file-internal.h: Likewise.
9883         * support/temp_file.c: Likewise.
9884         * support/test-driver.c: Likewise.
9885         * support/test-driver.h: Likewise.
9886         * support/test_main.c: Likewise.
9887         * support/write_message.c: Likewise.
9888         * support/xasprintf.c: Likewise.
9889         * support/xcalloc.c: Likewise.
9890         * support/xmalloc.c: Likewise.
9891         * support/xpthread_barrier_destroy.c: Likewise.
9892         * support/xpthread_barrier_init.c: Likewise.
9893         * support/xpthread_barrier_wait.c: Likewise.
9894         * support/xpthread_cancel.c: Likewise.
9895         * support/xpthread_check_return.c: Likewise.
9896         * support/xpthread_cond_wait.c: Likewise.
9897         * support/xpthread_create.c: Likewise.
9898         * support/xpthread_detach.c: Likewise.
9899         * support/xpthread_join.c: Likewise.
9900         * support/xpthread_mutex_lock.c: Likewise.
9901         * support/xpthread_mutex_unlock.c: Likewise.
9902         * support/xpthread_sigmask.c: Likewise.
9903         * support/xpthread_spin_lock.c: Likewise.
9904         * support/xpthread_spin_unlock.c: Likewise.
9905         * support/xrealloc.c: Likewise.
9906         * support/xsignal.h: Likewise.
9907         * support/xthread.h: Likewise.
9908         * support_tempfile.h: Likewise.
9909         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
9910         (TEST_DATA_LIMIT): Remove unused macro.
9911         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
9912         <support/check.h>.
9913         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
9914         (ignore_stderr, set_fortify_handler): Remove.  Now in
9915         <support/support.h>.
9916         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
9917         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9918         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9919         (xpthread_join): Remove.  Now in <support/xthread.h>.
9920         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9921         Introduce legacy wrappers.
9922         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9923         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9924         (write_message): Remove.
9925         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9926         test-skeleton.c.
9927         * io/test-open-tmpfile: Likewise.
9928         * io/tst-posix_fallocate-common.c: Likewise.
9929         * libio/tst-fseek.c: Likewise.
9930         * malloc/tst-malloc-backtrace.c: Likewise.
9931         * malloc/tst-malloc-fork-deadlock.c: Likewise.
9932         * malloc/tst-malloc-thread-exit.c: Likewise.
9933         * nptl/tst-cancel7.c: Likewise.
9934         * nptl/tst-cleanup0.c: Likewise.
9935         * posix/tst-posix_fadvise-common.c: Likewise.
9936         * rt/tst-shm.c: Likewise.
9937         * time/bug-getdate1.c: Likewise.
9938         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9939         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9940         * elf/Makefile (tst-piemod1.so): Link against libsupport.
9942 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
9944         * Rules [$(run-built-tests) != no] (tests-expected): Add
9945         $(tests-printers).
9946         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9948 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9950         [BZ #20539]
9951         * math/Makefile (install-lib-ldscripts): Add libm.a.
9952         (install_subdir): Remove.
9953         (install-others): Add.
9954         ($(inst_libdir)/libm.a): Add rule for installation as
9955         linker script.
9956         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9958 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9960         * INSTALL: Regenerated.
9961         * Makeconfig: Add comments and whitespace to make the control flow
9962         clearer.
9963         (+link-printers-tests, +link-pie-printers-tests,
9964         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9965         built-rtld-LDFLAGS, link-libc-rpath,
9966         link-libc-tests-after-rpath-link,
9967         link-libc-printers-tests): New.
9968         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9969         link-libc-tests): Use the new variables as required.
9970         * Makerules ($(py-const)): New rule.
9971         generated: Add $(py-const).
9972         * README.pretty-printers: New file.
9973         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9974         (others): Depend on $(py-const).
9975         (tests): Depend on $(tests-printers-programs) or
9976         $(tests-printers-out),
9977         as required.  Pass $(tests-printers) to merge-test-results.sh.
9978         * manual/install.texi: Add requirements for testing the pretty
9979         printers.
9980         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9981         tests-printers, CFLAGS-test-mutexattr-printers.c
9982         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9983         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9984         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9985         * nptl/nptl-printers.py: New file.
9986         * nptl/nptl_lock_constants.pysym: Likewise.
9987         * nptl/test-cond-printers.c: Likewise.
9988         * nptl/test-cond-printers.py: Likewise.
9989         * nptl/test-condattr-printers.c: Likewise.
9990         * nptl/test-condattr-printers.py: Likewise.
9991         * nptl/test-mutex-printers.c: Likewise.
9992         * nptl/test-mutex-printers.py: Likewise.
9993         * nptl/test-mutexattr-printers.c: Likewise.
9994         * nptl/test-mutexattr-printers.py: Likewise.
9995         * nptl/test-rwlock-printers.c: Likewise.
9996         * nptl/test-rwlock-printers.py: Likewise.
9997         * nptl/test-rwlockattr-printers.c: Likewise.
9998         * nptl/test-rwlockattr-printers.py: Likewise.
9999         * scripts/gen-py-const.awk: Likewise.
10000         * scripts/test_printers_common.py: Likewise.
10001         * scripts/test_printers_exceptions.py: Likewise.
10003 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10005         * scripts/build-many-glibcs.py (Context.__init__): Take strip
10006         argument.
10007         (Glibc.build_glibc): Strip installed shared libraries if
10008         requested.
10009         (get_parser): Add --strip option.
10010         (main): Update Context call.
10012 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10013             Dominik Vogt  <vogt@linux.vnet.ibm.com>
10015         [BZ #20847]
10016         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10017         array bounds for else branch.
10018         (__execvpe): Style fixes.
10019         * posix/tst-vfork3.c (run_script): New function.
10020         (create_script): Likewise.
10021         (do_test): Use run_script internal function.
10022         (do_prepare): Use create_script internal function.
10024 2016-12-07  Andreas Schwab  <schwab@suse.de>
10026         * sysdeps/unix/sysv/linux/x86/elision-conf.h
10027         (__elision_available): Don't declare.
10028         * sysdeps/unix/sysv/linux/x86/elision-conf.c
10029         (__elision_available): Don't define.
10030         (elision_init): Don't set __elision_available.
10032 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10034         [BZ #20940]
10035         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
10036         return Inf for arguments Inf and sNaN.
10037         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10038         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10039         Likewise.
10040         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10041         Likewise.
10042         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10043         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
10044         for arguments Inf and sNaN.  When returning a NaN, compute it by
10045         arithmetic on the arguments.
10046         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
10047         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
10048         arguments.
10050 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
10052         [BZ #20916]
10053         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
10054         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
10055         to compute result.
10056         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10057         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
10059 2016-12-05  Torvald Riegel  <triegel@redhat.com>
10061         * include/atomic.h (__atomic_check_size_ls): New.
10062         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
10063         atomic_store_release): Use it.
10064         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
10065         (elision_adapt, ELIDE_LOCK): Use atomics.
10066         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
10067         atomics and improve code comments.
10068         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
10069         (__lll_trylock_elision): Likewise.
10071 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10073         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
10074         programs.
10076 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10078         [BZ #20916]
10079         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
10080         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
10081         arguments to compute result.
10082         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
10083         1 for arguments (sNaN, 0) or (1, sNaN).
10084         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10085         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10087         [BZ #20919]
10088         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
10089         NaN first argument when raised to power 0.
10090         * math/w_pow.c (__pow): Do not check for NaN or zero results from
10091         raising to power zero.
10092         * math/w_powf.c (__powf): Likewise.
10093         * math/w_powl.c (__powl): Likewise.
10094         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
10095         pow (0, 0) or pow (NaN, 0).
10097 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
10099         [BZ #20918]
10100         * configure.ac: Test for static NSS cryptographic libraries and set
10101         libc_cv_static_nss_crypt.
10102         * configure: Regenerate.
10103         * config.make.in (static-nss-crypt): Define.
10104         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
10105         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
10106         (CFLAGS-tst-linkall-static.c): Define.
10107         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
10108         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
10109         ($(objpfx)tst-linkall-static): Define.
10110         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
10111         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
10113 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10115         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
10116         (one-hundred, tst-tls-many-dynamic-modules): Define.
10117         (modules-names): Add $(tst-tls-many-dynamic-modules).
10118         (tst-tls-manydynamic%mod.os): Build with special preprocessor
10119         macros.
10120         (tst-tls-manydynamic): Link against libdl, libpthread.
10121         (tst-tls-manydynamic.out): The test needs the test modules at run
10122         time.
10123         * elf/tst-tls-manydynamic.c: New file.
10124         * elf/tst-tls-manydynamic.h: Likewise.
10125         * elf/tst-tls-manydynamicmod.c: Likewise.
10127 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10129         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
10130         (TLS_DTV_UNALLOCATED): Add.
10131         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
10132         offsets.
10134 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10136         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10138 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10140         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
10141         Add -fno-optimize-sibling-calls.
10143 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10145         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
10146         New declaration.
10147         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
10148         macro.
10149         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
10150         New macro.
10151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
10153         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
10154         (llogbf): Likewise.
10155         (llogbl): Likewise.
10156         * math/Makefile (gen-libm-calls): Add w_llogbF.
10157         (tests): Add test-fp-llogb-constants.
10158         * math/w_llogb_template.c: New file.  Based on
10159         math/w_ilogb_template.c.
10160         * math/libm-test.inc (llogb_test_data): New array.
10161         (llogb_test): New function.
10162         (main): Call llogb_test.
10163         * math/test-fp-llogb-constants.c: New file.  Based on
10164         math/test-fp-ilogb-constants.c.
10165         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
10166         (do_test): Call check_return_llogb.
10167         * math/test-tgmath.c (NCALLS): Increase to 126.
10168         (F(compile_test)): Call llogb.
10169         (F(llogb)): New function.
10170         * manual/math.texi (Exponents and Logarithms): Document llogb,
10171         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
10172         * manual/libm-err-tab.pl (@all_functions): Add llogb.
10173         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
10174         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10176         (CFLAGS-nldbl-llogb.c): New variable.
10177         * sysdeps/nacl/libm.abilist: Update.
10178         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10179         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10180         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10181         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10182         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10183         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10184         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10185         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10186         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10187         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10188         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10189         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10191         Likewise.
10192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10193         Likewise.
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10195         Likewise.
10196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10197         Likewise.
10198         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10199         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10200         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10201         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10202         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10204         Likewise.
10205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10206         Likewise.
10207         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10208         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10209         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10211 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10213         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
10214         _Float128 instead of long double.
10215         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
10217         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
10218         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
10219         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
10220         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
10221         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
10222         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
10223         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
10224         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10225         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
10226         Likewise.
10228 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10230         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
10231         Remove redirection to __strrchr_ppc.
10233 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10235         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10236         (sysdep_routines): Add strcmp_power9.
10237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10238         (strcmp): Add __strcmp_power9 to list of strcmp functions.
10239         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
10240         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10241         (strcmp): Add __strcmp_power9 to ifunc list.
10242         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
10244 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10246         * bits/fp-logb.h: New file.
10247         * sysdeps/ia64/bits/fp-logb.h: Likewise.
10248         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
10249         * sysdeps/x86/bits/fp-logb.h: Likewise.
10250         * math/Makefile (headers): Add bits/fp-logb.h.
10251         * math/math.h: Include <bits/fp-logb.h>.
10252         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
10253         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
10254         * bits/mathdef.h (FP_ILOGB0): Remove.
10255         (FP_ILOGBNAN): Likewise.
10256         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
10257         (FP_ILOGBNAN): Likewise.
10258         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
10259         (FP_ILOGBNAN): Likewise.
10260         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
10261         (FP_ILOGBNAN): Likewise.
10262         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
10263         (FP_ILOGBNAN): Likewise.
10264         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
10265         (FP_ILOGBNAN): Likewise.
10266         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
10267         (FP_ILOGBNAN): Likewise.
10268         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
10269         (FP_ILOGBNAN): Likewise.
10270         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
10271         (FP_ILOGBNAN): Likewise.
10272         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
10273         (FP_ILOGBNAN): Likewise.
10275         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
10276         time module.
10277         (Context.__init__): Initialize self.logsdir_old.
10278         (Context.run_builds): Handle bot action.
10279         (Context.bot_cycle): Copy logs directory before running builds.
10280         (Context.bot_run_self): Take argument for whether to check
10281         subprocess result.  Flush stdout before running subprocess.
10282         (Context.bot): New function.
10283         (get_parser): Allow bot action.
10285 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
10287         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10288         Import email.mime.text, email.utils and smtplib modules.
10289         (Context.__init__): Initialize self.bot_config_json.
10290         (Context.run_builds): Handle bot-cycle action.
10291         (Context.load_bot_config_json): New function.
10292         (Context.part_build_old): Likewise.
10293         (Context.bot_cycle): Likewise.
10294         (Context.bot_build_mail): Likewise.
10295         (Context.bot_run_self): Likewise.
10296         (get_parser): Allow bot-cycle action.
10298 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10300         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10301         Remove redirection to __stpcpy_ppc.
10303 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10305         Remove __libc_memalign from ld.so because it is unused.
10306         * elf/dl-minimal.c: Update comment on the malloc implementation.
10307         (malloc): Renamed from __libc_memalign, replacing the original
10308         malloc implementation.  Replace the align parameter with
10309         MALLOC_ALIGNMENT.
10310         * elf/Versions (ld): Update comment and remove __libc_memalign.
10311         * sysdeps/nacl/ld.abilist: Likewise.
10312         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10313         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10314         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10315         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10316         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10317         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10318         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10319         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10320         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10323         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10324         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10328         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10335         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10336         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10337         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10338         * sysdeps/generic/localplt.data (ld.so): Likewise.
10339         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10340         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10341         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10342         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10343         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10344         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10345         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10346         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10347         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10349         (ld.so): Likewise.
10350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10351         (ld.so): Likewise.
10352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10353         Likewise.
10354         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10355         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10356         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10357         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10358         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10360 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10362         [BZ #16628]
10363         Implement _dl_catch_error, _dl_signal_error in libc.so.
10364         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10365         (catch_hook): Define as thread-local or regular variable,
10366         depending on DL_ERROR_BOOTSTRAP.
10367         (CATCH_HOOK): Remove.
10368         (dl_signal_error, _dl_catch_error): Use
10369         catch_hook.  Add hidden definition for libc.
10370         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10371         for DL_ERROR_BOOTSTRAP only.
10372         * elf/dl-error.c: New file.
10373         * elf/dl-error-minimal.c: Likewise.
10374         * elf/tst-latepthread.c: Likewise.
10375         * elf/tst-latepthreadmod.c: Likewise.
10376         * elf/Makefile (routines): Add dl-error.
10377         (dl-routines): Remove dl-error.
10378         (rtld-routines): Add dl-error-minimal.
10379         [build-shared] (tests): Add tst-latepthread.
10380         (module-names): Add tst-latepthreadmod.
10381         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10382         symbol.
10383         (tst-latepthreadmod.so): Link against libpthread.
10384         (tst-latepthread): Link against libdbl.
10385         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10386         _dl_catch_error.
10387         [ld] (GLIBC_PRIVATE): Likewise.
10388         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10389         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10390         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10391         directly.
10392         * elf/dl-tsd.c: Remove file.
10393         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10394         _dl_catch_error, _dl_signal_error.
10395         (_dl_initial_error_catch_tsd): Remove definition.
10396         (do_preload): Remove initialization of dl_error_catch_tsd.
10397         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10398         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10399         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10400         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10401         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10402         set dl_error_catch_tsd.
10403         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10404         _dl_error_catch_tsd member.
10405         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10406         members.
10407         (_dl_initial_error_catch_tsd): Remove declaration.
10408         (_dl_dprintf): Provide definition for use outside of ld.so.
10409         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10410         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10411         prototype for libc.
10412         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10413         _dl_catch_error.
10414         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10415         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10416         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10417         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10418         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10419         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10420         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10421         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10422         Likewise.
10423         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10425         (ld.so): Likewise.
10426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10427         (ld.so): Likewise.
10428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10429         Likewise.
10430         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10431         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10432         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10433         Likewise.
10434         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10435         Likewise.
10436         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10438 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10440         [BZ #4099]
10441         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10442         _IO_BUFSIZ (8192).
10444 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10446         * PROJECTS: Remove file.
10448 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10450         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10452 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10453             Steve Ellcey  <sellcey@caviumnetworks.com>
10455         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10456         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10457         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10458         fxstatat.
10459         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10460         lxstat.
10461         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10462         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10463         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10464         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10465         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10466         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10467         __xstat.
10469 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10471         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10472         Define.
10473         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10474         definition.
10476 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10478         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10479         version and turn into strong alias.  Remove compat symbol.
10481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10482         (__longjmp): Remove.
10484 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10486         * bits/fp-fast.h: New file.
10487         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10488         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10489         * math/Makefile (headers): Add bits/fp-fast.h.
10490         * math/math.h: Include <bits/fp-fast.h>.
10491         * bits/mathdef.h (FP_FAST_FMA): Remove.
10492         (FP_FAST_FMAF): Likewise.
10493         (FP_FAST_FMAL): Likewise.
10494         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10495         (FP_FAST_FMAF): Likewise.
10496         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10497         (FP_FAST_FMAF): Likewise.
10498         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10499         (FP_FAST_FMAF): Likewise.
10500         (FP_FAST_FMAL): Likewise.
10501         * sysdeps/arm/bits/mathdef.h: Remove file.
10502         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10503         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10504         * sysdeps/tile/bits/mathdef.h: Likewise.
10506 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10508         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10509         * math/w_ilogb.c: Remove.
10510         * math/w_ilogbf.c: Likewise.
10511         * math/w_ilogbl.c: Likewise.
10512         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10513         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10514         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10515         (libm-calls): Remove w_ilogbF.
10516         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10517         (LDOUBLE_ilogbl_libm_version): New macro.
10519         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10521         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10522         [!__STRICT_ANSI__ && !__cplusplus].
10524 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10526         [BZ #20750]
10527         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10528         of PIC.
10530 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10531             Yury Norov  <ynorov@caviumnetworks.com>
10532             Steve Ellcey  <sellcey@caviumnetworks.com>
10534         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10535         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10536         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10537         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10538         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10539         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10540         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10541         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10542         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10543         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10544         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10545         to get correct reg name for ILP32.
10546         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10547         (RELA_SIZE): New Macro.
10548         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10549         to support ILP32.
10550         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10551         cast for ILP32 mode.
10552         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10553         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10554         * sysdeps/aarch64/memset.S (__memset): Ditto.
10555         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10556         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10557         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10558         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10559         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10560         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10561         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10562         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10563         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10564         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10565         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10566         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10567         change PTR_MANGLE call to use register numbers instead of names.
10568         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10569         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10570         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10571         * sysdeps/aarch64/start.S (_start): Ditto.
10572         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10573         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10574         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10575         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10576         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10577         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10578         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10579         Make defined values dependent on __ILP32__.
10580         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10581         (sem_t): Change __align type.
10582         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10583         PTR_SIZE): New Macros.
10584         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10585         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10586         Set when in ILP32 mode.
10587         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10588         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10589         Set elf flags for ILP32.
10590         (add_system_dir): Set ILP32 library directories.
10591         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10592         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10593         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10594         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10595         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10596         New Macros.
10597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10599 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10601         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10602         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10603         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10605 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10607         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10608         <asm/cachectl.h>.
10610 2016-11-27  Zack Weinberg  <zackw@panix.com>
10612         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10613         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10615 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10617         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10618         error_t to fix usage in C++ programs.
10620 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
10622         * scripts/build-many-glibcs.py: Import datetime module.
10623         (Context.__init__): Load JSON build state.  Initialize list of
10624         status logs.
10625         (Context.run_builds): Update saved build state.
10626         (Context.add_makefile_cmdlist): Update list of status logs.
10627         (Context.load_build_state_json): New function.
10628         (Context.store_build_state_json): Likewise.
10629         (Context.clear_last_build_state): Likewise.
10630         (Context.update_build_state): Likewise.
10631         (CommandList.status_logs): Likewise.
10633 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
10635         * scripts/build-many-glibcs.py (Context.__init__): Save text of
10636         script being executed.
10637         (Context.get_script_text): New function.
10638         (Context.exec_self): Likewise.
10639         (Context.checkout): Re-exec script if changed by checkout process.
10641 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10643         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10644         (setpayloadsig): New declaration.
10645         * math/Versions (setpayloadsig): New libm symbol at version
10646         GLIBC_2.25.
10647         (setpayloadsigf): Likewise.
10648         (setpayloadsigl): Likewise.
10649         * math/Makefile (libm-calls): Add s_setpayloadsigF.
10650         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10651         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10652         (setpayloadsig_test_data): New array.
10653         (setpayloadsig_test): New function.
10654         (main): Call setpayloadsig_test.
10655         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10656         setpayloadsigf and setpayloadsigl.
10657         * manual/libm-err-tab.pl: Update comment on interfaces without
10658         ulps tabulated.
10659         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10660         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10661         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10662         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10663         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10664         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10665         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10666         setpayloadsig.
10667         (CFLAGS-nldbl-setpayloadsig.c): New variable.
10668         * sysdeps/nacl/libm.abilist: Update.
10669         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10670         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10671         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10672         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10673         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10674         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10675         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10676         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10677         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10678         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10679         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10680         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10682         Likewise.
10683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10684         Likewise.
10685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10686         Likewise.
10687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10688         Likewise.
10689         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10690         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10691         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10692         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10693         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10695         Likewise.
10696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10697         Likewise.
10698         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10699         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10700         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10702         * scripts/build-many-glibcs.py: Import json module.
10703         (Context.__init__): Take replace_sources argument.  Load
10704         versions.json.
10705         (Context.load_versions_json): New function.
10706         (Context.store_json): Likewise.
10707         (Context.store_versions_json): Likewise.
10708         (Context.set_component_version): Likewise.
10709         (Context.checkout): Update versions.json.  Check for and handle
10710         changes of version.  Prefer previously explicitly specified
10711         version to default version.
10712         (Context.checkout_vcs): Return a revision identifier.
10713         (Context.git_checkout): Likewise.
10714         (Context.gcc_checkout): Likewise.
10715         (get_parser): Add --replace-sources option.
10716         (main): Pass replace_sources argument to Context call.
10718 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10720         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
10721         * nptl/allocatestack.c (allocate_stack): Likewise.
10722         (__reclaim_stacks): Likewise.
10723         (setxid_signal_thread): Obtain pid through syscall.
10724         * nptl/nptl-init.c (sigcancel_handler): Likewise.
10725         (sighandle_setxid): Likewise.
10726         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
10727         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10728         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10729         Likewise.
10730         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10731         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
10732         comment.
10733         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
10734         * nptl/descr.h (struct pthread): Change comment about pid value.
10735         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
10736         pid assert.
10737         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
10738         Do not set pid value.
10739         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
10740         pid cache check.
10741         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
10742         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
10743         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
10744         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
10745         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
10746         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10747         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
10748         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
10749         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
10750         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
10751         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
10752         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10753         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
10754         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10755         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
10756         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
10757         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10758         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
10759         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
10760         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
10761         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
10762         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10763         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
10764         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
10765         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
10766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10768         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10769         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10770         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10771         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
10772         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
10773         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
10774         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10775         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
10776         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10777         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
10778         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10779         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
10780         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
10781         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10782         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
10783         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
10784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10786         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10787         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10788         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10789         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10790         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10791         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
10792         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10793         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
10794         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
10795         struct access.
10796         (clone_test): Remove function.
10797         (do_test): Rewrite to take in consideration pid is not cached anymore.
10799 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10801         * bits/flt-eval-method.h: New file.
10802         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
10803         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
10804         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
10805         * math/Makefile (headers): Add bits/flt-eval-method.h.
10806         * math/math.h: Include <bits/flt-eval-method.h>.
10807         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
10808         [__USE_ISOC99] (double_t): Likewise.
10809         * bits/mathdef.h (float_t): Remove.
10810         (double_t): Likewise.
10811         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
10812         (double_t): Likewise.
10813         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
10814         (double_t): Likewise.
10815         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
10816         (double_t): Likewise.
10817         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
10818         (double_t): Likewise.
10819         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
10820         (double_t): Likewise.
10821         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
10822         (double_t): Likewise.
10823         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
10824         (double_t): Likewise.
10825         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
10826         (double_t): Likewise.
10827         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
10828         (double_t): Likewise.
10829         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
10830         (double_t): Likewise.
10831         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
10832         (double_t): Likewise.
10833         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
10834         (double_t): Likewise.
10835         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
10836         (double_t): Likewise.
10838 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
10840         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
10841         instead of PIC.
10843 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10845         [BZ #20859]
10846         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
10847         (-0x7fffffff) instead of 0x80000001.
10848         * math/test-fp-ilogb-constants.c: New file.
10849         * math/Makefile (tests): Add test-fp-ilogb-constants.
10851 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
10853         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
10854         (_init): Use it in place of hardcoded R_MIPS_JALR.
10855         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
10856         (_init): Use it in place of hardcoded R_MIPS_JALR.
10857         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
10858         (_init): Use it in place of hardcoded R_MIPS_JALR.
10860 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10862         [BZ #20787]
10863         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
10864         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
10865         (double_t): Do not define to double if [__x86_64__] when
10866         __FLT_EVAL_METHOD__ is nonzero.
10867         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
10868         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
10869         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10870         test-flt-eval-method-387 and test-flt-eval-method-sse.
10871         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
10872         variable.
10873         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
10875 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
10877         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
10878         use of -fno-isolate-erroneous-paths options for tilepro.
10880 2016-11-23  Florian Weimer  <fweimer@redhat.com>
10882         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
10883         structure initialization is no longer needed.
10885 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10887         [BZ #20855]
10888         * bits/mathdef.h (float_t): Define to float.
10889         * math/test-flt-eval-method.c: New file.
10890         * math/Makefile (tests): Add test-flt-eval-method.
10891         (CFLAGS-test-flt-eval-method.c): New variable.
10893 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
10895         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
10896         and __fstatfs.  Make them aliases of __fstatfs64 if
10897         STATFS_IS_STATFS64 is set to non-zero.
10898         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
10899         and __statfs64.
10900         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
10901         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
10902         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
10903         for __statfs and statfs.
10904         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
10905         to 0.
10906         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
10907         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
10908         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
10909         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10910         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10911         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
10914         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
10915         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10916         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
10917         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10919 2016-11-22  Andreas Schwab  <schwab@suse.de>
10921         * misc/mkstemp.c: Include <fcntl.h>.
10922         * misc/mkstemps.c: Likewise.
10923         * misc/mkostemp.c: Likewise.
10924         * misc/mkostemps.c: Likewise.
10926 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10928         [BZ #20847]
10929         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10930         array bounds.
10931         (__execvpe): Likewise.
10933 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10935         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10936         -fno-isolate-erroneous-paths options for tilepro.
10938 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
10940         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10941         to 0 when in 32 bit mode.
10942         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10943         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10944         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10945         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10947         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10948         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10949         XSTAT_IS_XSTAT64 test.
10950         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10951         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10952         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10953         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10954         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10955         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10956         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10957         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10958         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10959         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10960         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10962 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10964         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10965         (setpayload): New declaration.
10966         * math/Versions (setpayload): New libm symbol at version
10967         GLIBC_2.25.
10968         (setpayloadf): Likewise.
10969         (setpayloadl): Likewise.
10970         * math/Makefile (libm-calls): Add s_setpayloadF.
10971         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10972         test_Ff_b1_data.
10973         (RUN_TEST_Ff_b1): New macro.
10974         (RUN_TEST_LOOP_Ff_b1): Likewise.
10975         (canonicalize_test_data): Update type.
10976         (setpayload_test_data): New array.
10977         (setpayload_test): New function.
10978         (main): Call setpayload_test.
10979         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10980         setpayloadf and setpayloadl.
10981         * manual/libm-err-tab.pl: Update comment on interfaces without
10982         ulps tabulated.
10983         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10984         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10985         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10986         Likewise.
10987         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10988         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10989         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10990         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10991         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10992         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10993         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10994         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10995         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10996         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10997         setpayload.
10998         (CFLAGS-nldbl-setpayload.c): New variable.
10999         * sysdeps/nacl/libm.abilist: Update.
11000         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11001         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11002         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11003         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11004         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11005         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11006         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11007         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11008         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11009         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11010         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11011         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11013         Likewise.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11015         Likewise.
11016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11017         Likewise.
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11019         Likewise.
11020         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11026         Likewise.
11027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11028         Likewise.
11029         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11030         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11031         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11033 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11035         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
11036         * include/unistd.h: Extend comment about __access_noerrno return
11037         semantics.
11038         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
11039         (access_common): Correct typo for EACCES.
11041 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
11043         * sysdeps/tile/math-tests.h: New file.
11045         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
11046         (__old_set_dataplane): Rename from set_dataplane and make a
11047         compatibility symbol.
11048         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
11049         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
11050         sys/dataplane.h.
11052 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
11054         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
11055         script quote words in command output to log suitably for input to
11056         the shell.
11058 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
11059             Maciej W. Rozycki  <macro@imgtec.com>
11061         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
11062         `.Lno_weak_fn' label.
11063         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
11064         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
11066 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11067             Yury Norov  <ynorov@caviumnetworks.com>
11069         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
11070         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
11071         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11072         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
11073         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11074         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
11075         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11076         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11077         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11078         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
11079         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11080         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
11081         (sysdep_routines): Remove oldgetrlimit64.
11082         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
11083         (sysdep_routines): Likewise.
11084         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
11085         (sysdep_routines): Likewise.
11086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11087         [$(subdir) = resource] (sysdep_routines): Likewise.
11088         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
11089         [$(subdir) = resource] (sysdep_routines): Likewise.
11090         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
11091         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
11092         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
11093         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
11094         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
11095         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11096         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11097         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
11098         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
11099         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
11100         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
11101         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
11102         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
11103         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
11104         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
11105         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
11106         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
11107         setrlimit and getrlimit.
11108         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11109         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11110         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
11111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11113         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
11115         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11116         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11117         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
11118         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
11119         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
11120         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
11121         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
11122         (__old_getrlimit64): Add compatibility symbol.
11123         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
11125 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
11127         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
11128         newly built gmp, mpfr and mpc.
11130         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
11132 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11134         * conform/Makefile (linknamespace-libs): Rename to
11135         linknamespace-libs-thr.
11136         (linknamespace-libs-posix): New variable.
11137         (linknamespace-libs-xsi): Likewise.
11138         (linknamespace-libs-XPG3): Include libcrypt.a.
11139         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
11140         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
11141         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
11142         (linknamespace-libs-XOPEN2K): Likewise.
11143         (linknamespace-libs-XOPEN2K8): Likewise.
11144         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
11146         [BZ #20829]
11147         * stdio-common/Versions (__snprintf): Add to version
11148         GLIBC_PRIVATE.
11149         * include/stdio.h (__snprintf): Use libc_hidden_proto.
11150         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
11151         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
11152         of snprintf.
11153         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11155 2016-11-16  Zack Weinberg  <zackw@panix.com>
11157         * string/string.h: Remove obsolete comment stating that
11158         strcoll_l and strxfrm_l have not yet been standardized.
11160 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11162         * hurd/hurd.h (__hurd_fail_noerrno): New function.
11163         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
11164         __access_noerrno.
11165         * io/access.c (__access_noerrno): New function.
11166         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
11167         (hurd_fail_seterrno): Likewise.
11168         (access_common): Likewise.
11169         (__access_noerrno): Likewise.
11170         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
11171         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
11172         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
11173         macro.
11175 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11177         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11178         Only declare fpregs if [__SH_FPU_ANY__].
11180 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
11182         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11183         Make code unconditional.
11184         [!(__SH4__ || __SH4A__)]: Remove conditional code.
11186 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
11188         * manual/sysinfo.texi (S_APPEND): Delete.
11189         (S_IMMUTABLE): Likewise.
11191 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
11192             Magnus Granberg  <zorry@gentoo.org>
11193             Mike Frysinger  <vapier@gentoo.org>
11195         [BZ #20662]
11196         * configure.ac (libc_cv_predef_stack_protector): Also check for
11197         __stack_chk_fail_local symbols.
11198         * configure: Regenerated.
11200 2016-11-15  Florian Weimer  <fweimer@redhat.com>
11202         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11203         (libc_hidden_def): Remove redefinition.
11204         (__sigsetjmp): Add hidden definition.
11205         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11206         (libc_hidden_def): Remove redefinition.
11207         (__sigsetjmp): Add hidden definition.
11209 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
11211         * scripts/build-many-glibcs.py (os.path): Do not import.
11212         (Context): Inherit explicitly from object.  Remove blank line
11213         between class and docstring.
11214         (Config): Likewise.
11215         (Glibc): Likewise.
11216         (Command): Likewise.
11217         (CommandList): Likewise.
11218         (Context.write_files): Store chmod mode in a variable.
11220         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
11221         LIBC_SLIBDIR_RTLDDIR for tilegx32.
11222         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
11224 2016-11-14  Zack Weinberg  <zackw@panix.com>
11226         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
11227         creating or re-creating it.
11229         * string/bits/string2.h: Fix typo in comment.
11231 2016-11-14  Zack Weinberg  <zackw@panix.com>
11233         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
11234         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
11235         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
11236         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
11237         of redirected function names.
11239         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
11240         as well.  Document that MESSAGE must be a single string literal.
11242 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
11244         * scripts/build-many-glibcs.py: New file.
11246         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
11247         (do_test): Disable -Wmaybe-uninitialized around uses of
11248         except_mask.
11250         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
11252 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
11254         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
11255         (atomic_store_release): Provide tilepro-specific implementations.
11257 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
11259         * math/math.h (__MATH_TG): New macro.
11260         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
11261         [__USE_ISOC99] (signbit): Likewise.
11262         [__USE_ISOC99] (isfinite): Likewise.
11263         [__USE_ISOC99] (isnan): Likewise.
11264         [__USE_ISOC99] (isinf): Likewise.
11265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
11266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
11267         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
11268         __MATH_TG and __MATH_EVAL_FMT2.
11269         * sysdeps/generic/math_private.h (fabs_tg): Define using
11270         __MATH_TG.
11271         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11272         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
11273         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
11274         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
11275         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11276         macro.
11277         (__iscanonical): Likewise.
11278         (iscanonical): Define using __MATH_TG.
11280 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11282         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11283         guards.
11285         * sysdeps/unix/sysv/linux/access.c: New file.
11286         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11288 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
11290         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11291         and __WORDSIZE32_PTRDIFF_LONG.
11293 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11295         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11297 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11299         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11300         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11301         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11302         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11303         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11305         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11306         * sysdeps/unix/sysv/linux/truncate.c: New file.
11307         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11308         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11309         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11310         Remove.
11311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11312         Likewise.
11314         * posix/tst-truncate-common.c: New file.
11315         * posix/tst-truncate.c: Use tst-truncate-common.c.
11316         * posix/tst-truncate64.c: Likewise and add LFS tests.
11317         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11318         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11319         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11320         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11321         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11323         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11324         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11325         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11326         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11327         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11328         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11329         Remove.
11330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11331         Likewise.
11333 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11335         [BZ #20790]
11336         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11337         to MAXLINESIZE.
11338         * sunrpc/bug20790.x: New file.
11339         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11340         variable.
11341         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11342         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11344         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11346         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11348         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11349         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11350         calloc, realloc, free, memalign and __libc_memalign rather than
11351         making them optional.
11353         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11354         for libc.so.
11356 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11358         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11359         ptw-lseek64.
11360         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11361         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11362         Likewise.
11363         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11364         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11365         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11366         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11367         * sysdeps/unix/sysv/linux/lseek.c: New file.
11368         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11369         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11370         __libc_lseek64 from auto-generation.
11371         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11372         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11374 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11376         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11377         * nptl/tst-cleanup1.c (do_test): Likewise.
11378         * nptl/tst-cleanup3.c (do_test): Likewise.
11379         * nptl/tst-key1.c (do_test): Likewise.
11380         * nptl/tst-key2.c (tf, do_test): Likewise.
11381         * nptl/tst-key3.c (tf, do_test): Likewise.
11382         * nptl/tst-stdio1.c (do_test): Likewise.
11383         * nptl/tst-stdio2.c (do_test): Likewise.
11385         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11386         * nptl/tst-kill6.c (handler): Likewise.
11387         * nptl/tst-tls2.c (CB): Likewise.
11388         * nptl/tst-tls3.c (CB): Likewise.
11390 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11392         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11394 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11395             Steve Ellcey  <sellcey@caviumnetworks.com>
11397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11398           __ASSUME_ST_INO_64_BIT as 0
11399         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11400         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11401           over the code where __ASSUME_ST_INO_64_BIT is used.
11402         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11403         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11404         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11406 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11408         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11409         Document ABI exposure of the __kind offset.
11410         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11411         Mention reason for the __kind offset exposure in the ABI.
11412         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11413         Likewise.
11414         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11415         Likewise.
11416         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11417         Likewise.
11418         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11419         (struct __pthread_mutex_s): Likewise.
11420         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11421         Likewise.
11422         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11423         Likewise.
11424         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11425         Likewise.
11426         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11427         Likewise.
11428         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11429         Likewise.
11430         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11431         Likewise.
11432         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11433         (struct __pthread_mutex_s): Likewise.
11434         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11435         (struct __pthread_mutex_s): Likewise.
11436         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11437         Likewise.
11439 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11441         * test-skeleton.c: Document do_test usage.
11443 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11445         * iconv/gconv.h (__gconv_info): Define __data element using a
11446         zero-length array.
11448 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11450         * math/test-tgmath2.c: Split up test function.
11452 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11454         * Rules (tests-expected): New variable, depending on
11455         $(run-built-tests).
11456         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11457         $(tests).
11459         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11460         $(tests-unsupported).
11462 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11464         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11465         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11467 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11469         [BZ #20768]
11470         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11471         __fegetenv instead of fegetenv.
11473         [BZ #14139]
11474         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11475         (find_files): Obtain platform name from libm-test-ulps-name and
11476         store in %pplatforms.
11477         (canonicalize_platform): Remove.
11478         (print_platforms): Use $pplatforms directly.
11479         (by_platforms): Do not allow for platforms missing from
11480         %pplatforms.
11481         * sysdeps/aarch64/libm-test-ulps-name: New file.
11482         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11483         * sysdeps/arm/libm-test-ulps-name: Likewise.
11484         * sysdeps/generic/libm-test-ulps-name: Likewise.
11485         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11486         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11487         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11488         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11489         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11490         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11491         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11492         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11493         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11494         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11495         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11496         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11497         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11498         * sysdeps/sh/libm-test-ulps-name: Likewise.
11499         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11500         * sysdeps/tile/libm-test-ulps-name: Likewise.
11501         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11503         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11505         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11506         (test-xfail-check-execstack): New variable.
11508         * sysdeps/mips/localplt.data: New file.
11510 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11511             Steve Ellcey  <sellcey@caviumnetworks.com>
11513         * bits/wordsize.h: Add documentation.
11514         * sysdeps/aarch64/bits/wordsize.h : New file
11515         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11516         definitions.
11517         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11518         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11519         with #if instead of #ifdef.
11520         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11521         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11522         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11523         Add or change defines.
11524         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11525         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11526         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11527         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11528         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11529         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11530         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11531         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11532         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11533         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11534         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11535         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11536         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11537         * sysdeps/x86/bits/wordsize.h: Likewise.
11539 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11540             Kevin Petit  <kevin.petit@arm.com>
11542         * sysdeps/aarch64/memchr.S (__memchr): New file.
11544 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11546         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11548 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11550         [BZ #19398]
11551         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11552         $(linknamespace-symlists-tests).
11554 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11556         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11558 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11559             Carlos O'Donell  <carlos@redhat.com>
11561         [Bug #20729]
11562         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11563         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11564         for -Os related change.
11566 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11568         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11570 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11572         [BZ #19673]
11573         * manual/math.texi (Exponents and Logarithms): Correct description
11574         of clog10.
11576 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11578         [Bz #20729]
11579         * locale/weight.h: Include libc-internal.h.
11580         * locale/weightwc.h: Likewise.
11581         * nptl/nptl_dbP.h: Likewise.
11583 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11585         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11586         when it is MACH_PORT_NULL.
11588 2016-10-31  Andreas Schwab  <schwab@suse.de>
11590         [BZ #20707]
11591         * posix/glob.c (glob): Initialize pglob before checking for
11592         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11593         valid brace expression despite GLOB_BRACE.
11594         * posix/globtest.sh: Test it.
11596 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11598         [BZ #20729]
11599         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11600         Define.
11601         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11602         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11603         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11604         for seq2.back_us and seq1.back_us only for -Os compiles.
11605         * locale/weightwc.h (findix): Likewise.
11606         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11607         DB_GET_FIELD_ADDRESS only for -Os compiles.
11608         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11609         for slen only for -Os compiles.
11610         * string/strcoll_l.c (get_next_seq): Ignore
11611         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11612         for -Os compiles.
11614         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11615         * include/crypt.h: New file.
11617 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11619         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11620         from test-skeleton.c.
11621         (statclass): Replace calls to write with calls to write_message.
11623 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11625         * math/math.h
11626         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11627         New macro.
11628         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11629         Likewise.
11630         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11631         Likewise.
11632         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11633         SNANL.
11634         * math/test-double.h (snan_value_MACRO): New macro.
11635         * math/test-float.h (snan_value_MACRO): Likewise.
11636         * math/test-ldouble.h (snan_value_MACRO): Likewise.
11637         * math/libm-test.inc (issignaling_test_data): Add tests of
11638         snan_value_MACRO.
11640 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11642         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11643         behavior when eliding a lock not held by the current thread.
11644         * sysdeps/powerpc/nptl/elide.h: Likewise.
11646 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11648         [BZ #20728]
11649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11650         branch to _exit() by a function call.
11652 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11654         * malloc/malloc.c: Update chunk layout comments.
11655         (chunk_main_arena): Update comment.
11657 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11659         * crypt/sha256.c, crypt/sha256-block.c,
11660         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11661         sha256_process_block to __sha256_process_block.
11662         * crypt/sha512.c, crypt/sha512-block.c,
11663         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11664         sha512_process_block to __sha512_process_block.
11666 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11668         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11670         * math/test-nan-overflow.c: Include stdlib.h for malloc.
11672 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
11674         [BZ #20019]
11675         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11676         definition in unrelocated shared library.
11677         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11679 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11681         [BZ #20729]
11682         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
11683         * sysdeps/unix/sysv/linux/i386/Makefile
11684         (uses-6-syscall-arguments): Define.
11685         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
11686         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
11687         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
11688         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
11689         Likewise.
11690         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
11691         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
11692         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
11693         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
11694         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
11695         (CFLAGS-fallocate64.os): Likewise.
11696         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
11697         (CFLAGS-pthread_rwlock_timedrdlock.os)
11698         (CFLAGS-pthread_rwlock_timedwrlock.o)
11699         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
11700         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
11701         (CFLAGS-sem_timedwait.os): Likewise.
11703 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11705         * elf/tst-linkall-static.c: New file.
11706         * elf/Makefile (tests-static): Add tst-linkall-static.
11707         (tst-linkall-static): Link against static libraries.
11709 2016-10-27  Florian Weimer  <fweimer@redhat.com>
11711         * malloc/malloc.c (sysmalloc): Initialize previous size field of
11712         mmaped chunks.
11714 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11716         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
11717         members to mchunk_prev_size, mchunk_size.
11718         (chunk_main_arena): Reverse sense and rename from
11719         chunk_non_main_arena.
11720         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
11721         mchunk_size instead of size.
11722         (set_non_main_arena): Define.
11723         (chunksize): Use chunksize_nomask instead of direct member access.
11724         (chunksize_nomask): Define.
11725         (next_chunk): Use chunksize instead of direct member access.
11726         (prev_size, set_prev_size): Define.
11727         (prev_chunk): Use prev_size instead of direct member access.
11728         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
11729         (inuse_bit_at_offset, set_inuse_bit_at_offset)
11730         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
11731         (mchunk_prev_size, mchunk_size): Poison tokens.
11732         (unlink): Use chunksize_nomask, prev_size accessors.
11733         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
11734         (do_check_free_chunk): Use prev_size accessor.
11735         (sysmalloc): Use set_prev_size, set_head accessors.
11736         (munmap_chunk, mremap_chunk): Use prev_size accessor.
11737         (__libc_free): Use chunksize_nomask accessor.
11738         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
11739         chunk_main_arena accessors.
11740         (_int_free): Use chunksize_nomask, prev_size accessors.
11741         (malloc_consolidate): Use chunksize, prev_size accessors.
11742         (_int_realloc): Use chunksize_nomask accessor.
11743         (_int_memalign): Use set_prev_size accessor.
11744         (__malloc_info): Use chunksize_nomask accessor.
11745         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
11746         accessors.
11747         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
11748         (heap_trim): Use chunksize_nomask, prev_size accessors.
11750 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11752         [BZ #19380]
11753         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
11754         for inexact results.
11755         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
11756         of inexact result where mpfr_subnormalize is the only inexact
11757         step.
11758         * stdlib/tst-strtod-round-data.h: Regenerated.
11759         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
11760         Define to 0.
11761         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
11763 2016-10-27  David S. Miller  <davem@davemloft.net>
11765         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
11767 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11769         * malloc/malloc.c (do_set_mallopt_check): New function.
11770         (do_set_mmap_threshold): Likewise.
11771         (do_set_mmaps_max): Likewise.
11772         (do_set_top_pad): Likewise.
11773         (do_set_perturb_byte): Likewise.
11774         (do_set_trim_threshold): Likewise.
11775         (do_set_arena_max): Likewise.
11776         (do_set_arena_test): Likewise.
11777         (__libc_mallopt): Use them.
11779 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
11781         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11782         (canonicalize): New declaration.
11783         * math/Versions (canonicalize): New libm symbol at version
11784         GLIBC_2.25.
11785         (canonicalizef): Likewise.
11786         (canonicalizel): Likewise.
11787         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
11788         * math/s_canonicalize_template.c: New file.
11789         * math/libm-test.inc: Update comment on functions tested and
11790         testing of NaN payloads.
11791         (TEST_NAN_PAYLOAD): New macro.
11792         (NO_TEST_INLINE): Update value.
11793         (XFAIL_TEST): Likewise.
11794         (ERRNO_UNCHANGED): Likewise.
11795         (ERRNO_EDOM): Likewise.
11796         (ERRNO_ERANGE): Likewise.
11797         (IGNORE_RESULT): Likewise.
11798         (NON_FINITE): Likewise.
11799         (TEST_SNAN): Likewise.
11800         (NO_TEST_MATHVEC): Likewise.
11801         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
11802         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
11803         (struct test_Ffp_b1_data): New type.
11804         (RUN_TEST_Ffp_b1): New macro.
11805         (RUN_TEST_LOOP_Ffp_b1): Likewise.
11806         (canonicalize_test_data): New array.
11807         (canonicalize_test): New function.
11808         (main): Call canonicalize_test.
11809         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
11810         canonicalizef and canonicalizel.
11811         * manual/libm-err-tab.pl: Update comment on interfaces without
11812         ulps tabulated.
11813         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
11814         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
11815         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11816         canonicalize.
11817         (CFLAGS-nldbl-canonicalize.c): New variable.
11818         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
11819         to ...
11820         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
11821         ... here.
11822         (do_test): Also test canonicalizel.
11823         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
11824         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
11825         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
11826         file.
11827         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
11828         Use libm_hidden_def.
11829         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
11830         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
11831         (do_test): Also test canonicalizel.
11832         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
11833         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
11834         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
11835         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
11836         libm_hidden_def.
11837         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
11838         macro.
11839         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
11840         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
11841         * sysdeps/nacl/libm.abilist: Update.
11842         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11843         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11844         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11845         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11846         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11847         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11848         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11849         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11850         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11851         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11852         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11853         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11855         Likewise.
11856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11859         Likewise.
11860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11861         Likewise.
11862         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11863         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11864         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11865         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11866         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11868         Likewise.
11869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11870         Likewise.
11871         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11872         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11873         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11875         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
11876         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11877         getpayload.
11878         (CFLAGS-nldbl-getpayload.c): New variable.
11880 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11882         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11883         integer from the format string.
11885 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11887         [BZ #19473]
11888         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
11889         declarations.
11890         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
11891         weak aliases.
11892         * malloc/hooks.c (__malloc_get_state): Remove definition.
11893         (malloc_get_state): New stub implementation as
11894         compatibility symbol.
11895         (malloc_set_state): Rename from __malloc_set_state.  Turn into
11896         compat symbol.
11897         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
11898         malloc_set_state.
11899         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
11901 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11903         * iconvdata/iso646.c (enum variant): Drop illegal_var.
11904         (names): Turn into concatenation of strings.
11905         (gconv_init): Adapt iteration over names.
11907 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11909         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
11910         make const.
11911         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
11912         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
11913         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
11914         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
11915         character in sbconv.
11916         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
11917         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11918         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11920 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11922         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11924         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11925         (M_TRIM_THRESHOLD): Likewise.
11927         * manual/memory.texi (M_ARENA_TEST): Add documentation.
11928         (M_ARENA_MAX): Likewise.
11929         * malloc/malloc.c: Remove obsolete comment.
11931         * manual/memory.texi: Add environment variable alternatives to
11932         setting mallopt parameters.
11934 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
11936         * include/atomic.h
11937         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11938         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11940 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11942         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11943         * stdlib/tst-strfrom.h: New file.
11944         * stdlib/tst-strfrom.c: New file.
11945         * stdlib/tst-strfrom-locale.c: New file.
11947         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11948         * stdlib/bug-strtod2.c: Likewise.
11949         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11950         * stdlib/tst-strtod6.c: Likewise.
11951         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11953 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11955         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11956         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11957         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11958         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11959         * stdlib/stdlib.h (strfromd): New declaration.
11960         (strfromf): Likewise.
11961         (strfroml): Likewise.
11962         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11963         strfrom.
11964         * stdlib/strfromd.c: New file.
11965         * stdlib/strfromf.c: Likewise.
11966         * stdlib/strfroml.c: Likewise.
11967         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11968         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11969         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11970         * sysdeps/arm/nacl/libc.abilist: Update.
11971         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11976         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11977         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11978         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11979         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11980         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11990         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11991         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11992         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11993         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11996         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11997         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11998         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12000 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
12002         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
12003         instead of cmpli.
12004         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
12005         instead of cmpli.
12007 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
12009         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
12010         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
12011         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
12012         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12013         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12014         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12016 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12018         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
12019         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12020         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
12021         SYSCALL_LL64_PRW.
12022         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12023         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
12024         __ASSUME_PRW_DUMMY_ARG.
12025         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
12026         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12027         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12028         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12029         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
12030         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
12032 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
12034         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
12036 2016-10-22  Florian Weimer  <fweimer@redhat.com>
12038         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
12039         "C++", to override a potential extern "C" directive around the
12040         header file inclusion.
12042 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
12044         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
12046 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12048         * sysdeps/powerpc/fpu/fenv_private.h:
12049         (_FPU_MASK_ALL): Rename to...
12050         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
12051         XE FPSCR bits.
12053         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
12055         (_FPU_MASK_ROUNDING): Rename to...
12056         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
12057         NI bits.
12059         (_FPU_MASK_EXCEPT_ROUND): Rename to...
12060         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
12061         bits and rounding bits.
12063         (__libc_feholdbits_ppc): New inline function to mask, set,
12064         and pontentially clear FSPCR bits, and change MSR[FE] bits.
12065         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
12066         (libc_feholdexcept_setround_ppc): Likewise.
12068         (__libc_femergeenv_ppc): New function to dynamically mask both
12069         old and new FP environments and merge.
12070         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
12071         (libc_feresetround_ppc): Likewise.
12072         (libc_feupdateenv_test_ppc): Likewise.
12073         (libc_feupdateenv_ppc): Likewise.
12075         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
12076         of ISA RN bits, and update macro names.
12077         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
12078         effectively the same as the previously mentioned function.
12080         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
12081         usage with fe_resetround_ppc.
12083         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
12084         to be used.
12085         (libc_feholdexcept_setround_ctxf): Likewise.
12086         (libc_feholdexcept_setround_ctxl): Likewise.
12088 2016-10-21  Florian Weimer  <fweimer@redhat.com>
12090         [BZ #20715]
12091         * math/math.h [__cplusplus] (iszero): Define as function template.
12092         * math/Makefile [CXX] (tests): Add test-math-iszero.
12093         (CFLAGS-test-math-iszero.cc): Set.
12094         * math/test-math-iszero.cc: New file.
12096 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
12098         [BZ #20660]
12099         * sysdeps/arm/e_sqrt.c: New file.
12100         * sysdeps/arm/e_sqrtf.c: Likewise.
12102 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
12104         [BZ #20718]
12105         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
12106         not use floating-point comparisons to test sign.
12107         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
12108         Likewise.
12110         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12111         (getpayload): New declaration.
12112         * math/Versions (getpayload): New libm symbol at version
12113         GLIBC_2.25.
12114         (getpayloadf): Likewise.
12115         (getpayloadl): Likewise.
12116         * math/Makefile (libm-calls): Add s_getpayloadF.
12117         * math/libm-test.inc: Include <nan-high-order-bit.h>.
12118         (struct test_f_f_data): Add comment.
12119         (RUN_TEST_fp_f): New macro.
12120         (RUN_TEST_LOOP_fp_f): Likewise.
12121         (getpayload_test_data): New array.
12122         (getpayload_test): New function.
12123         (main): Call getpayload_test.
12124         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
12125         descriptor.
12126         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
12127         getpayloadf and getpayloadl.
12128         * manual/libm-err-tab.pl: Update comment on interfaces without
12129         ulps tabulated.
12130         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
12131         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
12132         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
12133         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
12134         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
12135         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
12136         * sysdeps/nacl/libm.abilist: Update.
12137         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12138         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12139         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12140         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12141         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12142         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12143         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12145         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12146         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12147         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12148         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12150         Likewise.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12152         Likewise.
12153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12154         Likewise.
12155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12156         Likewise.
12157         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12158         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12159         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12160         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12161         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12163         Likewise.
12164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12165         Likewise.
12166         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12167         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12168         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12170 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12172         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
12173         tst-fallocate{64}.
12174         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
12175         on syscall return.
12177 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
12179         [BZ #20689]
12180         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12181         usable.
12183 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
12185         * sysdeps/generic/nan-high-order-bit.h: New file.
12186         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12187         * sysdeps/mips/nan-high-order-bit.h: Likewise.
12188         * sysdeps/hppa/math_private.h: Remove file.
12189         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12190         not define here.
12191         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12192         <nan-high-order-bit.h>.
12193         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12194         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12195         <nan-high-order-bit.h>.
12196         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12197         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12198         <nan-high-order-bit.h>.
12199         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12200         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
12201         <nan-high-order-bit.h>.
12202         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12203         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12204         <nan-high-order-bit.h>.
12205         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12206         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12207         <nan-high-order-bit.h>.
12208         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12209         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
12210         <nan-high-order-bit.h>.
12211         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12212         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12213         <nan-high-order-bit.h>.
12214         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12215         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12216         <nan-high-order-bit.h>.
12217         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12218         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
12219         <nan-high-order-bit.h>.
12220         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12221         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12222         <nan-high-order-bit.h>.
12223         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12224         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12225         <nan-high-order-bit.h>.
12226         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12227         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
12228         <nan-high-order-bit.h>.
12229         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12230         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
12231         <nan-high-order-bit.h>.
12232         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12233         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
12234         <nan-high-order-bit.h>.
12235         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12236         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
12237         <nan-high-order-bit.h>.
12238         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12239         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12240         <nan-high-order-bit.h>.
12241         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12242         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12243         <nan-high-order-bit.h>.
12244         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12246 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12248         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
12250 2016-09-22  John David Anglin  <dave.anglin@bell.net>
12252         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
12253         abort-instr.h.
12254         (EFAULT): Remove conditional define.
12255         (ENOSYS): Likewise.
12256         (atomic_compare_and_exchange_val_acq): Use instruction nullification
12257         instead of conditional branch instructions.
12259 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
12261         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12262         (totalordermag): New declaration.
12263         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
12264         New macro.
12265         * math/Versions (totalordermag): New libm symbol at version
12266         GLIBC_2.25.
12267         (totalordermagf): Likewise.
12268         (totalordermagl): Likewise.
12269         * math/Makefile (libm-calls): Add s_totalordermagF.
12270         * math/libm-test.inc (totalordermag_test_data): New array.
12271         (totalordermag_test): New function.
12272         (main): Call totalordermag_test.
12273         * math/test-tgmath.c (NCALLS): Increase to 125.
12274         (F(compile_test)): Call totalordermag.
12275         (F(totalordermag)): New function.
12276         * manual/arith.texi (FP Comparison Functions): Document
12277         totalordermag, totalordermagf and totalordermagl.
12278         * manual/libm-err-tab.pl: Update comment on interfaces without
12279         ulps tabulated.
12280         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12281         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12282         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12283         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12284         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12285         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12286         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12287         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12288         totalordermag.
12289         (CFLAGS-nldbl-totalordermag.c): New variable.
12290         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12291         (do_test): Also test totalordermagl.
12292         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12293         Likewise.
12294         * sysdeps/nacl/libm.abilist: Update.
12295         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12296         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12297         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12298         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12299         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12300         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12301         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12302         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12303         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12304         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12305         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12306         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12308         Likewise.
12309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12310         Likewise.
12311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12312         Likewise.
12313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12316         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12317         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12318         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12319         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12321         Likewise.
12322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12323         Likewise.
12324         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12325         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12326         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12328 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12330         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12331         boolean.
12333 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12335         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12336         raising FE_INVALID with feraisexcept in case where part of
12337         argument is infinite, subtract that part of argument from itself.
12338         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12339         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12340         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12342 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12344         * math/libm-test.inc (totalorder_test_data): Add more tests.
12346 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12348         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12349         Undefine weak_alias and add a comment why mips64 require
12350         versioning.
12352 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12354         [BZ #20647]
12355         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12356         maximum CPUID level is less than 2.
12358 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12360         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12361         (totalorder): New declaration.
12362         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12363         New macro.
12364         * math/Versions (totalorder): New libm symbol at version
12365         GLIBC_2.25.
12366         (totalorderf): Likewise.
12367         (totalorderl): Likewise.
12368         * math/Makefile (libm-calls): Add s_totalorderF.
12369         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12370         string.
12371         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12372         (qnan_value_pl): Likewise.
12373         (snan_value_pl): Likewise.
12374         (qnan_value): Define using qnan_value_pl.
12375         (snan_value): Define using snan_value_pl.
12376         (struct test_ff_i_data): Add comment about which tests use this
12377         structure.
12378         (RUN_TEST_ff_b): New macro.
12379         (RUN_TEST_LOOP_ff_b): Likewise.
12380         (totalorder_test_data): New array.
12381         (totalorder_test): New function.
12382         (main): Call totalorder_test.
12383         * math/test-tgmath.c (NCALLS): Increase to 122.
12384         (F(compile_test)): Call totalorder.
12385         (F(totalorder)): New function.
12386         * manual/arith.texi (FP Comparison Functions): Document
12387         totalorder, totalorderf and totalorderl.
12388         * manual/libm-err-tab.pl: Update comment on interfaces without
12389         ulps tabulated.
12390         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12391         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12392         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12393         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12394         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12395         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12396         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12397         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12398         totalorder.
12399         (CFLAGS-nldbl-totalorder.c): New variable.
12400         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12401         file.
12402         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12403         Add test-totalorderl-ldbl-128ibm.
12404         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12405         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12406         test-totalorderl-ldbl-96.
12407         * sysdeps/nacl/libm.abilist: Update.
12408         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12409         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12410         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12411         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12412         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12413         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12414         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12415         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12416         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12417         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12418         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12419         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12421         Likewise.
12422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12423         Likewise.
12424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12425         Likewise.
12426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12427         Likewise.
12428         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12429         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12430         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12431         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12432         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12434         Likewise.
12435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12436         Likewise.
12437         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12438         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12439         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12441 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12443         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12444         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12445         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12446         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12447         remove ENOSYS implementation.
12448         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12449         Consolidate all Linux implementations.
12451 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12453         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12454         * resolv/herror.c (herror): Cast away const-ness.
12455         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12456         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12458 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12460         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12461         instead of M_NAN + M_NAN.
12462         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12464 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12466         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12467         unused variable 'p'.
12469 2016-10-09  Alan Modra  <amodra@gmail.com>
12470             Andreas Schwab  <schwab@linux-m68k.org>
12472         [BZ #20554]
12473         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12474         [PIC && !SHARED]: Set up PIC register for PLT call.
12476 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12478         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12479         conditional on value of [__FLT_EVAL_METHOD__].
12480         * math/test-iseqsig-excess-precision.c: New file.
12481         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12483 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12485         * math/s_iseqsig_template.c: Include math-private.h.
12487         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12488         * posix/tst-posix_fadvise.c: New file.
12489         * posix/tst-posix_fadvise64.c: Likewise.
12490         * posix/tst-posix_fadvise-common.c: Likewise.
12491         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12492         (__ASSUME_FADVISE64_64_6ARG): Define.
12493         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12494         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12496         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12497         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12498         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12499         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12500         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12501         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12502         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12503         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12504         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12507         Likewise.
12508         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12509         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12510         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12511         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12512         Alias to __posix_fadvise64_l32.
12513         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12514         Add compat definition to posix_fadvise64.
12515         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12516         Add versioned definition to posix_fadvise64.
12517         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12518         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12519         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12520         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12521         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12523         * io/Makefile (tests): Add tst-posix_fallocate and
12524         tst-posix_fallocate64.
12525         * io/tst-posix_fallocate-common.c: New file.
12526         * io/tst-posix_fallocate.c: Likewise.
12527         * io/tst-posix_fallocate64.c: Likewise.
12528         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12529         file.
12530         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12531         Likewise.
12532         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12533         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12534         Likewise.
12535         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12536         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12537         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12538         SYSCALL_LL to pass both offset and len arguments.
12539         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12540         Likewise.
12541         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12542         __libc_pwrite64 alias used by posix_fallocate64.
12544         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12545         tst-fallocate64.
12546         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12547         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12548         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12549         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12550         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12551         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12552         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12553         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12554         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12555         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12556         macro on offset argument.
12557         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12558         SYSCALL_LL64 on offset argument.
12560         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12561         tst-fallocate64.
12562         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12563         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12564         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12565         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12566         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12567         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12568         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12569         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12570         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12571         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12572         macro on offset argument.
12573         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12574         SYSCALL_LL64 on offset argument.
12575         * test-skeleton.c (FAIL_RET): Add macro.
12576         (FAIL_EXIT): Likewise.
12577         (FAIL_EXIT1): Likewise.
12578         (_FAIL): Likewise.
12580 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12582         [BZ #20629]
12583         resolv: Remove RES_USEBSTRING and its implementation.
12584         * resolv/resolv.h (RES_USEBSTRING): Remove.
12585         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12586         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12587         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12588         (labellen): Remove extended label types support.
12589         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12590         * resolv/res_init.c (res_setoptions): Likewise.
12591         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12593 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12595         resolv: Remove RES_NOIP6DOTINT and its implementation.
12596         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12597         (RES_NOIP6DOTINT): Remove.
12598         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12599         handling.
12600         * resolv/res_debug.c (p_option): Likewise.
12601         * resolv/res_init.c (res_setoptions): Likewise.
12602         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12604 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12606         resolv: Deprecate unimplemented flags.
12607         * misc/sys/cdefs.h (__glibc_macro_warning1)
12608         (__glibc_macro_warning): Define.
12609         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12610         (RES_KEEPTSIG): Mark as deprecated.
12611         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12612         RES_NOCHECKNAME, RES_KEEPTSIG.
12613         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12615 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12617         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12618         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12619         Use strong_alias to create symbols for glibc verison 2.19.
12621 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12623         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12625 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12627         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12629 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12631         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12633 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12635         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12636         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12637         in header for using it as type for ifunc function because __GI_* symbols
12638         for ppc32 do not target the ifunc symbols.
12639         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12641 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12643         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12644         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12645         libc_ifunc_hidden_def.
12646         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12647         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12648         Redirect ifunced function in header for using it as type of ifunc'ed
12649         function. Redefine libc_hidden_def to use fallback non ifunc'ed
12650         function for __GI_* symbol.
12651         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12652         * include/libc-symbols.h
12653         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12655 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12657         [BZ #20478]
12658         * sysdeps/s390/multiarch/ifunc-resolve.h
12659         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12660         to create ifunc symbols.
12661         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12662         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12663         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12664         for using it as type for ifunc function.
12665         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12666         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12667         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12668         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12669         * sysdeps/s390/multiarch/strcat.c: Likewise.
12670         * sysdeps/s390/multiarch/strchr.c: Likewise.
12671         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12672         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12673         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12674         * sysdeps/s390/multiarch/strlen.c: Likewise.
12675         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12676         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12677         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12678         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12679         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12680         * sysdeps/s390/multiarch/strspn.c: Likewise.
12681         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12682         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12683         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12684         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12685         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12686         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12687         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12688         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
12689         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
12690         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12691         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
12692         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
12694 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12696         * include/libc-symbols.h (__ifunc_resolver):
12697         New macro is used by __ifunc* macros.
12698         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
12699         depending on HAVE_GCC_IFUNC.
12700         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
12701         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
12702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12703         Redirect ifunced function in header for using as type for ifunc function.
12704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
12706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
12707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
12708         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12709         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12710         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12711         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12712         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12713         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12714         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12715         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12716         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12717         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
12720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
12722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12723         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12724         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12725         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12726         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12727         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12728         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12729         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12730         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12731         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12732         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12733         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12734         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12735         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
12736         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
12738         Add libc_hidden_def() and use libc_ifunc_hidden() macro
12739         instead of libc_ifunc() macro.
12740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
12741         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12743 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12745         * config.h.in (HAVE_GCC_IFUNC): New undef.
12746         * configure.ac: Add check if gcc supports attribute ifunc feature.
12747         * configure: Regenerated.
12748         * manual/install.texi: Add recommendation for gcc with
12749         indirect-function support.
12750         * INSTALL: Regenerated.
12752 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
12754         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
12755         macro.
12756         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12757         (__iseqsig): New declaration.
12758         * math/s_iseqsig_template.c: New file.
12759         * math/Versions (__iseqsigf): New libm symbol at version
12760         GLIBC_2.25.
12761         (__iseqsig): Likewise.
12762         (__iseqsigl): Likewise.
12763         * math/libm-test.inc (iseqsig_test_data): New array.
12764         (iseqsig_test): New function.
12765         (main): Call iseqsig_test.
12766         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
12767         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
12768         * manual/libm-err-tab.pl: Update comment on interfaces without
12769         ulps tabulated.
12770         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
12771         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
12772         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
12773         * sysdeps/nacl/libm.abilist: Update.
12774         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12775         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12776         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12777         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12778         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12779         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12780         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12782         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12783         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12784         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12785         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12787         Likewise.
12788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12789         Likewise.
12790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12791         Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12793         Likewise.
12794         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12800         Likewise.
12801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12802         Likewise.
12803         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12804         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12805         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12807 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12809         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
12810         do_sincos_2, sloww, sloww1): Update comments.
12812         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
12813         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
12815         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
12816         K boolean and rename it.
12817         (__sin): Adjust.
12818         (__cos): Adjust.
12820 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12821             Siddhesh Poyarekar  <siddhesh@sourceware.org>
12823         * manual/nss.texi: Fix typos in the manual.
12825 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12827         * manual/contrib.texi: Fix typos in the manual.
12829         * manual/maint.texi: Fix typos in the manual.
12831         * manual/install.texi: Fix typos in the manual.
12832         * INSTALL: Regenerated.
12834         * manual/lang.texi: Fix typos in the manual.
12836         * manual/probes.texi: Fix typos in the manual.
12838         * manual/threads.texi: Fix typos in the manual.
12840         * manual/debug.texi: Fix typos in the manual.
12842         * manual/crypt.texi: Fix typos in the manual.
12844         * manual/conf.texi: Fix typos in the manual.
12846         * manual/sysinfo.texi: Fix typos in the manual.
12848         * manual/users.texi: Fix typos in the manual.
12850         * manual/job.texi: Fix typos in the manual.
12852         * manual/process.texi: Fix typos in the manual.
12854         * manual/argp.texi: Fix typos in the manual.
12855         * manual/getopt.texi: Likewise.
12856         * manual/startup.texi: Likewise.
12858         * manual/signal.texi: Fix typos in the manual.
12860         * manual/setjmp.texi: Fix typos in the manual.
12862         * manual/resource.texi: Fix typos in the manual.
12864         * manual/time.texi: Fix typos in the manual.
12866         * manual/arith.texi: Fix typos in the manual.
12868         * manual/math.texi: Fix typos in the manual.
12870         * manual/syslog.texi: Fix typos in the manual.
12872         * manual/terminal.texi: Fix typos in the manual.
12874         * manual/socket.texi: Fix typos in the manual.
12876         * manual/filesys.texi: Fix typos in the manual.
12878         * manual/llio.texi: Fix typos in the manual.
12880         * manual/stdio.text: Fix typos in the manual.
12882 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12884         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
12885         instead of K1.
12887         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
12888         SHIFT_QUADRANT and make it bool.
12889         (do_sincos_2): Likewise.
12890         (sloww): Likewise.
12891         (sloww1): Likewise.
12892         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
12893         (__cos): Likewise.
12895 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12897         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12899 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
12901         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
12902         Define to __WORDSIZE, not conditional on [LONG_MAX ==
12903         0x7fffffffL].
12904         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12906 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12908         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
12909         inline by __inline__.
12910         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
12911         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
12912         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
12913         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
12914         sigset_t from signal.h.
12915         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
12916         which is already required.
12918 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
12920         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12922 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
12924         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12925         (struct tcp_repair_window): New type.
12927 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12929         * libio/tst-memstream3.c: Include string.h.
12931 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12933         [BZ #18241]
12934         [BZ #20181]
12935         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12936         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12937         write position is at the end the buffer.
12938         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12939         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12940         (_IO_str_seekoff): Set correct offset from negative displacement and
12941         set EINVAL for invalid ones.
12942         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12943         buffer length.
12944         (_IO_wstr_switch_to_get_mode): New function.
12945         (_IO_wstr_seekoff): Set correct offset from negative displacement and
12946         set EINVAL for invalid ones.
12947         * libio/tst-memstream3.c: New file.
12948         * libio/tst-wmemstream3.c: Likewise.
12949         * manual/examples/memstrm.c: Remove warning when priting size_t.
12951 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12953         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12954         macro to use __builtin_fma.
12955         * sysdeps/x86_64/fpu/dla.h: Remove file.
12957         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12958         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12959         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12961 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12963         [BZ #20292]
12964         * elf/Makefile (routines): Add dl-addr-obj.
12965         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12966         tst-_dl_addr_inside_object.
12967         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12968         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12969         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12970         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12971         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12972         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12973         * elf/dl-open.c: Likewise.
12974         * elf/dl-addr-obj.c: New file.
12975         * elf/tst-_dl_addr_inside_object.c: New file.
12977 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12979         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12980         <bits/iscanonical.h>.
12981         * bits/iscanonical.h: New file.
12982         * math/s_iscanonicall.c: Likewise.
12983         * math/Versions (__iscanonicall): New libm symbol at version
12984         GLIBC_2.25.
12985         * math/libm-test.inc (iscanonical_test_data): New array.
12986         (iscanonical_test): New function.
12987         (main): Call iscanonical_test.
12988         * math/Makefile (headers): Add bits/iscanonical.h.
12989         (type-ldouble-routines): Add s_iscanonicall.
12990         * manual/arith.texi (Floating Point Classes): Document
12991         iscanonical.
12992         * manual/libm-err-tab.pl: Update comment on interfaces without
12993         ulps tabulated.
12994         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12995         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12996         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12997         Likewise.
12998         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12999         test-iscanonical-ldbl-128ibm.
13000         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
13001         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
13002         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
13003         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
13004         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
13005         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13006         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13008         Likewise.
13009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13010         Likewise.
13011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13012         Likewise.
13013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13014         Likewise.
13015         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13016         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13018 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13020         * string/bits/string3.h: Remove C++ style comments.
13022 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13024         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
13025         instead of ternary condition.
13026         (do_sincos_2): Likewise.
13027         (__sin): Likewise.
13028         (__cos): Likewise.
13029         (slow): Likewise.
13030         (sloww): Likewise.
13031         (sloww1): Likewise.
13032         (bsloww): Likewise.
13033         (bsloww1): Likewise.
13035         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
13036         instead of ternary condition.
13037         (do_sin_slow): Likewise.
13038         (do_sincos_1): Likewise.
13039         (do_sincos_2): Likewise.
13040         (__cos): Likewise.
13041         (sloww): Likewise.
13042         (sloww1): Likewise.
13043         (sloww2): Likewise.
13044         (bsloww): Likewise.
13045         (bsloww1): Likewise.
13046         (bsloww2): Likewise.
13048         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
13049         check from here...
13050         (slow2): ... and here...
13051         (__sin): ... to here.
13053 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
13055         * math/math.h
13056         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
13057         Cast argument to its own type.
13058         * math/test-iszero-excess-precision.c: New file.
13059         * math/Makefile (tests): Add test-iszero-excess-precision.
13060         (CFLAGS-test-iszero-excess-precision.c): New variable.
13062 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
13064         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
13065         field, add err field.
13066         (__spawni_child): Report error through err member instead of pipe.
13067         (__spawnix): Likewise.
13069 2016-09-28  Zack Weinberg  <zackw@panix.com>
13071         * scripts/check-installed-headers.sh: Generalize treatment of
13072         sys/elf.h to all target architectures.
13074         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
13075         deleted typedef ucontext_t.
13077 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13079         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
13080         (__INTERNAL_SYSCALL1): Likewise.
13081         (__INTERNAL_SYSCALL2): Likewise.
13082         (__INTERNAL_SYSCALL3): Likewise.
13083         (__INTERNAL_SYSCALL4): Likewise.
13084         (__INTERNAL_SYSCALL5): Likewise.
13085         (__INTERNAL_SYSCALL6): Likewise.
13086         (__INTERNAL_SYSCALL7): Likewise.
13087         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
13088         (__INTERNAL_SYSCALL_NARGS): Likewise.
13089         (__INTERNAL_SYSCALL_DISP): Likewise.
13090         (INTERNAL_SYSCALL_CALL): Likewise.
13091         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
13092         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
13093         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
13094         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
13095         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
13096         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
13097         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
13098         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
13099         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
13100         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
13101         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
13102         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
13103         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
13105 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
13107         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
13108         macro.
13109         * math/libm-test.inc (iszero_test_data): New array.
13110         (iszero_test): New function.
13111         (main): Call iszero_test.
13112         * manual/arith.texi (Floating Point Classes): Document iszero.
13113         * manual/libm-err-tab.pl: Update comment on interfaces without
13114         ulps tabulated.
13116 2016-09-23  Zack Weinberg  <zackw@panix.com>
13118         * scripts/check-installed-headers.sh: New script.
13119         * Rules: In each directory that defines header files to be installed,
13120         run check-installed-headers.sh on them as a special test.
13121         * Makefile: Likewise for the headers installed at top level.
13123         * include/aliases.h, include/alloca.h, include/argz.h
13124         * include/arpa/nameser.h, include/arpa/nameser_compat.h
13125         * include/elf.h, include/envz.h, include/err.h
13126         * include/execinfo.h, include/fpu_control.h, include/getopt.h
13127         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13128         * include/link.h, include/malloc.h, include/mcheck.h
13129         * include/mntent.h, include/netinet/ether.h
13130         * include/nss.h, include/obstack.h, include/printf.h
13131         * include/pty.h, include/resolv.h, include/rpc/auth.h
13132         * include/rpc/auth_des.h, include/rpc/auth_unix.h
13133         * include/rpc/clnt.h, include/rpc/des_crypt.h
13134         * include/rpc/key_prot.h, include/rpc/netdb.h
13135         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
13136         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
13137         * include/rpc/rpc_msg.h, include/rpc/svc.h
13138         * include/rpc/svc_auth.h, include/rpc/xdr.h
13139         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
13140         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
13141         * include/rpcsvc/ypupd.h, include/shadow.h
13142         * include/stdio_ext.h, include/sys/epoll.h
13143         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
13144         * include/sys/prctl.h, include/sys/profil.h
13145         * include/sys/statfs.h, include/sys/sysctl.h
13146         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
13147         * sysdeps/arm/nacl/include/bits/setjmp.h
13148         * sysdeps/mips/include/sys/asm.h
13149         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
13150         * sysdeps/unix/sysv/linux/include/sys/timex.h
13151         * sysdeps/x86/fpu/include/bits/fenv.h:
13152         Add #ifndef _ISOMAC guard around internal declarations.
13153         Add multiple-inclusion guard if not already present.
13155 2016-09-23  Zack Weinberg  <zackw@panix.com>
13157         * sysdeps/generic/sys/ucontext.h
13158         * sysdeps/arm/sys/ucontext.h
13159         * sysdeps/i386/sys/ucontext.h
13160         * sysdeps/m68k/sys/ucontext.h
13161         * sysdeps/mips/sys/ucontext.h
13162         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
13163         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
13164         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
13165         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
13166         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
13167         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
13168         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
13169         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
13170         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
13171         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
13172         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
13173         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
13174         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
13175         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13176         Include both bits/sigcontext.h and bits/sigstack.h.
13177         Fix grammar error in comment, if present.
13179         * bits/sigstack.h
13180         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13181         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13182         * sysdeps/unix/sysv/linux/bits/sigstack.h
13183         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13184         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13185         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13186         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13187         * bits/sigcontext.h
13188         * sysdeps/mach/hurd/i386/bits/sigcontext.h
13189         * sysdeps/unix/sysv/linux/bits/sigcontext.h
13190         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13191         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13192         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
13193         as well as signal.h, if this was not already allowed.  Request
13194         definition of size_t if necessary.  Minimize semantically-null
13195         differences across files.
13197 2016-09-23  Zack Weinberg  <zackw@panix.com>
13199         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
13200         Remove all logic conditional on __need macros.  Move all the
13201         conditionally defined types to their own headers...
13202         * time/bits/types/clock_t.h: Define clock_t here.
13203         * time/bits/types/clockid_t.h: Define clockid_t here.
13204         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
13205         * time/bits/types/struct_timespec.h: Define struct timespec here.
13206         * time/bits/types/struct_timeval.h: Define struct timeval here.
13207         * time/bits/types/struct_tm.h: Define struct tm here.
13208         * time/bits/types/time_t.h: Define time_t here.
13209         * time/bits/types/timer_t.h: Define timer_t here.
13210         * time/Makefile: Install the new headers.
13212         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
13213         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
13214         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
13215         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
13216         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
13217         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
13218         * sysdeps/unix/sysv/linux/bits/resource.h
13219         * sysdeps/unix/sysv/linux/bits/timex.h
13220         * sysdeps/unix/sysv/linux/mips/bits/resource.h
13221         * sysdeps/unix/sysv/linux/net/ppp_defs.h
13222         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
13223         * sysdeps/unix/sysv/linux/sys/acct.h
13224         * sysdeps/unix/sysv/linux/sys/timerfd.h
13225         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
13226         * time/sys/time.h, time/sys/timeb.h
13227         Use the new bits/types headers.
13229         * include/time.h: Remove __need logic.
13230         * include/bits/time.h
13231         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
13232         * include/bits/types/time_t.h, include/bits/types/timer_t.h
13233         * include/bits/types/struct_itimerspec.h
13234         * include/bits/types/struct_timespec.h
13235         * include/bits/types/struct_timeval.h
13236         * include/bits/types/struct_tm.h:
13237         New wrapper headers.
13239 2016-09-23  Zack Weinberg  <zackw@panix.com>
13241         * sysdeps/mach/hurd/net/if_ppp.h
13242         * sysdeps/unix/sysv/linux/net/if_ppp.h:
13243         Only define struct ifpppstatsreq and struct ifpppcstatsreq
13244         if __USE_MISC is defined, to ensure struct ifreq is declared.
13246         * inet/netinet/ether.h: Condition all function prototypes
13247         on __USE_MISC, to ensure struct ether_addr is declared.
13249         * socket/bits/types/struct_osockaddr.h: New header.
13250         * include/bits/types/struct_osockaddr.h: New wrapper.
13251         * socket/Makefile: Install the new header.
13252         * socket/sys/socket.h, inet/protocols/talkd.h:
13253         Refer to bits/types/struct_osockaddr.h for the definition of
13254         struct osockaddr.
13256 2016-09-23  Zack Weinberg  <zackw@panix.com>
13258         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
13259         * inet/protocols/routed.h, inet/protocols/talkd.h
13260         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
13261         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
13262         * sysdeps/generic/netinet/if_ether.h
13263         * sysdeps/generic/netinet/in_systm.h
13264         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
13265         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13266         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
13267         * sysdeps/mach/hurd/net/if_arp.h
13268         * sysdeps/mach/hurd/net/if_ppp.h
13269         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
13270         * sysdeps/unix/sysv/linux/bits/in.h
13271         * sysdeps/unix/sysv/linux/net/ethernet.h
13272         * sysdeps/unix/sysv/linux/net/if_arp.h
13273         * sysdeps/unix/sysv/linux/net/if_ppp.h
13274         * sysdeps/unix/sysv/linux/net/if_shaper.h
13275         * sysdeps/unix/sysv/linux/net/route.h
13276         * sysdeps/unix/sysv/linux/netinet/if_ether.h
13277         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13278         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13279         * sysdeps/unix/sysv/linux/netipx/ipx.h
13280         * sysdeps/unix/sysv/linux/sys/acct.h
13281         * include/arpa/nameser.h, include/resolv.h:
13282         Change all uses of u_char to unsigned char,
13283         u_short and ushort to unsigned short, u_int and uint to unsigned int,
13284         u_long and ulong to unsigned long, u_int8_t to uint8_t,
13285         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13286         and u_int64_t and u_quad_t to uint64_t.
13288         * mach/sys/reboot.h: Remove two casts of integer literals
13289         to the types they already have.
13291         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13292         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13293         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13294         from referring to 'unsigned char' to 'uint8_t' for consistency with
13295         the macro definition below.
13297         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13298         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13299         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13300         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13301         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13302         * sysdeps/unix/sysv/linux/sys/acct.h
13303         * include/arpa/nameser.h, include/resolv.h:
13304         Fix indentation disrupted by mechanical edits.
13306         * inet/protocols/talkd.h, resolv/arpa/nameser.h
13307         * sysdeps/generic/netinet/in_systm.h
13308         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13309         * sysdeps/gnu/netinet/udp.h
13310         * sysdeps/unix/sysv/linux/net/ethernet.h
13311         * sysdeps/unix/sysv/linux/net/if_arp.h
13312         * sysdeps/unix/sysv/linux/net/if_ppp.h
13313         * sysdeps/unix/sysv/linux/net/if_shaper.h
13314         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13315         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13316         * sysdeps/unix/sysv/linux/netipx/ipx.h
13317         * sysdeps/unix/sysv/linux/sys/acct.h
13318         Include stdint.h for uintNN_t definitions.
13319         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13321 2016-09-23  Zack Weinberg  <zackw@panix.com>
13323         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13324         * sysdeps/unix/sysv/linux/netrose/rose.h:
13325         Include sys/socket.h and netax25/ax25.h.
13327         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13328         * resolv/arpa/nameser_compat.h:
13329         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13331         * sysdeps/unix/sysv/linux/sys/quota.h:
13332         Use __caddr_t instead of caddr_t.
13333         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13334         Use __clockid_t instead of clockid_t.
13336         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13338         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13339         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13340         expanding it.
13342         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13343         Define __glibc_c99_flexarr_available to 1 when the compiler
13344         supports C99-compatible flexible array members, 0 otherwise.
13345         * sysdeps/unix/sysv/linux/bits/socket.h
13346         * sysdeps/mach/hurd/bits/socket.h
13347         * bits/socket.h: Use __glibc_c99_flexarr_available in
13348         definitions of struct cmsghdr and CMSG_DATA.
13350 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13352         * manual/nss.texi (NSS Modules Interface): Adjust function return
13353         type to enum nss_status.  Document errnop argument.  Clarify
13354         h_errnop semantics.  Fix cross-reference formatting.
13355         (NSS Module Function Internals): Mention that *errnop needs to be
13356         set on failure, but not to zero.
13358 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13360         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13361         (get_random_name): New functions.
13362         (check_wrapper_flags_mode): Use linkat to give the new file a name
13363         determined by get_random_name.
13364         (do_test): Add calls to test open64 and openat64.
13366 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13368         * test-skeleton.c: Remove #include <stdarg.h>.
13370 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13372         [BZ #19826]
13373         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13374         initialization of static TLS entries.
13375         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13376         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13378 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13380         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13381         _hurd_malloc_fork_prepare.
13382         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13383         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13384         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13385         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13386         (_hurd_fork_child_hook): Drop malloc_fork_child.
13387         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13388         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13389         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13390         after locking locks (notably hurd_dtable_lock). Call
13391         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13392         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13393         __malloc_fork_unlock_child.
13394         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13396 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13398         * soft-fp/extendhftf2.c: New.
13399         * soft-fp/fixhfti.c: Likewise.
13400         * soft-fp/fixunshfti.c: Likewise.
13401         * soft-fp/floattihf.c: Likewise.
13402         * soft-fp/floatuntihf.c: Likewise.
13403         * soft-fp/half.h: Likewise.
13404         * soft-fp/trunctfhf2.c: Likewise.
13406 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13408         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13409         macro.
13410         * math/libm-test.inc (issubnormal_test_data): New array.
13411         (issubnormal_test): New function.
13412         * manual/arith.texi (Floating Point Classes): Document
13413         issubnormal.
13414         * manual/libm-err-tab.pl: Update comment on interfaces without
13415         ulps tabulated.
13417         * sysdeps/generic/stdint.h: Define
13418         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13419         <bits/libc-header-start.h> instead of including <features.h>.
13420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13432         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13438         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13439         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13442         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13443         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13444         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13445         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13446         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13449         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13453         * manual/arith.texi (Integers): Document these macros for types
13454         specified by width properties.
13455         * manual/lang.texi (Width of Type): Document these macros for
13456         other standard typedefs.
13457         * stdlib/tst-width-stdint.c: New file.
13458         * stdlib/Makefile (tests): Add tst-width-stdint.
13460 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13462         [BZ #20016]
13463         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13464         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13465         Move ...
13466         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13467         ... here, as compatibility symbols in a new file.
13468         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13469         * resolv/res_init.c (__res_vinit): Adjust member names.
13470         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13471         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13472         (res_send_rhook): Remove.
13473         (struct __res_state): Rename qhook, rhook members.
13475 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13477         malloc: Use __libc_lock wrappers.
13478         * malloc/arena.c (list_lock, free_list_lock): Define using
13479         __libc_lock_define_initialized.
13480         (arena_lock): Adjust formatting.
13481         * malloc/malloc.c (struct malloc_state): Define mutex using
13482         __libc_lock_define.
13483         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13484         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13485         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13486         (mutex_unlock, mutex_trylock): Remove.
13487         (__pthread_initialize): Remove unused macro.
13488         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13489         (mutex_unlock, mutex_trylock): Remove.
13491 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13493         [BZ #20592]
13494         Remove RR type classification macros.
13495         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13496         (ns_t_udp_p, ns_t_xfr_p): Remove.
13498 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13500         Remove misleading version information.
13501         * resolv/arpa/nameser.h (__NAMESER): Remove.
13502         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13504 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13506         Remove the always-defined BIND_4_COMPAT macro.
13507         * resolv/arpa/nameser.h: Unconditionally include
13508         <arpa/nameser_compat.h>.
13509         (BIND_4_COMPAT): Remove.
13510         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13512 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13514         [BZ #20591]
13515         Remove obsolete DNSSEC support.
13516         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13517         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13518         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13519         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13520         (ns_cert_types): Add comment.
13521         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13522         separately.
13523         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13524         (dst_s_dns_key_id): Remove.
13525         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13526         variables.
13528 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13530         [BZ #20524]
13531         * manual/string.texi (String/Array Comparison): Clarify the
13532         strverscmp behavior.
13534 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13536         * test-skeleton.c (xasprintf): Add function.
13537         * io/tst-open-tmpfile.c: New test.
13538         * io/Makefile (tests): Add it.
13540 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13542         Avoid running $(CXX) during build to obtain header file paths.
13543         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13544         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13545         * Makerules (cstdlib, cmath): Remove variables.  Use
13546         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13547         * configure: Regenerate.
13549 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13551         * Makeconfig (all-object-suffixes): Include .op only if
13552         $(build-profile).
13554 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13556         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13557         conditionals.  Do not define PATH_MAX.
13559 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13561         * posix/Makefile (tests): Add tst-spawn3.
13562         * posix/tst-spawn3.c: New file.
13563         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13564         if it is already opened for open action.
13566         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13567         all signals when executing the clone vfork child.
13568         (SIGALL_SET): Remove macro.
13570         * nptl/Makefile (tests): Add tst-exec5.
13571         * nptl/tst-exec5.c: New file.
13572         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13573         asynchronous cancellation.
13575 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13577         * hurd/exc2signal.c: #include <hurd/signal.h>
13578         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13579         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13580         accordingly.
13581         * mach/mach_error.c (mach_error): Fix old-style function definition.
13582         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13584 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13586         * math/Makefile (libm-calls): Remove s_nanF.
13587         (gen-libm-calls): Add s_nanF.
13589         * math/s_nan.c: Refactor into ...
13590         * math/s_nan_template.c: New file.
13592         * math/s_nanf.c: Removed.
13593         * math/s_nanl.c: Removed.
13594         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13595         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13597         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13598         (LDOUBLE_nanl_libm_version): New macro.
13600         * sysdeps/generic/math-type-macros-double.h:
13601         (M_STRTO_NAN): New macro.
13602         * sysdeps/generic/math-type-macros-float.h: Likewise.
13603         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13605         * sysdeps/generic/math-type-macros.h: Document
13606         M_STRTO_NAN.
13608 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13610         * math/s_nanf.c: Remove __nanf undef.
13611         * math/s_nan.c: Remove __nan undef.
13612         * math/s_nanl.c: Remove __nanl undef.
13614         * sysdeps/generic/math_private.h (__nan): Remove macro
13615         override.
13616         (__nanf): Likewise.
13617         (__nanl): Likewise.
13619 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13621         * math/Makefile (gen-all-calls): New variable.
13622         (generated): Replace gen-libm-calls with gen-all-calls.
13623         (gen-libm-templates.stmp): Likewise.  Also, ensure
13624         the output directory exists or is created and add
13625         dependency on the Makefile.
13626         (calls): Move s_ldexpF into gen-calls.
13627         (gen-calls): New variable.
13629         * math/s_ldexpf.c: Removed.
13630         * math/s_ldexpl.c: Removed.
13631         * math/s_ldexp.c: Refactored into ...
13632         * math/s_ldexp_template.c: New file.
13634         * sysdeps/generic/math-type-macros-double.h: Remove
13635         redundant fall-through definition of declare_mgen_alias.
13636         (declare_mgen_alias_2): New macro.
13638         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13639         New macro for function aliased to two exported symbols.
13641         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13642         new template file.
13643         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13645 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13647         * Makeconfig (all-object-suffixes): Remove .og.
13648         * Makerules (elide-routines.og): Remove.
13649         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13650         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13651         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13653 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13655         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13656         .os objects.
13658 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13660         [BZ #20615]
13661         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13662         fpu directory by non-fpu.
13663         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13664         on non-fpu directory from a fpu directory.
13666 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
13668         * include/limits.h: Define
13669         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13670         <bits/libc-header-start.h> instead of including <features.h>.
13671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13677         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
13682         * manual/lang.texi (Width of Type): Document these macros.
13683         * stdlib/tst-width.c: New file.
13684         * stdlib/Makefile (tests): Add tst-width.
13686 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13688         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
13689         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
13691 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13693         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
13694         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13695         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13697 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13699         [BZ #18243]
13700         * rt/Makefile (test): Add tst-shm-cancel.
13701         * rt/tst-shm-cancel.c: New file.
13702         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
13704         [BZ #18243]
13705         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
13706         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
13707         definition.
13708         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
13709         uncontended case.
13710         * nptl/sem_wait.c (__new_sem_wait): Likewise.
13711         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
13712         (tf): Fix check for uncontended case.
13713         (do_test): Likewise.
13714         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
13715         (tf): Fix check for uncontended case.
13716         (do_test): Likewise.
13717         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
13718         (tf): Fix check for uncontended case.
13719         (do_test): Likewise.
13720         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
13721         (tf): Fix check for uncontended case.
13722         (do_test): Likewise.
13724         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
13725         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
13727         [BZ #15765]
13728         * nptl/Makefile (tests): Add tst-sem16.
13729         * nptl/tst-sem16.c: New file.
13730         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
13732         * nptl/sem_open.c (sem_open): Init pad value to 0.
13733         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13734         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13736 2016-09-15  Florian Weimer  <fweimer@redhat.com>
13738         [BZ #20611]
13739         * inet/Makefile (routines): Add inet6_scopeid_pton.
13740         (tests): Add tst-inet6_scopeid_pton.
13741         * inet/inet6_scopeid_pton.c: New file.
13742         * inet/net-internal.h: Likewise.
13743         * inet/tst-inet6_scopeid_pton.c: New test.
13744         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
13745         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
13746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13748 2016-09-14  Florian Weimer  <fweimer@redhat.com>
13750         Remove support for compiling wrappers with PTW.
13751         * sysdeps/nptl/Makeconfig: Drop ptw- support.
13752         * nptl/Makefile (pthread-compat-wrappers): Define.
13753         (libpthread-routines): Use pthread-compat-wrappers.
13754         * sysdeps/unix/sysv/linux/alpha/Makefile
13755         (libpthread-routines, libpthread-shared-only-routines): Remove
13756         ptw- prefix.
13757         * sysdeps/s390/nptl/Makefile
13758         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13759         * sysdeps/ia64/nptl/Makefile
13760         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13761         * sysdeps/nacl/Makefile (libpthread-routines): Use
13762         pthread-compat-wrappers to filter the routines list instead of the
13763         ptw- prefix.
13765 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13767         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
13768         with L() and remove explicit suffix, convert real literals
13769         which can be equivalentally substituted with integers, and
13770         transform -L(x) to L(-x).
13772         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13773         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13774         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13775         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13776         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13777         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13778         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13779         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13780         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13781         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13782         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13783         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13784         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13785         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13787         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13788         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13789         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13790         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13791         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13792         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13793         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13794         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13795         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13796         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13797         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13798         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13799         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13800         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13801         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13802         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13803         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13804         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13805         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13806         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13807         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13808         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13809         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13810         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13811         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13812         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13813         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13814         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13815         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13816         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13817         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13818         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13819         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13820         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13821         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13823 2016-09-13  Florian Weimer  <fweimer@redhat.com>
13825         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
13827 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13829         * malloc/Makefile (tests): Remove individual static test names
13830         and just add all of tests-static.
13832         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
13834 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
13836         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
13837         file.
13839         * sysdeps/sparc/fpu/fegetmode.c: New file.
13840         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
13842         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
13843         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
13845         * sysdeps/s390/fpu/fegetmode.c: New file.
13846         * sysdeps/s390/fpu/fesetmode.c: Likewise.
13848         * sysdeps/powerpc/fpu/fegetmode.c: New file.
13849         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
13850         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
13851         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
13852         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
13853         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13855         * sysdeps/mips/fpu/fegetmode.c: New file.
13856         * sysdeps/mips/fpu/fesetmode.c: Likewise.
13858         * sysdeps/m68k/fpu/fegetmode.c: New file.
13859         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
13861         * sysdeps/ia64/fpu/fegetmode.c: New file.
13862         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
13864         * sysdeps/hppa/fpu/fegetmode.c: New file.
13865         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
13867         * sysdeps/arm/fegetmode.c: New file.
13868         * sysdeps/arm/fesetmode.c: Likewise.
13870         * sysdeps/alpha/fpu/fegetmode.c: New file.
13871         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
13873         * sysdeps/aarch64/fpu/fegetmode.c: New file.
13874         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
13876         * math/fegetmode.c: New file.
13877         * math/fesetmode.c: Likewise.
13878         * sysdeps/i386/fpu/fegetmode.c: Likewise.
13879         * sysdeps/i386/fpu/fesetmode.c: Likewise.
13880         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
13881         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
13882         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
13883         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
13884         declaration.
13885         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
13886         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
13887         typedef.
13888         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13889         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13890         (femode_t): New typedef.
13891         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13892         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13893         (femode_t): New typedef.
13894         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13895         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13896         (femode_t): New typedef.
13897         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13898         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13899         (femode_t): New typedef.
13900         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13901         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13902         (femode_t): New typedef.
13903         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13904         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13905         (femode_t): New typedef.
13906         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13907         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13908         (femode_t): New typedef.
13909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13910         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13911         (femode_t): New typedef.
13912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13913         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13914         (femode_t): New typedef.
13915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13916         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13917         (femode_t): New typedef.
13918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13919         declaration.
13920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13921         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13922         (femode_t): New typedef.
13923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13924         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13925         (femode_t): New typedef.
13926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13927         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13928         (femode_t): New typedef.
13929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13930         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13931         (femode_t): New typedef.
13932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13933         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13934         (femode_t): New typedef.
13935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13936         * manual/arith.texi (FE_DFL_MODE): Document macro.
13937         (fegetmode): Document function.
13938         (fesetmode): Likewise.
13939         * math/Versions (fegetmode): New libm symbol at version
13940         GLIBC_2.25.
13941         (fesetmode): Likewise.
13942         * math/Makefile (libm-support): Add fegetmode and fesetmode.
13943         (tests): Add test-femode and test-femode-traps.
13944         * math/test-femode-traps.c: New file.
13945         * math/test-femode.c: Likewise.
13946         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13947         alias for __fe_dfl_env.
13948         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13949         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13950         (__fe_dfl_mode): Likewise.
13951         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13952         version GLIBC_2.25.
13953         * sysdeps/nacl/libm.abilist: Update.
13954         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13955         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13956         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13957         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13958         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13959         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13960         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13961         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13962         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13963         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13964         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13965         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13967         Likewise.
13968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13969         Likewise.
13970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13971         Likewise.
13972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13973         Likewise.
13974         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13975         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13976         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13977         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13978         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13980         Likewise.
13981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13982         Likewise.
13983         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13984         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13985         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13987 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13989         [BZ #20495]
13990         [BZ #20508]
13991         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13992         processors, set Use_dl_runtime_resolve_slow and set
13993         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13994         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13995         New.
13996         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13997         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13998         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13999         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
14000         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
14001         if Use_dl_runtime_resolve_opt is set.  Use
14002         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
14003         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
14004         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
14005         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
14006         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
14007         New.
14008         (_dl_runtime_resolve_opt): Likewise.
14009         (_dl_runtime_profile): Define only if _dl_runtime_profile is
14010         defined.
14012 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14014         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
14015         __libc_memalign with "+ RELA R_390_GLOB_DAT".
14017 2016-09-06  Florian Weimer  <fweimer@redhat.com>
14019         Convert malloc to __libc_lock.  Automated part, using this Perl
14020         s/// command:
14021           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
14022             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
14023         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
14024         conversion.
14026 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
14028         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
14029         (linknamespace-symlists-tests): Likewise.
14030         (linknamespace-header-tests): Likewise.
14032 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
14034         [BZ #19810]
14035         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
14036         * elf/tst-noload.c: New test case.
14037         * elf/Makefile (tests): Add tst-noload.
14039 2016-09-02  Roland McGrath  <roland@hack.frob.com>
14041         * sysdeps/nacl/dup.c: Add libc_hidden_def.
14043         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
14044         not any more.
14046         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
14048 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14050         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
14051         (do_cos_slow): Likewise.
14052         (do_sin): Likewise.
14053         (do_sin_slow): Likewise.
14054         (slow): Likewise.
14055         (slow1): Likewise.
14056         (slow2): Likewise.
14057         (sloww): Likewise.
14058         (sloww1): Likewise.
14059         (sloww2): Likewise.
14060         (bsloww): Likewise.
14061         (bsloww1): Likewise.
14062         (bsloww2): Likewise.
14063         (cslow2): Likewise.
14065         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
14067         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
14068         arguments.  Consolidate input partitioning from callers here.
14069         (do_cos_slow): Likewise.
14070         (do_sin): Likewise.
14071         (do_sin_slow): Likewise.
14072         (do_sincos_1): Remove the no longer necessary input partitioning.
14073         (do_sincos_2): Likewise.
14074         (__sin): Likewise.
14075         (__cos): Likewise.
14076         (slow1): Likewise.
14077         (slow2): Likewise.
14078         (sloww1): Likewise.
14079         (sloww2): Likewise.
14080         (bsloww1): Likewise.
14081         (bsloww2): Likewise.
14082         (cslow2): Likewise.
14084 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14086         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
14087         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
14088         outside of allocated array.
14090 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14092         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
14093         instead of MB_CUR_MAX to avoid variable-length array.
14095 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14097         * math/Makefile (libm-calls): Remove k_rem_pio2F.
14098         (type-double-routines): Add k_rem_pio2.
14099         (type-float-routines): Add k_rem_pio2f.
14101         * sysdeps/generic/math_private.h:
14102         (__kernel_rem_pio2l): Removed.
14104         * math/k_rem_pio2l.c: Removed.
14105         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
14106         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
14107         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
14108         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
14110 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14112         * math/Makefile (gen-libm-calls): Add s_fmin
14113         (libm-calls): Remove above.
14115         * math/s_fmin.c: Refactor into ...
14116         * math/s_fmin_template.c: New file.
14118         * math/s_fminf.c: Removed.
14119         * math/s_fminl.c: Removed.
14120         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14121         (LDOUBLE_fmin_libm_version): New macro.
14123         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
14124         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
14126 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14128         * math/Makefile: (gen-libm-calls): Add s_fmax.
14129         (libm-calls): Remove above.
14131         * math/s_fmax.c: Refactor into ...
14132         * math/s_fmax_template.c: New file.
14133         * math/s_fmaxf.c: Removed.
14134         * math/s_fmaxl.c: Removed.
14136         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14137         (LDOUBLE_fmaxl_libm_version): New macro.
14139         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
14140         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
14142         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
14143         s_fmin.c to pick the aarch64 version of the file.
14144         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
14145         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
14147 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14149         * math/Makefile: (gen-libm-calls): Add s_nextdown.
14150         (libm-calls): Remove above.
14152         * math/s_nextdown.c: Refactor into ...
14153         * math/s_nextdown_template.c: New file.
14154         * math/s_nextdownf.c: Removed.
14155         * math/s_nextdownl.c: Removed.
14157         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
14159 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14161         * math/Makefile (gen-libm-calls): Add s_fdim.
14162         (libm-calls): Move to above.
14164         * math/s_fdim.c: Renamed and refactored into to ...
14165         * math/s_fdim_template.c: New file.
14166         * math/s_fdiml.c: Removed.
14167         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
14168         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
14170         * sysdeps/generic/math-type-macros-double.h:
14171         (declare_mgen_alias): Don't declare if already declared.
14172         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
14173         Likewise.
14175         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14176         (declare_mgen_alias): Don't declare if already declared.
14177         (M_LIBM_NEED_COMPAT): Likewise.
14178         (declare_mgen_libm_compat): Likewise.
14179         (LDOUBLE_fdiml_libm_version): New macro.
14181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14182         Include math/s_fdim.c now that ldbl-opt version is not needed.
14183         (declare_mgen_alias): New macro to disable aliasing.
14185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14186         (declare_mgen_alias): Likewise.
14187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14188         (declare_mgen_alias): Likewise.
14189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14190         (declare_mgen_alias): Likewise.
14191         (M_LIBM_NEED_COMPAT): Likewise.
14193 2016-09-01  Florian Weimer  <fweimer@redhat.com>
14195         [BZ #20525]
14196         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
14197         Include <linux/quota.h>.
14198         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
14199         and btodb.
14200         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
14201         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
14202         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
14203         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
14204         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
14205         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
14206         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
14207         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
14208         types.
14209         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
14210         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
14212 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14214         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
14215         (gammal_positive): Fix spacing.
14216         (__ieee754_gammal_r): Likewise.
14218 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14220         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
14221         (_Float128): Define as long double, always.
14222         (L): Apply long double type suffix, always.
14224         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14225         _Float128, excepting comments.
14227         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14228         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14229         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14230         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14231         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14232         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14233         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14234         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14235         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14236         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
14237         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14238         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14239         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14240         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14241         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14242         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14243         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14244         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14245         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14246         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14247         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14248         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14249         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14250         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14251         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14252         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14253         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14254         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14255         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14256         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14257         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14258         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14259         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14260         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14261         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14262         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14263         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14264         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14265         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14266         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14267         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14268         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14269         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14270         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14271         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14272         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14273         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14274         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14275         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14276         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14277         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14278         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14279         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14280         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14281         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14282         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14283         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14284         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14285         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14286         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14287         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14288         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14289         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14290         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14291         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14292         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14293         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14294         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14296         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14297         _Float128, and include math_private.h.
14298         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14300         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14301         long double semantics.
14302         (_Float128): Likewise.
14303         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14304         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14305         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14306         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14308 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14310         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14311         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14312         * sysdeps/s390/configure: Regenerated.
14313         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14314         instruction for raising over-/underflow if z196 zarch is supported
14315         by default.
14316         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14318 2016-08-30  Svante Signell  <svante.signell@gmail.com>
14320         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14321         it point to a dumb buffer for RPC to fill it.
14323 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14325         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14326         instead of if/else.
14327         (do_sin_slow): Likewise.
14328         (do_sincos_1): Use fabs instead of if/else.
14329         (do_sincos_2): Likewise.
14330         (__sin): Likewise.
14331         (__cos): Likewise.
14332         (slow2): Likewise.
14333         (sloww): Likewise.
14334         (sloww1): Likewise.  Drop argument M.
14335         (sloww2): Use fabs instead of if/else.
14336         (bsloww): Likewise.
14337         (bsloww1): Likewise.
14338         (bsloww2): Likewise.
14340         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14341         fall through comment.
14342         (do_sincos_1): Likewise.
14344         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14345         Consolidate switch cases 0 and 2.
14347 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14349         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14350         (libm-calls): Remove the above.
14352         * math/s_cexp_template.c: Update using type-generic macros.
14353         * math/s_clog10_template.c: Likewise.
14354         * math/s_cpow_template.c: Likewise.
14355         * math/s_clog_template.c: Likewise.
14356         * math/s_cproj_template.c: Likewise.
14357         * math/s_csqrt_template.c: Likewise.
14359         * math/s_cexp.c: Removed.
14360         * math/s_cexpf.c: Removed.
14361         * math/s_cexpl.c: Removed.
14362         * math/s_clog10.c: Removed.
14363         * math/s_clog10f.c: Removed.
14364         * math/s_clog10l.c: Removed.
14365         * math/s_cpow.c: Removed.
14366         * math/s_cpowf.c: Removed.
14367         * math/s_cpowl.c: Removed.
14368         * math/s_clog.c: Removed.
14369         * math/s_clogf.c: Removed.
14370         * math/s_clogl.c: Removed.
14371         * math/s_cproj.c: Removed.
14372         * math/s_cprojf.c: Removed.
14373         * math/s_cprojl.c: Removed.
14374         * math/s_csqrt.c: Removed.
14375         * math/s_csqrtf.c: Removed.
14376         * math/s_csqrtl.c: Removed.
14378         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14379         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14380         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14381         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14382         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14383         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14385         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14386         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14387         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14388         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14389         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14390         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14391         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14392         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14393         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14394         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14395         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14397         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14398         version.
14400         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14401         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14402         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14403         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14405 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14407         * s_cexp_template.c: Copy of s_cexp.c.
14408         * s_clog_template.c: Copy of s_clog.c.
14409         * s_clog10_template.c: Copy of s_clog10.c.
14410         * s_cpow_template.c: Copy of s_cpow.c.
14411         * s_cproj_template.c: Copy of s_cproj.c.
14412         * s_csqrt_template.c: Copy of s_csqrt.c.
14414 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14416         [BZ #20517]
14417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14418         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14419         exported.
14421 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14423         * math/fetestexceptflag.c: New file.
14424         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14425         Stefan Liebler.
14426         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14427         (fetestexceptflag): New function declaration.
14428         * manual/arith.texi (fetestexceptflag): Document function.
14429         * math/Versions (fetestexceptflag): New libm symbol at version
14430         GLIBC_2.25.
14431         * math/Makefile (libm-support): Add fetestexceptflag.
14432         (tests): Add test-fetestexceptflag.
14433         * math/test-fetestexceptflag.c: New file.
14434         * sysdeps/nacl/libm.abilist: Update.
14435         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14436         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14437         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14438         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14439         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14440         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14441         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14442         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14443         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14444         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14445         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14446         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14448         Likewise.
14449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14450         Likewise.
14451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14452         Likewise.
14453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14454         Likewise.
14455         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14456         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14457         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14458         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14459         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14461         Likewise.
14462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14463         Likewise.
14464         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14465         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14466         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14468 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14470         [BZ #20432]
14471         Avoid strong references to malloc-internal symbols when linking
14472         statically, to support statically interposed mallocs.
14473         * include/libc-symbols.h (call_function_static_weak): New macro.
14474         * malloc/Makefile (tests): Add tst-interpose-nothread,
14475         tst-interpose-thread, tst-interpose-static-nothread,
14476         tst-interpose-static-thread.
14477         (tests-static): Add tst-interpose-static-nothread,
14478         tst-interpose-static-thread.
14479         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14480         tst-interpose-aux-thread.o.
14481         (test-extras): Add tst-interpose-aux-nothread,
14482         tst-interpose-aux-thread.
14483         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14484         tst-interpose-aux-nothread.o.
14485         (tst-interpose-thread, tst-interpose-static-thread): Link with
14486         tst-interpose-aux-thread.o and libthread.
14487         * malloc/tst-interpose-aux-nothread.c: New file.
14488         * malloc/tst-interpose-aux-thread.c: Likewise.
14489         * malloc/tst-interpose-aux.c: Likewise.
14490         * malloc/tst-interpose-aux.h: Likewise.
14491         * malloc/tst-interpose-nothread.c: Likewise.
14492         * malloc/tst-interpose-skeleton.c: Likewise.
14493         * malloc/tst-interpose-static-nothread.c: Likewise.
14494         * malloc/tst-interpose-static-thread.c: Likewise.
14495         * malloc/tst-interpose-thread.c: Likewise.
14496         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14497         * sysdeps/mach/hurd/fork.c (__fork): Only call
14498         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14499         __malloc_fork_unlock_child if defined.
14500         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14502 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14504         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14505         timespec C99 designated initialization.
14507 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14509         [BZ #19946]
14510         Avoid expected SIGALRM signals.
14511         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14512         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14513         (xpthread_create, xpthread_detach, xpthread_join)
14514         (delayed_exit_thread, delayed_exit): New functions.
14515         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14516         (tf): Use xpthread_cond_wait.
14517         (do_test): Likewise.  Replace alarm with delayed_exit.
14518         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14519         (do_test): Call delayed_exit.  Report failure.
14520         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14521         (do_test): Call delayed_exit.
14522         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14523         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14524         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14525         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14526         error.
14527         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14528         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14529         error.
14530         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14531         (do_test): Call delayed_exit.
14532         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14533         (do_test): Call delayed_exit.
14534         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14535         (do_test): Call delayed_exit instead of alarm.  Use
14536         xpthread_mutex_lock.
14537         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14538         (do_test): Call delayed_exit instead of alarm.  Use
14539         xpthread_mutex_lock.
14540         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14541         (do_test): Call delayed_exit instead of alarm.
14542         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14543         (do_test): Call delayed_exit instead of alarm.  Use
14544         xpthread_spin_lock.
14545         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14546         (do_test): Call delayed_exit instead of alarm.  Use
14547         xpthread_join.
14549 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14551         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14552         adjust CFA when allocating register save area on re-aligned
14553         stack.
14555 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14557         * string/tst-cmp.c: New test.
14558         * string/Makefile (tests): Add it.
14560 2016-08-25  Mark Wielaard  <mark@klomp.org>
14562         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14563         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14564         (check_tree_recurse): Use newly defined accessors.
14565         (check_tree): Likewise.
14566         (maybe_split_for_insert): Likewise.
14567         (__tfind): Likewise.
14568         (__tdelete): Likewise.
14569         (trecurse): Likewise.
14570         (tdestroy_recurse): Likewise.
14571         (__tsearch): Likewise. And add asserts for malloc alignment.
14572         (__twalk): Cast root to node in case CHECK_TREE is defined.
14574 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14576         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14578 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14580         * math/Makefile (libm-gen-calls): Add
14581         catan, catanh, ctan, ctanh.
14582         (libm-calls): Remove the above.
14584         * math/s_catan_template.c: Update using type-generic macros.
14585         * math/s_catanh_template.c: Likewise.
14586         * math/s_ctan_template.c: Likewise.
14587         * math/s_ctanh_template.c: Likewise.
14589         * math/s_catanf.c: Removed.
14590         * math/s_catan.c: Removed.
14591         * math/s_catanl.c: Removed.
14592         * math/s_catanhf.c: Removed.
14593         * math/s_catanh.c: Removed.
14594         * math/s_catanhl.c: Removed.
14595         * math/s_ctanf.c: Removed.
14596         * math/s_ctan.c: Removed.
14597         * math/s_ctanl.c: Removed.
14598         * math/s_ctanhf.c: Removed.
14599         * math/s_ctanh.c: Removed.
14600         * math/s_ctanhl.c: Removed.
14602         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14603         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14604         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14605         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14606         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14607         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14609         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14610         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14611         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14612         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14614 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14616         * s_catan_template.c: Copy of s_catan.c.
14617         * s_catanh_template.c: Copy of s_catanh.c.
14618         * s_ctan_template.c: Copy of s_ctan.c.
14619         * s_ctanh_template.c: Copy of s_ctanh.c.
14621 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14623         * math/Makefile (gen-libm-calls): Move
14624         casin, casinh, csin, csinh here.
14625         (libm-calls): Remove the above.
14627         * math/s_casin_template.c: Update using type-generic macros.
14628         * math/s_casinh_template.c: Likewise.
14629         * math/s_csin_template.c: Likewise.
14630         * math/s_csinh_template.c: Likewise.
14631         * math/k_casinh_template.c: Likewise.
14633         * math/s_casinf.c: Removed.
14634         * math/s_casin.c: Removed.
14635         * math/s_casinl.c: Removed.
14636         * math/s_casinh.c: Removed.
14637         * math/s_casinhf.c: Removed.
14638         * math/s_casinhl.c: Removed.
14639         * math/s_csin.c: Removed.
14640         * math/s_csinf.c: Removed.
14641         * math/s_csinl.c: Removed.
14642         * math/s_csinh.c: Removed.
14643         * math/s_csinhf.c: Removed.
14644         * math/s_csinhl.c: Removed.
14645         * math/k_casinh.c: Removed.
14646         * math/k_casinhf.c: Removed.
14647         * math/k_casinhl.c: Removed.
14649         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14650         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14651         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14652         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14654         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14655         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14656         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14657         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14658         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14659         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14660         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14661         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14663         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14664         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14665         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14666         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14668         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14669         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14670         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14671         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14673 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14675         * s_casin_template.c: Copy of s_casin.c.
14676         * s_casinh_template.c: Copy of s_casinh.c.
14677         * s_csin_template.c: Copy of s_csin.c.
14678         * s_csinh_template.c: Copy of s_csinh.c.
14679         * k_casinh_template.c: Copy of k_casinh.c.
14681 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14683         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
14685 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14687         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
14688         (mul_split) Remove, rename as mul_splitl, remove
14689         redundant float.h include, and include via mul_splitl.h
14691         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14692         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14693         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14694         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14695         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14697         * math/mul_splitl.h: New file.
14699         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
14700         Move into mul_split.h, and remove redundant float.h include.
14702         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14703         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
14704         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14705         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
14707         * math/mul_split.h: New file.
14709 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14711         * math/Makefile (libm-gen-calls): Move
14712         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
14713         (libm-calls): Remove above.
14715         * math/s_cacos_template.c: Update using type-generic macros.
14716         * math/s_cacosh_template.c: Likewise.
14717         * math/s_ccos_template.c: Likewise.
14718         * math/s_ccosh_template.c: Likewise.
14720         * math/s_cacosf.c: Removed.
14721         * math/s_cacos.c: Removed.
14722         * math/s_cacosl.c: Removed.
14723         * math/s_cacoshf.c: Removed.
14724         * math/s_cacosh.c: Removed.
14725         * math/s_cacoshl.c: Removed.
14726         * math/s_ccosf.c: Removed.
14727         * math/s_ccos.c: Removed.
14728         * math/s_ccosl.c: Removed.
14729         * math/s_ccoshf.c: Removed.
14730         * math/s_ccosh.c: Removed.
14731         * math/s_ccoshl.c: Removed.
14733         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
14734         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
14735         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
14736         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
14737         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
14738         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
14740         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
14741         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
14742         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
14743         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
14745         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
14746         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
14747         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
14748         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
14750 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14752         * s_cacos_template.c: Copy of s_cacos.c.
14753         * s_cacosh_template.c: Copy of s_cacosh.c.
14754         * s_ccos_template.c: Copy of s_ccos.c.
14755         * s_ccosh_template.c: Copy of s_ccosh.c.
14757 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14759         * stdlib/tst-strtod-round-skeleton.c:
14760         Refactored from tst-strtod-round.c.
14762         (L_): New macro to apply literal modifier.
14763         (FNPFX): New macro to select str or wcs prefix.
14764         (CHAR): New macro to choose wchar_t or char.
14765         (STRM): New macro to choose printf for tested character type.
14767         (STRTO): New macro to choose appropriate string -> real function.
14768         (FNPFXS): Stringitized version of FNPFX.
14769         (STR): Support for above macro.
14770         (STRX): Likewise.
14772         (TEST): Update with above macros.
14773         (test): Likewise.
14774         (GEN_ONE_TEST): Likewise.
14775         (test_in_one_mode): Likewise.
14777         * stdlib/tst-strtod-round.c: New file.
14778         * wcsmbs/tst-wcstod-round.c: New file.
14780         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
14781         (tst-wcstod-round): Add libm depencency for fesetround.
14783 2016-08-19  Zack Weinberg  <zackw@panix.com>
14785         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
14787 2016-08-18  Torvald Riegel  <triegel@redhat.com>
14789         [BZ #20477]
14790         * resolv/res_hconf.c (do_init): Use atomic access.
14791         * resolv/res_hconf.h: Add comments.
14792         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
14793         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
14794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14796 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14798         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14799         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
14800         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14801         Likewise.
14803 2016-08-18  Florian Weimer  <fweimer@redhat.com>
14805         [BZ #16907]
14806         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
14807         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
14808         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
14809         (__attribute__): Remove definition.
14811 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14813         * sysdeps/ieee754/ldbl-128/e_asinl.c:
14814         Remove unused sqrtl declaration.
14816 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14818         * math/Makefile: (gen-libm-templates.stmp): New rule.
14819         (libm-calls): Move carg conj cimag and cabs into ...
14820         (gen-libm-calls): New variable.
14821         (generated): Inform Make objects from gen-libm-calls
14822         may be generated.
14824         * sysdeps/generic/math-type-macros.h: New file.
14825         * sysdeps/generic/math-type-macros-float.h: Likewise.
14826         * sysdeps/generic/math-type-macros-double.h: Likewise.
14827         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14828         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
14829         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
14831         * math/cabs.c: Refactor into
14832         * math/cabs_template.c: new file.
14833         * math/cabsf.c: Removed.
14834         * math/cabsl.c: Removed.
14835         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
14836         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
14838         * math/carg.c: Refactor into
14839         * math/carg_template.c: new file.
14840         * math/cargf.c: Removed.
14841         * math/cargl.c: Removed.
14842         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
14843         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
14845         * math/conj.c: Refactor into
14846         * math/conj_template.c: new file.
14847         * math/conjf.c: Removed.
14848         * math/conjl.c: Removed.
14849         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
14850         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
14852         * math/cimag.c: Refactor into
14853         * math/cimag_template.c: new file.
14854         * math/cimagf.c: Removed.
14855         * math/cimagl.c: Removed.
14856         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14857         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14859         * math/cimag.c: Refactor into
14860         * math/cimag_template.c: new file.
14861         * math/cimagf.c: Removed.
14862         * math/cimagl.c: Removed.
14863         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14864         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14866 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14868         Reduce time to expected nptl/tst-once5 failure.
14869         * nptl/tst-once5.cc (TIMEOUT): Define.
14871 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14873         [BZ #20452]
14874         Avoid additional copies of objects in libc.a in static libraries.
14875         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
14876         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
14877         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
14878         rt-sysdep.
14879         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
14880         Add nptl-sysdep.
14881         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
14882         Add ptw-sysdep.
14883         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
14884         rt-sysdep.
14885         * sysdeps/unix/sysv/linux/alpha/Makefile
14886         (libpthread-shared-only-routines): Add ptw-sysdep,
14887         ptw-sigprocmask, ptw-rt_sigaction.
14888         * sysdeps/unix/sysv/linux/ia64/Makefile
14889         (librt-shared-only-routines): Add rt-sysdep.
14890         * sysdeps/unix/sysv/linux/i386/Makefile
14891         (libpthread-shared-only-routines): Add libc-do-syscall.
14892         * sysdeps/unix/sysv/linux/microblaze/Makefile
14893         (libpthread-shared-only-routines): Add sysdep.
14894         * sysdeps/unix/sysv/linux/powerpc/Makefile
14895         (librt-shared-only-routines): Add rt-sysdep.
14896         (libpthread-shared-only-routines): Add sysdep.
14897         * sysdeps/unix/sysv/linux/s390/Makefile
14898         (librt-shared-only-routines): Add rt-sysdep.
14899         * sysdeps/unix/sysv/linux/sparc/Makefile
14900         (librt-shared-only-routines): Add rt-sysdep.
14901         (libpthread-shared-only-routines): Add sysdep.
14902         * sysdeps/unix/sysv/linux/tile/Makefile
14903         (libpthread-shared-only-routines): Likewise.
14905 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
14907         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
14908         Mask implicit bit out of unpacked value.
14909         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
14910         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
14911         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
14913         * sysdeps/sparc/fpu/fesetexcept.c: New file.
14915         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
14917         * sysdeps/s390/fpu/fesetexcept.c: New file.
14919         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14920         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14921         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14923         * sysdeps/mips/fpu/fesetexcept.c: New file.
14925         * sysdeps/m68k/fpu/fesetexcept.c: New file.
14927         * sysdeps/ia64/fpu/fesetexcept.c: New file.
14929         * sysdeps/hppa/fpu/fesetexcept.c: New file.
14931         * sysdeps/arm/fesetexcept.c: New file.
14933         * sysdeps/alpha/fpu/fesetexcept.c: New file.
14935         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14937         * math/fesetexcept.c: New file.
14938         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14939         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14940         * math/fenv.h: Define
14941         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14942         <bits/libc-header-start.h> instead of including <features.h>.
14943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14944         declaration.
14945         * manual/arith.texi (fesetexcept): Document function.
14946         * math/Versions (fesetexcept): New libm symbol at version
14947         GLIBC_2.25.
14948         * math/Makefile (libm-support): Add fesetexcept.
14949         (tests): Add test-fesetexcept and test-fesetexcept-traps.
14950         * math/test-fesetexcept.c: New file.
14951         * math/test-fesetexcept-traps.c: Likewise.
14952         * sysdeps/nacl/libm.abilist: Update.
14953         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14954         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14955         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14956         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14957         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14958         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14959         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14960         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14961         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14962         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14963         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14964         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14966         Likewise.
14967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14968         Likewise.
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14970         Likewise.
14971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14972         Likewise.
14973         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14974         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14975         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14976         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14977         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14979         Likewise.
14980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14981         Likewise.
14982         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14983         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14984         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14986 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14988         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14989         New.
14990         (do_test): Apply default_stack_size_in_mb if not set.
14991         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14993 2016-08-15  Andreas Schwab  <schwab@suse.de>
14995         [BZ #20435]
14996         CVE-2016-6323
14997         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14998         as .cantunwind.
15000 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
15002         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
15003         comment from fraiseexcpt.c.
15005         * math/test-fexcept.c (feraiseexcept_exact): New function.
15006         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
15007         (test_except): Likewise.
15009 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
15011         [BZ #20455]
15012         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
15013         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
15014         to be restored.
15016         * math/test-fexcept-traps.c: New file.
15017         * math/test-fexcept.c: Likewise.
15018         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
15019         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
15020         macro.
15021         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
15022         (EXCEPTION_SET_FORCES_TRAP): Likewise.
15024 2016-08-09  Torvald Riegel  <triegel@redhat.com>
15026         * include/atomic.h (atomic_fetch_and_relaxed,
15027         atomic_fetch_and_release, atomic_fetch_or_release,
15028         atomic_fetch_xor_release): New.
15030 2016-08-06  Christian Seiler  <christian@iwakd.de>
15032         [BZ #20444]
15033         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
15034         MACH_PORT_NULL.
15036 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15038         * math/s_fdim.c: Avoid alias renamed.
15039         * math/s_fdimf.c: Likewise.
15040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15041         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15042         Add s_fdimf-vis3, s_fdim-vis3.
15043         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15044         (CFLAGS-s_fdim-vis3.c): Likewise.
15045         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
15046         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
15048 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15051         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15052         Remove s_fdimf-vis3, s_fdim-vis3.
15053         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
15054         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
15055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
15056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
15057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
15058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
15059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
15060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
15061         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
15062         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
15064 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15066         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
15067         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
15068         -Wa,-Av9a -mvis.
15070 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15072         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
15073         LIT() to individual constants in simple expressions
15074         after splitting on spaces.
15075         (_apply_lit): Rename replaced version, and use it to
15076         apply to what appears to be a token.
15078         * math/libm-test.inc: Fix many, many issues with
15079         spacing.
15081 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
15083         * math/math.h: Move comment about <bits/mathdef.h> definitions
15084         above inclusion of <bits/mathdef.h>.  Do not mention
15085         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
15087 2016-08-05  Torvald Riegel  <triegel@redhat.com>
15089         * include/atomic.h (atomic_exchange_relaxed): New.
15091 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
15093         * math/e_scalb.c: Do not include <fenv.h>.
15094         (invalid_fn): Do calculation resulting in NaN instead of raising
15095         FE_INVALID and returning a NaN explicitly.
15096         * math/e_scalbf.c: Do not include <fenv.h>.
15097         (invalid_fn): Do calculation resulting in NaN instead of raising
15098         FE_INVALID and returning a NaN explicitly.
15099         * math/e_scalbl.c: Do not include <fenv.h>.
15100         (invalid_fn): Do calculation resulting in NaN instead of raising
15101         FE_INVALID and returning a NaN explicitly.
15103 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
15105         * po/de.po: Updated from Translation Project.
15106         * po/fi.po: Likewise.
15107         * po/sv.po: Likewise.
15109 2016-08-04  Florian Weimer  <fweimer@redhat.com>
15111         [BZ #20452]
15112         Use sysdep.o from libc.a in static libraries.
15113         * sysdeps/unix/sysv/linux/i386/Makefile
15114         (libpthread-shared-only-routines): Add sysdep.
15115         (librt-shared-only-routines): Likewise.
15117 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15119         * math/tgmath.h (nextdown): Define if
15120         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
15121         (nextup): Likewise.
15123         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
15124         macro.
15125         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15126         Document.
15127         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15128         Document macro.
15129         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
15130         (exp10f): Likewise.
15131         (exp10l): Likewise.
15132         * math/bits/mathcalls.h (exp10): Declare if
15133         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15135         * manual/arith.texi (nextup): Fix typo in last change.
15137 2016-08-03  Zack Weinberg  <zackw@panix.com>
15139         [BZ #19239]
15140         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
15141         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
15142         define major, minor, and makedev to issue deprecation warnings on use.
15143         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
15144         previously-activated deprecation warnings for these macros and prevent
15145         subsequent inclusions of this header from having any effect.
15146         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15147         including <sys/sysmacros.h>, and undefine it again afterward.
15149 2016-08-03  Zack Weinberg  <zackw@panix.com>
15151         * sysdeps/generic/sys/sysmacros.h: Delete file.
15152         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
15153         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
15154         * bits/sysmacros.h: ... here; this encoding is now the generic
15155         encoding.  Now defines only the following macros:
15156         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
15157         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
15158         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
15160         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
15161         bits/sysmacros.h and the above new macros to generate the
15162         public implementations of major, minor, and makedev.
15163         * misc/tst-makedev.c: New test.
15164         * include/sys/sysmacros.h: New wrapper.
15166         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
15167         (routines): Add makedev.
15168         (tests): Add tst-makedev.
15169         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
15170         gnu_dev_makedev.
15171         * posix/Makefile (headers): Remove sys/sysmacros.h.
15172         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
15174         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
15175         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15176         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15177         * sysdeps/unix/sysv/linux/alpha/libc.abilist
15178         * sysdeps/unix/sysv/linux/arm/libc.abilist
15179         * sysdeps/unix/sysv/linux/hppa/libc.abilist
15180         * sysdeps/unix/sysv/linux/i386/libc.abilist
15181         * sysdeps/unix/sysv/linux/ia64/libc.abilist
15182         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15183         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15184         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15185         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15186         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15187         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15188         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15189         * sysdeps/unix/sysv/linux/nios2/libc.abilist
15190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15194         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15195         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15196         * sysdeps/unix/sysv/linux/sh/libc.abilist
15197         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15198         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15201         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
15202         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
15203         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
15204         Add GLIBC_2.25.
15206         * include/features.h (__glibc_clang_prereq): New macro.
15207         * misc/sys/cdefs.h (__glibc_clang_has_extension)
15208         (__attribute_deprecated_msg__): New macros.
15210 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15212         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
15213         macro.
15214         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
15215         * manual/arith.texi (issignaling): Document as ISO from TS
15216         18661-1:2014.
15217         (nextup): Likewise.
15218         (nextupf): Likewise.
15219         (nextupl): Likewise.
15220         (nextdown): Likewise.
15221         (nextdownf): Likewise.
15222         (nextdownl): Likewise.
15223         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15224         macro.
15225         * math/math.h: Define
15226         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15227         <bits/libc-header-start.h> instead of including <features.h>.
15228         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
15229         [__USE_GNU].
15230         * math/bits/mathcalls.h (nextdown): Declare if
15231         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
15232         (nextup): Likewise.
15233         (__issignaling): Likewise.
15235 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15237         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
15238         check, and remove __glibc_likely hint
15239         from FP_INFINITE check.
15240         * s_csinhf.c (__csinhf): Likewise.
15242         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
15243         hint from FP_INFINITE check.
15244         * s_csinhl.c (__csinhl): Likewise.
15246 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15248         * math/Makefile (libm-calls): Insert F placeholder into
15249         object names.  Move w_lgamma_compat* routines into
15250         (libm-compat-calls): New variable.
15251         (libm-compat-calls-ldouble-yes): New variable.
15252         (calls): Insert F placeholder.
15253         (generated): Redefine using new type-foreach macro call.
15254         (routines): Likewise.
15256         (types): New variable to hold a list of symbolic names
15257         for each type supported by the target machine.
15258         (libm-routines): Redefine using new types variable.
15259         (type-foreach): macro to replace fooF with the
15260         appropriately suffixed foo for each types.
15262         (type-ldouble-suffix): New variable.
15263         (type-ldouble-routines): Likewise.
15264         (type-ldouble-yes): Likewise.
15265         (type-double-suffix): Likewise.
15266         (type-double-routines): Likewise.
15267         (type-float-suffix): Likewise.
15268         (type-float-routines): Likewise.
15270         (dbl-only-routines): Remove.
15271         (long-c-yes): Likewise.
15272         (long-m-routines): Likewise.
15273         (long-m-support): Likewise.
15274         (long-m-yes): Likewise.
15275         (test-longdouble-yes): Likewise.
15277         (test-float.o): Simplify by increasing the scope of the
15278         recipe which adds libm-test.stmp to the vector types.
15279         (test-ifloat.o): Likewise.
15280         (test-float-finite.o): Likewise.
15281         (test-double.o): Likewise
15282         (test-idouble.o): Likewise.
15283         (test-double-finite.o): Likewise.
15284         (test-ldouble.o): Likewise
15285         (test-ildoubl.o): Likewise.
15286         (test-ldouble-finite.o): Likewise.
15288         (libm-tests): Redefine type tests using foreach and the
15289         list of types in types.
15291         (CPPFLAGS-test-ildoubl.c): Rename to
15292         (CPPFLAGS-test-ildouble.c): New variable
15294         * math/test-ildoubl.c: Rename to
15295         * math/test-ildouble.c: New file.
15297 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15299         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15300         Use fabsl instead of fabs.
15301         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15302         Likewise.
15303         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15304         Add long double suffix to constant to ensure proper
15305         promotion to long double.
15307 2016-08-03  Tom Tromey  <tom@tromey.com>
15309         [BZ #20311]
15310         * nptl_db/Makefile (headers): Add proc_service.h.
15311         * nptl_db/proc_service.h: Add include guard.  Use
15312         __BEGIN/__END_DECLS.
15313         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15314         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15315         arguments.
15318 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15320         [BZ #17730]
15321         Avoid using memalign for TCB allocations.
15322         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15323         (_dl_allocate_tls_storage): Use malloc and manual alignment.
15324         Avoid alignment gap in the TLS_DTV_AT_TP case.
15325         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15326         determine the pointer to free.
15327         * nptl/tst-tls3-malloc.c: New test.
15328         * nptl/Makefile (tests): Add it.
15329         (tst-tls3-malloc): Link with libdl, libpthread.
15330         (LDFLAGS-tst-tls3-malloc): Set.
15331         (tst-tls3-malloc.out): Depend on DSO used in test.
15333 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15335         [BZ #17730]
15336         Avoid using memalign for TLS allocations.
15337         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15338         is_static member with to_free member.
15339         (union dtv): Use struct dtv_pointer.
15340         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15341         dtv_pointer instead of is_static.
15342         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15343         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15344         instead of val.
15345         (allocate_dtv_entry): New function.
15346         (allocate_and_init): Return struct dtv_pointer.  Call
15347         allocate_dtv_entry instead of __libc_memalign.
15348         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15349         instead of val.
15350         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15351         instead of is_static.  Adjust call to allocate_and_init.
15352         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15353         struct dtv_pointer instead of val.
15355 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15357         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15358         (MALLOC_ALIGN_MASK): Move ...
15359         * malloc/malloc-internal.h: ... to here.
15360         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15362 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15364         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15365         (UDP_ENCAP_GTP1U): Likewise.
15367         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15368         (PF_MAX): Update value.
15369         (AF_QIPCRTR): New macro.
15371 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15373         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15374         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15375         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15376         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15377         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15378         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15379         s_truncf-vis3, s_trunc-vis3.
15380         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15381         (CFLAGS-s_ceil-vis3.c): Likewise.
15382         (CFLAGS-s_floorf-vis3.c): Likewise.
15383         (CFLAGS-s_floor-vis3.c): Likewise.
15384         (CFLAGS-s_truncf-vis3.c): Likewise.
15385         (CFLAGS-s_trunc-vis3.c): Likewise.
15386         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15387         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15388         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15389         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15390         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15391         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15394         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15395         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15396         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15397         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15399 2016-08-02  David S. Miller  <davem@davemloft.net>
15401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15402         (__nearbyint_vis3): Don't check for sNaN before float register is
15403         loaded with the incoming argument.
15404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15405         (__nearbyintf_vis3): Likewise.
15406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15407         Likewise.
15408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15409         Likewise.
15411         * string/test-strncmp.c (do_test_limit): Make sure the test data
15412         stream is aligned as required for the type "CHAR".
15413         (do_test): Likewise.
15415 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15417         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15418         by beq instructions jumping to the end of the function.
15419         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15420         clobber list. Use "i" constraint instead of "X".
15421         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15422         of "X".
15424 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15426         * bits/libc-header-start.h: New file.
15427         * Makefile (headers): Add bits/libc-header-start.h.
15428         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15429         (__GLIBC_USE): New macro.
15430         * libio/stdio.h: Define
15431         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15432         <bits/libc-header-start.h> instead of including <features.h>.
15433         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15434         (open_memstream): Likewise.
15435         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15436         (__asprintf): Likewise.
15437         (asprintf): Likewise.
15438         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15439         (getdelim): Likewise.
15440         (getline): Likewise.
15441         * string/string.h: Define
15442         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15443         <bits/libc-header-start.h> instead of including <features.h>.
15444         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15445         (strndup): Likewise.
15446         * wcsmbs/wchar.h: Define
15447         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15448         <bits/libc-header-start.h> instead of including <features.h>.
15449         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15450         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15452 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15454         Support linking against compatibility symbols, for use in tests.
15455         * include/libc-symbols.h (symbol_version_reference): New macro.
15456         (symbol_version): Use it.
15457         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15458         (compat_symbol): Use compat_symbol_reference.
15459         (compat_symbol_1, compat_symbol_2): Remove.
15460         (compat_symbol_reference, compat_symbol_reference_1)
15461         (compat_symbol_reference_2): New macro.  Use
15462         symbol_version_reference.
15464 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15466         [BZ #19469]
15467         * malloc/Makefile (CPPFLAGS): Compile tests with
15468         -DTEST_NO_MALLOPT.
15469         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15471 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15473         [BZ #20033]
15474         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15475         finite version.
15476         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15477         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15478         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15479         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15480         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15481         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15482         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15483         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15484         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15485         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15486         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15487         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15488         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15489         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15490         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15491         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15492         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15493         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15494         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15495         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15496         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15497         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15498         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15499         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15500         in zero power.
15502 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15504         [BZ #20370]
15505         * malloc/arena.c (get_free_list): Update comment.  Assert that
15506         arenas on the free list have no attached threads.
15507         (remove_from_free_list): New function.
15508         (reused_arena): Call it.
15510 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15512         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15513         when it is a NaN.
15514         [_IEEE_FP_INEXACT] Remove.
15515         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15516         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15517         when it is a NaN.
15518         [_IEEE_FP_INEXACT] Remove.
15519         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15520         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15521         when it is a NaN.
15522         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15523         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15524         when its absolute value is greater than 0x1.0p52.
15525         [_IEEE_FP_INEXACT] Remove.
15526         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15527         when its absolute value is greater than 0x1.0p23.
15528         [_IEEE_FP_INEXACT] Remove.
15530 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15532         * version.h (RELEASE): Set to "development"
15533         (VERSION): Set to 2.24.90.
15534         * NEWS: Add 2.25 section.
15536         * version.h (RELEASE): Set to "stable"
15537         (VERSION): Set to 2.24.
15538         * include/features.h (__GLIBC_MINOR__): Set to 24.
15540         * NEWS: Add 2.24 fixed bugs.
15541         * po/libc.pot: Regenerate.
15543 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15546         [$(subdir) = math] (libm-sysdep_routines): Remove.
15547         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15548         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15549         s_truncf-vis3, s_trunc-vis3.
15550         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15552         file.
15553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15574         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15576         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15577         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15578         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15580         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15584         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15585         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15586         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15587         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15588         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15589         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15590         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15591         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15592         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15593         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15594         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15595         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15597 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15599         [BZ #20384]
15600         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15601         test-double-libmvec-sincos-avx-main.o,
15602         test-double-libmvec-sincos-avx2-main.o,
15603         test-double-libmvec-sincos-main.o,
15604         test-float-libmvec-sincosf-avx-main.o,
15605         test-float-libmvec-sincosf-avx2-main.o and
15606         test-float-libmvec-sincosf-main.o.
15607         test-float-libmvec-sincosf-avx512-main.o.
15608         ($(objpfx)test-double-libmvec-sincos): Also link with
15609         $(objpfx)test-double-libmvec-sincos-main.o.
15610         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15611         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15612         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15613         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15614         ($(objpfx)test-float-libmvec-sincosf): Also link with
15615         $(objpfx)test-float-libmvec-sincosf-main.o.
15616         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15617         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15618         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15619         test-double-libmvec-sincos-avx512-main.o and
15620         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15621         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15622         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15623         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15624         (CFLAGS-test-double-libmvec-sincos.c): Removed.
15625         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15626         (CFLAGS-test-double-libmvec-sincos-main.c): New.
15627         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15628         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15629         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15630         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15631         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15632         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15633         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15634         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15635         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15636         -DREQUIRE_AVX2.
15637         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15638         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15639         -DREQUIRE_AVX512F.
15640         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15641         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15642         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15643         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15644         file.
15645         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15646         Likewise.
15647         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15648         Likewise.
15649         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15650         Likewise.
15651         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15652         Likewise.
15653         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15654         Likewise.
15655         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15656         Likewise.
15657         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15658         Likewise.
15660 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
15662         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15664 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
15666         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15667         and typo in a comment about AT_HWCAP entry.
15669 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15671         * sysdeps/aarch64/libm-test-ulps: Updated.
15673 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15675         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15676         of r13 as it is not restored in mvcle case.
15678 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
15680         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15681         Rename "ret" to "__ret".
15682         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
15683         inline_syscall5, inline_syscall6): Likewise.
15685 2016-07-19   Will Newton  <will.newton@gmail.com>
15687         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
15688         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
15689         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
15690         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
15691         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
15693 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
15695         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
15696         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
15697         -mfpmath=387 with $(rtld-CFLAGS).
15698         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
15699         $(rtld-CFLAGS).
15701 2016-07-18   Ross Burton  <ross.burton@intel.com>
15702              Khem Raj  <raj.khem@gmail.com>
15704         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
15705         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
15706         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
15707         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
15708         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
15709         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
15710         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
15711         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
15712         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
15713         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
15714         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
15715         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
15716         R_METAG_TLS_DTPOFF): New.
15718 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15719             Matt Clay  <mclay@lycos.com>
15721         [BZ #20357]
15722         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
15723         to call __mpsin/__mpcos and to negate values.
15724         * math/auto-libm-test-in: Add test.
15725         * math/auto-libm-test-out: Regenerate.
15727 2016-07-18  Zack Weinberg  <zackw@panix.com>
15729         * grp/Makefile: Don't install the internal header grp-merge.h.
15731 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15733         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15735 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15737         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
15739 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15741         [BZ #15368]
15742         * sysdeps/unix/sysv/linux/nptl-signals.h
15743         (__nptl_clear_internal_signals): New function.
15744         (__libc_signal_block_all): Likewise.
15745         (__libc_signal_block_app): Likewise.
15746         (__libc_signal_restore_set): Likewise.
15747         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
15748         implementation.
15749         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
15750         the cached pid/tid value in pthread structure.
15752 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
15754         [BZ #20347]
15755         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15757 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15759         [BZ #20348]
15760         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
15761         preadv64, pwrite64 and pwritev64.
15763 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15765         [BZ #20350]
15766         * posix/tst-preadwrite.c: Renamed to ...
15767         * posix/tst-preadwrite-common.c: This.
15768         (PREAD): Removed.
15769         (PWRITE): Likewise.
15770         (STRINGIFY): Likewise.
15771         (STRINGIFY2): Likewise.
15772         (do_prepare): Make it static and remove function arguments.
15773         (do_test): Likewise.
15774         (PREPARE): Updated.
15775         (TEST_FUNCTION): New.
15776         (name): Make it static.
15777         (fd): Likewise.
15778         (do_prepare): Use create_temp_file.
15779         (do_test): Renamed to ...
15780         (do_test_with_offset): This.  Make it static and accept offset.
15781         Properly check return value of PWRITE and PREAD.  Return bytes
15782         read.  Don't close fd nor unlink name.
15783         * posix/tst-preadwrite.c: Rewrite.
15784         * posix/tst-preadwrite64.c: Likewise.
15786 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15788         [BZ #20309]
15789         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
15790         -mtls-dialect=gnu2 works.
15791         * configure: Regenerated.
15792         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
15793         (tests): Add tst-gnu2-tls1.
15794         (modules-names): Add tst-gnu2-tls1mod.
15795         ($(objpfx)tst-gnu2-tls1): New.
15796         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
15797         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
15798         * elf/tst-gnu2-tls1.c: New file.
15799         * elf/tst-gnu2-tls1mod.c: Likewise.
15800         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
15801         bytes for push in the PLT entry to align the stack.
15803 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15805         [BZ #20349]
15806         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
15808 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15810         [BZ #18707]
15811         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
15812         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
15814 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15816         * sysdeps/unix/sysv/linux/sysdep.h
15817         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
15818         guards.
15819         * misc/tst-preadvwritev-common.c: New file.
15820         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
15821         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15822         a check for files larger than 2GB.
15824         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15825         (__ASSUME_OFF_DIFF_OFF64): Remove define.
15826         * sysdeps/unix/sysv/linux/pread.c
15827         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15828         __OFF_T_MATCHES_OFF64_T.
15829         * sysdeps/unix/sysv/linux/pread64.c
15830         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
15831         * sysdeps/unix/sysv/linux/preadv.c
15832         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
15833         * sysdeps/unix/sysv/linux/preadv64.c
15834         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
15835         * sysdeps/unix/sysv/linux/pwrite.c
15836         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
15837         * sysdeps/unix/sysv/linux/pwrite64.c
15838         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
15839         * sysdeps/unix/sysv/linux/pwritev.c
15840         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
15841         * sysdeps/unix/sysv/linux/pwritev64.c
15842         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
15844 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
15846         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15847         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
15849 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15851         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
15853 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15855         [BZ #20240]
15856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15857         (CFLAGS-s_modf-ppc32.c): New variable.
15858         (CFLAGS-s_modff-ppc32.c): Likewise.
15859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15860         (CFLAGS-s_modf-ppc64.c): Likewise.
15861         (CFLAGS-s_modff-ppc64.c): Likewise.
15863 2016-07-07  Andreas Schwab  <schwab@suse.de>
15865         [BZ #20263]
15866         * nptl/tst-robust10.c: New test.
15867         * nptl/Makefile (tests): Add tst-robust10.
15869 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
15871         [BZ #20263]
15872         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
15874 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15876         * sysdeps/s390/linkmap.h (struct link_map_machine):
15877         Remove member gotplt and add member jmprel.
15878         * sysdeps/s390/s390-32/dl-machine.h
15879         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
15880         instead of gotplt with &got[3].
15881         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
15882         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15884 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
15886         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
15888 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15890         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
15891         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
15892         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15893         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
15894         * libio/vtables.c (_IO_vtable_check)
15895         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15896         * libio/libioP.h (IO_set_accept_foreign_vtables)
15897         [!PTR_MANGLE]: Do not call PTR_MANGLE.
15899 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
15901         [BZ #20314]
15902         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
15903         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
15904         $(common-objpfx)cmath.
15905         ($(common-objpfx)cstdlib): New target.
15906         ($(common-objpfx)cmath): Likewise.
15908 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
15910         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
15912 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15914         [BZ #20327]
15915         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
15916         are not part of the string.
15918 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15920         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15921         * nptl/tst-cancel4-common.h (fifoname): New variable.
15922         (fifofd): Likewise.
15923         (cl_fifo): New function.
15924         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15925         SIGINT.
15926         (tf_open): Add early cancel test.
15928 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15930         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15932 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
15934         * sysdeps/generic/ldsodefs.h
15935         (dl_symbol_visibility_binds_local_p): New inline function.
15936         * elf/dl-addr.c (determine_info): Treat hidden and internal
15937         symbols as local.
15938         * elf/dl-lookup.c (do_lookup_x): Likewise.
15939         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15941 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
15943         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15944         invalid exception for a sNaN input.
15945         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15946         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15947         (__nearbyint_vis3): Likewise
15948         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15949         (__nearbyintf_vis3): Likewise
15950         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15951         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15952         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15953         Likewise.
15954         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15955         Likewise.
15957 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15959         [BZ #20139]
15960         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15961         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15962         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15963         2.24 or above.
15964         (HAVE_AVX512_ASM_SUPPORT): Removed.
15965         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15966         * sysdeps/x86_64/configure: Regenerated.
15967         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15968         check unconditional.
15969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15970         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15971         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15972         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15973         Likewise.
15974         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15975         Likewise.
15976         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15977         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15978         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15979         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15980         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15981         Likewise.
15982         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15983         Likewise.
15984         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15985         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15986         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15987         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15988         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15989         Likewise.
15990         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15991         Likewise.
15992         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15993         Likewise.
15994         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15995         Likewise.
15996         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15997         Likewise.
15998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15999         Likewise.
16000         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
16001         Likewise.
16002         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
16003         Likewise.
16004         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
16005         Likewise.
16006         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
16007         Likewise.
16008         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
16009         Likewise.
16011 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
16013         [BZ #20024]
16014         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
16015         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
16016         of this implementation of vector function.
16017         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16018         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16019         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16020         Likewise.
16021         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16022         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16023         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
16024         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
16025         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
16026         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
16027         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16028         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
16029         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
16030         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
16031         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
16032         for testing vector sincos with fixed ABI.
16033         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16034         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16035         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16036         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16037         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16038         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16039         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16040         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
16041         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
16042         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
16043         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
16044         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
16045         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
16046         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
16047         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16048         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16050 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16052         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
16054 2016-06-30  Anton Blanchard  <anton@samba.org>
16056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16057         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
16058         s_sinf-ppc64.
16059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
16060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
16062         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
16064 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16067         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16068         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
16069         e_expf-ppc64.
16070         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
16071         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
16072         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
16073         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
16075 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
16077         [BZ #20277]
16078         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
16079         when SHARED is defined.
16081 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
16083         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
16084         (index_arch_Prefer_ERMS): Likewise.
16085         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
16086         __memcpy_erms for Prefer_ERMS.
16087         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16088         (__memmove_erms): Enabled for libc.a.
16089         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
16090         __memmove_erms or Prefer_ERMS.
16091         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
16092         __mempcpy_erms for Prefer_ERMS.
16093         * sysdeps/x86_64/multiarch/memset.S (memset): Return
16094         __memset_erms for Prefer_ERMS.
16096 2016-06-30  Andreas Schwab  <schwab@suse.de>
16098         [BZ #20262]
16099         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
16100         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
16101         of memory.
16103 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
16105         [BZ #18645]
16106         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
16107         (test-extras): Add tst-cleanupx4aux.
16108         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
16109         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
16110         tst-cleanupx4aux.o.
16111         * nptl/tst-cleanupx4aux.c: New file.
16113 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16115         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16117 2016-06-29  Andreas Schwab  <schwab@suse.de>
16119         [BZ #20260]
16120         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
16121         address before the beginning of the string as an integer to avoid
16122         array-bounds warning.
16124 2016-06-28  Richard Henderson  <rth@redhat.com>
16126         * elf/elf.h (EM_BPF): New.
16127         (EM_NUM): Update.
16128         (R_BPF_NONE, R_BPF_MAP_FD): New.
16130         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
16131         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
16132         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
16133         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
16134         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
16135         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
16136         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
16137         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
16138         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
16139         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
16140         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
16141         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
16142         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
16143         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
16144         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
16145         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
16146         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
16147         (EM_NUM): Update.
16149 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
16151         [BZ #18960]
16152         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
16153         Set _nl_current_LC_CATEGORY_used to two instead of one.
16155 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
16157         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
16158         (do_test): ... this.
16159         (TEST_FUNCTION): New macro.
16160          Include test-skeleton.c.
16161         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
16162         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
16164 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
16166         [BZ #15479]
16167         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
16168         floating-point environment rather than just control word.
16169         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16170         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
16171         floating-point environment, with "invalid" exceptions merged in,
16172         rather than just control word.
16173         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
16174         * math/libm-test.inc (trunc_test_data): Do not allow spurious
16175         "inexact" exceptions.
16177         [BZ #15479]
16178         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16179         floating-point environment rather than just control word.
16180         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16181         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16182         floating-point environment, with "invalid" exceptions merged in,
16183         rather than just control word.
16184         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16185         * math/libm-test.inc (floor_test_data): Do not allow spurious
16186         "inexact" exceptions.
16188         [BZ #15479]
16189         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16190         floating-point environment rather than just control word.
16191         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16192         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16193         floating-point environment, with "invalid" exceptions merged in,
16194         rather than just control word.
16195         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16196         * math/libm-test.inc (ceil_test_data): Do not allow spurious
16197         "inexact" exceptions.
16199 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
16201         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
16202         __libc_vfork.
16203         (__vfork) [IS_IN (libc)]: Remove alias.
16204         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
16205         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16206         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16208 2016-06-24  Torvald Riegel  <triegel@redhat.com>
16210         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
16211         of atomic_compare_and_exchange_bool_rel.
16212         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16213         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
16214         catomic_compare_and_exchange_bool_rel): Remove.
16215         * sysdeps/aarch64/atomic-machine.h
16216         (atomic_compare_and_exchange_bool_rel): Likewise.
16217         * sysdeps/alpha/atomic-machine.h
16218         (atomic_compare_and_exchange_bool_rel): Likewise.
16219         * sysdeps/arm/atomic-machine.h
16220         (atomic_compare_and_exchange_bool_rel): Likewise.
16221         * sysdeps/mips/atomic-machine.h
16222         (atomic_compare_and_exchange_bool_rel): Likewise.
16223         * sysdeps/microblaze/atomic-machine.h
16224         ( __arch_compare_and_exchange_bool_8_rel,
16225         __arch_compare_and_exchange_bool_16_rel): Likewise.
16226         * sysdeps/powerpc/atomic-machine.h
16227         ( __arch_compare_and_exchange_bool_8_rel,
16228         __arch_compare_and_exchange_bool_16_rel): Likewise.
16229         * sysdeps/powerpc/powerpc32/atomic-machine.h
16230         ( __arch_compare_and_exchange_bool_32_rel,
16231         __arch_compare_and_exchange_bool_64_rel): Likewise.
16232         * sysdeps/powerpc/powerpc64/atomic-machine.h
16233         ( __arch_compare_and_exchange_bool_32_rel,
16234         __arch_compare_and_exchange_bool_64_rel): Likewise.
16235         * sysdeps/tile/atomic-machine.h
16236         (atomic_compare_and_exchange_bool_rel): Likewise.
16238 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
16240         [BZ #20296]
16241         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
16242         when either argument is a NaN.
16243         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16244         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
16246         * math/libm-test.inc (snan_value_ld): New macro.
16247         (isgreater_test_data): Add sNaN tests.
16248         (isgreaterequal_test_data): Likewise.
16249         (isless_test_data): Likewise.
16250         (islessequal_test_data): Likewise.
16251         (islessgreater_test_data): Likewise.
16252         (isunordered_test_data): Likewise.
16253         (nextafter_test_data): Likewise.
16254         (nexttoward_test_data): Likewise.
16255         (remainder_test_data): Likewise.
16256         (remquo_test_data): Likewise.
16257         (significand_test_data): Likewise.
16258         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
16260 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16262         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
16263         environment macros are defined.
16264         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
16266 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16268         [BZ #20191]
16269         Implement vtable verification in libio.
16270         * Makerules (shlib.lds): Place __libc_IO_vtables section.
16271         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
16272         * debug/vdprintf_chk.c (__vdprintf_chk): Call
16273         _IO_new_file_init_internal instead of _IO_file_init.
16274         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
16275         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16276         * libio/Makefile (routines): Add vtables.
16277         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16278         (_IO_init): Remove, not for internal use.
16279         (_IO_init_internal): Declare, internal replacement for _IO_init.
16280         (_IO_file_init): Remove, not for internal use.
16281         (_IO_new_file_init): Remove, not for internal use.
16282         (_IO_new_file_init_internal): Declare, internal replacement for
16283         _IO_new_file_init.
16284         (_IO_old_file_init): Remove, not for internal use.
16285         (_IO_old_file_init_internal): Declare, internal replacement for
16286         _IO_old_file_init.
16287         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16288         internal use.
16289         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16290         Declare.
16291         (libio_vtable): New macro.
16292         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16293         functions.
16294         * libio/fileops.c (_IO_new_file_init_internal): Rename from
16295         _IO_new_file_init.
16296         (_IO_new_file_init): New externally visible wrapper which disables
16297         vtable verification.
16298         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16299         Define as vtables.
16300         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16301         (_IO_init): New externally visible wrapper which disables
16302         vtable verification.
16303         * libio/iofdopen.c (_IO_new_fdopen): Call
16304         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
16305         comment.
16306         * libio/iofopen.c (__fopen_internal): Call
16307         _IO_new_file_init_internal instead of _IO_file_init.
16308         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16309         Define as vtables.
16310         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16311         _IO_new_file_init_internal instead of _IO_file_init.
16312         * libio/iopopen.c (_IO_new_popen): Likewise.
16313         (_IO_proc_jumps): Define as vtable.
16314         * libio/iovdprintf.c (_IO_vdprintf): Call
16315         _IO_new_file_init_internal instead of _IO_file_init.
16316         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16317         (__open_memstream): Call _IO_init_internal instead of _IO_init.
16318         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16319         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16320         _IO_old_file_init.
16321         (_IO_old_file_init): New externally visible wrapper which disables
16322         vtable verification.
16323         (_IO_old_file_jumps): Define as vtable.
16324         * libio/oldiofdopen.c (_IO_old_fdopen): Call
16325         _IO_old_file_init_internal instead of _IO_old_file_init.
16326         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16327         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16328         (_IO_old_proc_jumps): Define as vtable.
16329         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16330         Define as vtables.
16331         * libio/vtables.c: New file.
16332         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16333         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16334         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16335         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16336         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16337         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16338         instead of _IO_init.
16340 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16342         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16344 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16346         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16347         potentially unused.
16349 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16351         * test-skeleton.c (write_message): New function.
16352         * malloc/tst-mallocfork2.c (write_message): Remove.
16353         * debug/tst-longjmp_chk2.c (write_indented): New function.
16354         (write_message): Remove.
16355         (stackoverflow_handler): Call write_indented.
16357 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16359         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16360         "inexact" exceptions after fnstenv.
16361         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16362         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16363         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16365 2015-06-22  Zack Weinberg  <zackw@panix.com>
16367         * sysdeps/generic/bits/hwcap.h: Moved to ...
16368         * bits/hwcap.h: Here.
16370 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16372         * sysdeps/aarch64/memcpy.S (memcpy):
16373         Further tuning for performance.
16375 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16377         [BZ #20284]
16378         * malloc/arena.c (reused_arena): Do not return NULL if we start
16379         out with a non-corrupted arena.
16381 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16383         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16384         * misc/tst-preadvwritev.c: New file.
16385         * misc/tst-preadvwritev64.c: Likewise.
16386         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16387         usage.
16388         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16389         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16390         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16391         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16393 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16395         [BZ #19654]
16396         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16397         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16398         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16399         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16400         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16401         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16402         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16403         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16404         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16405         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16406         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16407         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16408         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16409         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16410         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16411         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16412         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16413         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16414         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16415         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16416         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16417         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16418         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16419         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16420         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16421         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16423 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16425         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16426         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16428 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16430         * sysdeps/aarch64/memcpy.S (memcpy):
16431         Rewrite of optimized memcpy and memmove.
16432         * sysdeps/aarch64/memmove.S (memmove): Remove
16433         memmove code (merged into memcpy.S).
16435 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16437         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16438         * sysdeps/generic/dl-dtv.h: New file.
16439         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16440         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16441         (dtv_t): Remove.
16442         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16443         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16444         (dtv_t): Remove.
16445         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16446         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16447         (dtv_t): Remove.
16448         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16449         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16450         (dtv_t): Remove.
16451         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16452         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16453         (dtv_t): Remove.
16454         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16455         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16456         (dtv_t): Remove.
16457         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16458         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16459         (dtv_t): Remove.
16460         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16461         (dtv_t): Remove.
16462         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16463         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16464         (dtv_t): Remove.
16465         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16466         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16467         (dtv_t): Remove.
16468         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16469         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16470         (dtv_t): Remove.
16471         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16472         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16473         (dtv_t): Remove.
16474         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16475         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16476         (dtv_t): Remove.
16477         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16478         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16479         (dtv_t): Remove.
16480         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16481         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16482         (dtv_t): Remove.
16483         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16484         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16485         (dtv_t): Remove.
16487 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16489         Revert symbol poisoning of  __malloc_initialize_hook.
16490         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16491         poisoning.
16492         * malloc/Makefile: Remove un-poisoning.
16493         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16494         instead of old__malloc_initialize_hook.
16495         * malloc/malloc-hooks.h: Likewise.
16496         * malloc/malloc.c: Likewise.
16497         * malloc/mcheck-init.c: Likewise.
16499 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16501         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16503 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16505         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16506         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16507         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16508         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16510 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16512         * NEWS: Mention addition of nextup and nextdown.
16513         * manual/arith.texi: Document nextup and nextdown.
16514         * manual/libm-err-tab.pl: Add nextup and nextdown.
16515         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16516         * math/Versions (libm): Add GLIBC_2.24.
16517         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16518         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16519         Add new test.
16520         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16521         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16522         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16523         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16524         (nextup_test_data): Likewise.
16525         (nextdown_test_data): Likewise.
16526         * math/s_nextdown.c: New file.
16527         * math/s_nextdownf.c: Likewise.
16528         * math/s_nextdownl.c: Likewise.
16529         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16530         F(nextup): New function.
16531         F(nextdown): Likewise.
16532         * math/tgmath.h: Add nextup and nextdown.
16533         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16534         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16535         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16536         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16537         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16538         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16539         Add nextup and nextdown.
16540         (CFLAGS-nldbl-nextup.c): New variable.
16541         (CFLAGS-nldbl-nextdown.c): Likewise.
16542         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16543         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16544         * sysdeps/nacl/libm.abilist: Update.
16545         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16546         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16547         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16548         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16549         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16550         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16551         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16552         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16553         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16554         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16555         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16556         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16559         Likewise.
16560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16562         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16563         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16564         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16565         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16566         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16569         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16570         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16571         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16572         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16574 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16576         * manual/pattern.texi: Fix typos & grammar errors.
16578 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16580         * manual/search.texi: Fix typos & grammar errors.
16582 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16584         * manual/message.texi: Fix typos & grammar errors.
16586 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16588         * manual/contrib.texi: Fix spelling typos.
16589         * manual/crypt.texi: Likewise.
16590         * manual/filesys.texi: Likewise.
16591         * manual/locale.texi: Likewise.
16592         * manual/message.texi: Likewise.
16593         * manual/nss.texi: Likewise.
16594         * manual/string.texi: Likewise.
16596 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16598         * manual/locale.texi: Fix typos & grammar errors.
16600 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16602         * manual/charset.texi: Fix typos & grammar errors.
16604 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16606         * manual/string.texi: Fix typos.
16608 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16610         * manual/ctype.texi: Fix typos.
16612 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16614         * manual/memory.texi: Fix various typos & grammar errors.
16616 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16618         [BZ #20255]
16619         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
16620         * math/libm-test.inc (fdim_test_data): Add another test.
16622         [BZ #6796]
16623         [BZ #20255]
16624         [BZ #20256]
16625         * math/s_fdim.c: Include <math_private.h>.
16626         (__fdim): Use math_narrow_eval on result.
16627         * math/s_fdimf.c: Include <math_private.h>.
16628         (__fdimf): Use math_narrow_eval on result.
16629         * sysdeps/i386/fpu/s_fdim.S: Remove file.
16630         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16631         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16632         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16633         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16634         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16635         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16636         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16637         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16638         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16639         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16640         * math/libm-test.inc (fdim_test_data): Expect errno setting on
16641         overflow.  Add sNaN tests.
16643         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16644         fpclassify.
16645         * math/s_fdimf.c (__fdimf): Likewise.
16646         * math/s_fdiml.c (__fdiml): Likewise.
16648 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16650         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16651         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16653         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16654         ifunc'ed strcasecmp/strncasecmp.
16655         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16656         [EALIGN]: Removed.
16657         [END]: Likewise.
16658         [__strcasecmp]: Define instead of the above to control symbol name.
16659         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16660         for __strcasecmp_power8.
16661         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16662         for __strncasecmp_power8.
16663         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16664         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16665         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16666         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16667         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16668         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16670 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
16672         [BZ #20252]
16673         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16674         arguments when second argument is a NaN.
16675         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16676         qNaN tests.
16678         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16679         (conj_test_data): Likewise.
16680         (copysign_test_data): Likewise.
16681         (creal_test_data): Likewise.
16682         (fma_test_data): Likewise.
16683         (fmod_test_data): Likewise.
16685         [BZ #20250]
16686         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
16687         itself.
16688         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
16689         zero input to itself.
16690         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16691         Likewise.
16692         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
16693         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16694         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16695         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16696         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
16698 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16700         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
16701         * nptl/tst-cancel4-common.c: New file.
16702         * nptl/tst-cancel4-common.h: Likewise.
16703         * nptl/tst-cancel4.c: Move common definitions to
16704         tst-cancel4-common.{c,h} file.
16705         * nptl/tst-cancel4_1.c: New test.
16706         * nptl/tst-cancel4_2.c: New test.
16708 2016-06-13  Florian Weimer  <fweimer@redhat.com>
16710         [BZ #20248]
16711         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
16712         (write_message): New function.
16713         (stackoverflow_handler): Call it instead of printf, to avoid
16714         excessive stack usage by printf.
16715         (do_test): Restore SIGSEGV, SIGBUS default handlers.
16717 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16719         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
16720         (prio_inherit_missing): Remove define.
16721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16722         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16723         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
16724         Likewise.
16725         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16726         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16727         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16728         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16729         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16730         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16732 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16734         [BZ #19670]
16735         [BZ #19672]
16737         * io/test-lfs.c (do_prepare): Use xmalloc.
16738         * io/tst-fcntl.c (do_prepare): Likewise.
16739         * libio/tst-fopenloc.c (do_bz17916): Likewise.
16740         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
16741         * login/tst-utmp.c (do_prepare): Likewise.
16742         * posix/tst-exec.c (do_prepare): Likewise.
16743         * posix/tst-pathconf.c (prepare): Likewise.
16744         * posix/tst-spawn.c (do_prepare): Likewise.
16745         * posix/tst-truncate.c (do_prepare): Likewise.
16746         * rt/tst-aio.c (do_prepare): Likewise.
16747         * rt/tst-aio64.c (do_prepare): Likewise.
16749 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16751         [BZ #20237]
16752         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
16753         (get*ent): Set entidx to NULL during initialization.  If entidx is
16754         NULL, start iteration from the beginning.
16756 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16758         * malloc/malloc.c (musable): Return correct size for dumped fake
16759         mmapped chunk.
16761 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16763         [BZ #20222]
16764         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
16765         (_IO_cookie_write): Likewise.
16766         (_IO_cookie_seek): Likewise.
16767         (_IO_cookie_close): Likewise.
16768         (_IO_old_cookie_seek): Likewise.
16769         (set_callbacks): New function.
16770         (_IO_cookie_init): Call set_callbacks to copy callbacks.
16772 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
16774         * locale/programs/localedef.c (oldstyle_tables): Remove.
16775         * locale/programs/localedef.h (oldstyle_tables): Likewise.
16777 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
16779         [BZ #20240]
16780         * math/Makefile (CFLAGS-s_modf.c): New variable.
16781         (CFLAGS-s_modff.c): Likewise.
16782         (CFLAGS-s_modfl.c): Likewise.
16783         * math/libm-test.inc (modf_test_data): Add sNaN tests.
16785 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
16787         [BZ #20215]
16788         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
16789         [!__GNUC_PREREQ (3,2)]: Likewise.
16791 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
16793         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
16794         (msghdr.msg_controllen): Likewise.
16795         (cmsghdr.cmsg_len): Likewise.
16796         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
16797         ptw-oldsendmsg.
16798         (CFLAGS-oldrecvmsg.c): Remove rule.
16799         (CFLAGS-oldsendmsg.c): Likewise.
16800         (CFLAGS-recvmsg.c): Add rule.
16801         (CFLAGS-sendmsg.c): Likewise.
16802         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
16803         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
16804         (CFLAGS-recvmsg.c): Remove rule.
16805         (CFLAGS-sendmsg.c): Likewise.
16806         (CFLAGS-oldrecvmsg.c): Likewise.
16807         (CFLAGS-oldsendmsg.c): Likewise.
16808         (CFLAGS-recvmmsg.c): Likewise.
16809         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
16810         to kernel defined interfaces.
16811         (msghdr.msg_controllen): Likewise.
16812         (cmsghdr.cmsg_len): Likewise.
16813         (msghdr.__glibc_reserved1): Remove member.
16814         (msghdr.__glibc_reserved2): Likewise.
16815         (cmsghdr.__glibc_reserved1): Likewise.
16816         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
16817         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
16818         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16819         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16820         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
16821         version.
16822         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16823         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
16824         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16825         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
16826         Remove recvmsg and sendmsg.
16827         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
16828         Likewise.
16829         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16830         Likewise.
16831         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16832         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16833         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16834         Likewise.
16835         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16836         Likewise.
16837         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
16838         [libc] (GLIBC_2.24): Likewise.
16839         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16840         Likewise.
16841         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16842         Likewise.
16843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16844         [libc] (GLIBC_2.24): Likewise.
16845         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16846         Likewise.
16847         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16848         Likewise.
16849         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16850         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16851         Likewise.
16852         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16853         Likewise.
16854         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16855         Likewise.
16856         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
16857         Likewise.
16858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
16859         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
16860         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
16861         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
16862         version for {recv,send,recm,sendm}msg.
16863         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16864         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16865         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16866         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16867         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16868         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16869         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16870         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16871         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16872         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16873         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16874         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16876         Likewise.
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16878         Likewise.
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16881         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16882         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16883         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16884         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16885         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16886         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16889         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16890         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16891         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16893 2016-06-10  Florian Weimer  <fweimer@redhat.com>
16895         [BZ #19564]
16896         Remove __malloc_initialize_hook from the API.
16897         * malloc/malloc.h (__malloc_initialize_hook): Remove.
16898         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
16899         #pragma GCC poison.
16900         * malloc/malloc-hooks.h: New file.
16901         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
16902         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
16903         (old__malloc_initialize_hook): Rename from
16904         __malloc_initialize_hook to evade poisoning.  Turn into compat
16905         symbol.
16906         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
16907         __malloc_initialize_hook.
16908         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
16909         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
16910         * manual/memory.texi (Hooks for Malloc): Remove
16911         __malloc_initialize_hook.  Adjust hook example.
16913 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
16915         [BZ #20235]
16916         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
16917         itself.
16918         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16919         * math/libm-test.inc (log2_test_data): Add sNaN tests.
16921         [BZ #20234]
16922         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16923         infinity or NaN input to itself.
16925         [BZ #20233]
16926         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16927         to itself.
16929         [BZ #20232]
16930         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16931         itself.
16933 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16935         * sysdeps/x86_64/start.S (_start): Always indirect branch to
16936         __libc_start_main via GOT.
16938 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16940         * sysdeps/x86_64/memcopy.h: New file.
16941         * sysdeps/x86_64/wordcopy.c: Likewise.
16943 2016-06-09  Florian Weimer  <fweimer@redhat.com>
16945         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16946         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16947         <cstdlib>.
16948         (optimization_barrier): New.
16949         (do_test): Use it.  Call quick_exit in the global namespace.
16950         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16951         instead of <cstdlib>, <thread>.
16952         (optimization_barrier): New.
16953         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16954         Call quick_exit in the global namespace.
16955         (do_test): Call optimization_barrier.  Use pthread_create,
16956         pthread_join instead of std::thread.
16958 2016-06-09  Andreas Schwab  <schwab@suse.de>
16960         [BZ #19755]
16961         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16962         new entries in auto-propagate mode.
16963         * nscd/grpcache.c (cache_addgr): Likewise.
16965 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16967         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16968         New functions.
16969         (add_temp_file): Use them.
16971 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16973         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16975 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16977         [BZ #20229]
16978         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16979         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16980         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16982         [BZ #20228]
16983         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16984         itself.
16985         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16986         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16988         [BZ #20227]
16989         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16990         itself.
16991         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16992         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16993         * math/libm-test.inc (log_test_data): Add sNaN tests.
16995         [BZ #20226]
16996         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16997         itself.
16998         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16999         * math/libm-test.inc (exp_test_data): Add sNaN tests.
17000         (exp10_test_data): Likewise.
17001         (expm1_test_data): Likewise.
17003         [BZ #20225]
17004         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
17005         itself.
17006         * math/s_ldexpf.c (__ldexpf): Likewise.
17007         * math/s_ldexpl.c (__ldexpl): Likewise.
17008         * math/w_scalbln.c (__w_scalbln): Likewise.
17009         * math/w_scalblnf.c (__w_scalblnf): Likewise.
17010         * math/w_scalblnl.c (__w_scalblnl): Likewise.
17011         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
17012         (scalbln_test_data): Likewise.
17014         [BZ #20224]
17015         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
17016         argument to itself.
17017         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
17019 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17021         [BZ #19776]
17022         * sysdeps/x86_64/memcpy.S: Make it dummy.
17023         * sysdeps/x86_64/mempcpy.S: Likewise.
17024         * sysdeps/x86_64/memmove.S: New file.
17025         * sysdeps/x86_64/memmove_chk.S: Likewise.
17026         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17027         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17028         * sysdeps/x86_64/memmove.c: Removed.
17029         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17030         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17031         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
17032         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17033         Likewise.
17034         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17035         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17037         memcpy-sse2-unaligned, memmove-avx-unaligned,
17038         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
17039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17040         (__libc_ifunc_impl_list): Replace
17041         __memmove_chk_avx512_unaligned_2 with
17042         __memmove_chk_avx512_unaligned.  Remove
17043         __memmove_chk_avx_unaligned_2.  Replace
17044         __memmove_chk_sse2_unaligned_2 with
17045         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
17046         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
17047         with __memmove_avx512_unaligned.  Replace
17048         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
17049         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
17050         with __memcpy_chk_avx512_unaligned.  Remove
17051         __memcpy_chk_avx_unaligned_2.  Replace
17052         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
17053         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
17054         Replace __memcpy_avx512_unaligned_2 with
17055         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
17056         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
17057         with __mempcpy_chk_avx512_unaligned.  Remove
17058         __mempcpy_chk_avx_unaligned_2.  Replace
17059         __mempcpy_chk_sse2_unaligned_2 with
17060         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
17061         Replace __mempcpy_avx512_unaligned_2 with
17062         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
17063         Replace __mempcpy_sse2_unaligned_2 with
17064         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
17065         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
17066         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
17067         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
17068         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
17069         (ENTRY): Removed.
17070         (END): Likewise.
17071         (ENTRY_CHK): Likewise.
17072         (libc_hidden_builtin_def): Likewise.
17073         Don't include ../memcpy.S.
17074         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
17075         __memcpy_chk_avx512_unaligned_erms and
17076         __memcpy_chk_avx512_unaligned.  Use
17077         __memcpy_chk_avx_unaligned_erms and
17078         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17079         Default to __memcpy_chk_sse2_unaligned.
17080         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17081         Change function suffix from unaligned_2 to unaligned.
17082         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
17083         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
17084         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
17085         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
17086         (ENTRY): Removed.
17087         (END): Likewise.
17088         (ENTRY_CHK): Likewise.
17089         (libc_hidden_builtin_def): Likewise.
17090         Don't include ../mempcpy.S.
17091         (mempcpy): New.  Add a weak alias.
17092         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
17093         __mempcpy_chk_avx512_unaligned_erms and
17094         __mempcpy_chk_avx512_unaligned.  Use
17095         __mempcpy_chk_avx_unaligned_erms and
17096         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17097         Default to __mempcpy_chk_sse2_unaligned.
17099 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17101         [BZ #19881]
17102         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
17103         into ...
17104         * sysdeps/x86_64/memset.S: This.
17105         (__bzero): Removed.
17106         (__memset_tail): Likewise.
17107         (__memset_chk): Likewise.
17108         (memset): Likewise.
17109         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
17110         defined.
17111         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
17112         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
17113         (__memset_zero_constant_len_parameter): Check SHARED instead of
17114         PIC.
17115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17116         memset-avx2 and memset-sse2-unaligned-erms.
17117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17118         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
17119         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
17120         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17121         (__bzero): Enabled.
17122         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
17123         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
17124         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
17125         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
17126         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17127         (memset): Removed.
17128         (__memset_chk): Likewise.
17129         (MEMSET_SYMBOL): New.
17130         (libc_hidden_builtin_def): Replace __memset_sse2 with
17131         __memset_sse2_unaligned.
17132         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
17133         __memset_chk_sse2 and __memset_chk_avx2 with
17134         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
17135         Use __memset_chk_sse2_unaligned_erms or
17136         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
17137         __memset_chk_avx512_unaligned_erms and
17138         __memset_chk_avx512_unaligned.
17140 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17142         * math/gen-auto-libm-test.c (fp_format_desc): remove
17143         suffix member.
17144         (output_generic_value): Remove usage of suffix member,
17145         and the resulting unuse of the fp_format argument.
17146         (output_for_one_input_case): Remove unused fp_format
17147         parameter.
17149         * math/auto-libm-test-out: Regenerate.
17151         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
17152         usage with TEST_COND_ibm128.
17153         (TEST_COND_flt_32): Remove.
17154         (TEST_COND_dbl_64): Remove.
17155         (TEST_COND_ldbl_96_intel): Remove.
17156         (TEST_COND_ldbl_96_m68k): Remove.
17157         (TEST_COND_ldbl_128): Remove.
17159 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17161         * auto-libm-test-in:
17162         Replace flt-32 usage with binary32.
17163         Replace dbl-64 usage with binary64.
17164         Replace ldbl-intel-96 usage with intel96.
17165         Replace ldbl-m68k-96 usage with m68k96.
17166         Replace ldbl-128ibm usage with ibm128.
17167         Replace ldbl-128 usage with binary128.
17169         * auto-libm-test-out: Regenerate.
17171 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17173         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
17174         (parse_ulps): Dynamically generate type name matching
17175         string from all_floats.
17176         (get_ulps): Generate the ulps as an array instead.
17177         (output_ulps): Dynamically compose the type based
17178         on the number of supported formats, and print
17179         the indices as type specific helper macros.
17181         * math/libm-test.inc: Remove comment about CHOOSE.
17182         (ulp_data): Generate the type in libm-test-ulps.h.
17183         (ULP_IDX): New macro.
17184         (find_ulps): Update usage of max_ulp.
17186         * math/test-double-vlen2.h (CHOOSE): Remove.
17187         * math/test-double-vlen4.h (CHOOSE): Likewise.
17188         * math/test-double-vlen8.h (CHOOSE): Likewise.
17189         * math/test-float.c (CHOOSE): Likewise.
17190         * math/test-float-finite.c (CHOOSE): Likewise.
17191         * math/test-double.c (CHOOSE): Likewise.
17192         * math/test-double-finite.c (CHOOSE): Likewise.
17193         * math/test-idouble.c (CHOOSE): Likewise.
17194         * math/test-ifloat.c (CHOOSE): Likewise.
17195         * math/test-ildoubl.c (CHOOSE): Likewise.
17196         * math/test-ldouble-finite.c (CHOOSE): Likewise.
17197         * math/test-ldouble.c (CHOOSE): Likewise.
17199         * math/test-float.h (TEST_FLOAT): Remove.
17200         * math/test-double.h (TEST_DOUBLE): Likewise.
17201         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
17203 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17205         * math/gen-libm-test.pl: (apply_lit): New subroutine.
17206         (parse_args): Strip C suffix from floating point literals
17207         typed with 'f' and wrap them with LIT().
17209         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
17210         (test_ff_f_data_nexttoward): Rename to
17211         (test_fj_f_data): New struct.
17212         (nexttoward_test_data): Relabel tests as
17213         TEST_fj_f instead of TEST_ff_f.
17215 2016-06-08  Florian Weimer  <fweimer@redhat.com>
17217         Emacs bug 23726.
17218         * malloc/malloc.c (dumped_main_arena_start): Update comment.
17219         (__libc_realloc): Correct size computation for dumped fake mmapped
17220         chunks.
17222 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
17224         [BZ #20219]
17225         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
17226         to itself.
17227         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
17229         [BZ #20218]
17230         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
17231         to itself.
17232         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
17234 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
17236         [BZ #20195]
17237         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
17238         check to ...
17239         (init_cpu_features): Here.
17241 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
17243         [BZ #20214]
17244         * sysdeps/unix/sysv/linux/bits/in.h
17245         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17246          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
17247         Define to 1.
17248         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17249          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
17250         Define to 0.
17251         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
17252         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
17254 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
17256         [BZ #20198]
17257         * stdlib/Makefile (tests): Add tst-quick_exit, and
17258         tst-thread-quick_exit.
17259         [ifeq ($(have-cxx-thread_local),yes)]
17260         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
17261         (CFLAGS-tst-thread-quick_exit.o): Likewise.
17262         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
17263         (LDLIBS-tst-thread-quick_exit): Likewise.
17264         [ifneq ($(have-cxx-thread_local),yes)]
17265         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
17266         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
17267         If run_dtors is true call __call_tls_dtors.
17268         (exit): Call __run_exit_handlers with run_dtors set to true.
17269         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
17270         definition.
17271         * stdlib/quick_exit.c (quick_exit): Remove function.
17272         (__new_quick_exit): New function.
17273         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
17274         function.
17275         * stdlib/tst-quick_exit.cc: New file.
17276         * stdlib/tst-thread-quick_exit.cc: New file.
17277         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17278         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17279         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17280         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17281         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17282         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17283         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17284         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17285         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17286         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17287         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17288         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17289         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17290         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17291         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17292         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17297         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17298         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17299         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17300         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17301         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17304         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17305         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17306         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17308 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17310         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17311         a typo in comments.
17313 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17315         [BZ #20213]
17316         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17317         argument to itself.
17318         * math/libm-test.inc (asin_test_data): Add sNaN tests.
17320 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17322         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17323         required flags.
17324         (CFLAGS-pwritev64.c): Likewise.
17325         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17327         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17328         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17329         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17330         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17331         syscall from auto-generation.
17332         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17333         [WORDSIZE == 64] (pwritev64): Remove macro.
17334         [!PWRITEV] (PWRITEV): Likewise.
17335         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17336         [!PWRITEV] (PWRITE): Likewise.
17337         [!PWRITEV] (OFF_T): Likewise.
17338         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17339         (LO_HI_LONG): Remove macro.
17340         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17341         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17342         (PWRITEV): Remove macro.
17343         (PWRITEV_REPLACEMENTE): Likewise.
17344         (PWRITE): Likewise.
17345         (OFF_T): Likewise.
17346         (pwritev64): New function.
17347         * nptl/tst-cancel4.c (tf_writev): Add test.
17349         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17350         required flags.
17351         (CFLAGS-preadv64.c): Likewise.
17352         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17353         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17354         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17355         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17356         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17357         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17358         syscall from auto-generation.
17359         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17360         [WORDSIZE == 64] (preadv64): Remove macro.
17361         [!PREADV] (PREADV): Likewise.
17362         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17363         [!PREADV] (PREAD): Likewise.
17364         [!PREADV] (OFF_T): Likewise.
17365         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17366         (LO_HI_LONG): Remove macro.
17367         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17368         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17369         (PREADV): Remove macro.
17370         (PREADV_REPLACEMENTE): Likewise.
17371         (PREAD): Likewise.
17372         (OFF_T): Likewise.
17373         (preadv64): New function.
17374         * nptl/tst-cancel4.c (tf_preadv): Add test.
17376 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17378         [BZ #20212]
17379         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17380         argument to itself.
17381         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17383 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17385         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17386         New symbol defined as libc_hidden_def.
17387         (strcasestr): Became a weak alias to __strcasestr.
17388         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17389         according to multi-arch support.  Move __stpncpy hidden
17390         definition from here to...
17391         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17392         symbol stpncpy.
17393         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17394         libc_hidden_builtin_def.
17395         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17396         memset symbol to use when multi-arch support is available.
17398 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17400         * dlfcn/tst-rec-dlopen.c: Include string.h.
17402 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17404         * manual/install.texi: Remove mention of --without-tls
17405         * INSTALL: Regenerate.
17407 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17409         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17410         Remove.
17411         (call_function, interposed_malloc_called): New variables.
17412         (malloc): New function.
17413         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17414         and clear call_function as needed.
17416 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17418         * include/wchar.h (__wmemset): Use __typeof.
17420 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17422         * include/wchar.h (__wmemset): Declare function without typeof.
17424 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17426         [BZ #20205]
17427         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17428         exponent when incrementing negative subnormal with low mantissa
17429         word zero.
17430         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17431         Add another test.
17433 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17435         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17436         __wmemset instead of wmemset.
17438 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17440         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17441         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17442         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17443         __USE_KERNEL_IPV6_DEFS to 0.
17444         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17445         Update comment.
17447 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17449         [BZ #19861]
17450         Do not use IFUNC resolver with potentially unrelocated symbol.
17451         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17452         (DEFINE_FORK): Remove macro and inline definition.
17453         (fork_alias): Renamed from fork_ifunc.
17454         (__fork_alias): Renamed from __fork_ifunc.
17456 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17458         [BZ 19653]
17459         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17460         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17462 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17464         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17465         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17466         i386-linux-gnu).
17467         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17468         Set to no.
17469         * sysdeps/mach/hurd/configure: Refresh.
17471 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17473         [BZ #20178]
17474         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17475         on failure instead of exit.
17477 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17479         [BZ #3629]
17480         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17481         of POSIX.1-2008.
17483 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17485         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17486           Use PLT entry for calling _hurd_self_sigstate.
17488 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17490         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17491         available logical processors with SMT level type sharing L2
17492         cache for Intel processors.
17494 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17496         [BZ #20160]
17497         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17498         argument to itself before returning the result.
17499         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17500         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17501         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17502         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17503         Likewise.
17504         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17505         Likewise.
17506         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17507         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17508         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17509         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17510         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17511         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17513         [BZ #20160]
17514         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17515         argument to itself before returning the result.
17516         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17517         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17518         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17519         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17520         Likewise.
17521         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17522         Likewise.
17523         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17524         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17525         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17526         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17527         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17528         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17530 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17532         * libm-test.inc: Replace usage of M_El with
17533         (lit_e): New macro.
17535 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17537         * libm-test.inc: Replace usage of M_PI_4l with
17538         (lit_pi_4_d): New macro.
17540 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17542         * libm-test.inc: Replace usage of M_PIl with
17543         (lit_pi): New macro.
17545 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17547         * libm-test.inc: Replace usage of M_PI2l with
17548         (lit_pi_2_d): New macro.
17550         * math/test-double.h (LITM): New macro.
17551         * math/test-float.h (LITM): Likewise.
17552         * math/test-ldouble.h (LITM): Likewise.
17554 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17556         * libm-test.inc (M_PI_34l): Rename to
17557         (lit_pi_3_m_4_d): New Macro.
17558         (M_PI_34_LOG10El): Rename to
17559         (lit_pi_3_m_4_ln10_m_d): New Macro.
17560         (M_PI2_LOG10El): Rename to
17561         (lit_pi_2_ln10_m_d):  New Macro.
17562         (M_PI4_LOG10El): Rename to
17563         (lit_pi_4_ln10_m_d):  New Macro.
17564         (M_PI_LOG10El): Rename to
17565         (lit_pi_ln10_d):  New Macro.
17567 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17569         [BZ #20157]
17570         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17571         determine whether to negate low half if [_ARCH_PPCGR], and integer
17572         comparison otherwise.
17573         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17574         determine whether to negate low half.
17576         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17577         (NO_TEST_INLINE_DOUBLE): Likewise.
17578         (TEST_COND_x86_64): Likewise.
17579         (TEST_COND_x86): Likewise.
17580         (M_PI_6l): Likewise.
17582 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17584         * math/libm-test.inc:
17585         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17586         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17587         (TEST_LDOUBLE): Update usage to evaluate as true if
17588         the guarded tests match the property being tested.
17589         (LDBL_MAX_EXP): Change to MAX_EXP.
17590         (LDBL_MIN_EXP): Change to MIN_EXP.
17591         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17592         nexttoward tests.
17594 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17596         * math/libm-test.inc:
17597         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17598         (TYPE_MIN): Likewise.
17599         (TYPE_TRUE_MIN): Likewise.
17600         (TYPE_MAX): Likewise.
17601         (MIN_EXP): Likewise.
17602         (MAX_EXP): Likewise.
17603         (MANT_DIG): Likewise.
17605         (FSTR_MAX): New macro.
17606         (__CONCATX): Likewise.
17607         (QTYPE_STR): Likewise.
17608         (TEST_COND_binary32): Likewise.
17609         (TEST_COND_binary64): Likewise.
17610         (TEST_COND_binary128): Likewise.
17611         (TEST_COND_ibm128): Likewise.
17612         (TEST_COND_intel96): Likewise.
17613         (TEST_COND_m68k96): Likewise.
17615         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17616         (TEST_COND_dbl_64): Likewise.
17617         (TEST_COND_ldbl_96_intel): Likewise.
17618         (TEST_COND_ldbl_96_m68k): Likewise.
17619         (TEST_COND_ldbl_128): Likewise.
17620         (TEST_COND_ldbl_128ibm): Likewise.
17622         (plus_zero): Redefine using LIT macro.
17623         (minus_zero): Likewise.
17624         (plus_infty): Redefine as (INF).
17625         (minux_infty): Redefine as (-INF).
17626         (max_value): Redefine as TYPE_MAX.
17627         (min_value): Redefine as TYPE_MIN.
17628         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17630         (print_float): Refactor to use snprintf to convert FLOAT values
17631         to string. This brings it closer to dropin replacement of strtof
17632         for the TS 18661 defined types.
17633         (update_stats): Likewise.
17634         (print_complex_function_ulps): Likewise.
17635         (print_max_error): Likewise.
17636         (print_complex_max_error): Likewise.
17637         (check_float_internal): Likewise.
17639         * math/test-float.h (PREFIX): New macro.
17640         (LIT): Likewise.
17641         (TYPE_STR): Likewise.
17642         (FTOSTR): Likewise.
17644         * math/test-double.h (PREFIX): New macro.
17645         (LIT): Likewise.
17646         (TYPE_STR): Likewise.
17647         (FTOSTR): Likewise.
17649         * math/test-ldouble.h (PREFIX): New macro.
17650         (LIT): Likewise.
17651         (TYPE_STR): Likewise.
17652         (FTOSTR): Likewise.
17654 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17656         [BZ #20156]
17657         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17658         to itself when zero or not finite.
17659         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17660         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17661         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17662         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17664 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
17666         [BZ #20153]
17667         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17668         x * x + x for infinities and NaNs.
17670         [BZ #20151]
17671         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17672         argument to itself before returning result.
17673         (__ieee754_y0l): Likewise.
17674         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17675         (__ieee754_y1l).
17677         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17678         (atan_test_data): Likewise.
17679         (ceil_test_data): Likewise.
17680         (cos_test_data): Likewise.
17681         (cosh_test_data): Likewise.
17682         (erf_test_data): Likewise.
17683         (exp2_test_data): Likewise.
17684         (fabs_test_data): Likewise.
17685         (floor_test_data): Likewise.
17686         (ilogb_test_data): Likewise.
17687         (j0_test_data): Likewise.
17688         (j1_test_data): Likewise.
17689         (jn_test_data): Likewise.
17690         (lgamma_test_data): Likewise.
17691         (lrint_test_data): Likewise.
17692         (llrint_test_data): Likewise.
17693         (logb_test_data): Likewise.
17694         (lround_test_data): Likewise.
17695         (llround_test_data): Likewise.
17696         (nearbyint_test_data): Likewise.
17697         (rint_test_data): Likewise.
17698         (round_test_data): Likewise.
17699         (sin_test_data): Likewise.
17700         (sincos_test_data): Likewise.
17701         (sinh_test_data): Likewise.
17702         (sqrt_test_data): Likewise.
17703         (tan_test_data): Likewise.
17704         (tanh_test_data): Likewise.
17705         (tgamma_test_data): Likewise.
17706         (trunc_test_data): Likewise.
17707         (y0_test_data): Likewise.
17708         (y1_test_data): Likewise.
17709         (yn_test_data): Likewise.
17711         * math/libm-test.inc: Update comment about NaN testing.
17712         (TEST_SNAN): New macro.
17713         (snan_value): Likewise.
17714         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
17715         (fpclassify_test_data): Add sNaN tests.
17716         (isfinite_test_data): Likewise.
17717         (isinf_test_data): Likewise.
17718         (isnan_test_data): Likewise.
17719         (isnormal_test_data): Likewise.
17720         (issignaling_test_data): Likewise.
17721         (signbit_test_data): Likewise.
17722         * math/gen-libm-test.pl (%beautify): Add snan_value.
17723         (show_exceptions): Add argument $test_snan.
17724         (parse_args): Handle snan_value as non-finite.  Update call to
17725         show_exceptions.
17726         * math/Makefile (libm-test-no-inline-cflags): Add
17727         -fsignaling-nans.
17729 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17731         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
17732         (CFLAGS-oldsendmsg.c): Add rule.
17733         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17734         Correct recvmsg symbol name.
17735         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
17736         Likewise.
17738 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17740         * sysdeps/unix/sysv/linux/Makefile
17741         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
17742         oldsendmmsg.
17743         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
17744         sendmmsg.
17745         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17746         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17747         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17748         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17750         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17751         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17753         Likewise.
17754         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17755         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
17756         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17757         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
17758         iovlen and controllen fields to adjust to POSIX specification.
17759         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17761         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
17762         and change to correct expected type.
17763         (msghdr.msg_controllen): Likewise.
17764         (cmsghdr.cmsg_len): Likewise.
17765         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
17766         expected POSIX assumption about the size.
17767         (msghdr.msg_controllen): Likewise.
17768         (msghdr.__glibc_reserved1): Likewise.
17769         (msghdr.__glibc_reserved2): Likewise.
17770         (cmsghdr.cmsg_len): Likewise.
17771         (cmsghdr.__glibc_reserved1): Likewise.
17772         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
17773         Add ptw-oldrecvmsg and ptw-oldsendmsg.
17774         (CFLAGS-sendmsg.c): Remove rule.
17775         (CFLAGS-recvmsg.c): Likewise.
17776         (CFLAGS-oldsendmsg.c): Add rule.
17777         (CFLAGS-oldrecvmsg.c): Likewise.
17778         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
17779         recvmsg and sendmsg.
17780         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
17781         Likewise.
17782         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
17783         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
17784         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17785         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
17786         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17787         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17788         Likewise.
17789         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17790         Likewise.
17791         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
17792         Likewise.
17793         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
17794         Likewise.
17795         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17796         Likewise.
17797         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17798         Likewise.
17799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
17800         (GLIBC_2.24): Likewise.
17801         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17802         Likewise.
17803         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17804         Likewise.
17805         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17806         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17807         Likewise.
17808         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17809         Likewise.
17810         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17811         Likewise.
17812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
17813         (GLIBC_2.24): Likewise.
17814         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
17815         Likewise.
17816         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
17817         Likewise.
17818         * sysdeps/unix/sysv/linux/Makefile
17819         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
17820         (CFLAGS-sendmsg.c): Add rule.
17821         (CFLAGS-recvmsg.c): Likewise.
17822         (CFLAGS-oldsendmsg.c): Likewise.
17823         (CFLAGS-oldrecvmsg.c): Likewise.
17824         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
17825         initialization.
17826         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17827         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17828         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
17829         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17830         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
17831         iovlen and controllen fields to adjust to POSIX specification.
17832         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
17833         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
17834         added recvmsg and sendmsg.
17835         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17836         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17837         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17838         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17839         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17840         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17841         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17842         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17843         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17844         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17845         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17846         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17848         Likewise.
17849         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17851         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17852         Likewise.
17853         Likewise.
17854         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17855         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17856         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17857         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17858         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17859         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17861         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17863         Likewise.
17864         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17865         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17867         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
17868         from auto-generation.
17869         (sendmsg): Likewise.
17870         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
17871         (sendmsg): Likewise.
17872         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
17873         (sendmsg): Likewise.
17874         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
17875         (sendmsg): Likewise.
17876         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
17877         (sendmsg): Likewise.
17878         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
17879         (sendmsg): Likewise.
17880         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
17881         Likewise.
17882         (sendmsg): Likewise.
17883         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
17884         (sendmsg): Likewise.
17885         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17886         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17887         Remove.
17888         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17889         Likewise.
17890         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17891         Undefine.
17892         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17893         Likewise.
17894         * sysdeps/unix/sysv/linux/kernel-features.h
17895         (__ASSUME_SENDMSG_SYSCALL): Define.
17896         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17897         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17899         Remove.
17900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17901         Likewise.
17902         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17903         Undefine.
17904         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17905         Likewise.
17906         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17907         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17908         Remove.
17909         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17910         Likewise.
17911         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17912         Undefine.
17913         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17914         Likewise.
17915         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17916         (__ASSUME_SENDMSG_SYSCALL): Undefine.
17917         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17918         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17919         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17920         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17921         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17922         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17923         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17925 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17927         * stdlib/gen-tst-strtod-round.c: Add backslash to
17928         compile command in comment.
17929         (printfp): Remove the literal suffix, and define an infinite
17930         value as INF to avoid expansion clash with INFINITY.
17931         (round_str): Remove the literal suffix.
17932         (round_for_all): Likewise, remove the now duplicate ldbl-64
17933         entry, and remove some magic constants.
17935         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17936         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
17937         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17938         (_CONCAT): New macro.
17939         (CONCAT): Likewise.
17940         (CHOOSE_ld): Likewise.
17941         (CHOOSE_f): Likewise.
17942         (CHOOSE_d): Likewise.
17943         (FTYPE_MEMBER): Likewise.
17944         (BOOL_MEMBER): Likewise.
17945         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17946         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17947         (_XNTRY): Likewise.
17948         (XNTRY): Likewise.
17949         (_ENTRY): Likewise.
17950         (ENTRY): Likewise.
17951         (test_exactness): Generate members via macro.
17952         (test_results): Likewise.
17953         (test): Update members.
17954         (TEST): Redefine using new macros.
17955         (INF): New macro.
17956         (fetestmodes): New structure.
17957         (do_test): Refactor to be type generic.
17958         (test_in_one_mode): Refactor duplicate code into
17959         (GEN_ONE_TEST): New macro.
17961         * stdlib/tst-strtod-round-data.h: Regenerate.
17963         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17964         Extend to pass additional arbitrary parameters to
17965         generators.
17967 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17969         [BZ #15479]
17970         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17971         floating-point state after first floating-point operation on
17972         input.  Restore full floating-point state instead of just rounding
17973         mode.
17974         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17975         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17976         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17977         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17978         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17980         [BZ #15479]
17981         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17982         floating-point state after first floating-point operation on
17983         input.  Restore full floating-point state instead of just rounding
17984         mode.
17985         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17986         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17987         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17988         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17989         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17991 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17993         [BZ #19727]
17994         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17995         valid high surrogate.
17996         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17997         of an utf16 surrogate.
17998         * iconv/gconv_simple.c (BODY): Likewise.
17999         * iconvdata/bug-iconv12.c: New file.
18000         * iconvdata/Makefile (tests): Add bug-iconv12.
18002 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18004         [BZ #19726]
18005         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
18006         outptrp in case of an illegal input.
18007         * iconv/tst-iconv6.c: New file.
18008         * iconv/Makefile (tests): Add tst-iconv6.
18010 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18012         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
18013         an error in case of a value in range of an utf16 low surrogate.
18015 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18017         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
18018         an error in case of a value in range of an utf16 low surrogate.
18020 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18022         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
18023         Move to ...
18024         * sysdeps/s390/Makefile: ... here.
18025         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
18026         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
18027         (BRANCH_ON_COUNT): New define.
18028         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
18029         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
18030         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
18031         run on s390-32, too.
18032         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
18033         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
18034         run on s390-32, too.
18035         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
18036         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18037         run on s390-32, too.
18039 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18041         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
18042         etf3eh or new vector loop-variant.
18044 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18046         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
18047         etf3eh or new vector loop-variant.
18049 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18051         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
18052         or new vector loop-variant.
18054 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18056         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
18057         Rename to TR_LOOP and usage of tr instead of troo instruction.
18059 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18061         * sysdeps/s390/multiarch/gconv_simple.c: New File.
18062         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
18064 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18066         * sysdeps/s390/multiarch/8bit-generic.c: New File.
18067         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
18068         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
18069         New override define.
18070         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
18072 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18074         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
18075         * sysdeps/s390/configure.ac: Add test for S390 vector register
18076         support in gcc.
18077         * sysdeps/s390/configure: Regenerated.
18079 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18081         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
18082         Install file from $(objpfx)gconv-modules.
18083         ($(objpfx)gconv-modules): Concatenate architecture specific file
18084         in variable sysdeps-gconv-modules and gconv-modules in src dir.
18085         * sysdeps/s390/gconv-modules: New file.
18086         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
18087         Deleted.
18088         ($(objpfx)gconv-modules-s390): Deleted.
18089         (sysdeps-gconv-modules): New variable.
18091 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18093         [BZ #15479]
18094         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
18095         of immediate operand to rounding instruction.
18096         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
18097         Likewise.
18098         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
18099         Likewise.
18100         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
18101         Likewise.
18103 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18105         * math/libm-test.inc (MIN_EXP): Directly define as
18106         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
18108 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18110         * math/libm-test.inc (MANT_DIG): Directly define as
18111         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
18113 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18115         * stdlib/gen-tst-strtod-round.c (main):
18116           Change usage to more closely match the generated
18117           output.  Add usage and compilation instructions.
18118           (string_to_fp): Add and use FILE* parameter as
18119           output target.
18120           (print_fp): Likewise.
18121           (round_str): Likewise.
18122           (round_for_all): Likewise.
18123         * stdlib/tst-strtod-round.c (tests): Move into
18124         * stdlib/tst-strtod-round-data.h: New file.
18126 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18128         [BZ #15479]
18129         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
18130         (__round): Do not force "inexact" exception.
18131         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
18132         variable.
18133         (__round): Do not force "inexact" exception.
18134         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
18135         (__roundf): Do not force "inexact" exception.
18136         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
18137         (__roundl): Do not force "inexact" exception.
18138         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
18139         (__roundl): Do not force "inexact" exception.
18140         * math/libm-test.inc (round_test_data): Do not allow spurious
18141         "inexact" exceptions.
18143         [BZ #15479]
18144         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
18145         exception in comment.
18146         (huge): Remove variable.
18147         (__floor): Do not force "inexact" exception.
18148         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
18149         "inexact" exception in comment.
18150         (huge): Remove variable.
18151         (__floor): Do not force "inexact" exception.
18152         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
18153         exception in comment.
18154         (huge): Remove variable.
18155         (__floorf): Do not force "inexact" exception.
18156         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
18157         exception in comment.
18158         (huge): Remove variable.
18159         (__floorl): Do not force "inexact" exception.
18161         [BZ #15479]
18162         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
18163         exception in comment.
18164         (huge): Remove variable.
18165         (__ceil): Do not force "inexact" exception.
18166         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
18167         "inexact" exception in comment.
18168         (huge): Remove variable.
18169         (__ceil): Do not force "inexact" exception.
18170         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
18171         (__ceilf): Do not force "inexact" exception.
18172         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
18173         exception in comment.
18174         (huge): Remove variable.
18175         (__ceill): Do not force "inexact" exception.
18177 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18179         * config.h.in (BIND_NOW): New.
18180         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
18181         * configure: Regenerated.
18182         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18183         indirect branch via the GOT slot.
18185 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18187         [BZ #19765]
18188         * sysdeps/s390/mempcpy.S: New File.
18189         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18190         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18191         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18192         Add mempcpy variants.
18193         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18194         (memcpy): Adjust to be usable from mempcpy entry point.
18195         (__memcpy_mvcle): Likewise.
18196         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18197         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
18198         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
18199         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
18200         (__memcpy_z10): Likewise.
18201         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18203 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18205         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
18206         Remove __GI_ symbol.
18207         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
18208         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
18209         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
18210         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18211         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
18212         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
18214 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18216         * sysdeps/s390/s390-64/memcpy.S (memcpy):
18217         Use cghi instead of chi to compare 64bit value.
18219 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18221         * sysdeps/s390/s390-32/memcpy.S (memcpy):
18222         Jump to 1MB check before executing mvc-loop.
18224 2016-05-24  Florian Weimer  <fweimer@redhat.com>
18226         [BZ #6527]
18227         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
18228         unconditionally.
18229         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
18231 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18233         * stdlib/tst-strtod6.c (do_test): Use new type generic
18234         invocation of the test function.
18235         (test): Refactor into ...
18236         (TEST_STRTOD): New macro base function.
18238 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18240         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18241         (TEST_STRTOD): New macro.
18242         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
18244 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18246         * stdlib/tst-strtod6.c (do_test): Use new type generic
18247         invocation of the test function.
18248         (test): Refactor into ...
18249         (TEST_STRTOD): New macro base function.
18251 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18253         CVE-2016-4429
18254         [BZ #20112]
18255         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
18256         payload.
18258 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18260         [BZ #20111]
18261         * bits/sockaddr.h (_SS_SIZE): Define.
18262         * bits/socket.h (_SS_SIZE): Remove.
18263         (_SS_PADSIZE): Adjust to account for all padding.
18264         (struct sockaddr_storage): Update comment.  Avoid implicit
18265         padding.
18266         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
18267         (_SS_PADSIZE): Adjust to account for all padding.
18268         (struct sockaddr_storage): Update comment.  Avoid implicit
18269         padding.
18270         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
18271         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
18272         (_SS_PADSIZE): Adjust to account for all padding.
18273         (struct sockaddr_storage): Update comment.  Avoid implicit
18274         padding.
18275         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18276         __SS_SIZE is 126 in this version.
18277         * inet/tst-sockaddr.c: New file.
18278         * inet/Makefile (tests): Add tst-sockaddr.c
18279         (tst-sockaddr.c): Compile with non-strict aliasing.
18281 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
18283         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18284         [XPG3 || XPG4].
18285         (NL_ARGMAX): Also expect for [XPG3].
18286         (NL_LANGMAX): Likewise.
18287         (NL_MSGMAX): Likewise.
18288         (NL_NMAX): Likewise.
18289         (NL_SETMAX): Likewise.
18290         (NL_TEXTMAX): Likewise.
18291         (NZERO): Likewise.
18292         (TMP_MAX): Likewise.
18293         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18294         variable.
18296         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18297         (PF_MAX): Update value.
18298         (AF_KCM): New macro.
18299         (SOL_NETBEUI): Likewise.
18300         (SOL_LLC): Likewise.
18301         (SOL_DCCP): Likewise.
18302         (SOL_NETLINK): Likewise.
18303         (SOL_TIPC): Likewise.
18304         (SOL_RXRPC): Likewise.
18305         (SOL_PPPOL2TP): Likewise.
18306         (SOL_BLUETOOTH): Likewise.
18307         (SOL_PNPIPE): Likewise.
18308         (SOL_RDS): Likewise.
18309         (SOL_IUCV): Likewise.
18310         (SOL_CAIF): Likewise.
18311         (SOL_ALG): Likewise.
18312         (SOL_NFC): Likewise.
18313         (SOL_KCM): Likewise.
18314         (MSG_BATCH): New enum value and macro.
18316 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
18318         [BZ #18185]
18319         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18320         sharing L2 cache to 2 for Knights Landing.
18322 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
18324         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18325         (FTW_DP): Do not expect for [XPG3 || XPG4].
18326         (FTW_SL): Do not expect for [XPG3].
18327         (FTW_SLN): Likewise.
18328         (FTW_PHYS): Likewise.
18329         (FTW_MOUNT): Likewise.
18330         (FTW_DEPTH): Likewise.
18331         (FTW_CHDIR): Likewise.
18332         (nftw): Likewise.
18333         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18334         variable.
18336 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18338         * manual/errno.texi: Fix various typos & grammar errors.
18340 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18342         * manual/intro.texi: Fix duplicated typo.
18344 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18346         [BZ #13304]
18347         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18348         <float.h>, <math_private.h> and <stdlib.h>.
18349         (add_split): New function.
18350         (mul_split): Likewise.
18351         (ext_val): New typedef.
18352         (store_ext_val): New function.
18353         (mul_ext_val): New function.
18354         (compare): New function.
18355         (add_split_ext): New function.
18356         (__fmal): After checking for Inf, NaN and zero, compute result as
18357         an exact sum of scaled double values in round-to-nearest before
18358         adding those up and adjusting for other rounding modes.
18359         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18360         tests of fma.
18361         * math/auto-libm-test-out: Regenerated.
18363 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18365         [BZ #20119]
18366         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18367         processor level type mask for CPUID with EAX == 11.
18369 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18371         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18372         logical threads if the HTT bit is 0.
18373         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18374         (index_cpu_HTT): Likewise.
18375         (reg_HTT): Likewise.
18377 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18379         [BZ #20115]
18380         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18381         Remove alignments on jump targets.
18383 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18385         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18386         (getpwent): Likewise.
18387         (setpwent): Likewise.
18388         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18389         variable.
18391         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18392         (remque): Likewise.
18393         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18394         variable.
18396 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18398         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18399         not being tested.
18401 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18403         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18404         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18405         call.
18406         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18407         (__condvar_cleanup1): Likewise.
18409 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18411         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18412         New
18413         (__pthread_unwind): Renamed to ...
18414         (PTHREAD_UNWIND): This.
18415         (__pthread_enable_asynccancel): Replace
18416         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18418 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18420         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18421         (CLONE_NEWCGROUP): New macro.
18423         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18424         (Q_GETNEXTQUOTA): New macro.
18426 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18428         [BZ #19907]
18429         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18430         buffer updated by the previous run.
18431         * string/test-memcpy.c (do_one_test): Likewise.
18432         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18433         * string/test-memmove.c (do_one_test): Likewise.
18435 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18437         [BZ #20094]
18438         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18439         not [__USE_XOPEN].
18440         (unlockpt): Likewise.
18441         (ptsname): Likewise.
18442         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18443         variable.
18445         [BZ #20076]
18446         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18447         instead of [__USE_UNIX98].
18448         (S_ISSOCK): Likewise.
18449         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18450         variable.
18452         [BZ #20074]
18453         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18454         [__USE_POSIX].
18455         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18456         variable.
18458         [BZ #20051]
18459         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18460         (ttyslot): Do not declare.
18461         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18462         (ttyslot): New prototype.
18463         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18464         variable.
18465         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18467 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18469         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18471 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18473         Fix race condition in tst-mallocfork2, use fewer resources.
18474         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18475         to current process group.
18476         (signal_sender): Yield in the non-sleeping case.
18478 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18480         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18481         (ecvt): Likewise.
18482         (fcvt): Likewise.
18483         (gcvt): Likewise.
18484         (getsubopt): Likewise.
18485         (grantpt): Likewise.
18486         (initstate): Likewise.
18487         (l64a): Likewise.
18488         (mktemp): Likewise.
18489         (mkstemp): Likewise.
18490         (ptsname): Likewise.
18491         (random): Likewise.
18492         (realpath): Likewise.
18493         (setstate): Likewise.
18494         (srandom): Likewise.
18495         (ttyslot): Likewise.
18496         (unlockpt): Likewise.
18497         (valloc): Likewise.
18499         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18500         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18501         variable.
18503 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18505         [BZ #20072]
18506         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18507         init_cpu_features only if SHARED is defined.
18508         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18510 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18512         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18513         non-inclusive caches on Intel processors.
18515 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18517         * malloc/malloc.c (dumped_main_arena_start)
18518         (dumped_main_arena_end): New variables.
18519         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18520         (do_check_chunk): Skip dumped fake mmapped chunks.
18521         (munmap_chunk): Likewise.
18522         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18523         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18524         mmapped chunks.
18525         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18526         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18527         and dumped_main_arena_end to cover the dumped heap.
18529 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18531         * conform/data/time.h-data (getdate_err): Do not expect for
18532         [XPG3].
18533         (getdate): Likewise.
18534         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18535         variable.
18537         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18538         (F_ULOCK): Likewise.
18539         (F_TEST): Likewise.
18540         (F_TLOCK): Likewise.
18541         (useconds_t): Likewise.
18542         (intptr_t): Do not expect for [XPG3] or [XPG4].
18543         (brk): Do not expect for [XPG3]
18544         (fchown): Likewise.
18545         (fchdir): Likewise.
18546         (ftruncate): Likewise.
18547         (getdtablesize): Likewise.
18548         (gethostid): Likewise.
18549         (getpagesize): Likewise.
18550         (getpgid): Likewise.
18551         (getsid): Likewise.
18552         (getwd): Likewise.
18553         (lchown): Likewise.
18554         (lockf): Likewise.
18555         (readlink): Likewise.
18556         (sbrk): Likewise.
18557         (setpgrp): Likewise.
18558         (setregid): Likewise.
18559         (setreuid): Likewise.
18560         (symlink): Likewise.
18561         (sync): Likewise.
18562         (truncate): Likewise.
18563         (ualarm): Likewise.
18564         (usleep): Likewise.
18565         (vfork): Likewise.
18566         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18567         variable.
18569         [BZ #20054]
18570         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18571         not [__USE_UNIX98].
18572         * conform/data/unistd.h-data (gethostname): Do not expect for
18573         [XPG3].
18575         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18576         [!POSIX] (S_IFBLK): Likewise.
18577         [!POSIX] (S_IFCHR): Likewise.
18578         [!POSIX] (S_IFIFO): Likewise.
18579         [!POSIX] (S_IFREG): Likewise.
18580         [!POSIX] (S_IFDIR): Likewise.
18581         [!POSIX] (S_IFLNK): Likewise.
18582         [!POSIX] (S_IFSOCK): Likewise.
18583         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18584         variable.
18585         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18587 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18589         * sysdeps/aarch64/memset.S (__memset):
18590         Rewrite of optimized memset.
18592 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18594         [BZ #19703]
18595         Partially async-signal-safe fork for single-threaded processes.
18596         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18597         variable.  Do not acquire and reset/release malloc and libio locks
18598         in single-threaded processes.
18599         * malloc/tst-mallocfork2.c: New file.
18600         * malloc/Makefile (tests): Add it.
18602 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18604         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18605         argument.  Use scratch buffer instead of extend_alloca.
18606         (gethosts): Use scratch buffer instead of extend_alloca.
18607         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18608         extend_alloca.
18609         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18611 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18613         [BZ #20055]
18614         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18615         instead of [__USE_UNIX98].
18616         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18617         [__USE_UNIX98].
18618         * conform/data/termios.h-data (tcgetsid): Do not expect for
18619         [XPG3].
18620         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18621         variable.
18622         (test-xfail-XPG4/termios.h/conform): Likewise.
18624 2016-05-11  Florian Weimer  <fweimer@redhat.com>
18626         Do not use mcheck in localedef.
18627         * locale/programs/localedef.c (turn_on_mcheck)
18628         (__malloc_initialize_hook): Remove.
18630 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18632         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18633         * sysdeps/s390/s390-64/Makefile: Likewise.
18635 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18637         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18638         Remove ifunc-defines.sym.
18639         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18640         Likewise.
18641         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18642         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18643         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18644         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18645         rtld-global-offsets.sym.
18646         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18647         * sysdeps/x86/cpu-features-offsets.sym: This.
18648         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18649         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18651 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
18653         [BZ #20073]
18654         * io/sys/stat.h (fchmod): Declare for
18655         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18656         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18657         variable.
18659         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18660         [XPG3] (S_IFSOCK): Likewise.
18661         [XPG3] (S_ISVTX): Likewise.
18662         [XPG3] (S_ISLNK): Likewise.
18663         [XPG3] (S_ISSOCK): Likewise.
18664         [XPG3] (fchmod): Likewise.
18665         [XPG3] (lstat): Likewise.
18666         [XPG3] (mknod): Likewise.
18668         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18669         [XPG3].  Expect type long and XFAIL for [XPG4].
18670         (st_blocks): Likewise.
18672         [BZ #20044]
18673         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18674         (pthread_atfork): New prototype.
18675         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18676         variable.
18678         [BZ #20043]
18679         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18680         prototype.
18682 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18684         [BZ #20017]
18685         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
18686         gmtime.
18688 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18690         [BZ #19994]
18691         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
18692         flag in _res.options.
18694 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
18696         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
18697         [XPG3 || XPG4].
18698         (blksize_t): Likewise.
18699         (clockid_t): Likewise.
18700         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
18701         variable.
18702         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18704 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18706         * sysdeps/unix/sysv/linux/s390/init-first.c:
18707         Add VDSO_SYMBOL(getcpu).
18708         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
18709         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
18710         Add VDSO_SYMBOL(getcpu).
18711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
18712         New define HAVE_GETCPU_VSYSCALL.
18713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18715 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18717         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
18718         instead of <sysdeps/x86_64/cacheinfo.c>.
18719         * sysdeps/x86_64/cacheinfo.c: Moved to ...
18720         * sysdeps/x86/cacheinfo.c: Here.
18722 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18724         * malloc/malloc-internal.h: Adjust header file guard.
18726 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18728         [BZ #19787]
18729         * inet/getnameinfo.c (check_sprintf_result): New function.
18730         (CHECKED_SNPRINTF): New macro.
18731         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
18732         to the host buffer.
18733         (gni_host_local): Use checked_copy to copy the host name.
18734         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
18735         (gni_serv_local): Use checked_copy to copy the service name.
18736         (getnameinfo): Remove unnecessary truncation of result buffers.
18738 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18740         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
18741         in case of inet_ntop failure.
18743 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18745         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
18746         avoid long lines.
18747         (gni_host_inet_numeric): Likewise.  Reduce scope of local
18748         variables.
18749         (gni_host_inet, gni_host_local): Add comment.
18750         (gni_host): Add comment.  Use temporary to avoid long lines.
18752 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18754         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
18755         registers specifiers where general purpose registers specifiers should
18756         have been used.
18758 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18760         [BZ #19779]
18761         CVE-2016-1234
18762         Avoid copying names of directory entries.
18763         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
18764         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
18765         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
18766         (struct readdir_result): New type.
18767         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
18768         (GL_READDIR): New macros.
18769         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
18770         (convert_dirent, convert_dirent64): New functions.
18771         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
18772         convert_dirent64.  Adjust references to the readdir result.
18773         * sysdeps/unix/sysv/linux/i386/glob64.c:
18774         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
18775         * posix/bug-glob2.c (LONG_NAME): Define.
18776         (filesystem): Add LONG_NAME.
18777         (my_DIR): Increase the size of room_for_dirent.
18779 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
18781         [BZ #20041]
18782         * misc/sys/select.h (__need_timespec): Only define if
18783         [__USE_XOPEN2K].
18784         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
18785         variable.
18786         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18787         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18788         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18790 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18791             Segher Boessenkool  <segher@gcc.gnu.org>
18793         [BZ #20004]
18794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
18795         (__novec_swapcontext): Add missing load.
18797 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
18799         [BZ #20023]
18800         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
18801         <time.h>.
18802         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
18803         variable.
18804         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18806 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
18809         flags CLONE_VM compare.
18811 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18813         [BZ #20031]
18814         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
18815         completely empty.
18817 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18819         [BZ #19573]
18820         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
18821         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
18822         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
18823         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
18824         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
18825         (hesiod_free_list): Mark as hidden.
18826         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
18827         res_set, res_get.
18828         * hesiod/hesiod.c: Remove unnecessary forward declarations.
18829         (init, __hesiod_res_get, __hesiod_res_set): Remove.
18830         (hesiod_init): Remove obsolete res_ninit call.
18831         (hesiod_end): Do not free resolver state.  Do not invoke callback.
18832         (hesiod_bind): Do not call init.
18833         (get_txt_records): Use res_mkquery, res_send instead of
18834         res_nmkquery, res_nsend.
18835         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
18836         instead of _nss_hesiod_init.
18837         (_nss_hesiod_initgroups_dyn): Likewise.
18838         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
18839         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
18840         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
18842 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18844         * hesiod/hesiod_p.h (DEF_RHS): Remove.
18845         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
18847 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18849         * hesiod/hesiod.h: Remove RCS keyword.
18850         * hesiod/hesiod_p.h: Likewise.
18852         * hesiod/hesiod.c: Likewise.
18854 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
18856         [BZ #12450]
18857         * locale/iso-639.def: Add Samogitian/sgs.
18859 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18861         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
18863         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
18865 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
18866             Carlos O'Donell  <carlos@redhat.com>
18868         [BZ #19072]
18869         * grp/Makefile (headers): Add grp-merge.h
18870         (routines): Add grp-merge.
18871         * grp/getgrgid_r.c: Include grp-merge.h.
18872         (DEEPCOPY_FN): Define.
18873         (MERGE_FN): Define.
18874         * grp/getgrname_r.c: Include grp-merge.h.
18875         (DEEPCOPY_FN): Define.
18876         (MERGE_FN): Define.
18877         * grp/grp-merge.c: New file.
18878         * grp/grp-merge.h: New file.
18879         * include/grp-merge.h: New file.
18880         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
18881         __copy_grp@GLIBC_PRIVATE.
18882         * manual/nss.texi (Actions in the NSS configuration): Describe
18883         return, continue, and merge.
18884         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
18885         (DEEPCOPY_FN): Define.
18886         (MERGE_FN): Define.
18887         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
18888         (DEEPCOPY_FN): Define.
18889         (MERGE_FN): Define.
18890         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
18891         [!MERGE_FN]: Define __merge_einval.
18892         (CHECK_MERGE): Define.
18893         (REENTRANT_NAME): Process merge if do_merge is true.
18894         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
18895         (__nss_getent_r): Likewise.
18896         * nss/nsswitch.c (nss_parse_service_list): Likewise.
18897         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
18899 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18901         [BZ #20012]
18902         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
18903         length to calculate the buffer to read.
18904         (fmemopen_write): Set the buffer position based on bytes written.
18905         (fmemopen_seek): Return EINVAL for invalid whence modes.
18907         [BZ #19957]
18908         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
18909         tst-getpid2.
18910         (test): Add tst-clone2.
18911         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
18912         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
18913         pid/tid fields for CLONE_VM.
18914         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18915         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18916         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18917         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18918         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18919         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18920         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18921         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18923         Likewise.
18924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18925         Likewise.
18926         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18927         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18928         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18929         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18930         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18931         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18932         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18933         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18935 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18937         [BZ #19642]
18938         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18939         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18940         (gni_serv_local, gni_serv): New functions extracted from
18941         getnameinfo.
18942         (getnameinfo): Call gni_host and gni_serv to perform the
18943         processing.  Always free scratch buffer.
18945 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18947         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18948         remaining bytes in the dest string, with zeros.
18950 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18952         [BZ #20010]
18953         CVE-2016-3706
18954         * sysdeps/posix/getaddrinfo.c
18955         (convert_hostent_to_gaih_addrtuple): New function.
18956         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18957         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18958         AF_INET data.
18960 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18962         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18963         callback function gl_readdir.
18964         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18965         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18966         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18967         memcpy to copy the name.
18968         * manual/pattern.texi (Calling Glob): Document requirements for
18969         implementations of the gl_readdir callback function.
18970         * manual/examples/mkdirent.c: New example.
18971         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18972         per the manual guidance.
18973         * posix/tst-gnuglob.c (my_readdir): Likewise.
18975 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18977         [BZ #20014]
18978         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18979         not [__USE_POSIX].
18980         (getchar_unlocked): Likewise.
18981         (putc_unlocked): Likewise.
18982         (putchar_unlocked): Likewise.
18983         (flockfile): Likewise.
18984         (ftrylockfile): Likewise.
18985         (funlockfile): Likewise.
18986         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18987         variable.
18988         (test-xfail-XPG4/stdio.h/conform): Likewise.
18990         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18991         Expect constant.
18992         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18993         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18994         variable.
18995         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18996         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18998         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18999         [__USE_LARGEFILE64] (off64_t): Likewise.
19000         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
19001         variable.
19003 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19005         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
19007 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19009         * resolv/inet_addr.c: Reindent preprocessor conditionals.
19010         * resolv/res_init.c: Likewise.
19011         * resolv/res_mkquery.c: Likewise.
19013 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19015         * resolv/res_init.c (isascii): Do not define.  Use definition in
19016         <ctype.h>.
19017         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
19018         (LOG_AUTH): Remove.
19019         (SPRINTF): Remove, adjust caller.
19020         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
19022 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19024         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
19025         SUNSECURITY conditional.
19026         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
19028 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19030         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
19031         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
19032         Remove BSD-related preprocessor conditionals.
19033         * conf/portability.h: Remove.
19035 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19037         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
19038         * resolv/res_data.c: Likewise.
19040 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19042         * resolv/res_comp.c: Remove code conditional on __ultrix__.
19043         * resolv/res_data.c: Remove code conditional on ultrix.
19045 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19047         * resolv/res_init.c (RFC1535): Do not define.  Remove
19048         RFC1535 preprocessor conditionals.
19049         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
19050         because there configuration options which make the resolver
19051         behavior different.
19053 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19055         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
19056         RESOLVSORT preprocessor conditionals.
19057         * resolv/nss_dns/dns-host.c: Likewise.
19058         * resolv/res_init.c: Likewise.
19060 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19062         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
19063         is never defined.
19065 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19067         * inet/inet_lnaof.c: Remove SCSS keyword.
19068         * inet/inet_mkadr.c: Likewise.
19069         * inet/inet_net.c: Likewise.
19070         * inet/inet_netof.c: Likewise.
19071         * inet/rcmd.c: Likewise.
19072         * inet/rexec.c: Likewise.
19073         * inet/ruserpass.c: Likewise.
19075 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19077         * resolv/inet_addr.c: Remove _LIBC conditionals.
19078         * resolv/res_data.c: Likewise.
19079         * resolv/res_init.c: Likewise.
19080         * resolv/res_mkquery.c: Likewise.
19081         * resolv/res_libc.c: Update comment.
19082         * resolv/README: Update.
19084 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19086         * resolv/gethnamaddr.c: Remove SCSS keyword.
19087         * resolv/herror.c: Likewise.
19088         * resolv/inet_addr.c: Likewise.
19089         * resolv/inet_net_ntop.c: Likewise.
19090         * resolv/inet_net_pton.c: Likewise.
19091         * resolv/inet_neta.c: Likewise.
19092         * resolv/inet_ntop.c: Likewise.
19093         * resolv/inet_pton.c: Likewise.
19094         * resolv/ns_date.c: Remove RCS keyword.
19095         * resolv/ns_name.c: Likewise.
19096         * resolv/ns_netint.c: Likewise.
19097         * resolv/ns_parse.c: Likewise.
19098         * resolv/ns_print.c: Likewise.
19099         * resolv/ns_samedomain.c: Likewise.
19100         * resolv/ns_ttl.c: Likewise.
19101         * resolv/nsap_addr.c: Likewise.
19102         * resolv/res_comp.c: Remove SCSS and RCS keyword.
19103         * resolv/res_data.c: Remove RCS keyword.
19104         * resolv/res_debug.c: Remove SCSS and RCS keyword.
19105         * resolv/res_init.c: Likewise.
19106         * resolv/res_mkquery.c: Likewise.
19107         * resolv/res_query.c: Likewise.
19108         * resolv/res_send.c: Likewise.
19110 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19112         * conform/data/stdio.h-data (fdopen): Expect also for
19113         [XPG3 || XPG4].
19115         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
19116         (fseeko): Likewise.
19117         (ftello): Likewise.
19118         (ftrylockfile): Likewise.
19119         (funlockfile): Likewise.
19120         (getc_unlocked): Likewise.
19121         (getchar_unlocked): Likewise.
19122         (putc_unlocked): Likewise.
19123         (putchar_unlocked): Likewise.
19125 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19127         [BZ #19868]
19128         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
19129         DNS packet syntax checks (which were not needed before).  Skip
19130         over non-PTR records.
19132 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19134         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
19135         definition.  Include <stddef.h> instead.
19137 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19139         [BZ #19831]
19140         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
19141         function.
19142         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
19143         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
19145 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19147         [BZ #19862]
19148         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
19149         (getanswer_r): Do not call syslog.
19150         (gaih_getanswer_slice): Likewise.
19151         * resolv/gethnamaddr.c (AskedForGot): Remove.
19152         (getanswer): Do not call syslog.
19153         (gethostbyaddr): Likewise.
19155 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19157         * conform/data/signal.h-data (union sigval): Expect also if
19158         [XOPEN2K].
19159         (struct sigevent): Likewise.
19160         (SIGEV_NONE): Likewise.
19161         (SIGEV_SIGNAL): Likewise.
19162         (SIGEV_THREAD): Likewise.
19163         (SIGRTMIN): Likewise.
19164         (SIGRTMAX): Likewise.
19165         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
19166         variable.
19167         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19169 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19171         [BZ #19830]
19172         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
19173         (gaih_getanswer_slice): Likewise.
19174         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
19175         Also check for availability of RR metadata.
19177 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19179         [BZ #19825]
19180         * resolv/res_send.c (send_vc): Remove early *resplen2
19181         initialization.  Set *resplen2 on socket error.  Call
19182         close_and_return_error for other errors.
19184 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19186         * sysdeps/unix/sysv/linux/netiucv/iucv.h
19187         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19188         (SCM_IUCV_TRGCLS): New define.
19190 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19192         [BZ #20005]
19193         * libio/fmemopen.c (fmemopen_write): Update internal position after
19194         write.
19195         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19196         * stdio-common/tst-fmemopen4.c: New file..
19198 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
19200         [BZ #19996]
19201         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
19202         not [__USE_XOPEN2K].
19203         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
19204         variable.
19206         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
19207         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
19208         variable.
19210         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
19211         [__USE_XOPEN2K8].
19212         [__USE_LARGEFILE64] (off64_t): Likewise.
19213         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
19214         variable.
19216 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
19218         [BZ #19989]
19219         * libio/stdio.h (cuserid): Do not declare if
19220         [__USE_XOPEN2K && !__USE_GNU].
19221         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
19222         variable.
19224 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19226         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19227         (sysdep_routines): Add P8 and PPC64 strcspn targets.
19228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19229         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19230         ifunc'ed strcspn.
19231         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19232         [EALIGN]: Removed.
19233         [END]: Likewise
19234         [STRSPN]: Define instead of the above to control symbol name.
19235         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
19236         New file.
19237         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
19238         Likewise.
19239         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
19240         Likewise.
19241         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
19242         Likewise.
19243         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19244         [INITIAL_MASK]: New macro.
19245         [STRCSPN]: Likewise.
19246         [UPDATE_MASK]: Likewise.
19247         [USE_AS_STRCSPN]: Likewise.
19249 2016-04-25  Florian Weimer  <fweimer@redhat.com>
19251         [BZ #19931]
19252         * stdio-common/tst-vfprintf-width-prec.c: New file.
19253         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
19254         (tests-special): Add tst-vfprintf-width-prec-mem.out.
19255         (generated): Add mtrace-related files.
19256         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
19257         (tst-%-mem.out): New pattern rule, replaces
19258         tst-printf-bz18872-mem.out.
19259         * stdio-common/vfprintf.c (vfprintf): When handling a precision
19260         specifier, deallocate any previously allocated work buffer.
19262 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19264         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
19265         Add nop before __startcontext, add explaining comments.
19267 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
19269         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
19270         any more. Notably since IPV6_PKTINFO has been reintroduced with a
19271         completely different API.
19273         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
19274         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
19275         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19276         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19277         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19278         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19279         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19280         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19281         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19282         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19284 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
19286         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19288 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
19290         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19291         when it is the default of 0.
19293 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19295         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
19296         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19297         (sysdep_routines): Add new strcasestr targets.
19298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19299         (__libc_ifunc_impl_list): Likewise.
19300         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19301         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19302         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19303         * sysdeps/powerpc/powerpc64/power8/Makefile:
19304         New file to add strcasestr-ppc64 to sysdep_routines.
19305         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19306         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19308 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
19310         * benchtests/Makefile (wcsmbs-benchset): Include only for
19311         native builds and runs.
19312         (LOCALES): Likewise.
19313         (bench-build): Build timing-type here instead of the bench
19314         target.  Generate locale only for native builds.
19315         * benchtests/README: Add note for cross-building.
19317         * benchtests/Makefile (bench-clean): Clean up extra-objs.
19319         * benchtests/README: Update README to include instructions on
19320         using bench-build.
19322         * Makefile.in (bench-build): New target.
19323         * Rules (PHONY): Add bench-build target.
19324         * benchtests/Makefile (bench): Depend on bench-build.
19325         (bench-build): New target.
19327 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19329         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19330         profil_reply_port.
19331         (profile_waiter): Do not initialize profil_reply_port.
19332         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19333         frequency instead of tick length in us.
19335 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19337         [BZ #18712]
19338         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19339         (__old_mempcpy_small): Likewise.
19340         (__old_strcpy_small): Likewise.
19341         (__old_stpcpy_small): Likewise.
19342         (__old_strpbrk_c2): Fix compat symbol name.
19343         (__old_strpbrk_c3): Likewise.
19344         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19345         (__mempcpy_small): Remove.
19346         (__strcpy_small): Remove.
19347         (__stpcpy_small): Remove.
19349 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19351         [BZ #19400]
19352         * locale/iso-639.def: Add the Talossan/tzl language.
19354 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19356         [BZ #16983]
19357         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19358         comment.  Add "ln" to strchr check on postal_fmt.
19360 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19362         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19363         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19364         tel_dom_fmt.
19366 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19368         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19369         (sysdep_routines): Added __strlen_power8.
19370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19371         __strlen_power8 entry.
19372         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19373         Implementation for POWER8.
19374         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19375         for __strlen_power8.
19376         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19377         Implementation for POWER8.
19379 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19381         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19383 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19385         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19386         Goldmont and Airmont processors.
19388 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19390         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19391         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19392         (__STRING2_SMALL_GET32): Remove.
19393         (memset): Remove.
19394         (__memset_1): Remove.
19395         (__memset_gc): Remove.
19396         (__mempcpy): Remove.
19397         (mempcpy): Remove.
19398         (__mempcpy_args): Remove.
19399         (strchr): Remove.
19400         (strcpy): Remove.
19401         (strcpy_args): Remove.
19402         (__stpcpy_args): Remove.
19403         (__strcmp_cc): Remove.
19404         (__strcmp_gc): Remove.
19405         (strstr): Remove.
19407 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19409         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19410         * nis/nis_call.c (nis_server_cache_add): Likewise.
19412 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19414         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19416 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19418         * malloc/arena.c (__malloc_fork_lock_parent)
19419         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19420         internal_function attribute.
19422 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19424         * stdio-common/printf_fp.c (__printf_fp_l):
19425         Rename ___printf_fp_l to __printf_fp_l and
19426         remove strong alias. Use libc_hidden_def instead
19427         of ldbl_hidden_def macro.
19429 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19431         Remove malloc hooks from fork handler.  They are no longer needed
19432         because malloc runs right before fork, and no malloc calls from
19433         other fork handlers are not possible anymore.
19434         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19435         declarations.
19436         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19437         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19438         (atfork_recursive_cntr): Remove.
19439         (__malloc_fork_lock_parent): Do not override malloc hooks and
19440         thread_arena.
19441         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19442         thread_arena.
19443         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19444         thread_arena instead of save_arena.
19446 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19448         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19449         (thread_atfork, thread_atfork_static): Remove.
19450         * sysdeps/mach/hurd/malloc-machine.h:
19451         (thread_atfork, thread_atfork_static): Remove.
19453 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19455         [BZ #19431]
19456         Run the malloc fork handler as late as possible to avoid deadlocks.
19457         * malloc/malloc-internal.h: New file.
19458         * malloc/malloc.c: Include it.
19459         * malloc/arena.c (ATFORK_MEM): Remove.
19460         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19461         Update comment.
19462         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19463         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19464         Remove outdated comment.
19465         (ptmalloc_init): Do not call thread_atfork.  Remove
19466         thread_atfork_static.
19467         * malloc/tst-malloc-fork-deadlock.c: New file.
19468         * Makefile (tests): Add tst-malloc-fork-deadlock.
19469         (tst-malloc-fork-deadlock): Link against libpthread.
19470         * manual/memory.texi (Aligned Memory Blocks): Update safety
19471         annotation comments.
19472         * sysdeps/nptl/fork.c (__libc_fork): Call
19473         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19474         __malloc_fork_unlock_child.
19475         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19477 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19479         [BZ #19613]
19480         Remove union wait.
19481         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19482         (w_stopsig, w_stopval): Remove.
19483         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19484         stat_loc argument.
19485         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19486         (__WAIT_STATUS_DEFN): Remove.
19487         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19488         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19489         (wait, wait3, wait4): Use int * for the stat_loc argument.
19490         * posix/wait.c (__wait): Likewise.
19491         * posix/wait3.c (__wait3): Likewise.
19492         * posix/wait4.c (__wait4): Likewise.
19493         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19494         (__WAIT_STATUS_DEFN): Remove.
19495         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19496         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19497         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19498         argument.
19499         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19500         * sysdeps/posix/wait3.c (__wait3): Likewise.
19501         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19502         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19503         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19504         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19505         stat_loc argument.
19506         * manual/process.texi (BSD Wait Functions): Remove union wait.
19508 2016-04-13  Andreas Schwab  <schwab@suse.de>
19510         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19511         (test-extras): Add tst-tlsalign-vars.
19512         * math/Makefile: Wrap long lines.
19513         (libm-vec-test-wrappers): Define.
19514         (test-extras): Add $(libm-vec-test-wrappers).
19515         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19516         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19517         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19518         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19519         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19520         (extra-test-objs): Add corresponding objects.
19522 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19524         [BZ #19928]
19525         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19526         New.
19527         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19528         times of shared cache size.
19529         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19530         (VMOVNT): New.
19531         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19532         (VMOVNT): Likewise.
19533         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19534         (VMOVNT): Likewise.
19535         (VMOVU): Changed to movups for smaller code sizes.
19536         (VMOVA): Changed to movaps for smaller code sizes.
19537         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19538         comments.
19539         (PREFETCH): New.
19540         (PREFETCH_SIZE): Likewise.
19541         (PREFETCHED_LOAD_SIZE): Likewise.
19542         (PREFETCH_ONE_SET): Likewise.
19543         Rewrite to use forward and backward loops, which move 4 vector
19544         registers at a time, to support overlapping addresses and use
19545         non temporal store if size is above the threshold and there is
19546         no overlap between destination and source.
19548 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19550         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19551         Include dl-vdso.
19552         * sysdeps/unix/sysv/linux/mips/Versions: Add
19553         __vdso_clock_gettime.
19554         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19555         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19556         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19557         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19558         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19559         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19560         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19561         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19562         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19564 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19566         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19567         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19570         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19571         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19574         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19576         syscalls generation.
19577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19578         [__NR_pwrite64] (__NR_write): Remove define.
19579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19580         [__NR_pwrite64] (__NR_write): Remove define.
19581         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19582         Remove define.
19583         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19584         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19585         Remove define.
19586         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19587         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19588         Linux implementation as base.
19589         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19591         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19592         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19597         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19598         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19599         syscall generation.
19600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19601         [__NR_pread64] (__NR_pread): Remove define.
19602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19603         [__NR_pread64] (__NR_pread): Likewise.
19604         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19605         define.
19606         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19607         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19608         Remove define.
19609         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19610         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19611         Linux implementation as base.
19612         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19613         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19614         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19616         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19617         definition.
19618         (__ALIGNMENT_COUNT): Likewise.
19619         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19620         (__ALIGNMENT_COUNT): Likewise.
19621         (SYSCALL_LL): New define.
19622         (SYSCALL_LL64): Likewise.
19623         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19624         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19625         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19626         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19628         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19629         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19630         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19631         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19632         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19633         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19635 2016-04-11  Florian Weimer  <fweimer@redhat.com>
19637         [BZ #19865]
19638         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19639         original buffer before retry.
19641 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19643         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19644         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19645         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19646         GLRO(dl_auxv) list.
19647         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19648         including <ldsodefs.h>.
19649         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19651 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
19653         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19654         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19655         $(CPPFLAGS).
19657 2016-04-09  Khem Raj  <raj.khem@gmail.com>
19659         [BZ #17950]
19660         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19661         Add -mfpmath=387.
19663 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
19665         * sysdeps/i386/configure.ac: Change == to = when calling test.
19666         * sysdeps/x86_64/configure.ac: Likewise.
19667         * sysdeps/i386/configure: Regenerated.
19668         * sysdeps/x86_64/configure: Likewise.
19670 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
19672         [BZ #16137]
19673         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19674         * benchtests/bench-strcoll.c (input_files): Likewise.
19675         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19676         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19677         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19679 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
19681         [BZ #19929]
19682         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
19683         [__USE_XOPEN2K8 && !__USE_GNU].
19684         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
19685         variable.
19687         [BZ #19925]
19688         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
19689         define if [!__USE_MISC && __USE_XOPEN2K].
19690         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
19691         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
19692         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
19693         Likewise.
19694         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
19695         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
19696         variable.
19697         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19699 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19701         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19702         (sysdep_routines): Add new strspn targets.
19703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19704         (__libc_ifunc_impl_list): Add strspn.
19705         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19706         New file.
19707         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
19708         Likewise.
19709         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
19710         Likewise.
19711         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19712         Likewise.
19714 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19716         * misc/hsearch_r.c: Include <limits.h>.
19718 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19720         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
19722 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19724         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19725         (MEMCPY_SYMBOL): New.
19726         (MEMPCPY_SYMBOL): Likewise.
19727         (MEMMOVE_CHK_SYMBOL): Likewise.
19728         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
19729         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
19730         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
19731         Provide alias for memcpy in libc.a and ld.so.
19733 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19735         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19736         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
19737         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
19738         Disabled fro now.
19739         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
19740         symbols.  Properly check USE_MULTIARCH on __memset symbols.
19742 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19744         * benchtests/Makefile (string-benchset): Add memcpy-large,
19745         memmove-large and memset-large.
19746         * benchtests/bench-memcpy-large.c: New file.
19747         * benchtests/bench-memmove-large.c: Likewise.
19748         * benchtests/bench-memmove-large.c: Likewise.
19749         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
19751 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19753         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
19754         32-bit displacement to avoid long nop between instructions.
19756 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19758         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
19759         a comment on VMOVU and VMOVA.
19761 2016-04-04  Florian Weimer  <fweimer@redhat.com>
19763         [BZ #19633]
19764         Use specified locale for number formatting in strfmon_l.
19765         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
19766         (__nl_lookup_word): New inline functions.
19767         * include/printf.h (__print_fp_l): Declare.
19768         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
19769         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
19770         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
19771         (___printf_fp): New function.
19772         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
19773         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
19774         * stdlib/tst-strfmon_l.c (do_test): New test.
19775         * stdlib/Makefile (tests): Add kt.
19776         (LOCALES): Build additional locales.
19777         (tst-strfmon_l.out): Require locales.
19779 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19781         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
19782         if not in libc.
19783         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19784         Likewise.
19785         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
19786         Likewise.
19787         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19788         Likewise.
19790 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19792         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19793         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
19794         with unaligned_erms.
19795         (__memmove_erms): Skip if source == destination.
19796         (__memmove_unaligned_erms): Don't check source == destination
19797         first.
19799 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19801         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
19802         bit_arch_Fast_Copy_Backward for Intel Core proessors.
19804 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19806         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
19807         * string/strspn.c (strspn): Likewise.
19809 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19811         * benchtests/bench-memset.c (do_test): Support 64-byte
19812         alignment.
19813         (test_main): Test 64-byte alignment.
19815 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19817         * benchtests/bench-memmove.c (test_main): Test 64-byte
19818         alignment.
19820 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19822         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
19824 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19826         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
19827         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
19828         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
19830         * string/strpbrk.c (strpbrk): Rewrite function.
19831         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
19832         (__strpbrk_c2): Likewise.
19833         (__strpbrk_c3): Likewise.
19834         * string/string-inlines.c
19835         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
19836         Likewise.
19837         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
19838         Likewise.
19840         * string/strspn.c (strcspn): Rewrite function.
19841         * string/bits/string2.h (strspn): Use __builtin_strcspn.
19842         (__strspn_c1): Remove inline function.
19843         (__strspn_c2): Likewise.
19844         (__strspn_c3): Likewise.
19845         * string/string-inlines.c
19846         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
19847         compatibility symbol.
19848         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
19849         Likewise.
19850         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
19851         Likewise.
19852         * string/string-inlines.c: Include generic version.
19854 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
19855             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19857         * string/Version (libc): Add GLIBC_2.24.
19858         * string/strcspn.c (strcspn): Rewrite function.
19859         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
19860         (__strcspn_c1): Remove inline function.
19861         (__strcspn_c2): Likewise.
19862         (__strcspn_c3): Likewise.
19863         * string/string-inline.c
19864         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
19865         compatibility symbol.
19866         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
19867         Likewise.
19868         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
19869         Likewise.
19870         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19872 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19874         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19875         Use ahi instead of aghi to adjust stack pointer.
19877 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19879         [BZ #19853]
19880         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
19881         TEST to take significant digits as second parameter.
19882         [TEST]: Redefine in terms of TEST_N taking 30
19883         significant digits.
19884         (do_test): Add test case to demonstrate precision
19885         failure in the ldbl-128ibm printf.
19886         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
19887         (__mpn_extract_long_double): Carry 7 extra intermediate
19888         bits of precision to aide computing difference when
19889         signs differ.
19891 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19893         [BZ #19881]
19894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19895         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
19896         memset-avx512-unaligned-erms.
19897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19898         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
19899         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
19900         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
19901         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
19902         __memset_sse2_unaligned_erms, __memset_erms,
19903         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
19904         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19905         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
19906         file.
19907         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19908         Likewise.
19909         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
19910         Likewise.
19911         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
19912         Likewise.
19914 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19916         [BZ #19776]
19917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19918         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19919         memmove-avx512-unaligned-erms.
19920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19921         (__libc_ifunc_impl_list): Test
19922         __memmove_chk_avx512_unaligned_2,
19923         __memmove_chk_avx512_unaligned_erms,
19924         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19925         __memmove_chk_sse2_unaligned_2,
19926         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19927         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19928         __memmove_avx512_unaligned_erms, __memmove_erms,
19929         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19930         __memcpy_chk_avx512_unaligned_2,
19931         __memcpy_chk_avx512_unaligned_erms,
19932         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19933         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19934         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19935         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19936         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19937         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19938         __mempcpy_chk_avx512_unaligned_erms,
19939         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19940         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19941         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19942         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19943         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19944         __mempcpy_erms.
19945         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19946         file.
19947         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19948         Likewise.
19949         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19950         Likewise.
19951         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19952         Likewise.
19954 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19956         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19957         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19958         (La_s390_64_regs): Likewise.
19959         (La_s390_32_retval): Append vector register lrv_v24.
19960         (La_s390_64_retval): Likeweise.
19961         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19962         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19963         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19964         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19966 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19968         [BZ #19916]
19969         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19970         to create a non-vector/vector version for _dl_runtime_resolve and
19971         _dl_runtime_profile. Move implementation to ...
19972         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19973         (_dl_runtime_resolve) Save and restore fpr/vrs.
19974         (_dl_runtime_profile) Save and restore vrs and fix some issues
19975         if _dl_call_pltexit is called.
19976         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19977         Choose the correct resolver function if running on a machine with vx.
19978         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19979         to create a non-vector/vector version for _dl_runtime_resolve and
19980         _dl_runtime_profile. Move implementation to ...
19981         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19982         (_dl_runtime_resolve) Save and restore fpr/vrs.
19983         (_dl_runtime_profile) Save and restore vrs and fix some issues
19984         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19985         Choose the correct resolver function if running on a machine with vx.
19987 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19989         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19991 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19993         [BZ #19509]
19994         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19995         skip_map != NULL.
19996         * elf/tst-dlsym-error.c: New file.
19997         * elf/Makefile (tests): Add tst-dlsym-error.
19998         (tst-dlsym-error): Link against libdl.
20000 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
20002         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20003         (__ASSUME_FUTIMESAT): Remove macro.
20004         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
20006 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20008         [BZ #19879]
20009         CVE-2016-3075
20010         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
20011         copy name.
20013 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20015         [BZ #19837]
20016         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
20017         error if parse_line fails.
20019 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20021         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
20022         (index_cpu_ERMS): Likewise.
20023         (reg_ERMS): Likewise.
20025 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
20027         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
20028         PER_LINUX_FDPIC): Add.
20030 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20033         memcpy-avx512-no-vzeroupper.
20034         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
20035         to ...
20036         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
20037         (MEMCPY): Don't define.
20038         (MEMCPY_CHK): Likewise.
20039         (MEMPCPY): Likewise.
20040         (MEMPCPY_CHK): Likewise.
20041         (MEMPCPY_CHK): Renamed to ...
20042         (__mempcpy_chk_avx512_no_vzeroupper): This.
20043         (MEMPCPY_CHK): Renamed to ...
20044         (__mempcpy_chk_avx512_no_vzeroupper): This.
20045         (MEMCPY_CHK): Renamed to ...
20046         (__memmove_chk_avx512_no_vzeroupper): This.
20047         (MEMCPY): Renamed to ...
20048         (__memmove_avx512_no_vzeroupper): This.
20049         (__memcpy_avx512_no_vzeroupper): New alias.
20050         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
20052 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20054         [BZ #18858]
20055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20056         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
20057         and mempcpy-avx512-no-vzeroupper.
20058         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
20059         New.
20060         (MEMPCPY): Likewise.
20061         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
20062         (MEMPCPY_CHK): New.
20063         (MEMPCPY): Likewise.
20064         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
20065         (MEMPCPY): Likewise.
20066         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
20067         (MEMPCPY): Likewise.
20068         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
20069         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
20070         Likewise.
20071         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
20072         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
20074 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20075              Amit Pawar  <Amit.Pawar@amd.com>
20077         [BZ #19583]
20078         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20079         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
20080         processors.  Set Fast_Copy_Backward for AMD Excavator
20081         processors.
20082         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
20083         New.
20084         (index_arch_Fast_Unaligned_Copy): Likewise.
20085         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
20086         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
20088 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20090         [BZ #19791]
20091         * resolv/res_send.c (close_and_return_error): New function.
20092         (send_dg): Initialize *resplen2 after reopen failure.  Call
20093         close_and_return_error for error returns.  On error paths without
20094         __res_iclose, initialze *resplen2 explicitly.  Update comment for
20095         successful return.
20097 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20099         [BZ #19860]
20100         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
20101         zero if the compiler does not provide the AVX512F bit.
20103 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
20105         [BZ #19848]
20106         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
20107         from 8 to 4.
20108         (__ieee754_powl): Compare integer exponent against 4 not 8.
20109         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
20110         from 8 to 4.
20111         (__ieee754_powl): Compare integer exponent against 4 not 8.
20112         * math/auto-libm-test-in: Add more tests of pow.
20113         * math/auto-libm-test-out: Regenerated.
20114         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
20115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20117 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20119         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
20120         Make code unconditional.
20121         [!__NR_utimensat]: Remove conditional code.
20122         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
20123         Make code unconditional.
20124         [!__NR_utimensat]: Remove conditional code.
20125         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
20126         Make code unconditional.
20127         [!__NR_utimensat]: Remove conditional code.
20129 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20131         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
20132         Make code unconditional.
20134 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
20136         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
20137         call-clobbered %eax on retry path.
20138         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20140 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20142         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
20143         Don't set %rcx twice before "rep movsb".
20145 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20147         [BZ #19583]
20148         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
20149         inline.  Check family before setting family, model and
20150         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
20151         bits here.
20152         (init_cpu_features): Replace HAS_CPU_FEATURE and
20153         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
20154         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
20155         for Intel processors with usable AVX2.  Call get_common_indeces
20156         for other processors with family == NULL.
20157         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
20158         (CPU_FEATURES_ARCH_P): Likewise.
20159         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
20160         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
20162 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20164         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
20165         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
20166         $(shared-thread-library) instead of hardcoding the path to libpthread.
20168 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
20170         * sysdeps/unix/sysv/linux/kernel-features.h
20171         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
20172         * sysdeps/unix/sysv/linux/getdents.c
20173         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
20174         [!have_no_getdents64_defined]: Likewise.
20175         (__GETDENTS): Remove __have_no_getdents64 conditional.
20177 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
20179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20180         Remove macro.
20181         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20182         <kernel-features.h>.
20183         (signalfd) [__NR_signalfd4]: Make code unconditional.
20184         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20186 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20188         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20189         style.
20191 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20193         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20194         (__pthread_enable_asynccancel): Use JUMPTARGET to call
20195         __pthread_unwind.
20196         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20197         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
20198         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20199         (__condvar_cleanup1): Likewise.
20201 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
20203         [BZ #19822]
20204         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
20205         move it to the final $@ location.
20207 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20209         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
20210         access where posix_spawn success and pid argument is null.
20211         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
20212         success case.
20214 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
20216         * sysdeps/mach/hurd/i386/c++-types.data: New file.
20218         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
20220         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
20221         and __fcntl.
20222         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
20223         __fcntl only.
20224         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
20225         adding attribute_hidden to __open and __fcntl.
20227         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
20228         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
20229         depend on libc-modules.h,
20230         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
20232 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
20234         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
20235         Remove macro.
20236         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
20237         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
20238         entry.
20240         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
20241         Remove macro.
20242         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
20243         include <kernel-features.h>.
20244         [!__ASSUME_FALLOCATE]: Remove conditional code.
20245         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
20247 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20249         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
20250         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
20251         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
20252         (_ZGVdN4v_cos_avx2): Likewise.
20253         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
20254         (_ZGVdN4v_cos): Likewise.
20255         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
20256         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
20257         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
20258         (_ZGVdN4v_exp_avx2): Likewise.
20259         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
20260         (_ZGVdN4v_exp): Likewise.
20261         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
20262         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
20263         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
20264         (_ZGVdN4v_log_avx2): Likewise.
20265         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
20266         (_ZGVdN4v_log): Likewise.
20267         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
20268         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
20269         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
20270         (_ZGVdN4vv_pow_avx2): Likewise.
20271         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
20272         (_ZGVdN4vv_pow): Likewise.
20273         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
20274         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
20275         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20276         (_ZGVdN4v_sin_avx2): Likewise.
20277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20278         (_ZGVdN4v_sin): Likewise.
20279         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20280         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20281         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20282         (_ZGVdN4vvv_sincos_avx2): Likewise.
20283         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20284         (_ZGVdN4vvv_sincos): Likewise.
20285         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20286         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20287         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20288         (_ZGVbN4v_cosf_sse4): Likewise.
20289         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20290         (_ZGVdN8v_cosf_avx2): Likewise.
20291         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20292         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20293         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20294         (_ZGVbN4v_expf_sse4): Likewise.
20295         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20296         (_ZGVdN8v_expf_avx2): Likewise.
20297         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20298         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20299         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20300         (_ZGVbN4v_logf_sse4): Likewise.
20301         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20302         (_ZGVdN8v_logf_avx2): Likewise.
20303         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20304         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20305         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20306         (_ZGVbN4vv_powf_sse4): Likewise.
20307         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20308         (_ZGVdN8vv_powf_avx2): Likewise.
20309         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20310         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20311         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20312         (_ZGVbN4vvv_sincosf_sse4): Likewise.
20313         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20314         (_ZGVdN8vvv_sincosf_avx2): Likewise.
20315         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20316         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20317         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20318         (_ZGVbN4v_sinf_sse4): Likewise.
20319         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20320         (_ZGVdN8v_sinf_avx2): Likewise.
20321         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20322         Use JUMPTARGET to call callee.
20323         (WRAPPER_IMPL_SSE2_ff): Likewise.
20324         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20325         (WRAPPER_IMPL_AVX): Likewise.
20326         (WRAPPER_IMPL_AVX_ff): Likewise.
20327         (WRAPPER_IMPL_AVX_fFF): Likewise.
20328         (WRAPPER_IMPL_AVX512): Likewise.
20329         (WRAPPER_IMPL_AVX512_ff): Likewise.
20330         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20331         Likewise.
20332         (WRAPPER_IMPL_SSE2_ff): Likewise.
20333         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20334         (WRAPPER_IMPL_AVX): Likewise.
20335         (WRAPPER_IMPL_AVX_ff): Likewise.
20336         (WRAPPER_IMPL_AVX_fFF): Likewise.
20337         (WRAPPER_IMPL_AVX512): Likewise.
20338         (WRAPPER_IMPL_AVX512_ff): Likewise.
20339         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20341 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20343         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20344         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20345         qualifier.
20346         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20347         internal_function qualifiers.
20349 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20351         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20352         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20353         * math/atest-exp.c (exp_mpn): Mark chk unused.
20354         * math/atest-exp2.c (exp_mpn): Likewise.
20355         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20356         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20358 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20360         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20361         Remove macro.
20362         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20363         <kernel-features.h>.
20364         [__NR_ppoll]: Make code unconditional.
20365         [!__ASSUME_PPOLL]: Remove conditional code.
20367         * sysdeps/unix/sysv/linux/kernel-features.h
20368         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20369         (__ASSUME_ACCEPT4): Likewise.
20370         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20371         Define.
20372         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20373         Likewise.
20374         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20375         Likewise.
20376         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20377         Likewise.
20378         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20379         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20380         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20381         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20382         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20383         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20384         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20385         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20386         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20387         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20388         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20389         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20390         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20392         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20393         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20394         Likewise.
20395         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20396         Likewise.
20397         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20398         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20399         0x040300].
20400         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20401         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20402         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20403         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20404         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20405         0x030300].
20406         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20407         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20408         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20409         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20410         0x040300].
20411         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20413         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20414         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20415         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20416         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20417         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20418         0x030300].
20419         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20420         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20421         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20422         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20423         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20424         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20425         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20426         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20427         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20428         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20429         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20430         0x040300].
20431         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20432         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20433         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20434         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20435         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20437         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20438         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20439         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20440         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20441         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20442         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20443         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20444         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20445         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20446         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20447         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20448         Likewise.
20449         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20450         Likewise.
20452 2016-03-15  Andreas Schwab  <schwab@suse.de>
20454         [BZ #19257]
20455         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20456         statp->_u._ext.nscount as loop count.
20458 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20460         * math/test-signgam-finite-c99.c: Also #undef
20461         __LIBC_INTERNAL_MATH_INLINES.
20462         * math/test-signgam-main.c: Likewise.
20464 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20466         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20467         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20468         (MADV_FREE): Likewise.
20469         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20470         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20471         EPOLLEXCLUSIVE.
20473 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20475         * timezone/README: Remove mention of checktab.awk. Mention wiki
20476         SharedSourceFiles.
20478 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20480         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20481         WUNTRACED.
20483 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20485         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20486         order to match the type of p when calling atomic_exchange_acq().
20488 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20490         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20491         cfi_offset calls.
20492         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20493         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20494         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20495         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20496         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20498 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20500         * timezone/checktab.awk: Removed.
20502 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20504         * manual/math.texi (Errors in Math Functions): Document relaxed
20505         accuracy goals for IBM long double.
20506         * math/libm-test.inc (test_exceptions): Always allow spurious
20507         "underflow" and "inexact" exceptions for IBM long double.
20509 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20511         [BZ #19762]
20512         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20513         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20514         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20515         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20516         (bit_arch_*): This for feature array.
20517         (bit_*): Renamed to ...
20518         (bit_cpu_*): This for cpu array.
20519         (index_*): Renamed to ...
20520         (index_arch_*): This for feature array.
20521         (index_*): Renamed to ...
20522         (index_cpu_*): This for cpu array.
20523         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20524         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20525         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20526         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20527         bit_##name with index_cpu_##name and bit_cpu_##name.
20528         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20529         bit_##name with index_arch_##name and bit_arch_##name.
20531 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20533         [BZ #19792]
20534         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20535         Terminate FDE before return label.
20537 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20539         [BZ #19790]
20540         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20541         (rintl): Define as macro.
20542         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20543         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20544         of fesetround.  Ensure results are evaluated before end of scope.
20545         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20546         USE_AS_NEARBYINTL and include s_rintl.c.
20547         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20548         Disable exception traps in new environment.
20549         (libc_feholdsetround_ppc_ctx): Likewise.
20551 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20553         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20554         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20555         (tst_audit10_aux) [__AVX512F__]: ... here.
20557 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20559         * include/sys/auxv.h: New file.
20561 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20563         [BZ #19759]
20564         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20566 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20568         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20569         operand modifier.
20570         (feclearexcept): Likewise.
20572 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20574         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20575         to reflect the entire 32-bit HWCAP.
20576         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20577         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20579 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20581         [BZ #19783]
20582         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20583         $(test-via-rtld-prefix).
20584         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20586 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20588         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20589         union wait.  Report any non-zero exit status as error.
20591 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20593         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20594         configured with --enable-hardcoded-path-in-tests.
20596 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20598         [BZ #19677]
20599         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20600         (__ieee754_remainderl): Put zero low parts in canonical form.
20601         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20602         file.  Based on
20603         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20604         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20605         with wrapper round test-fmodrem-ldbl-128ibm.c.
20606         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20607         file.
20608         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20609         Likewise.
20610         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20611         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20613 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20615         [BZ #19610]
20616         * elf/ldconfig.c (opt_link): Update comment.
20617         (options): Update help string for option -X.
20618         (search_dir): Unlink stale symbolic link only if updating symbolic
20619         links.
20620         * elf/tst-ldconfig-X.sh: New file.
20621         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20622         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20624 2016-03-07  Andreas Schwab  <schwab@suse.de>
20626         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20627         needed arguments.
20629 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
20631         [BZ #15333]
20632         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20633         to lstat64.
20635 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20637         * libio/filedoalloc.c (isatty): Remove.
20638         (local_isatty): Add comment.  Call __isatty directly.
20639         (_IO_file_doallocate): Update comment.  Assume _LIBC.
20640         * libio/wfiledoalloc.c (isatty): Remove.
20641         (_IO_wfile_doallocate): Update comment.
20643 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20645         [BZ #19269]
20646         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20647         tst-audit4-aux.o.
20648         (tst-audit10): Depend on tst-audit10-aux.o.
20649         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20650         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20651         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20652         instead of inline AVX code.
20653         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20654         instead of inline AVX512 code.
20655         * sysdeps/x86_64/tst-audit4-aux.c: New file
20656         * sysdeps/x86_64/tst-audit10-aux.c: New file
20658         [BZ #19648]
20659         * test-skeleton.c (main): Do not set RLIMIT_DATA.
20661 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20663         [BZ #14750]
20664         [BZ #10354]
20665         [BZ #18433]
20666         * include/sched.h (__clone): Add hidden prototype.
20667         (__clone2): Likewise.
20668         * include/unistd.h (__dup): Likewise.
20669         * posix/Makefile (tests): Add tst-spawn2.
20670         * posix/tst-spawn2.c: New file.
20671         * sysdeps/posix/dup.c (__dup): Add hidden definition.
20672         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20673         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20674         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20675         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20676         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20677         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20678         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20679         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20680         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20681         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20683         Likewise.
20684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20685         Likewise.
20686         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20687         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20688         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20689         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20690         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20691         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20692         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20693         * sysdeps/unix/sysv/linux/nptl-signals.h
20694         (____nptl_is_internal_signal): New function.
20695         * sysdeps/unix/sysv/linux/spawni.c: New file.
20697         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
20698         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
20699         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
20700         * posix/tst-execvp2.c (do_test): Likewise.
20701         * posix/tst-execvp3.c (do_test): Likewise.
20702         * posix/tst-execvp4.c (do_test): Likewise.
20703         * posix/tst-execvpe1.c: New file.
20704         * posix/tst-execvpe2.c: Likewise.
20705         * posix/tst-execvpe3.c: Likewise.
20706         * posix/tst-execvpe4.c: Likewise.
20707         * posix/tst-execvpe5.c: Likewise.
20708         * posix/tst-execvpe6.c: Likewise.
20710         [BZ #19534]
20711         * posix/execl.c (execl): Remove dynamic memory allocation.
20712         * posix/execle.c (execle): Likewise.
20713         * posix/execlp.c (execlp): Likewise.
20715 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20717         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
20718         Replace .text with .text.avx512.
20719         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
20720         Likewise.
20722 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
20724         * sysdeps/generic/libnsl.abilist: New file.
20725         * sysdeps/generic/libutil.abilist: New file.
20727 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20729         [BZ #19762]
20730         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
20731         HAS_ARCH_FEATURE with Fast_Rep_String.
20732         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
20733         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
20734         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
20735         Likewise.
20736         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
20737         Likewise.
20738         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
20739         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
20740         Likewise.
20741         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
20742         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
20743         Likewise.
20745 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20747         [BZ #19745]
20748         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
20749         with *%rax in call.
20751 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20753         [BZ #19745]
20754         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
20755         with *__libc_start_main@GOTPCREL(%rip) in call.
20757 2016-03-04  Roland McGrath  <roland@hack.frob.com>
20759         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
20760         inside conditional for nonempty $(CXX).
20762         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
20763         nonempty.
20765         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
20766         to test for empty $(CXX) rather than $(CXX) of "no".
20768 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20770         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
20772 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
20773             H.J. Lu  <hongjiu.lu@intel.com>
20775         [BZ #18880]
20776         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
20777         instead of Slow_BSF, and also check for Fast_Copy_Backward to
20778         enable __memcpy_ssse3_back.
20780 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20782         [BZ #19758]
20783         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20784         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
20786 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20788         [BZ #19490]
20789         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
20790         (__fentry__): Likewise.
20792 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20794         * gmon/Makefile (noprof): Add $(sysdep_noprof).
20795         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
20797 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20799         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
20800         __mcount_internal directly.
20801         (C_LABEL(__fentry__)): Likewise.
20802         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
20803         directly.
20805 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20807         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20808         (__start_context): Call __setcontext directly.
20810 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
20812         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20813         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20814         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
20815         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20816         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20817         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20818         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
20819         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20820         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20821         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
20822         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20823         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20824         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20825         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20826         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20827         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20828         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
20829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20830         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20831         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20832         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
20833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20834         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20835         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20836         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
20837         Remove conditional code.
20838         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20839         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
20840         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20841         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20842         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
20843         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20844         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20845         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20846         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20847         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20849         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20851 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
20853         * NEWS (2.23): Fix typo in bug 19048 text.
20855 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
20857         [BZ #14259]
20858         * Makeconfig: Rename msgcatdir to localedir.
20859         Rename inst_msgcatdir to inst_localedir.
20860         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
20861         * config.make.in: Add localedir.
20862         * elf/Makefile ($(objpfx)sotruss): Use localedir.
20863         (ldd-rewrite): Likewise.
20864         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
20865         (install-others): Use inst_localedir.
20866         (CPPFLAGS): Use localedir.
20867         * locale/Makefile (locale-CPPFLAGS): Likewise.
20868         * po/Makefile (mo-installed): Use inst_localedir.
20870         [BZ #19575]
20871         * localedata/charmaps/GB18030: Update comments regarding PAU to
20872         non-PUA mappings.
20874 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
20876         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
20877         test for header.
20878         * sysdeps/unix/sysv/linux/configure: Regenerated.
20879         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
20880         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
20881         Remove conditional code.
20882         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
20884         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20885         Define to 3.2.0.
20886         (arch_minimum_kernel): Likewise.
20887         * sysdeps/unix/sysv/linux/configure: Regenerated.
20888         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
20889         Define to 2.6.32.
20890         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
20891         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
20892         (arch_minimum_kernel): Define to 2.6.32.
20893         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
20894         * README: Document Linux 3.2 requirement.
20895         * manual/install.texi (Linux): Document Linux 3.2 headers
20896         requirement.
20897         * INSTALL: Regenerated.
20899 2016-02-24  Andreas Schwab  <schwab@suse.de>
20901         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
20902         if !NO_LONG_DOUBLE.
20904 2016-02-22  Roland McGrath  <roland@hack.frob.com>
20906         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
20907         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
20909 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
20911         [BZ #19512]
20912         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
20914 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20916         * posix/tst-dir.c: Include libc-internal.h.
20918 2016-02-20  Florian Weimer  <fweimer@redhat.com>
20920         [BZ #19056]
20921         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20922         * manual/filesys.texi (Reading/Closing Directory): Mention
20923         deprecaion.
20924         * posix/tst-dir.c (main): Disable deprecation warning in test.
20926 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
20928         [BZ #19679]
20929         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20930         Renamed to ...
20931         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
20932         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20933         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
20934         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20935         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20936         * sysdeps/x86_64/dl-trampoline.h
20937         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20938         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20940 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20942         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20944 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20946         * elf/elf.h (R_386_GOT32X): New.
20947         (R_386_NUM): Update.
20948         (R_X86_64_GOTPCRELX: New.
20949         (R_X86_64_REX_GOTPCRELX): New.
20950         (R_X86_64_NUM): Update.
20952 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20954         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20956 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20958         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20959         assign attr->stackaddr to it, and adjust it down when
20960         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20961         [_STACK_GROWS_UP]: Delete assert.
20962         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20963         Implement stack grows up logic.
20964         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20965         stack grows up logic.
20967 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20969         * NEWS: Update with 2.24 template.
20971 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20973         [BZ #19678]
20974         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20975         Ensure +0.0 is returned when taking the next value below the least
20976         positive value.
20978 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20980         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20981         available.  Do not define NO_THREADS.
20982         * malloc/malloc.c: Do not check NO_THREADS.
20983         * malloc/arena.c: Likewise.
20985 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20987         * malloc/malloc.c (__libc_mallinfo): Update comment.
20988         (struct malloc_par): Remove max_total_mem member, it was always 0.
20989         (int_mallinfo): Store 0 into usmblks (no functional change).
20990         * malloc/hooks.c (struct malloc_state): Document that
20991         max_total_mem is always 0.
20992         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20993         always 0.
20994         * manual/memory.texi (Statistics of Malloc): Likewise.
20996 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20998         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20999         * malloc/arena.c (arena_max): Remove.
21000         (heap_trim, _int_new_arena): Do not update arena_max.
21002 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21004         * resolv/res_init.c (res_ninit): Update comment.
21006 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21008         [BZ #19505]
21009         * posix/spawn_int.h: Add headers and include guard.
21010         (__spawn_valid_fd): New function.
21011         * posix/spawn_faction_addopen.c
21012         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
21013         * posix/spawn_faction_addclose.c
21014         (posix_spawn_file_actions_addclose): Likewise.
21015         * posix/spawn_faction_adddup2.c
21016         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
21017         second file descriptor.
21018         * posix/spawn_valid_fd.c: New file.
21019         * posix/tst-posix_spawn-fd.c: New file.
21020         * posix/Makefile (routines): Add spawn_valid_fd.
21021         (tests): Add tst-posix_spawn-fd.
21023 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21025         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
21026         (do_test): Limit the number of arenas, so that we can use fewer
21027         outer threads.  Limit timeout to 3 seconds, in preparation for a
21028         larger TIMEOUT value.
21030 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21032         [BZ #19674]
21033         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
21034         sign in overflowing and underflowing results when overflow or
21035         underflow is detected early.  Include sign in result before rather
21036         than after scaling.
21038         [BZ #19603]
21039         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21040         (__ieee754_remainderl): Adjust sign of integer version of low part
21041         when taking absolute value of high part.
21042         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21043         * math/libm-test.inc (remainder_test_data): Add another test.
21044         (remquo_test_data): Likewise.
21046 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
21048         [BZ #19602]
21049         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
21050         equal high parts and both low parts zero specially.
21051         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
21052         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
21053         Add test-fmodl-ldbl-128ibm.
21055         [BZ #19595]
21056         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
21057         common logic for all cases of shifting subnormal results.  Do not
21058         insert sign bit in shifted mantissa.  Always pass -1023 as biased
21059         exponent to ldbl_insert_mantissa in subnormal case.
21061         [BZ #19594]
21062         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
21063         on high and low parts then adjust result and use
21064         ldbl_canonicalize_int if needed.
21066         [BZ #19593]
21067         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
21068         on high part and __floor or __ceil on low part then use
21069         ldbl_canonicalize_int if needed.
21071         [BZ #19592]
21072         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
21073         high and low parts then use ldbl_canonicalize_int if needed.
21075         [BZ #17899]
21076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
21077         New function.
21078         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
21079         on high and low parts then use ldbl_canonicalize_int if needed.
21081 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21083         * configure: Regenerated.
21085         * po/libc.pot: Regenerated.
21087         * po/be.po: Updated translation.
21088         * po/bg.po: Likewise.
21089         * po/ca.po: Likewise.
21090         * po/cs.po: Likewise.
21091         * po/da.po: Likewise.
21092         * po/el.po: Likewise.
21093         * po/eo.po: Likewise.
21094         * po/es.po: Likewise.
21095         * po/fi.po: Likewise.
21096         * po/fr.po: Likewise.
21097         * po/gl.po: Likewise.
21098         * po/hr.po: Likewise.
21099         * po/hu.po: Likewise.
21100         * po/ia.po: Likewise.
21101         * po/id.po: Likewise.
21102         * po/it.po: Likewise.
21103         * po/ja.po: Likewise.
21104         * po/lt.po: Likewise.
21105         * po/nb.po: Likewise.
21106         * po/nl.po: Likewise.
21107         * po/pt_BR.po: Likewise.
21108         * po/rw.po: Likewise.
21109         * po/sk.po: Likewise.
21110         * po/sl.po: Likewise.
21111         * po/sv.po: Likewise.
21112         * po/tr.po: Likewise.
21113         * po/zh_CN.po: Likewise.
21114         * po/zh_TW.po: Likewise.
21116         * version.h (RELEAES): Set to "development".
21117         (VERSION): Set to 2.23.90.
21119         * version.h (RELEASE): Set to "stable".
21120         (VERSION): Set to 2.23.
21121         * include/feature.h (__GLIBC_MINOR__): Set to 23.
21123         * NEWS: Updated fixed bugs.
21125 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
21126             Wilco Dijkstra  <wdijkstr@arm.com>
21128         [BZ #19462]
21129         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
21130         (_STRING_INLINE_unaligned): This.
21131         * include/string.h: Include <string_private.h>.
21132         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
21133         _STRING_INLINE_unaligned.
21134         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
21135         (_STRING_INLINE_unaligned): New.
21136         * sysdeps/aarch64/string_private.h: New file.
21137         * sysdeps/generic/string_private.h: Likewise.
21138         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
21139         * sysdeps/s390/string_private.h: Likewise.
21140         * sysdeps/x86/string_private.h: Likewise.
21141         * sysdeps/m68k/m680x0/m68020/bits/string.h
21142         (_STRING_ARCH_unaligned): Renamed to ...
21143         (_STRING_INLINE_unaligned): This.
21144         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
21145         to ...
21146         (_STRING_INLINE_unaligned): This.
21147         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
21148         to ...
21149         (_STRING_INLINE_unaligned): This.
21150         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
21151         to ...
21152         (_STRING_INLINE_unaligned): This.
21154 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21155             H.J. Lu  <hongjiu.lu@intel.com>
21157         [BZ #19590]
21158         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
21159         relocation.
21161 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
21163         [BZ #18665]
21164         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
21165         *herrno_p.
21166         (gaih_getanswer): Document functional behviour. Return tryagain
21167         if any result is tryagain.
21168         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
21169         when freed.
21170         * resolv/res_send.c: Add copyright text.
21171         (__libc_res_nsend): Document that MAXPACKET is expected.
21172         (send_vc): Document. Remove buffer reuse.
21173         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21174         size of the buffer. Add Dprint for truncated UDP buffer.
21176 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
21178         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21179         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21180         * INSTALL: Regenerate.
21182 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
21183             Jonathan Wakely  <jwakely@redhat.com>
21184             Carlos O'Donell  <carlos@redhat.com>
21186         [BZ 19439]
21187         * math/Makefile (tests): Add test-math-isinff.
21188         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21189         * math/bits/mathcalls.h [__USE_MISC]: Use
21190         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21191         functions not in C++11 and which don't conflict e.g. isinff,
21192         isinfl etc.
21193         * math/test-math-isinff.cc: New file.
21195 2016-02-12  Florian Weimer  <fweimer@redhat.com>
21197         * misc/bug18240.c (do_test): Set RLIMIT_AS.
21199 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21201         [BZ #19529]
21202         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
21204 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21206         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21208 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
21210         [BZ #19550]
21211         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
21212         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
21213         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
21214         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
21215         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
21216         New syscall entry.
21217         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
21218         New syscall entry.
21219         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
21220         syscall entry.
21222 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
21224         [BZ #18240]
21225         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
21226         unsigned int wraparound.
21228 2016-01-27  Florian Weimer  <fweimer@redhat.com>
21230         [BZ #18240]
21231         * misc/bug18240.c: New test.
21232         * misc/Makefile (tests): Add it.
21234 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
21235             Joseph Myers  <joseph@codesourcery.com>
21237         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
21238         load in branch delay slot when less than a word of input left.
21240 2016-01-27  Andreas Schwab  <schwab@suse.de>
21242         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
21243         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
21244         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
21245         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
21247 2016-01-26  David S. Miller  <davem@davemloft.net>
21249         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
21251 2016-01-25  David S. Miller  <davem@davemloft.net>
21253         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
21254         __sqrtl_finite.
21255         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
21256         instead using versioned_symbol.
21257         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
21258         of entries.
21260         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
21261         __sqrtl_finite to GLIBC_2.23
21263 2016-01-25  Ricchard Henderson  <rth@redhat.com>
21265         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21267 2016-01-25  Andreas Schwab  <schwab@suse.de>
21269         [BZ #17514]
21270         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
21271         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
21272         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
21273         * nptl/tst-mutex-errorcheck.c: New file.
21275 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21277         [BZ #18560]
21278         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21279         (IPCOP_semop): Likewise.
21280         (IPCOP_semget): Likewise.
21281         (IPCOP_semctl): Likewise.
21282         (IPCOP_msgsnd): Likewise.
21283         (IPCOP_msgrcv): Likewise.
21284         (IPCOP_msgget): Likewise.
21285         (IPCOP_msgctl): Likewise.
21286         (IPCOP_shmat): Likewise.
21287         (IPCOP_shmdt): Likewise.
21288         (IPCOP_shmget): Likewise.
21289         (IPCOP_shmctl): Likewise.
21291 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21293         * string/tst-endian.c: Include <libc-internal.h>.
21294         (do_test): Ignore tautological-compare warnings around
21295         "htobeXX (beXXtoh (i)) != i" and
21296         "htoleXX (leXXtoh (i)) != i" if-statements.
21298 2016-01-24  David S. Miller  <davem@davemloft.net>
21300         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21301         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21302         alias.
21303         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21304         __sqrtl_finite.
21306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21308 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
21310         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21311         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21312         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21314 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21316         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21317         (thread_func): Use new function to simplify barrier check.
21318         (do_test): Use new function to simplify checking barrier exit
21319         code, and actually join the child thread.
21321 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21323         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21324         semicolon.
21325         (__libc_tend): Likewise.
21326         (__libc_tabort): Likewise.
21328 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21330         * sysdeps/nios2/libm-test-ulps: Update.
21331         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21332         (__gtsf2): Likewise.
21333         (__unorddf2): Likewise.
21334         (__unordsf2): Likewise.
21335         (__ledf2): Likewise.
21337 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21339         * nis/nis_table.c (__follow_path): Disable diagnostic for
21340         uninitialized variable that is a false positive for gcc 4.7.
21341         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21343 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21345         * sysdeps/nacl/lowlevellock-futex.h
21346         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21347         Always evaluate PRIVATE argument.
21349 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21351         [BZ #19490]
21352         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21353         (pthread_cond_broadcast): Use ENTRY/END
21354         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21355         (pthread_cond_signal): Likewise.
21356         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21357         Likewise.
21358         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21359         Likewise.
21360         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21361         Likewise.
21363 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21365         * sysdeps/ieee754/dbl-64/s_finite.c
21366         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21367         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21368         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21369         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21370         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21373         (__gtsf2): Add as optional for libc.so.
21374         (__unordsf2): Likewise.
21375         (__signbit): Remove for libc.so.
21376         (__signbitl): Likewise.
21378 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21380         * iconvdata/bug-iconv11.c (test_ibm93x):
21381         Use %zu printf format specifier for size_t argument.
21383 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21385         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21386         already-recorded ulps.
21387         * sysdeps/arm/libm-test-ulps: Regenerated.
21388         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21389         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21390         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21392 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21393             Paul Pluzhnikov  <ppluzhnikov@google.com>
21395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21396         assembler not supporting AVX-512.
21398 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21400         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21402 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21404         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21405         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21407         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21409         * sysdeps/arm/libm-test-ulps: Regenerated.
21411 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21413         [BZ #19451]
21414         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21416 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21418         [BZ #19486]
21419         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21420         * sysdeps/generic/fix-fp-int-convert-overflow.h
21421         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21422         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21423         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21424         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21425         Likewise.
21426         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21427         Avoid conversions to long int where inexact exceptions
21428         could be raised.
21429         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21430         Likewise.
21431         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21432         Avoid conversions to long long int where inexact exceptions
21433         could be raised.
21434         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21435         Likewise.
21437 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21439         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21440         * configure: Regenerated.
21442 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21444         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21446 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21448         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21449         outside of comment.
21451 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21453         * nptl/tst-barrier1.c: Add description on first line.
21454         * nptl/tst-barrier2.c: Likewise.
21455         * nptl/tst-barrier3.c: Likewise.
21456         * nptl/tst-barrier4.c: Likewise.
21457         * nptl/tst-barrier5.c: Likewise.
21459 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21461         [BZ #18868]
21462         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21464 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21467         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21468         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21469         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21470         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21471         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21472         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21473         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21474         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21475         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21476         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21478 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21480         [BZ #13065]
21481         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21482         new implementation.
21483         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21484         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21485         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21486         (BARRIER_IN_THRESHOLD): New macro.
21487         * nptl/pthread_barrierattr_setpshared.c
21488         (pthread_barrierattr_setpshared): Clean up.
21489         * nptl/tst-barrier4.c: Correct comment.
21490         * nptl/tst-barrier5.c: New file.
21491         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21492         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21493         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21494         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21495         * nptl/lowlevelbarrier.sym: Remove.
21496         * nptl/DESIGN-barrier.txt: Remove.
21497         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21498         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21499         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21500         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21501         error.
21502         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21503         implementation.
21505 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21507         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21508         (do_child): Mask SIGRTMIN while thr is running.
21510 2016-01-15  Martin Sebor  <msebor@redhat.com>
21512         [BZ #19432]
21513         * iconvdata/Makefile: Add bug-iconv11.
21514         * iconvdata/bug-iconv11.c: New test.
21515         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21516         * iconvdata/ibm933.c: Same.
21517         * iconvdata/ibm935.c: Same.
21518         * iconvdata/ibm937.c: Same.
21519         * iconvdata/ibm939.c: Same.
21521 2016-01-15  Martin Sebor  <msebor@redhat.com>
21523         [BZ #19443]
21524         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21525         [DEBUG] (_ufc_set_bits): Declare used.
21526         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21527         [DEBUG] (print_all): Declare used.
21528         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21529         operands of the ternary ?: expression to target type.
21530         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21531         calling the undeclared abort.
21532         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21534 2016-01-15  Martin Sebor  <msebor@redhat.com>
21536         [BZ #18755]
21537         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21538         warnings.
21539         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21540         (__gai_create_helper_thread): Same.
21541         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21542         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21543         to suppress -Wmaybe-uninitialized warnings.
21545 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21547         [BZ #19465]
21548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21549         inside if.
21550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21551         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21552         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21554 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21556         [BZ #19466]
21557         * time/tst-mktime2.c (time_t_max): Removed.
21558         (time_t_min): Likewise.
21559         (TYPE_SIGNED): New.
21560         (TYPE_MINIMUM): Likewise.
21561         (TYPE_MAXIMUM): Likewise.
21562         (TIME_T_MIN): Likewise.
21563         (TIME_T_MAX): Likewise.
21564         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21565         and TIME_T_MIN.
21566         (do_test): Likewise.
21568 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21570         [BZ #19467]
21571         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21572         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21574 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21576         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21578 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21580         * benchtests/Makefile (PYTHON): Define.
21581         (bench-func): Use $(PYTHON) to run python scripts.
21582         ($(objpfx)bench-%.c): Likewise.
21584 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21586         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21587         leading slash when `file_name' is "/".
21589 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21591         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21592         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21593         Likewise.
21594         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21595         Likewise.
21596         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21597         Likewise.
21598         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21599         enum constant and macro.
21600         (PTRACE_SETSIGMASK): Likewise.
21601         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21602         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21603         (PTRACE_GETSIGMASK): Likewise.
21604         (PTRACE_SETSIGMASK): Likewise.
21605         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21606         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21607         Likewise.
21608         (PTRACE_SETSIGMASK): Likewise.
21609         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21610         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21611         (PTRACE_GETSIGMASK): Likewise.
21612         (PTRACE_SETSIGMASK): Likewise.
21613         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21614         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21615         Likewise.
21616         (PTRACE_SETSIGMASK): Likewise.
21617         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21618         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21619         Likewise.
21620         (PTRACE_SETSIGMASK): Likewise.
21621         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21622         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21623         Likewise.
21624         (PTRACE_SETSIGMASK): Likewise.
21625         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21627 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
21628             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21630         [BZ #19439]
21631         * math/bits/mathcalls.h
21632         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21633         prototype.
21634         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21636 2016-01-11  Andreas Schwab  <schwab@suse.de>
21638         [BZ #19253]
21639         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21640         cache when TZDEFRULES was used.
21641         * time/tst-tzname.c: New file.
21642         * time/Makefile (test): Add tst-tzname.
21643         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21644         * timezone/Makefile (test-zones): Add $(posixrules-file).
21645         ($(testdata)/$(posixrules-file)): New rule.
21647 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
21649         Fix doc quoting problems with Texinfo 5
21650         Without this change, in the info file output, Texinfo 5 quotes code
21651         in text with undirected single quotes 'like this' and generates
21652         code examples that with many PDF readers cannot be cut out of PDFs
21653         and pasted into code.
21654         * manual/libc.texinfo: Configure the libc manual like the GNU
21655         Emacs manual, by using @documentencoding and setting
21656         txicodequoteundirected and txicodequotebacktick.  This way,
21657         Texinfo 5 quotes code in text with directed single quotes ‘like
21658         this’ and produces examples that can be cut out of PDFs.  This
21659         change causes Texinfo 5 to generate info files that contain UTF-8
21660         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21661         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21663 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21665         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21666         __libc_tabort, __libc_tend): New wrappers that enforce compiler
21667         barriers to their respective compiler built-ins.
21668         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21669         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21670         * sysdeps/powerpc/sysdep.h: Likewise.
21671         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21672         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21673         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21675 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
21677         * scripts/config.guess: Revert previous shebang change.
21678         * scripts/config.sub: Likewise.
21679         * scripts/mkinstalldirs: Likewise.
21681 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21683         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
21684         PPC_FEATURE2_HAS_IEEE128.
21685         * sysdeps/powerpc/dl-procinfo.c:
21686         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
21688 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
21690         [BZ #19415]
21691         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
21692         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
21693         (_dl_lookup_address): Rewrite using function resolver trampoline.
21694         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
21695         two bits in address.
21697 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21699         * longlong.h: Change !__SHMEDIA__ to
21700         (!defined (__SHMEDIA__) || !__SHMEDIA__).
21701         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
21703 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
21704             Joseph Myers  <joseph@codesourcery.com>
21705             Mark Shinwell  <shinwell@codesourcery.com>
21706             Andrew Stubbs  <ams@codesourcery.com>
21707             Rich Felker <dalias@libc.org>
21709         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
21711 2016-01-07  Richard Henderson  <rth@redhat.com>
21713         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
21715 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21717         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
21718         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
21719         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21720         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21721         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
21723 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
21724             Joseph Myers  <joseph@codesourcery.com>
21726         * timezone/private.h: Update from tzcode 2015g.
21727         * timezone/tzfile.h: Likewise.
21728         * timezone/tzselect.ksh: Likewise.
21729         * timezone/zdump.c: Likewise.
21730         * timezone/zic.c: Likewise.
21731         * timezone/ialloc.c: Remove file.
21732         * timezone/scheck.c: Likewise.
21733         * timezone/Makefile (extra-objs): Remove variable.
21734         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
21735         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
21736         -Wno-maybe-uninitialized.
21737         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
21738         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
21739         (CFLAGS-ialloc.c): Remove variable.
21740         (CFLAGS-scheck.c): Likewise.
21741         * timezone/README: Update list of files from tzcode.
21743 2016-01-07  Khem Raj  <raj.khem@gmail.com>
21745         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
21746         instead of __fxprintf when _LIBC is undefined.
21748 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
21750         * catgets/test-gencat.sh: Remove space after shebang.
21751         * conform/GlibcConform.pm: Likewise.
21752         * conform/check-header-lists.sh: Likewise.
21753         * conform/conformtest.pl: Likewise.
21754         * conform/linknamespace.pl: Likewise.
21755         * conform/list-header-symbols.pl: Likewise.
21756         * debug/catchsegv.sh: Likewise.
21757         * elf/genrtldtbl.awk: Likewise.
21758         * elf/tst-pathopt.sh: Likewise.
21759         * elf/tst-rtld-load-self.sh: Likewise.
21760         * grp/tst_fgetgrent.sh: Likewise.
21761         * iconvdata/gen-8bit-gap-1.sh: Likewise.
21762         * iconvdata/gen-8bit-gap.sh: Likewise.
21763         * iconvdata/gen-8bit.sh: Likewise.
21764         * iconvdata/run-iconv-test.sh: Likewise.
21765         * intl/tst-gettext.sh: Likewise.
21766         * intl/tst-gettext2.sh: Likewise.
21767         * intl/tst-gettext4.sh: Likewise.
21768         * intl/tst-gettext6.sh: Likewise.
21769         * intl/tst-translit.sh: Likewise.
21770         * io/ftwtest-sh: Likewise.
21771         * libio/test-freopen.sh: Likewise.
21772         * locale/gen-translit.pl: Likewise.
21773         * malloc/tst-mtrace.sh: Likewise.
21774         * manual/check-safety.sh: Likewise.
21775         * manual/libc-texinfo.sh: Likewise.
21776         * manual/tsort.awk: Likewise.
21777         * manual/xtract-typefun.awk: Likewise.
21778         * nptl/tst-cancel-wrappers.sh: Likewise.
21779         * nptl/tst-tls6.sh: Likewise.
21780         * posix/globtest.sh: Likewise.
21781         * posix/tst-getconf.sh: Likewise.
21782         * posix/wordexp-tst.sh: Likewise.
21783         * scripts/check-c++-types.sh: Likewise.
21784         * scripts/check-local-headers.sh: Likewise.
21785         * scripts/config.guess: Likewise.
21786         * scripts/config.sub: Likewise.
21787         * scripts/cpp: Likewise.
21788         * scripts/cross-test-ssh.sh: Likewise.
21789         * scripts/documented.sh: Likewise.
21790         * scripts/evaluate-test.sh: Likewise.
21791         * scripts/gen-libc-abis: Likewise.
21792         * scripts/gen-sorted.awk: Likewise.
21793         * scripts/list-fixed-bugs.py: Likewise.
21794         * scripts/merge-test-results.sh: Likewise.
21795         * scripts/mkinstalldirs: Likewise.
21796         * scripts/rellns-sh: Likewise.
21797         * scripts/test-installation.pl: Likewise.
21798         * scripts/update-copyrights: Likewise.
21799         * stdio-common/tst-printf.sh: Likewise.
21800         * stdio-common/tst-unbputc.sh: Likewise.
21801         * stdlib/tst-fmtmsg.sh: Likewise.
21802         * stdlib/tst-setcontext3.sh: Likewise.
21803         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
21804         * sysdeps/unix/make-syscalls.sh: Likewise.
21806 2016-01-06  John David Anglin  <dave.anglin@bell.net>
21808         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
21809         asm stw with atomic_exchange_rel.  Add explanatory comment.
21810         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21811         Likewise.
21813 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21815         [BZ #19122]
21816         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
21817         * sysdeps/generic/dl-unistd.h: New file.
21818         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
21820 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21822          [BZ #19122]
21823          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
21824          * sysdeps/generic/dl-mman.h: New file.
21825          * sysdeps/mach/hurd/dl-mman.h: Likewise.
21827 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
21829         * manual/texinfo.tex: Update to version 2016-01-04.21 with
21830         trailing whitespace removed.
21831         * scripts/config.guess: Update to version 2016-01-01.
21832         * scripts/config.sub: Update to version 2016-01-01.
21833         * scripts/move-if-change: Update from gnulib.
21835 2016-01-04  Anton Blanchard  <anton@samba.org>
21837         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
21838         for array indices.
21839         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
21841 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
21843         * NEWS: Update copyright dates.
21844         * catgets/gencat.c (print_version): Likewise.
21845         * csu/version.c (banner): Likewise.
21846         * debug/catchsegv.sh: Likewise.
21847         * debug/pcprofiledump.c (print_version): Likewise.
21848         * debug/xtrace.sh (do_version): Likewise.
21849         * elf/ldconfig.c (print_version): Likewise.
21850         * elf/ldd.bash.in: Likewise.
21851         * elf/pldd.c (print_version): Likewise.
21852         * elf/sotruss.sh: Likewise.
21853         * elf/sprof.c (print_version): Likewise.
21854         * iconv/iconv_prog.c (print_version): Likewise.
21855         * iconv/iconvconfig.c (print_version): Likewise.
21856         * locale/programs/locale.c (print_version): Likewise.
21857         * locale/programs/localedef.c (print_version): Likewise.
21858         * login/programs/pt_chown.c (print_version): Likewise.
21859         * malloc/memusage.sh (do_version): Likewise.
21860         * malloc/memusagestat.c (print_version): Likewise.
21861         * malloc/mtrace.pl: Likewise.
21862         * manual/libc.texinfo: Likewise.
21863         * nptl/version.c (banner): Likewise.
21864         * nscd/nscd.c (print_version): Likewise.
21865         * nss/getent.c (print_version): Likewise.
21866         * nss/makedb.c (print_version): Likewise.
21867         * posix/getconf.c (main): Likewise.
21868         * scripts/test-installation.pl: Likewise.
21869         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21871         * All files with FSF copyright notices: Update copyright dates
21872         using scripts/update-copyrights.
21873         * intl/plural.c: Regenerated.
21874         * locale/programs/charmap-kw.h: Likewise.
21875         * locale/programs/locfile-kw.h: Likewise.
21877 2016-01-02  Helge Deller  <deller@gmx.de>
21879         [BZ #19285]
21880         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
21881         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
21882         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
21883         (MADV_xxK_PAGES): Remove.
21885 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
21887         [BZ #15421]
21888         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
21889         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
21890         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
21891         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
21893 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
21895         [BZ #19408]
21896         * sysdeps/unix/sysv/linux/personality.c: New file.
21897         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
21898         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
21899         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
21900         (sysdep_routines): Add personality.
21901         (tests): Add tst-personality.
21902         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
21903         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
21904         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
21905         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
21906         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
21907         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
21908         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
21909         Likewise.
21910         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
21911         Likewise.
21912         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21913         Likewise.
21914         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
21915         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
21916         Likewise.
21918 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
21920         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21921         (PATH_ARM_SYSTYPE): Remove.
21922         (PATH_CPUINFO): Likewise.
21923         (IO_BASE_FOOTBRIDGE): Likewise.
21924         (IO_SHIFT_FOOTBRIDGE): Likewise.
21925         (struct platform): Likewise.
21926         (init_iosys): Remove compatibility code for 2.4 kernels.
21927         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21929 2015-12-29  Florian Weimer  <fweimer@redhat.com>
21931         * malloc/tst-malloc-thread-fail.c: New file.
21932         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21933         (tst-malloc-thread-fail): Link against libpthread.
21935 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
21937         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
21938         (get_parser): New function.
21939         (main): New function.
21941 2015-12-29  Rob Wu  <rob@robwu.nl>
21943         [BZ #19369]
21944         * resolv/res_init.c (__res_vinit): Reset defdname before use.
21946 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
21948         [BZ #19270]
21949         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21951 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21953         [BZ #15421]
21954         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21956 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21958         [BZ #13690]
21959         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21960         after releasing it.
21961         (__lll_robust_unlock): Likewise.
21962         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21963         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21964         (lll_robust_unlock): Likewise.
21965         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21966         Prevent warnings in callers.
21968 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21970         * malloc/arena.c (list_lock): Update comment.
21972 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21974         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21975         __parse_hwcap_and_convert_at_platform to libc.a.
21977 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21979         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21980         platform and feature support for POWER9.
21981         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21982         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21983         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21984         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21985         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21986         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21987         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21988         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21990 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21992         Harmonize generic stdio-lock support with nptl
21994         This fixes build when _IO_funlockfile is a macro, fixes build where
21995         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21996         stack unwind.
21998         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21999         _IO_release_lock ): Use cleanup attribute on new
22000         _IO_acquire_lock_file variable instead of assuming that
22001         _IO_release_lock will be called.
22002         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
22003         _IO_acquire_lock_needs_exceptions_enabled.
22004         (_IO_acquire_lock_clear_flags2): New macro.
22006 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22008         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22010 2015-12-21  Florian Weimer  <fweimer@redhat.com>
22012         [BZ #19182]
22013         * malloc/arena.c (list_lock): Document lock ordering requirements.
22014         (free_list_lock): New lock.
22015         (ptmalloc_lock_all): Comment on free_list_lock.
22016         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
22017         (detach_arena): Update comment.  free_list_lock is now needed.
22018         (_int_new_arena): Use free_list_lock around detach_arena call.
22019         Acquire arena lock after list_lock.  Add comment, including FIXME
22020         about incorrect synchronization.
22021         (get_free_list): Switch to free_list_lock.
22022         (reused_arena): Acquire free_list_lock around detach_arena call
22023         and attached threads counter update.  Add two FIXMEs about
22024         incorrect synchronization.
22025         (arena_thread_freeres): Switch to free_list_lock.
22026         * malloc/malloc.c (struct malloc_state): Update comments to
22027         mention free_list_lock.
22029 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22031         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
22032         Remove functions.
22033         (sloww, sloww1): Accept argument to offset quadrant.
22034         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
22035         quadrant.
22036         (__sin, __cos): Consolidate common code into new functions.
22037         (reduce_sincos_1, do_sincos_1): New functions.
22038         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22040         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
22041         code to new functions.
22042         (reduce_sincos_2, do_sincos_2): New functions.
22043         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22045         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
22046         common code for sincos.
22047         (__cos) [!IN_SINCOS]: Likewise.
22048         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
22049         New function.
22050         (__sincos): Use it.
22052 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
22054         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
22055         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
22056         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22058 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22060         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
22061         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
22062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22063         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
22064         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22065         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
22066         index_Prefer_No_VZEROUPPER): New feature.
22067         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
22068         Prefer_No_VZEROUPPER for Knights Landing.
22070 015-12-18  Torvald Riegel  <triegel@redhat.com>
22072         * math/atest-exp2.c (mp_exp_m1): Remove.
22074 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22076         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
22077         syscalls.
22078         (__SYSCALL0): New macro.
22079         (__SYSCALL1): Likewise.
22080         (__SYSCALL2): Likewise.
22081         (__SYSCALL3): Likewise.
22082         (__SYSCALL4): Likewise.
22083         (__SYSCALL5): Likewise.
22084         (__SYSCALL6): Likewise.
22085         (__SYSCALL_CONCAT_X): Likewise.
22086         (__SYSCALL_CONCAT): Likewise.
22087         (__SYSCALL_DIST): Likewise.
22088         (__SYSCALL_CALL): Likewise.
22090 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
22092         [BZ #19363]
22093         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
22095 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22097         [BZ #19375]
22098         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
22099         negative subnormals.
22101 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
22103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22104         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
22105         (INTERNAL_SYSCALL_NCS): Use it.
22106         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22108 2015-12-16  Florian Weimer  <fweimer@redhat.com>
22110         [BZ #19243]
22111         * malloc/arena.c (get_free_list): Remove assert and adjust
22112         reference count handling.  Add comment about reused_arena
22113         interaction.
22114         (reused_arena): Add comments abount get_free_list interaction.
22115         * malloc/tst-malloc-thread-exit.c: New file.
22116         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
22117         (tst-malloc-thread-exit): Link against libpthread.
22119 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22121         [BZ #19367]
22122         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
22123         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
22124         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
22125         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
22126         (index_Prefer_MAP_32BIT_EXEC): Likewise.
22128 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22130         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
22131         Silvermont optimizations for Knights Landing.
22133 2015-12-15  Andreas Schwab  <schwab@suse.de>
22135         [BZ #17197]
22136         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
22137         immediately after emitting SI.
22138         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
22139         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
22140         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
22141         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
22142         * iconvdata/bug-iconv10.c: New file.
22143         * iconvdata/Makefile (tests): Add bug-iconv10.
22144         ($(objpfx)bug-iconv10.out): New rule.
22146 2015-12-15  Florian Weimer  <fweimer@redhat.com>
22148         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
22149         aliasing violation.
22151 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
22153         [BZ #18472]
22154         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
22155         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
22156         conditionals for them.
22157         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
22158         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
22159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
22160         sys/kdaemon.h.
22161         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
22162         compat-only syscall, obsoleted in glibc 2.23.
22163         (create_module): Likewise.
22164         (get_kernel_syms): Likewise.
22165         (query_module): Likewise.
22166         (uselib): Likewise.
22167         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
22169 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
22171         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
22172         <linux/version.h>.
22173         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
22174         conditional code.
22175         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22176         and ioshift_name initialization.
22178 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22180         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22181         Fix indentation.
22183 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22185         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22187 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22189         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22191 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
22192             Jakub Wilk  <jwilk@debian.org>
22194         [BZ #19347]
22195         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22196         to change the group of the device to the tty group.
22198 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
22200         Split large string section; add truncation advice
22201         * manual/examples/strncat.c: Remove.
22202         This example was misleading, as the code would have undefined
22203         behavior if "hello" was longer than SIZE.  Anyway, the manual
22204         shouldn't encourage strncpy+strncat for this sort of thing.
22205         * manual/string.texi (Copying Strings and Arrays): Split into
22206         three sections Copying Strings and Arrays, Concatenating Strings,
22207         and Truncating Strings, as this section was way too long.  All
22208         cross-referenced changed.  Add advice about string-truncation
22209         functions.  Remove misleading strncat example.
22211 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
22213         * manual/nss.texi (NSS Modules Interface): Document
22214         NSS_STATUS_NOTFOUND and SUCCESS.
22216 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22218         [BZ 18568]
22219         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22220         201505L, for Unicode 8.
22222 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
22224         * locale/C-translit.h: Regenerate.
22226 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22228         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
22229         and U+0153.
22231 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
22233         [BZ #19351]
22234         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
22235         expanding log(1+z), compare z rather than its square with epsilon
22236         to determine when to avoid evaluating the expansion.
22238         [BZ #19350]
22239         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22240         Increase overflow threshold.
22242         [BZ #19349]
22243         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
22244         when small.
22246         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22248         New macro.
22249         [__LINUX_KERNEL_VERSION >= 0x040300]
22250         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22251         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22252         Likewise.
22253         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22254         Likewise.
22255         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22256         Likewise.
22257         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22258         Likewise.
22259         [__LINUX_KERNEL_VERSION >= 0x040300]
22260         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22261         [__LINUX_KERNEL_VERSION >= 0x040300]
22262         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22263         [__LINUX_KERNEL_VERSION >= 0x040300]
22264         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22265         [__LINUX_KERNEL_VERSION >= 0x040300]
22266         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22267         [__LINUX_KERNEL_VERSION >= 0x040300]
22268         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22270         Likewise.
22271         [__LINUX_KERNEL_VERSION >= 0x040300]
22272         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22273         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22274         Likewise.
22275         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22276         Likewise.
22277         [__LINUX_KERNEL_VERSION >= 0x040300]
22278         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22280         Likewise.
22281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22282         Likewise.
22283         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22284         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22285         Likewise.
22286         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22287         Likewise.
22288         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22289         Likewise.
22290         [__LINUX_KERNEL_VERSION >= 0x040300]
22291         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22292         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22293         Likewise.
22294         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22295         Likewise.
22296         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22297         Likewise.
22298         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22299         Likewise.
22300         [__LINUX_KERNEL_VERSION >= 0x040300]
22301         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22302         [__LINUX_KERNEL_VERSION >= 0x040300]
22303         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22304         [__LINUX_KERNEL_VERSION >= 0x040300]
22305         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22306         [__LINUX_KERNEL_VERSION >= 0x040300]
22307         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22308         [__LINUX_KERNEL_VERSION >= 0x040300]
22309         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22310         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22311         Likewise.
22312         [__LINUX_KERNEL_VERSION >= 0x040300]
22313         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22314         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22315         Likewise.
22316         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22317         Likewise.
22318         [__LINUX_KERNEL_VERSION >= 0x040300]
22319         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22321         Likewise.
22322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22323         Likewise.
22324         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22325         (__ASSUME_SOCKET_SYSCALL): Likewise.
22326         (__ASSUME_BIND_SYSCALL): Likewise.
22327         (__ASSUME_CONNECT_SYSCALL): Likewise.
22328         (__ASSUME_LISTEN_SYSCALL): Likewise.
22329         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22330         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22331         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22332         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22333         (__ASSUME_SEND_SYSCALL): Likewise.
22334         (__ASSUME_SENDTO_SYSCALL): Likewise.
22335         (__ASSUME_RECV_SYSCALL): Likewise.
22336         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22337         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22338         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22339         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22340         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22341         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22342         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22343         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22344         Likewise.
22345         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22346         Likewise.
22347         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22348         Likewise.
22349         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22350         Likewise.
22351         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22352         Likewise.
22353         [__LINUX_KERNEL_VERSION >= 0x020625]
22354         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22355         [__LINUX_KERNEL_VERSION >= 0x020625]
22356         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22357         [__LINUX_KERNEL_VERSION >= 0x020625]
22358         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22359         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22360         Likewise.
22361         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22362         Likewise.
22363         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22364         Likewise.
22365         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22366         Likewise.
22367         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22368         Likewise.
22369         [__LINUX_KERNEL_VERSION >= 0x020625]
22370         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22371         [__LINUX_KERNEL_VERSION >= 0x020625]
22372         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22373         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22374         Likewise.
22375         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22376         Likewise.
22378 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22380         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22381         record the current if the current ABI and CPU support the FP64
22382         extension.
22383         (has-modd-spreg): Define to record the current if the current ABI and
22384         CPU support 32-bit floating point values in odd FPU registers.
22385         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22386         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22387         $(has-modd-spreg) equals yes.
22388         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22389         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22390         $(has-modd-spreg) equal yes.
22392 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22394         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22395         basename.
22397 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22399         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22400         (bench-string): ... here.
22401         (bench): Add bench-string.
22402         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22403         to *-benchset to reflect what they are.
22404         (benchset): Adjust.
22406         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22407         cos-inputs.
22409 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22411         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22412         __attribute__ ((__simd__)) for vector math function declarations.
22414 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22416         Fix typo in strncat, wcsncat manual entries
22417         * manual/string.texi (Copying and Concatenation): Fix typos in
22418         sample implementations of strncat and wcsncat, by having them use
22419         the old value of the destination length, not the new one.
22421 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22423         [BZ #16961]
22424         [BZ #16962]
22425         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22426         string on the stack for strtod.
22427         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22428         a string on the stack for strtof.
22429         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22430         constructing a string on the stack for strtold.
22431         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22432         __strtold_nan to GLIBC_PRIVATE.
22433         * math/test-nan-overflow.c: New file.
22434         * math/test-nan-payload.c: Likewise.
22435         * math/Makefile (tests): Add test-nan-overflow and
22436         test-nan-payload.
22438 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22440         Consistency about byte vs character in string.texi
22441         * manual/string.texi (String and Array Utilities):
22442         Distinguish more carefully among bytes, multibyte characters,
22443         and wide characters.  Use "byte" when talking about C 'char',
22444         to distinguish it more clearly from multibyte characters.
22445         Say "wide character" or "multibyte character" instead of
22446         "character", when a wide or multibyte character is intended.
22447         Similarly for "multibyte string" versus "string".
22448         Define these terms more carefully.
22450 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22452         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22453         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22454         Likewise.
22455         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22456         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22457         * sysdeps/sh/math_private.h: New file.
22458         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22459         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22460         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22461         long double function name.
22462         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22463         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22464         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22465         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22466         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22468         Remove __finitel, __isinfl, and __isnanl.
22469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22470         Likewise.
22471         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22473         Remove __finitel.
22474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22475         Likewise.
22476         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22478 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22480         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22481         installed libmvec_nonshared.a.
22483 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22485         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22486         (sysdep_routines): Likewise.
22487         (sysdep-rtld-routines): Likewise.
22488         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22489         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22490         * sysdeps/powerpc/Versions: Added new
22491         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22492         * sysdeps/powerpc/hwcapinfo.c: New file.
22493         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22494         and parse hwcap, hwcap2 and platform number information.
22495         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22496         to store HWCAP+HWCAP2 and platform number.
22497         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22498         for HWCAP+HWCAP2 and platform number in the TCB.
22499         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22500         the HWCAP, HWCAP2 and platform number in the TCB.
22501         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22502         (TLS_INIT_TP): Included calls to add the hwcap and
22503         at_platform values in the TCB in TP initialization.
22504         (TLS_DEFINE_INIT_TP): Likewise.
22505         (THREAD_GET_HWCAP): New macro.
22506         (THREAD_SET_HWCAP): Likewise.
22507         (THREAD_GET_AT_PLATFORM): Likewise.
22508         (THREAD_SET_AT_PLATFORM): Likewise.
22509         * sysdeps/powerpc/powerpc32/dl-machine.h:
22510         (dl_platform_init): New function that calls
22511         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22512         powerpc32.
22513         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22514         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22515         this functionality, static linking case.
22516         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22517         linking case.
22518         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22519         __parse_hwcap_and_convert_at_platform for the static linking case.
22520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22521         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22522         ABI list for GLIBC 2.23.
22523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22524         Likewise.
22525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22526         Likewise.
22528 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22530         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22531         * configure: Regenerate.
22532         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22533         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22535 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22537         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22538         * iconvdata/ibm933.c: Likewise.
22539         * iconvdata/ibm935.c: Likewise.
22540         * iconvdata/ibm937.c: Likewise.
22541         * iconvdata/ibm939.c: Likewise.
22543 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22545         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22546         pthread_join.
22547         * nptl/tst-cancel21.c (tf): Likewise.
22549 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22551         [BZ #19313]
22552         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22553         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22554         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22555         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22556         Likewise.
22557         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22558         Likewise.
22559         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22560         Likewise.
22561         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22562         Likewise.
22563         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22564         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22565         unsigned long int with __CPU_MASK_TYPE.
22567 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22569         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22571 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22573         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22574         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22575         t512.x.
22576         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22578 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22580         [BZ #19214]
22581         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22582         argument to return extended model.  Update family and model
22583         with extended family and model when family == 0x0f.
22584         (init_cpu_features): Updated.
22586 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22588         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22589         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22591         * sysdeps/mach/hurd/mmap64.c: New file.
22593 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22595         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22596         rights for its main user thread in NEWTASK.
22598 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22600         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22601         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22603 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22605         [BZ #14259]
22606         * Makeconfig: Rename localedir to complocaledir.
22607         Rename inst_localedir to inst_complocaledir.
22608         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22609         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22610         * configure.ac: Use libc_cv_complocaledir.
22611         * configure: Regenerate.
22612         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22613         -DCOMPLOCALEDIR.
22614         * locale/findlocale.c: Use COMPLOCALEDIR.
22615         * locale/loadarchive.c: Likewise.
22616         * locale/programs/locale.c: Likewise.
22617         * locale/programs/localedef.c: Likewise.
22618         * locale/programs/locarchive.c: Likewise.
22619         * localedata/Makefile: Use inst_complocaledir.
22620         * sysdeps/gnu/configure: Regenerate.
22621         * sysdeps/hppa/configure: Regenerate.
22622         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22623         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22625         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22626         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22627         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22628         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22630 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
22632         [BZ #19058]
22633         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22634         AS_NEEDED.
22635         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22636         workaround.
22637         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22638         libmvec-static-only-routines): Added new file.
22639         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22641 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22643         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22644         of interrupted RPC instead of restoring it.
22646         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22647         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22648         libc_hidden_def.
22649         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22650         into initialized data instead of common. Define rtld_hidden_data_def.
22651         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22652         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22653         libc_hidden_def.
22654         (if_freenameindex): Add libc_hidden_weak.
22655         (if_nameindex): Add libc_hidden_weak.
22656         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22657         __open64.
22658         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22659         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22660         * sysdeps/mach/nanosleep.c: Include <time.h>
22661         (__nanosleep): Rename to __libc_nanosleep.
22662         (__nanosleep): Add weak_alias.
22663         (nanosleep): Update alias.
22665 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
22667         * stdlib/strtod_nan.c: New file.
22668         * stdlib/strtod_nan_double.h: Likewise.
22669         * stdlib/strtod_nan_float.h: Likewise.
22670         * stdlib/strtod_nan_main.c: Likewise.
22671         * stdlib/strtod_nan_narrow.h: Likewise.
22672         * stdlib/strtod_nan_wide.h: Likewise.
22673         * stdlib/strtof_nan.c: Likewise.
22674         * stdlib/strtold_nan.c: Likewise.
22675         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22676         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22677         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22678         * wcsmbs/wcstod_nan.c: Likewise.
22679         * wcsmbs/wcstof_nan.c: Likewise.
22680         * wcsmbs/wcstold_nan.c: Likewise.
22681         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
22682         strtold_nan.
22683         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
22684         wcstof_nan.
22685         * include/stdlib.h (__strtof_nan): Declare and use
22686         libc_hidden_proto.
22687         (__strtod_nan): Likewise.
22688         (__strtold_nan): Likewise.
22689         (__wcstof_nan): Likewise.
22690         (__wcstod_nan): Likewise.
22691         (__wcstold_nan): Likewise.
22692         * include/wchar.h (____wcstoull_l_internal): Declare.
22693         * stdlib/strtod_l.c: Do not include <ieee754.h>.
22694         (____strtoull_l_internal): Remove declaration.
22695         (STRTOF_NAN): Define macro.
22696         (SET_MANTISSA): Remove macro.
22697         (STRTOULL): Likewise.
22698         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
22699         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
22700         (STRTOF_NAN): Define macro.
22701         (SET_MANTISSA): Remove macro.
22702         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
22703         (SET_MANTISSA): Remove macro.
22704         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
22705         macro.
22706         (SET_MANTISSA): Remove macro.
22707         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
22708         macro.
22709         (SET_MANTISSA): Remove macro.
22710         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
22711         (SET_MANTISSA): Remove macro.
22712         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
22713         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
22714         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
22716         [BZ #19266]
22717         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
22718         upper case and lower case letters inside NAN(), not using TOLOWER.
22719         * stdlib/tst-strtod-nan-locale-main.c: New file.
22720         * stdlib/tst-strtod-nan-locale.c: Likewise.
22721         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
22722         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
22723         Depend on $(gen-locales).
22724         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
22725         * wcsmbs/tst-wcstod-nan-locale.c: New file.
22726         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
22727         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
22728         Depend on $(gen-locales).
22729         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
22731 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
22733         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
22735         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
22737         __finitel, __isinfl, and __isnanl.
22738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22739         Likewise.
22740         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
22742         __finitel.
22743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22744         Likewise.
22745         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22747 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22749         * malloc/memusage.c (me): Remove redundant getenv call.
22751 2015-10-24  Florian Weimer  <fweimer@redhat.com>
22753         [BZ #19143]
22754         [BZ #19164]
22755         * nptl/check-cpuset.h: Remove.
22756         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22757         Remove CPU set size check.
22758         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22759         Likewise.
22760         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
22761         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22762         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
22763         (__pthread_setaffinity_new): Remove CPU set size check.
22764         * sysdeps/unix/sysv/linux/sched_setaffinity.c
22765         (__kernel_cpumask_size): Remove.
22766         (__sched_setaffinity_new): Remove CPU set size check.
22767         * manual/threads.texi (Default Thread Attributes): Remove stale
22768         reference to check_cpuset_attr, determine_cpumask_size in comment.
22769         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
22770         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
22771         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
22772         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
22773         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
22774         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
22775         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
22776         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
22777         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
22778         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
22779         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
22780         skeleton test file.
22781         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
22782         tst-affinity-pid.
22784 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22786         * scripts/update-abilist.sh: New file.
22787         * Makefile (+subdir_targets): Add subdir_update-all-abi.
22788         * Makerules (update-all-abi-%, update-all-abi)
22789         (subdir_update-all-abi): New targets.
22790         * elf/Makefile (update-all-abi): New target.
22792 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22794         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
22795         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
22796         (__libc_lock_define_initialized): Use it.
22797         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
22798         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
22799         * malloc/malloc.c (main_arena): Likewise.
22800         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22801         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22803 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
22805         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22806         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
22807         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22808         (PTRACE_O_MASK): Update value.
22809         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
22810         New value in enum __ptrace_setoptions.
22811         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22812         (PTRACE_O_MASK): Update value.
22813         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22814         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22815         (PTRACE_O_MASK): Update value.
22816         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
22817         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22818         (PTRACE_O_MASK): Update value.
22819         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
22820         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22821         (PTRACE_O_MASK): Update value.
22822         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
22823         New value in enum __ptrace_setoptions.
22824         (PTRACE_O_MASK): Update value.
22825         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
22826         New value in enum __ptrace_setoptions.
22827         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22828         (PTRACE_O_MASK): Update value.
22830         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
22831         New macro.
22832         (PACKET_AUXDATA): Likewise.
22833         (PACKET_ORIGDEV): Likewise.
22834         (PACKET_VERSION): Likewise.
22835         (PACKET_HDRLEN): Likewise.
22836         (PACKET_RESERVE): Likewise.
22837         (PACKET_TX_RING): Likewise.
22838         (PACKET_LOSS): Likewise.
22839         (PACKET_VNET_HDR): Likewise.
22840         (PACKET_TX_TIMESTAMP): Likewise.
22841         (PACKET_TIMESTAMP): Likewise.
22842         (PACKET_FANOUT): Likewise.
22843         (PACKET_TX_HAS_OFF): Likewise.
22844         (PACKET_QDISC_BYPASS): Likewise.
22845         (PACKET_ROLLOVER_STATS): Likewise.
22846         (PACKET_FANOUT_DATA): Likewise.
22847         (PACKET_MR_UNICAST): Likewise.
22849         [BZ #19242]
22850         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
22851         (TOUPPER): Likewise.
22852         * stdlib/tst-strtol-locale-main.c: New file.
22853         * stdlib/tst-strtol-locale.c: Likewise.
22854         * stdlib/Makefile (tests): Add tst-strtol-locale.
22855         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
22856         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
22857         Depend on $(gen-locales).
22858         * wcsmbs/tst-wcstol-locale.c: New file.
22859         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
22860         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
22861         tr_TR.ISO-8859-9.
22862         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
22863         Depend on $(gen-locales).
22865 2015-11-20  Roland McGrath  <roland@hack.frob.com>
22867         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
22868         __glibc_likely instead of __builtin_expect.  After falling back to
22869         dyncode_create in a non-ET_DYN case, use the allocate_code_data
22870         system interface to register the code pages as occupied.
22872 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
22874         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22875         [!ARM_MATH_PRIVATE_H].
22876         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
22877         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22878         [!HPPA_MATH_PRIVATE_H].
22879         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
22880         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
22881         to [!I386_MATH_PRIVATE_H].
22882         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
22883         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
22884         Change guard to [!M68K_MATH_PRIVATE_H].
22885         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
22886         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
22887         guard to [!MICROBLAZE_MATH_PRIVATE_H].
22888         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
22889         macro.
22890         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22891         [!MIPS_MATH_PRIVATE_H].
22892         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
22893         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22894         [!NIO2_MATH_PRIVATE_H].
22895         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
22896         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22897         [!TILE_MATH_PRIVATE_H].
22898         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
22900         [BZ #15421]
22901         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
22902         initialize with 0 and define as weak alias of __signgam.
22903         * include/math.h [!_ISOMAC] (__signgam): Declare.
22904         * math/Makefile (libm-calls): Add w_lgamma_compat.
22905         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
22906         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
22907         test-signgam-ullong-init.
22908         (tests-static): Add test-signgam-uchar-static,
22909         test-signgam-uchar-init-static, test-signgam-uint-static,
22910         test-signgam-uint-init-static, test-signgam-ullong-static and
22911         test-signgam-ullong-init-static.
22912         (CFLAGS-test-signgam-uchar.c): New variable.
22913         (CFLAGS-test-signgam-uchar-init.c): Likewise.
22914         (CFLAGS-test-signgam-uchar-static.c): Likewise.
22915         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22916         (CFLAGS-test-signgam-uint.c): Likewise.
22917         (CFLAGS-test-signgam-uint-init.c): Likewise.
22918         (CFLAGS-test-signgam-uint-static.c): Likewise.
22919         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22920         (CFLAGS-test-signgam-ullong.c): Likewise.
22921         (CFLAGS-test-signgam-ullong-init.c): Likewise.
22922         (CFLAGS-test-signgam-ullong-static.c): Likewise.
22923         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22924         * math/Versions (libm): Add GLIBC_2.23.
22925         * math/lgamma-compat.h: New file.
22926         * math/test-signgam-main.c: Likewise.
22927         * math/test-signgam-uchar-init-static.c: Likewise.
22928         * math/test-signgam-uchar-init.c: Likewise.
22929         * math/test-signgam-uchar-static.c: Likewise.
22930         * math/test-signgam-uchar.c: Likewise.
22931         * math/test-signgam-uint-init-static.c: Likewise.
22932         * math/test-signgam-uint-init.c: Likewise.
22933         * math/test-signgam-uint-static.c: Likewise.
22934         * math/test-signgam-uint.c: Likewise.
22935         * math/test-signgam-ullong-init-static.c: Likewise.
22936         * math/test-signgam-ullong-init.c: Likewise.
22937         * math/test-signgam-ullong-static.c: Likewise.
22938         * math/test-signgam-ullong.c: Likewise.
22939         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22940         wrapper of w_lgamma_main.c.
22941         * math/w_lgamma_compat.c: New file.
22942         * math/w_lgamma_compatf.c: Likewise.
22943         * math/w_lgamma_compatl.c: Likewise.
22944         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
22945         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22946         defining compatibility symbols.
22947         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
22948         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22949         wrapper of w_lgammaf_main.c.
22950         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22951         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22952         defining compatibility symbols.
22953         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22954         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22955         wrapper of w_lgammal_main.c.
22956         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22957         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22958         defining compatibility symbols.
22959         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22960         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22961         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22962         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22963         <lgamma-compat.h>.
22964         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22965         (__ieee754_gamma): Define as alias.
22966         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22967         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22968         <lgamma-compat.h>.
22969         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22970         (__ieee754_gammaf): Define as alias.
22971         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22972         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22973         <lgamma-compat.h>.
22974         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22975         (__ieee754_gammal): Define as alias.
22976         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22977         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22978         <math/w_lgamma_compat.c>.
22979         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22980         Define as alias of __lgamma_compat and use in defining lgammal.
22981         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22982         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22983         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22984         (USE_AS_COMPAT): New macro.
22985         (LGAMMA_OLD_VER): Undefine and redefine.
22986         (lgammal): Do not define here.
22987         (gammal): Only define here if [GAMMA_ALIAS].
22988         * conform/linknamespace.pl (@whitelist): Remove signgam.
22989         * sysdeps/nacl/libm.abilist: Update.
22990         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22991         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22992         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22993         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22994         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22995         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22996         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22997         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22998         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22999         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23000         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23001         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23003         Likewise.
23004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23005         Likewise.
23006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23007         Likewise.
23008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23009         Likewise.
23010         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23011         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23012         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23013         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23014         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23016         Likewise.
23017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23018         Likewise.
23019         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23020         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23021         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23023 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23025         [BZ #16364]
23026         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
23027         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
23029 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23031         * sysdeps/s390/fpu/bits/mathinline.h:
23032         Use __asm__ [__volatile__] instead of asm [volatile].
23033         * sysdeps/s390/abort-instr.h: Likewise.
23034         * sysdeps/s390/atomic-machine.h: Likewise.
23035         * sysdeps/s390/bits/string.h: Likewise.
23036         * sysdeps/s390/dl-tls.h: Likewise.
23037         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23038         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23039         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23040         * sysdeps/s390/fpu/fesetround.c: Likewise.
23041         * sysdeps/s390/fpu/fpu_control.h: Likewise.
23042         * sysdeps/s390/fpu/s_fma.c: Likewise.
23043         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
23044         * sysdeps/s390/memusage.h: Likewise.
23045         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
23046         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
23047         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
23048         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
23049         * sysdeps/s390/nptl/tls.h: Likewise.
23050         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
23051         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23052         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23053         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
23054         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23055         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23056         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
23057         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23058         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23059         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
23060         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
23061         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23062         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23063         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
23064         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23065         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23066         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
23067         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23068         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
23069         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23070         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
23071         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23072         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
23074 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23075             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23077         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23078         Add lwarx hint, and use macro for acquire instruction.
23079         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23080         Likewise.
23081         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
23082         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
23083         update to use new atomic macros.
23085 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23087         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23088         (__lll_trylock_elision): Fix setting of adapt_count.
23089         * sysdeps/unix/sysv/linux/powerpc/htm.h
23090         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
23091         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
23092         (_ABORT_SYSCALL): Renumber, and clarify definition.
23093         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
23095 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23097         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
23098         after system headers to prevent MIN/MAX redefinition.  Define
23099         HAVE_ALLOCA to preserve builtin alloca usage.
23101 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23103         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
23104         static and don't set or restore rounding.
23105         (__cos)[IN_SINCOS]: Likewise.
23106         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
23107         (__sincos): Set and restore rounding mode.  Remove check for infinite
23108         or NaN input.
23110         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
23112         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
23113         as used.
23115 2015-11-16  Florian Weimer  <fweimer@redhat.com>
23117         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
23119 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23121         * config.make.in (have-glob-dat-reloc): New.
23122         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
23123         target supports GLOB_DAT relocaton. AC_SUBST.
23124         * configure: Regenerated.
23125         * elf/Makefile (tests): Add tst-prelink.
23126         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23127         (tst-prelink-ENV): New.
23128         ($(objpfx)tst-prelink-conflict.out): Likewise.
23129         ($(objpfx)tst-prelink-cmp.out): Likewise.
23130         * sysdeps/x86/tst-prelink.c: Moved to ...
23131         * elf/tst-prelink.c: Here.
23132         * sysdeps/x86/tst-prelink.exp: Moved to ...
23133         * elf/tst-prelink.exp: Here.
23134         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
23135         (tst-prelink-ENV): Removed.
23136         ($(objpfx)tst-prelink-conflict.out): Likewise.
23137         ($(objpfx)tst-prelink-cmp.out): Likewise.
23138         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
23140 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
23142         [BZ #14551]
23143         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
23144         (__mpn_construct_long_double): If high part overflows to infinity,
23145         set errno and recompute overflowed result of the correct sign.
23146         * sysdeps/ieee754/ldbl-128ibm/Makefile
23147         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
23148         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
23149         $(libm).
23150         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
23152 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
23154         [BZ #15479]
23155         [BZ #19238]
23156         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
23157         floating-point state after first operation on input.  Restore full
23158         state rather than just rounding mode.
23159         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
23160         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
23161         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
23163         [BZ #19235]
23164         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
23165         add 0.5 to integer arguments.
23166         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
23167         Likewise.
23168         (.LC2): New object.
23170 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
23172         * scripts/pylintrc (reports): Set to no.
23174 2015-11-10  Roland McGrath  <roland@hack.frob.com>
23176         * elf/dl-load.c (open_verify): Take new argument FD.
23177         Skip __open call if passed FD is not -1.
23178         (_dl_map_object, open_path): Update callers.
23179         * elf/dl-sysdep-open.h: New file.
23180         * elf/dl-load.c: Include it.
23181         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23182         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23183         * sysdeps/nacl/dl-sysdep-open.h: New file.
23184         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23185         from libc to rtld.
23187 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23189         [BZ #19228]
23190         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23191         and restore full floating-point state.
23192         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23193         Likewise.
23194         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23195         Likewise.
23196         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
23197         Likewise.
23198         * math/test-nearbyint-except-2.c: New file.
23199         * math/Makefile (tests): Add test-nearbyint-except-2.
23201 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
23203         [BZ #19178]
23204         * sysdeps/x86/Makefile (tests): Add tst-prelink.
23205         (tst-prelink-ENV): New.
23206         ($(objpfx)tst-prelink-conflict.out): Likewise.
23207         ($(objpfx)tst-prelink-cmp.out): Likewise.
23208         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23209         * sysdeps/x86/tst-prelink.c: New file.
23210         * sysdeps/x86/tst-prelink.exp: Likewise.
23212 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23214         * math/auto-libm-test-in: Add another test of pow.
23215         * math/auto-libm-test-out: Regenerated.
23216         * math/libm-test.inc (pow_test_data): Add another test.
23218 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23220         [BZ #19219]
23221         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
23222         weak_alias to nearbyintl.
23224 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23226         * sysdeps/aarch64/bits/string.h: New file.
23227         (_STRING_ARCH_unaligned): Define.
23229 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23231         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
23232         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23233         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23234         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
23235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
23237 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
23239         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
23240         for original name of the DSO.  Add it to the name list of the DSO
23241         if it is actually given.
23242         (_dl_map_object): Keep track of whether an audit module rewrote
23243         the file name.  If yes, pass the original name to
23244         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
23245         debugging is enabled, log the change of the file name.
23246         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
23247         _dl_map_object_from_fd.
23248         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
23249         * elf/tst-audit11.c: New file
23250         * elf/tst-auditmod11.c: New file.
23251         * elf/tst-audit11mod1.c: New file.
23252         * elf/tst-audit11mod2.c: New file.
23253         * elf/tst-audit11mod2.map: New file.
23254         * elf/tst-audit12.c: New file
23255         * elf/tst-auditmod12.c: New file.
23256         * elf/tst-audit12mod1.c: New file.
23257         * elf/tst-audit12mod2.c: New file.
23258         * elf/tst-audit12mod2.map: New file.
23259         * elf/tst-audit12mod3.c: New file.
23261 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23263         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
23264         Don't create weak aliases,
23265         because versioned symbols are created later.
23266         * sysdeps/s390/s390-32/setjmp.S
23267         (setjmp, _setjmp): Remove weak and rename to an unique name
23268         in SHARED case due to existing versioned symbols.
23269         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23270         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
23271         (getcontext): Create weak alias only in non SHARED case.
23272         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23274 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23276         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23277         (__ASSUME_*_SYSCALL) Define new macros.
23278         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23279         Remove socketcall syscalls.
23280         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23281         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23282         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23283         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23284         * sysdeps/unix/sysv/linux/send.c (__libc_send):
23285         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23287 2015-11-09  Florian Weimer  <fweimer@redhat.com>
23289         [BZ #12926]
23290         Terminate process on invalid netlink response.
23291         * sysdeps/unix/sysv/linux/netlinkaccess.h
23292         (__netlink_assert_response): Declare.
23293         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23294         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23295         (sysdep_routines): Add netlink_assert_response.
23296         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23297         __netlink_assert_response.
23298         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23299         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23300         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23301         __netlink_assert_response.
23303 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23305         [BZ #19178]
23306         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23307         (RTYPE_CLASS_PLT): Likewise.
23308         (RTYPE_CLASS_COPY): Likewise.
23309         (RTYPE_CLASS_TLS): Likewise.
23310         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23311         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
23312         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23313         DL_DEBUG_PRELINK.
23315 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
23317         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23318         calls with argument -0.5.
23319         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23321         * configure.ac (libc_cv_z_nodelete): Remove configure test.
23322         (libc_cv_z_nodlopen): Likewise.
23323         (libc_cv_z_initfirst): Likewise.
23324         * configure: Regenerated.
23326 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23328         Simplify abilist format to be line-based.
23329         * scripts/abilist.awk: Collect descriptors in the descs variable.
23330         (emit): Write descs variable and sort it
23331         externally, with sort.
23332         * sysdeps/**/*.abilist: Convert to new format.
23334 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23336         [BZ #11460]
23337         * io/Makefile (routines): Add fts64.
23338         (tests): Add tst-fts and tst-fts-lfs.
23339         (CFLAGS-fts64.c): New.
23340         * io/Versions (GLIBC_2.23): New.
23341         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23342         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23343         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23344         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23345         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23346         (FTSENT64): Likewise.
23347         (fts64_children): Likewise.
23348         (fts64_close): Likewise.
23349         (fts64_open): Likewise.
23350         (fts64_read): Likewise.
23351         (fts64_set): Likewise.
23352         * io/fts64.c: New file.
23353         * io/tst-fts.c: New test.
23354         * io/tst-fts-lfs.c: Likewise.
23355         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23356         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23357         fts64_set.
23358         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23359         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23360         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23361         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23362         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23363         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23364         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23365         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23366         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23367         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23368         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23369         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23370         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23372         Likewise.
23373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23374         Likewise.
23375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23377         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23378         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23379         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23380         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23381         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23384         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23385         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23386         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23387         * sysdeps/wordsize-64/fts.c: New file.
23388         * sysdeps/wordsize-64/fts64.c: Likewise.
23389         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23390         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23391         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23392         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23394 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23396         * math/libm-test.inc (NON_FINITE): New macro.
23397         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23398         * math/gen-libm-test.pl (show_exceptions): Add argument
23399         $non_finite.
23400         (parse_args): Update call to show_exceptions.
23401         * math/test-math-finite.h: New file.
23402         * math/test-math-no-finite.h: Likewise.
23403         * math/test-double-finite.c: Likewise.
23404         * math/test-float-finite.c: Likewise.
23405         * math/test-ldouble-finite.c: Likewise.
23406         * math/test-double.c: Include "test-math-no-finite.h".
23407         * math/test-float.c: Include "test-math-no-finite.h".
23408         * math/test-ldouble.c: Include "test-math-no-finite.h".
23409         * math/test-math-inline.h (TEST_FINITE): New macro.
23410         * math/test-math-vector.h (TEST_FINITE): Likewise.
23411         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23412         (libm-tests): Add test-float-finite and test-double-finite.
23413         ($(objpfx)test-float-finite.o): New dependency on
23414         $(objpfx)libm-test.stmp.
23415         ($(objpfx)test-double-finite.o): Likewise.
23416         ($(objpfx)test-ldouble-finite.o): Likewise.
23417         (libm-test-no-inline-cflags): New variable.
23418         (libm-test-finite-cflags): Likewise.
23419         (CFLAGS-test-float-finite.c): Likewise.
23420         (CFLAGS-test-double-finite.c): Likewise.
23421         (CFLAGS-test-ldouble-finite.c): Likewise.
23422         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23423         (CFLAGS-test-double.c): Likewise.
23424         (CFLAGS-test-ldouble.c): Likewise.
23426 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23428         * io/fcntl.c (__fcntl): Add ... to prototype.
23429         * misc/ioctl.c (__ioctl): Likewise.
23430         * misc/syscall.c (syscall): Likewise.
23432 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23434         * scripts/list-fixed-bugs.py: New file.
23436         [BZ #19213]
23437         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23438         returned for argument 1.
23439         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23440         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23441         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23442         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23443         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23444         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23446         [BZ #19211]
23447         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23448         __USE_XOPEN], not if [!__USE_ISOC99].
23449         (lgammaf): Likewise.
23450         (lgammal): Likewise.
23451         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23452         (gammaf): Likewise.
23453         (gammal): Likewise.
23454         * math/test-signgam-finite-c11.c: New file.
23455         * math/test-signgam-finite-c99.c: Likewise.
23456         * math/test-signgam-finite.c: Likewise.
23457         * math/Makefile (tests): Add test-signgam-finite,
23458         test-signgam-finite-c99 and test-signgam-finite-c11.
23459         (CFLAGS-test-signgam-finite.c): New variable.
23460         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23461         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23463         [BZ #19212]
23464         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23465         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23466         500].
23467         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23468         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23469         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23470         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23471         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23472         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23473         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23474         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23475         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23476         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23478         [BZ #19209]
23479         * math/bits/math-finite.h (ldexp): Remove declaration.
23480         (ldexpf): Likewise.
23481         (ldexpl): Likewise.
23483         [BZ #19205]
23484         * math/bits/math-finite.h (acosf): Condition declaration on
23485         [__USE_ISOC99].
23486         (acosl): Likewise.
23487         (acoshf): Likewise.
23488         (acoshl): Likewise.
23489         (asinf): Likewise.
23490         (asinl): Likewise.
23491         (atan2f): Likewise.
23492         (atan2l): Likewise.
23493         (atanhf): Likewise.
23494         (atanhl): Likewise.
23495         (coshf): Likewise.
23496         (coshl): Likewise.
23497         (expf): Likewise.
23498         (expl): Likewise.
23499         (fmodf): Likewise.
23500         (fmodl): Likewise.
23501         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23502         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23503         (j0l): Likewise.
23504         (y0f): Likewise.
23505         (y0l): Likewise.
23506         (j1f): Likewise.
23507         (j1l): Likewise.
23508         (y1f): Likewise.
23509         (y1l): Likewise.
23510         (jnf): Likewise.
23511         (jnl): Likewise.
23512         (ynf): Likewise.
23513         (ynl): Likewise.
23514         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23515         (lgammal_r): Likewise.
23516         (__lgamma_r_finite): New declaration.
23517         (__lgammaf_r_finite): Likewise.
23518         (__lgammal_r_finite): Likewise.
23519         (lgamma): Use __lgamma_r_finite.
23520         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23521         __lgammaf_r_finite.
23522         (lgammal): Condition definition on [__USE_ISOC99].  Use
23523         __lgammal_r_finite.
23524         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23525         __lgamma_r_finite.
23526         (gammaf): Condition definition on [__USE_ISOC99].  Use
23527         __lgammaf_r_finite.
23528         (gammal): Condition definition on [__USE_ISOC99].  Use
23529         __lgammal_r_finite.
23530         (logf): Condition declaration on [__USE_ISOC99].
23531         (logl): Likewise.
23532         (log10f): Likewise.
23533         (log10l): Likewise.
23534         (ldexpf): Likewise.
23535         (ldexpl): Likewise.
23536         (powf): Likewise.
23537         (powl): Likewise.
23538         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23539         __USE_ISOC99].
23540         (remainderf): Condition declaration on [__USE_ISOC99].
23541         (remainderl): Likewise.
23542         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23543         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23544         (scalbl): Likewise.
23545         (sinhf): Condition declaration on [__USE_ISOC99].
23546         (sinhl): Likewise.
23547         (sqrtf): Likewise.
23548         (sqrtl): Likewise.
23550 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23552         * sysdeps/arm/atomic-machine.h
23553         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23554         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23555         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23556         Remove conditional code.
23557         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23558         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23559         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23560         Change conditional to [__ASSEMBLER__].
23561         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23562         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23563         [!__ASSEMBLER__].
23564         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23565         code.
23566         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23567         conditional macro definitions.
23568         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23569         (__arch_compare_and_exchange_val_16_acq): Likewise.
23570         (__arch_compare_and_exchange_val_32_acq): Likewise.
23571         (atomic_exchange_and_add): Likewise.
23572         (atomic_add): Likewise.
23573         (atomic_add_negative): Likewise.
23574         (atomic_add_zero): Likewise.
23575         (atomic_bit_set): Likewise.
23576         (atomic_bit_test_set): Likewise.
23577         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23578         code unconditional.
23579         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23581         * math/test-math-errno.h: New file.
23582         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23583         empty.
23584         (TEST_ERRNO): New macro.
23585         (TEST_EXCEPTIONS): Likewise.
23586         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23587         (TEST_EXCEPTIONS): Likewise.
23588         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23589         * math/test-double.c: Include "test-math-errno.h".
23590         * math/test-float.c: Likewise.
23591         * math/test-ldouble.c: Likewise.
23592         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23593         code unconditional.
23594         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23595         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23596         unconditional.
23597         (test_errno): Only run code if TEST_ERRNO.
23598         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23600 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23602         * nptl/tst-once5.cc: Remove attribution.
23604 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23606         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23607         sqrt, tan, tanh, y0, y1 and yn.
23608         * math/auto-libm-test-out: Regenerated.
23609         * math/libm-test.inc (scalb_test_data): Add more tests.
23610         (scalbn_test_data): Likewise.
23611         (scalbln_test_data): Likewise.
23612         (signbit_test_data): Likewise.
23613         (sin_test_data): Likewise.
23614         (sincos_test_data): Likewise.
23615         (sinh_test_data): Likewise.
23616         (sqrt_test_data): Likewise.
23617         (tan_test_data): Likewise.
23618         (tanh_test_data): Likewise.
23619         (tgamma_test_data): Likewise.
23620         (y0_test_data): Likewise.
23621         (y1_test_data): Likewise.
23622         (yn_test_data): Likewise.
23623         (significand_test_data): Likewise.
23624         * sysdeps/i386/fpu/libm-test-ulps: Update.
23626 2015-11-03  David Kastrup  <dak@gnu.org>
23628         [BZ #18604]
23629         * assert/assert.h (assert): Don't macro-expand failed assertion
23630         expression in error message.
23631         * malloc/malloc.c (assert): Likewise.
23633 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
23635         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23636         test.
23637         * configure: Regenerated.
23639 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
23641         * math/libm-test.inc (modf_test_data): Add more tests.
23642         (nearbyint_test_data): Likewise.
23643         (nextafter_test_data): Likewise.
23644         (nexttoward_test_data): Likewise.
23645         (pow_test_data): Likewise.
23646         (remainder_test_data): Likewise.
23647         (remquo_test_data): Likewise.
23648         (rint_test_data): Likewise.
23650         [BZ #19201]
23651         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23652         Check for zero remainder in case of large exponents and ensure
23653         correct sign of result in that case.
23654         * math/libm-test.inc (remainder_test_data): Add more tests.
23656         [BZ #6799]
23657         * math/s_nextafter.c: Include <errno.h>.
23658         (__nextafter): Set errno on overflow and underflow.
23659         * math/s_nexttowardf.c: Include <errno.h>.
23660         (__nexttowardf): Set errno on overflow and underflow.
23661         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23662         (__nextafterl): Set errno on overflow and underflow.
23663         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23664         (__nexttoward): Set errno on overflow and underflow.
23665         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23666         (__nexttowardf): Set errno on overflow and underflow.
23667         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23668         (__nextafterf): Set errno on overflow and underflow.
23669         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23670         (__nextafterl): Set errno on overflow and underflow.
23671         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23672         (__nexttoward): Set errno on overflow and underflow.
23673         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23674         (__nexttowardf): Set errno on overflow and underflow.
23675         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23676         (__nextafterl): Set errno on overflow and underflow.
23677         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23678         (__nexttoward): Set errno on overflow and underflow.
23679         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23680         (__nexttowardf): Set errno on overflow and underflow.
23681         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
23682         (__nexttoward): Set errno on overflow and underflow.
23683         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
23684         (__nexttowardf): Set errno on overflow and underflow.
23685         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
23686         (__nldbl_nexttowardf): Set errno on overflow and underflow.
23687         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
23688         (__nextafterl): Set errno on overflow and underflow.
23689         * math/libm-test.inc (nextafter_test_data): Do not allow errno
23690         setting to be missing on overflow.  Add more tests.
23691         (nexttoward_test_data): Likewise.
23693         * configure.ac (libc_cv_initfini_array): Remove configure test.
23694         * configure: Regenerated.
23696 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
23698         [BZ #19189]
23699         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
23700         non-finite argument handle arguments with negative sign.
23702         * math/libm-test.inc (j0_test_data): Do not test sign of zero
23703         result from infinite argument.
23704         (j1_test_data): Likewise.
23705         (jn_test_data): Likewise.
23706         (y0_test_data): Likewise.
23707         (y1_test_data): Likewise.
23708         (yn_test_data): Likewise.
23710         [BZ #16171]
23711         * math/w_remainder.c (drem): Define as weak alias of __remainder.
23712         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
23713         * math/w_remainderf.c (dremf): Define as weak alias of
23714         __remainderf.
23715         * math/w_remainderl.c (dreml): Define as weak alias of
23716         __remainderl.
23717         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
23718         __remainder.
23719         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
23720         __remainderf.
23721         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
23722         __remainderl.
23723         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
23724         weak alias of remainderl.
23725         * sysdeps/ieee754/ldbl-opt/w_remainder.c
23726         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
23727         alias of __remainder.
23728         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
23729         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
23730         strong alias of __remainderl.
23731         (dreml): Use long_double_symbol.
23732         * math/Makefile (libm-calls): Remove w_drem.
23733         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
23734         (CFLAGS-nldbl-drem.c): Remove variable.
23735         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
23736         * math/w_drem.c: Remove file.
23737         * math/w_dremf.c: Likewise.
23738         * math/w_dreml.c: Likewise.
23739         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
23740         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
23741         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
23743         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
23744         * sysdeps/i386/configure: Regenerated.
23745         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
23746         * sysdeps/x86_64/configure: Regenerated.
23748         * configure.ac (libc_cv_asm_protected_directive): Remove configure
23749         test.
23750         (libc_cv_visibility_attribute): Likewise.
23751         (libc_cv_protected_data): Test unconditionally.
23752         (libc_cv_broken_visibility_attribute): Remove configure test.
23753         (libc_cv_have_sdata_section): Test unconditionally.
23754         * configure: Regenerated.
23756         * include/libc-internal.h (libc_max_align_t): Remove typedef.
23757         * include/scratch_buffer.h: Include <stddef.h> instead of
23758         <libc-internal.h>.
23759         (struct scratch_buffer): Use max_align_t instead of
23760         libc_max_align_t.
23762 2015-10-29  Florian Weimer  <fweimer@redhat.com>
23764         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
23765         instead of extend_alloca.  Change control flow to avoid a goto.
23766         Remove assert which is trivially always true.
23768 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23770         [BZ #16068]
23771         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
23772         (FE_ALL_EXCEPT_X86): New macro.
23773         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23774         FE_ALL_EXCEPT.  Ensure precision control is included in
23775         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23776         handle "denormal operand exception" and clear FZ and DAZ bits.
23777         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
23778         (FE_ALL_EXCEPT_X86): New macro.
23779         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23780         FE_ALL_EXCEPT.  Ensure precision control is included in
23781         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23782         handle "denormal operand exception" and clear FZ and DAZ bits.
23783         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
23784         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
23785         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23786         test-fenv-x87 and test-fenv-sse-2.
23787         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
23789         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
23790         * math/test-double.h (BUILD_COMPLEX): New macro.
23791         * math/test-float.h (BUILD_COMPLEX): Likewise.
23792         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
23794         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
23795         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
23796         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
23797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
23798         instead of DBL_DENORM_MIN in comment.
23799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
23800         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23801         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
23802         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
23803         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
23804         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23806 2015-10-28  Florian Weimer  <fweimer@redhat.com>
23808         [BZ #19048]
23809         * malloc/malloc.c (struct malloc_state): Update comment.  Add
23810         attached_threads member.
23811         (main_arena): Initialize attached_threads.
23812         * malloc/arena.c (list_lock): Update comment.
23813         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
23814         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
23815         (deattach_arena): New function.
23816         (_int_new_arena): Initialize arena reference count and deattach
23817         replaced arena.
23818         (get_free_list, reused_arena): Update reference count and deattach
23819         replaced arena.
23820         (arena_thread_freeres): Update arena reference count and only put
23821         unreferenced arenas on the free list.
23823 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23825         [BZ #19181]
23826         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
23827         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
23828         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
23829         * math/test-fenv-clear-main.c: New file.
23830         * math/test-fenv-clear.c: Likewise.
23831         * math/Makefile (tests): Add test-fenv-clear.
23832         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
23833         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23834         test-fenv-clear-sse.
23835         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
23837         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
23838         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
23839         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
23841 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23843         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
23844         static libc.
23846 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23848         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
23849         test.
23850         * sysdeps/i386/configure: Regenerated.
23851         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
23852         test.
23853         * sysdeps/x86_64/configure: Regenerated.
23854         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
23855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23856         memset-avx2 unconditionally instead of conditionally on
23857         [$(config-cflags-avx2) = yes].
23858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23859         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
23860         unconditional.
23861         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
23862         * sysdeps/x86_64/multiarch/memset_chk.S
23863         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
23864         to [IS_IN (libc) && SHARED].
23866 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23868         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
23869         configure test.
23870         * sysdeps/arm/configure: Regenerated.
23871         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
23872         Define variable if not already defined.
23874         [BZ #17404]
23875         * sysdeps/mips/atomic-machine.h
23876         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
23877         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
23878         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23880         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
23881         unconditional.
23882         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
23883         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23884         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
23885         unconditional.
23886         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23887         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
23888         unconditional.
23889         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23890         * stdlib/setenv.c
23891         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
23892         code unconditional.
23893         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
23894         Remove conditional code.
23895         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23896         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
23897         unconditional.
23898         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23899         code.
23900         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23901         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
23902         unconditional.
23903         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23904         code.
23905         * sysdeps/ieee754/ldbl-128/k_tanl.c
23906         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23907         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23908         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
23909         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23910         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23911         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
23912         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
23913         unconditional.
23914         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23915         code.
23916         * sysdeps/ieee754/ldbl-96/k_tanl.c
23917         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23918         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23920         * nptl/tst-initializers1-c11.c: New file.
23921         * nptl/tst-initializers1-gnu11.c: Likewise.
23922         * nptl/Makefile (tests): Add these new tests.
23923         (CFLAGS-tst-initializers1-c11.c): New variable.
23924         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23926         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23927         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23928         instead of -std=gnu99.
23929         * configure.ac (systemtap): Test with -std=gnu11 instead of
23930         -std=gnu99.
23931         * configure: Regenerated.
23932         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23933         in compilation command in comment.
23935         * sysdeps/nptl/configure.ac: Remove file.
23936         * sysdeps/nptl/configure: Remove generated file.
23937         * configure.ac (libc_cv_forced_unwind): Do not substitute.
23938         * configure: Regenerated.
23939         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23940         * config.make.in (have-forced-unwind): Remove variable.
23941         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23942         unconditional.
23943         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23944         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23945         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23946         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23947         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23948         unconditional.
23950 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23952         [BZ #19174]
23953         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23954         .skip_lock_out_of_tbegin_retries.
23955         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23956         (__lll_lock_elision): Likewise, and respect a value of
23957         try_tbegin <= 0.
23959 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23961         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23962         statement.
23964 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23966         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23967         variable.
23968         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23969         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23971         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23972         of -std=c1x -D_ISOC11_SOURCE.
23974         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23975         * configure: Regenerated.
23976         * manual/install.texi (Tools for Compilation): Document
23977         requirement for GCC 4.7 or later.
23978         * INSTALL: Regenerated.
23980 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23982         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23983         on CNT to a conditional jump to 'puntdata'.
23985 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23987         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23988         (libc_cv_gcc_tls_model_attr): Likewise.
23989         * configure: Regenerated.
23991         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23992         * configure: Regenerated.
23993         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23995 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23997         * configure.ac (old_glibc_headers): Remove configure test.
23998         * configure: Regenerated.
23999         * config.make.in (old-glibc-headers): Remove variable.
24000         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
24001         (install): Remove dependency on remove-old-headers.
24002         (headers2_0): Remove variable.
24003         (remove-old-headers): Remove rule.
24005         * configure.ac (libc_cv_dot_text): Remove configure test.
24006         (libc_cv_asm_set_directive): Use .text instead of
24007         ${libc_cv_dot_text} in configure test.
24008         * configure: Regenerated.
24010 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24012         [BZ #19168]
24013         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24015 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24017         * configure.ac (CXX): Clear the variable if the C++ toolchain does
24018         not support static linking.
24019         * configure: Regenerate.
24021 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
24023         * math/libm-test.inc (check_float_internal): Do not special-case
24024         errors up to 0.5 ulp.
24026         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24027         log2.
24028         * math/auto-libm-test-out: Regenerated.
24029         * math/libm-test.inc (MAX_EXP): New macro.
24030         (ilogb_test_data): Add more tests.
24031         (isfinite_test_data): Likewise.
24032         (isgreater_test_data): Likewise.
24033         (isgreaterequal_test_data): Likewise.
24034         (isinf_test_data): Likewise.
24035         (isless_test_data): Likewise.
24036         (islessequal_test_data): Likewise.
24037         (islessgreater_test_data): Likewise.
24038         (isnan_test_data): Likewise.
24039         (isnormal_test_data): Likewise.
24040         (issignaling_test_data): Likewise.
24041         (isunordered_test_data): Likewise.
24042         (j0_test_data): Likewise.
24043         (j1_test_data): Likewise.
24044         (jn_test_data): Likewise.
24045         (lgamma_test_data): Likewise.
24046         (log_test_data): Likewise.
24047         (log10_test_data): Likewise.
24048         (log1p_test_data): Likewise.
24049         (log2_test_data): Likewise.
24050         (logb_test_data): Likewise.
24051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24053         [BZ #18611]
24054         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
24055         avoid excess range and precision on underflow.
24056         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24057         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
24058         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24059         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
24060         underflow.
24061         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24062         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24063         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24064         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24065         * math/auto-libm-test-in: Do not allow missing errno setting for
24066         tests of j1 and jn.
24067         * math/auto-libm-test-out: Regenerated.
24069 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
24071         [BZ #15491]
24072         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
24073         floating-point environment instead of clearing all exceptions.
24074         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
24075         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
24076         merging in "invalid" exceptions from frndint.
24077         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
24078         * math/test-nearbyint-except.c: New file.
24079         * math/Makefile (tests): Add test-nearbyint-except.
24081 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
24083         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
24085         * sysdeps/tile/libm-test-ulps: Regenerated.
24087 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
24090         (__NR_sync_file_range2): Assume it is always defined.
24091         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24092         (__NR_sync_file_range): Assume it is always defined.
24094 2015-10-22  Andreas Schwab  <schwab@suse.de>
24096         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24097         INTERNAL_SYSCALL_ERRNO.
24098         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24099         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24100         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24101         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24102         Likewise.
24103         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24105 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24107         * io/tst-fcntl.c (fd): New static variable.
24108         (do_prepare): Open temporary file here....
24109         (do_test): ...not here.
24111         * io/ftwtest-sh: Also trap on exit to remove temporary files.
24113 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24115         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
24116         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24117         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24118         Moved before "#ifdef __ASSEMBLER__".
24120 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24122         [BZ #19156]
24123         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
24124         arguments very close to 0.
24126 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
24128         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
24129         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
24131 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24133         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24134         New.  Defined for GCC 5 and above when not compiling for
24135         profiling.
24136         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24138         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24139         Renamed to ...
24140         (CFLAGS-epoll_pwait.o): This.
24141         (CFLAGS-mmap.c): Renamed to ...
24142         (CFLAGS-mmap.o): This.
24143         (CFLAGS-mmap64.c): Renamed to ...
24144         (CFLAGS-mmap64.o): This.
24145         (CFLAGS-epoll_pwait.os): New.
24146         (CFLAGS-mmap.os): Likewise.
24147         (CFLAGS-mmap64.os): Likewise.
24148         (CFLAGS-semtimedop.os): Likewise.
24149         (CFLAGS-semtimedop.c): Renamed to ...
24150         (CFLAGS-semtimedop.o): This.
24152 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24154         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
24155         warning message.
24157 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24159         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
24160         * Makefile ($(objpfx)c++-types-check.out): Filter out
24161         $(+gccwarn-c) instead of -Wstrict-prototypes.
24163         * io/fts.c (fts_open): Convert to prototype-style function
24164         definition.
24165         * malloc/mcheck.c (mcheck): Likewise.
24166         (mcheck_pedantic): Likewise.
24167         * posix/regexec.c (re_search_2_stub): Likewise.  Use
24168         internal_function.
24169         (re_search_internal): Likewise.
24170         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
24171         prototype-style function definition.
24172         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24173         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24174         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
24175         (xdr_utmpptr): Likewise.
24176         (xdr_utmparr): Likewise.
24177         (xdr_utmpidle): Likewise.
24178         (xdr_utmpidleptr): Likewise.
24179         (xdr_utmpidlearr): Likewise.
24181         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24182         log, log10 and log2.
24183         * math/auto-libm-test-out: Regenerated.
24184         * math/libm-test.inc (fmod_test_data): Add more tests.
24185         (fpclassify_test_data): Likewise.
24186         (frexp_test_data): Likewise.
24187         (hypot_test_data): Likewise.
24188         (ilogb_test_data): Likewise.
24190 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
24192         * debug/fortify_fail.c (__fortify_fail): Convert to
24193         prototype-style function definition.  Use internal_function.
24194         * libio/genops.c (save_for_backup): Convert to prototype-style
24195         function definition.
24196         * libio/wgenops.c (save_for_wbackup): Likewise.
24197         * login/grantpt.c (grantpt): Likewise.
24198         * login/ptsname.c (ptsname): Likewise.
24199         (__ptsname_r): Likewise.
24200         * login/unlockpt.c (unlockpt): Likewise.
24201         * mach/msgserver.c (__mach_msg_server): Likewise.
24202         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
24203         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
24204         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
24205         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
24206         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
24207         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
24208         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
24209         Likewise.
24210         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
24211         internal_function.
24212         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24213         prototype-style function definition.
24214         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
24215         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
24216         (__pthread_create_2_0): Likewise.
24217         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
24218         * nptl/register-atfork.c (__register_atfork): Likewise.
24219         * posix/glob.c (glob): Likewise.
24220         * posix/regcomp.c (re_comp): Likewise.
24221         * posix/regexec.c (re_exec): Likewise.
24222         * stdlib/add_n.c [__STDC__]: Make code unconditional.
24223         [!__STDC__]: Remove conditional code.
24224         * stdlib/cmp.c [__STDC__]: Make code unconditional.
24225         [!__STDC__]: Remove conditional code.
24226         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
24227         [!__STDC__]: Remove conditional code.
24228         * stdlib/divrem.c [__STDC__]: Make code unconditional.
24229         [!__STDC__]: Remove conditional code.
24230         * stdlib/lshift.c [__STDC__]: Make code unconditional.
24231         [!__STDC__]: Remove conditional code.
24232         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
24233         [!__STDC__]: Remove conditional code.
24234         * stdlib/mul.c [__STDC__]: Make code unconditional.
24235         [!__STDC__]: Remove conditional code.
24236         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
24237         [!__STDC__]: Remove conditional code.
24238         * stdlib/rshift.c [__STDC__]: Make code unconditional.
24239         [!__STDC__]: Remove conditional code.
24240         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
24241         function definition.
24242         (STRTOF): Likewise.
24243         * stdlib/strtod_l.c (__STRTOF): Likewise.
24244         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
24245         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
24246         (__strtol_l): Likewise.
24247         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
24248         [!__STDC__]: Remove conditional code.
24249         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
24250         definition.
24251         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24252         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24253         type.
24254         (__strcasecmp): Convert to prototype-style function definition.
24255         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
24256         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24257         type.
24258         (__strncasecmp): Convert to prototype-style function definition.
24259         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
24260         * sunrpc/xdr.c (xdr_union): Likewise.
24261         * sunrpc/xdr_array.c (xdr_array): Likewise.
24262         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
24263         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
24264         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
24265         Likewise.
24266         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
24267         Likewise.
24268         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
24269         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24270         Likewise.
24271         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
24272         (LOCALE_PARAM_PROTO): Likewise.
24273         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
24274         argument type.
24275         (ut_argument_spec): Remove macro.
24276         (ut_argument_spec_iso): Rename to ut_argument_spec.
24277         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
24278         prototype-style function definition.
24279         (memcpy_uppcase): Likewise.
24280         (__strftime_internal): Likewise.
24281         (my_strftime): Likewise.
24282         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24283         (LOCALE_PARAM_DECL): Likewise.
24284         [_LIBC] (LOCALE_PARAM): Include argument type.
24285         (__strptime_internal): Convert to prototype-style function
24286         definition.
24287         (strptime): Likewise.
24288         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24289         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24290         type.
24291         (__wcscasecmp): Convert to prototype-style function definition.
24292         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24293         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24294         type.
24295         (__wcsncasecmp): Convert to prototype-style function definition.
24297         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24298         function definition.
24299         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24300         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24301         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24302         * elf/dl-minimal.c (_itoa): Likewise.
24303         * hurd/hurdmalloc.c (malloc): Likewise.
24304         (free): Likewise.
24305         (realloc): Likewise.
24306         * inet/inet6_option.c (inet6_option_space): Likewise.
24307         (inet6_option_init): Likewise.
24308         (inet6_option_append): Likewise.
24309         (inet6_option_alloc): Likewise.
24310         (inet6_option_next): Likewise.
24311         (inet6_option_find): Likewise.
24312         * io/ftw.c (FTW_NAME): Likewise.
24313         (NFTW_NAME): Likewise.
24314         (NFTW_NEW_NAME): Likewise.
24315         (NFTW_OLD_NAME): Likewise.
24316         * libio/iofwide.c (_IO_fwide): Likewise.
24317         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24318         (_IO_str_init_static): Likewise.
24319         (_IO_str_init_readonly): Likewise.
24320         (_IO_str_overflow): Likewise.
24321         (_IO_str_underflow): Likewise.
24322         (_IO_str_count): Likewise.
24323         (_IO_str_seekoff): Likewise.
24324         (_IO_str_pbackfail): Likewise.
24325         (_IO_str_finish): Likewise.
24326         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24327         (_IO_wstr_overflow): Likewise.
24328         (_IO_wstr_underflow): Likewise.
24329         (_IO_wstr_count): Likewise.
24330         (_IO_wstr_seekoff): Likewise.
24331         (_IO_wstr_pbackfail): Likewise.
24332         (_IO_wstr_finish): Likewise.
24333         * locale/programs/localedef.c (normalize_codeset): Likewise.
24334         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24335         (add_locales_to_archive): Likewise.
24336         (delete_locales_from_archive): Likewise.
24337         * malloc/malloc.c (__libc_mallinfo): Likewise.
24338         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24339         * misc/tsearch.c (__tfind): Likewise.
24340         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24341         * nptl/pthread_attr_getdetachstate.c
24342         (__pthread_attr_getdetachstate): Likewise.
24343         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24344         Likewise.
24345         * nptl/pthread_attr_getinheritsched.c
24346         (__pthread_attr_getinheritsched): Likewise.
24347         * nptl/pthread_attr_getschedparam.c
24348         (__pthread_attr_getschedparam): Likewise.
24349         * nptl/pthread_attr_getschedpolicy.c
24350         (__pthread_attr_getschedpolicy): Likewise.
24351         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24352         Likewise.
24353         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24354         Likewise.
24355         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24356         Likewise.
24357         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24358         Likewise.
24359         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24360         (__pthread_attr_init_2_0): Likewise.
24361         * nptl/pthread_attr_setdetachstate.c
24362         (__pthread_attr_setdetachstate): Likewise.
24363         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24364         Likewise.
24365         * nptl/pthread_attr_setinheritsched.c
24366         (__pthread_attr_setinheritsched): Likewise.
24367         * nptl/pthread_attr_setschedparam.c
24368         (__pthread_attr_setschedparam): Likewise.
24369         * nptl/pthread_attr_setschedpolicy.c
24370         (__pthread_attr_setschedpolicy): Likewise.
24371         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24372         Likewise.
24373         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24374         Likewise.
24375         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24376         Likewise.
24377         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24378         Likewise.
24379         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24380         Likewise.
24381         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24382         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24383         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24384         use internal_function.
24385         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24386         prototype-style function definition.
24387         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24388         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24389         internal_function.
24390         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24391         Convert to prototype-style function definition.
24392         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24393         Likewise.
24394         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24395         Likewise.
24396         (__pthread_mutex_unlock): Likewise.
24397         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24398         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24399         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24400         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24401         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24402         * nss/makedb.c (process_input): Likewise.
24403         * posix/fnmatch.c (__strchrnul): Likewise.
24404         (__wcschrnul): Likewise.
24405         (fnmatch): Likewise.
24406         * posix/fnmatch_loop.c (FCT): Likewise.
24407         * posix/glob.c (globfree): Likewise.
24408         (__glob_pattern_type): Likewise.
24409         (__glob_pattern_p): Likewise.
24410         * posix/regcomp.c (re_compile_pattern): Likewise.
24411         (re_set_syntax): Likewise.
24412         (re_compile_fastmap): Likewise.
24413         (regcomp): Likewise.
24414         (regerror): Likewise.
24415         (regfree): Likewise.
24416         * posix/regexec.c (regexec): Likewise.
24417         (re_match): Likewise.
24418         (re_search): Likewise.
24419         (re_match_2): Likewise.
24420         (re_search_2): Likewise.
24421         (re_search_stub): Likewise.  Use internal_function
24422         (re_copy_regs): Likewise.
24423         (re_set_registers): Convert to prototype-style function
24424         definition.
24425         (prune_impossible_nodes): Likewise.  Use internal_function.
24426         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24427         prototype-style function definition.
24428         (inet_net_pton_ipv4): Likewise.
24429         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24430         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24431         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24432         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24433         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24434         Make variadic.
24435         * time/strptime_l.c (localtime_r): Convert to prototype-style
24436         function definition.
24437         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24438         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24439         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24440         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24442         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24443         definition.
24444         (_ufc_doit_r): Likewise.
24445         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24446         (_ufc_output_conversion_r): Likewise.
24447         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24448         * inet/rcmd.c (rcmd_af): Likewise.
24449         (rcmd): Likewise.
24450         (ruserok_af): Likewise.
24451         (ruserok): Likewise.
24452         (ruserok2_sa): Likewise.
24453         (ruserok_sa): Likewise.
24454         (iruserok_af): Likewise.
24455         (iruserok): Likewise.
24456         (__ivaliduser): Likewise.
24457         (__validuser2_sa): Likewise.
24458         * inet/rexec.c (rexec_af): Likewise.
24459         (rexec): Likewise.
24460         * inet/ruserpass.c (ruserpass): Likewise.
24461         * locale/programs/xmalloc.c (xcalloc): Likewise.
24462         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24463         * math/w_drem.c (__drem): Likewise.
24464         * math/w_dremf.c (__dremf): Likewise.
24465         * math/w_dreml.c (__dreml): Likewise.
24466         * misc/daemon.c (daemon): Likewise.
24467         * resolv/res_debug.c (p_fqnname): Likewise.
24468         * stdlib/div.c (div): Likewise.
24469         * string/memcmp.c (memcmp_bytes): Likewise.
24470         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24471         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24473         * crypt/cert.c (main): Convert to prototype-style function
24474         definition.
24475         * io/pipe.c (__pipe): Likewise.
24476         * io/pipe2.c (__pipe2): Likewise.
24477         * misc/futimesat.c (futimesat): Likewise.
24478         * misc/utimes.c (__utimes): Likewise.
24479         * posix/execve.c (__execve): Likewise.
24480         * posix/execvp.c (execvp): Likewise.
24481         * posix/execvpe.c (__execvpe): Likewise.
24482         * posix/fexecve.c (fexecve): Likewise.
24483         * socket/socketpair.c (socketpair): Likewise.
24484         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24485         * stdlib/erand48.c (erand48): Likewise.
24486         * stdlib/erand48_r.c (__erand48_r): Likewise.
24487         * stdlib/jrand48.c (jrand48): Likewise.
24488         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24489         * stdlib/lcong48.c (lcong48): Likewise.
24490         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24491         * stdlib/nrand48.c (nrand48): Likewise.
24492         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24493         * stdlib/seed48.c (seed48): Likewise.
24494         * stdlib/seed48_r.c (__seed48_r): Likewise.
24495         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24496         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24497         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24499 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24501         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24502         * configure: Regenerated.
24503         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24504         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24505         unconditional.
24506         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24507         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24508         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24509         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24510         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24511         unconditional.
24512         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24514         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24515         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24517         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24518         function definition.
24519         * crypt/crypt_util.c (__encrypt_r): Likewise.
24520         * libio/genops.c (_IO_no_init): Likewise.
24521         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24522         (_IO_old_fopencookie): Likewise.
24523         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24524         * libio/iogetline.c (_IO_getline): Likewise.
24525         (_IO_getline_info): Likewise.
24526         * libio/iogetwline.c (_IO_getwline): Likewise.
24527         (_IO_getwline_info): Likewise.
24528         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24529         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24530         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24531         (find_entry): Likewise.
24532         (iterate_table): Likewise.
24533         (lookup): Likewise.
24534         * login/forkpty.c (forkpty): Likewise.
24535         * misc/hsearch_r.c (__hsearch_r): Likewise.
24536         * misc/select.c (__select): Likewise.
24537         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24538         Likewise.
24539         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24540         Likewise.
24541         * nptl/old_pthread_cond_timedwait.c
24542         (__pthread_cond_timedwait_2_0): Likewise.
24543         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24544         * nptl/pthread_barrierattr_getpshared.c
24545         (pthread_barrierattr_getpshared): Likewise.
24546         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24547         Likewise.
24548         * nptl/pthread_mutex_setprioceiling.c
24549         (pthread_mutex_setprioceiling): Likewise.
24550         * nptl/pthread_mutexattr_getprioceiling.c
24551         (pthread_mutexattr_getprioceiling): Likewise.
24552         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24553         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24554         Likewise.
24555         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24556         Likewise.
24557         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24558         Likewise.
24559         * socket/recvfrom.c (__recvfrom): Likewise.
24560         * socket/sendto.c (__sendto): Likewise.
24561         * socket/setsockopt.c (__setsockopt): Likewise.
24562         * stdio-common/_itoa.c (_itoa): Likewise.
24563         * stdio-common/_itowa.c (_itowa): Likewise.
24564         * stdio-common/reg-printf.c (__register_printf_specifier):
24565         Likewise.
24566         (__register_printf_function): Likewise.
24567         * stdio-common/tempname.c (__path_search): Likewise.
24568         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24569         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24570         * stdlib/random_r.c (__initstate_r): Likewise.
24571         * stdlib/setenv.c (__add_to_environ): Likewise.
24572         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24573         * streams/getpmsg.c (getpmsg): Likewise.
24574         * streams/putmsg.c (putmsg): Likewise.
24575         * streams/putpmsg.c (putpmsg): Likewise.
24576         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24577         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24578         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24579         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24580         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24581         * sunrpc/svc_udp.c (cache_get): Likewise.
24582         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24583         * sysdeps/mach/hurd/getcwd.c
24584         (__canonicalize_directory_name_internal): Likewise.
24585         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24586         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24587         * sysdeps/mach/hurd/select.c (__select): Likewise.
24588         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24589         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24590         * sysdeps/sparc/nptl/pthread_barrier_init.c
24591         (__pthread_barrier_init): Likewise.
24592         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24593         (__pthread_cond_timedwait): Likewise.
24594         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24595         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24596         Likewise.
24597         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24598         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24599         Likewise.
24600         * sysvipc/semtimedop.c (semtimedop): Likewise.
24601         * time/setitimer.c (__setitimer): Likewise.
24602         * time/strftime_l.c (emacs_strftime): Likewise.
24604 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24606         * config.make.in (have-ssp): Delete.
24607         (stack-protector): New variable.
24608         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24609         cache test for -fstack-protector-strong.  Export stack_protector to
24610         the best ssp flag.
24611         * configure: Regenerated.
24612         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24613         * nscd/Makefile (CFLAGS-nscd): Likewise.
24614         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24616 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24618         [BZ #19122]
24619         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24620         attribute_hidden.
24622 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24624         [BZ #18743]
24625         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24626         code to...
24627         (ELIDE_LOCK): ...here.
24628         (__get_new_count): New function with part of the code from
24629         __elide_lock that updates the value of adapt_count after a
24630         transaction abort.
24631         (__elided_trylock): Moved this code to...
24632         (ELIDE_TRYLOCK): ...here.
24634 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24636         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24637         * configure: Regenerate.
24638         * INSTALL: Regenerate.
24639         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24640         and tweak grammar.
24642 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
24644         * login/programs/pt_chown.c: Include signal.h
24645         (main): Clear any signal mask from the parent process.
24647 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24649         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24650         * configure: Regenerated.
24651         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24652         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24653         $(gnu89-inline-CFLAGS).
24655         * configure.ac (libc_cv_asm_weak_directive): Remove configure
24656         test.
24657         (libc_cv_asm_weakext_directive): Likewise.
24658         * configure: Regenerated.
24659         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24660         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24661         * include/libc-symbols.h
24662         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24663         #error.
24664         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24665         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24667         * sysdeps/arm/backtrace.c (__backtrace): Convert to
24668         prototype-style function definition.
24669         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24670         * sysdeps/i386/ffs.c (__ffs): Likewise.
24671         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24672         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24673         Likewise.
24674         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24675         Likewise.
24676         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24677         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24678         Likewise.
24679         * sysdeps/m68k/ffs.c (__ffs): Likewise.
24680         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24681         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
24682         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
24683         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
24684         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
24685         * sysdeps/mach/hurd/access.c (__access): Likewise.
24686         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
24687         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
24688         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24689         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
24690         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
24691         (cthread_getspecific): Likewise.
24692         (cthread_setspecific): Likewise.
24693         (__libc_getspecific): Likewise.
24694         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
24695         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
24696         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
24697         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
24698         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
24699         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
24700         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
24701         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
24702         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
24703         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
24704         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
24705         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
24706         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
24707         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
24708         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
24709         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
24710         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
24711         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
24712         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
24713         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
24714         * sysdeps/mach/hurd/link.c (__link): Likewise.
24715         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
24716         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
24717         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
24718         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
24719         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24720         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
24721         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
24722         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
24723         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24724         * sysdeps/mach/hurd/rename.c (rename): Likewise.
24725         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
24726         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24727         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
24728         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
24729         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
24730         * sysdeps/mach/hurd/send.c (__send): Likewise.
24731         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
24732         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
24733         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
24734         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
24735         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
24736         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
24737         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
24738         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
24739         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
24740         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
24741         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
24742         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
24743         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
24744         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
24745         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
24746         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24747         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
24748         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24749         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
24750         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24751         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
24752         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
24753         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
24754         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
24755         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
24756         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
24757         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
24758         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
24759         * sysdeps/posix/alarm.c (alarm): Likewise.
24760         * sysdeps/posix/cuserid.c (cuserid): Likewise.
24761         * sysdeps/posix/dirfd.c (dirfd): Likewise.
24762         * sysdeps/posix/dup.c (__dup): Likewise.
24763         * sysdeps/posix/dup2.c (__dup2): Likewise.
24764         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
24765         (main): Likewise.
24766         * sysdeps/posix/flock.c (__flock): Likewise.
24767         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
24768         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
24769         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
24770         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
24771         * sysdeps/posix/isatty.c (__isatty): Likewise.
24772         * sysdeps/posix/killpg.c (killpg): Likewise.
24773         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24774         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
24775         * sysdeps/posix/raise.c (raise): Likewise.
24776         * sysdeps/posix/remove.c (remove): Likewise.
24777         * sysdeps/posix/rename.c (rename): Likewise.
24778         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
24779         * sysdeps/posix/seekdir.c (seekdir): Likewise.
24780         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24781         * sysdeps/posix/sigignore.c (sigignore): Likewise.
24782         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
24783         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
24784         * sysdeps/posix/sigset.c (sigset): Likewise.
24785         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
24786         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
24787         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
24788         * sysdeps/posix/time.c (time): Likewise.
24789         * sysdeps/posix/ttyname.c (getttyname): Likewise.
24790         (ttyname): Likewise.
24791         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
24792         * sysdeps/posix/utime.c (utime): Likewise.
24793         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
24794         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24795         Likewise.
24796         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
24797         (pthread_spin_trylock): Likewise.
24798         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
24799         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
24800         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
24801         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
24802         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
24803         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
24804         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
24805         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
24806         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
24807         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
24808         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
24809         * sysdeps/s390/ffs.c (__ffs): Likewise.
24810         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
24811         Likewise.
24812         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24813         Likewise.
24814         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
24815         Likewise.
24816         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
24817         (pthread_barrier_destroy): Likewise.
24818         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24819         (__pthread_barrier_wait): Likewise.
24820         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
24821         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24822         (__pthread_barrier_wait): Likewise.
24823         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
24824         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
24825         (memcmp_not_common_alignment): Likewise.
24826         (MEMCMP): Likewise.
24827         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
24828         (_wordcopy_fwd_dest_aligned): Likewise.
24829         (_wordcopy_bwd_aligned): Likewise.
24830         (_wordcopy_bwd_dest_aligned): Likewise.
24831         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
24832         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
24833         * sysdeps/unix/bsd/stty.c (stty): Likewise.
24834         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
24835         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
24836         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
24837         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
24838         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
24839         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
24840         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
24841         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
24842         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
24843         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
24844         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
24845         * sysdeps/unix/stime.c (stime): Likewise.
24846         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
24847         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
24848         Likewise.  Use internal_function.
24849         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
24850         Convert to prototype-style function definition.
24851         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24852         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24853         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
24854         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24855         Likewise.  Use internal_function.
24856         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
24857         prototype-style function definition
24858         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24859         Likewise.
24860         (__getlogin_r): Likewise.
24861         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
24862         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
24863         (__pthread_cond_broadcast): Likewise.
24864         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
24865         (__pthread_cond_destroy): Likewise.
24866         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
24867         (__pthread_cond_init): Likewise.
24868         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
24869         (__pthread_cond_signal): Likewise.
24870         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
24871         (__pthread_cond_wait): Likewise.
24872         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
24873         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24874         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
24875         Likewise.
24876         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
24877         Likewise.
24878         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24879         Likewise.
24880         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
24881         Likewise.
24882         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
24883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
24884         (__ftruncate64): Likewise.
24885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
24886         (truncate64): Likewise.
24887         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
24888         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
24889         (pthread_getcpuclockid): Likewise.
24890         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
24891         Likewise.
24892         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
24893         Likewise.
24894         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
24895         Likewise.
24896         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
24897         Likewise.
24898         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
24899         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
24900         (__libc_sigaction): Likewise.
24901         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
24902         Likewise.
24903         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24904         (__sigprocmask): Likewise.
24905         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
24906         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
24907         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
24908         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24909         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24910         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
24911         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24912         Likewise.
24913         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
24914         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
24915         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24916         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
24917         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24918         Likewise.
24919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24920         (__sigprocmask): Likewise.
24921         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24922         (cfgetispeed): Likewise.
24923         (cfsetospeed): Likewise.
24924         (cfsetispeed): Likewise.
24925         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24926         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24927         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24928         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24929         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24930         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24931         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24932         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24933         Likewise.
24934         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24935         Likewise.
24936         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24937         Likewise.
24938         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24939         Likewise.
24940         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24942 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24944         sunrpc: Rewrite with explicit TLS access using __thread.
24945         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24946         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24947         directly.
24948         (__rpc_thread_variables): Access thread_rpc_vars directly.
24949         Eliminate redundant assignment of the tvp variable.
24951 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24953         malloc: Rewrite with explicit TLS access using __thread.
24954         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24955         (tsd_setspecific, tsd_getspecific): Remove.
24956         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24957         (tsd_setspecific, tsd_getspecific): Likewise.
24958         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24959         (tsd_setspecific, tsd_getspecific): Likewise.
24960         * malloc/arena.c (thread_arena): New TLS variable.
24961         (arena_key): Remove variable.
24962         (arena_get): Use thread_arena.
24963         (arena_lookup): Remove macro.
24964         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24965         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24966         (_int_new_arena, get_free_list, reused_arena)
24967         (arena_thread_freeres): Use thread_arena.
24968         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24969         tsd_getspecific, tsd_setspecific from safety annotations.
24970         (Allocating Cleared Space): Remove arena_lookup from safety
24971         annotations.
24973 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24975         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24976         struct scratch_buffer instead of extend_alloca.
24978 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24980         * sysdeps/unix/sysv/linux/kernel-features.h
24981         (__ASSUME_SOCK_CLOEXEC): Remove.
24982         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24983         (__have_paccept): Remove unused macro.
24984         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24985         * misc/syslog.c (openlog_internal): Remove fallback code for
24986         !__ASSUME_SOCK_CLOEXEC.
24987         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24988         missing SOCK_CLOEXEC.
24989         * nscd/connections.c (have_sock_cloexec): Remove definition.
24990         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24991         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24992         !__ASSUME_SOCK_CLOEXEC.
24993         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24994         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24995         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24996         definition.
24997         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24998         code for !__ASSUME_SOCK_CLOEXEC.
25000 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25002         [BZ #18982]
25003         * manual/stdio.texi (Variable Arguments Output): Add portability
25004         note, explaining that vfprintf clobbers the va_list pointer.
25006 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25008         * math/libm-test.inc (fabs_test_data): Add more tests.
25009         (fdim_test_data): Likewise.
25010         (fma_test_data): Likewise.
25011         (fmax_test_data): Likewise.
25012         (fmin_test_data): Likewise.
25013         (fmod_test_data): Likewise.
25015 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
25017         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
25018         data.
25020 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25022         * math/libm-test.inc (ceil_test_data): Add more tests and more
25023         expectations for "inexact".
25024         (floor_test_data): Add more tests.
25025         (round_test_data): Likewise.
25026         (trunc_test_data): Likewise.
25028         * crypt/cert.c (good_bye): Convert to prototype-style function
25029         definition.
25030         (get8): Likewise.
25031         (put8): Likewise.
25032         * crypt/crypt-entry.c (crypt): Likewise.
25033         (__fcrypt): Likewise.
25034         * crypt/crypt_util.c (_ufc_prbits): Likewise.
25035         (_ufc_set_bits): Likewise.
25036         (_ufc_clearmem): Likewise.
25037         (__init_des_r): Likewise.
25038         (shuffle_sb): Likewise.
25039         (shuffle_sb): Likewise.
25040         (_ufc_setup_salt_r): Likewise.
25041         (_ufc_mk_keytab_r): Likewise.
25042         (_ufc_dofinalperm_r): Likewise.
25043         (encrypt): Likewise.
25044         (__setkey_r): Likewise.
25045         (setkey): Likewise.
25046         * crypt/md5.c (md5_init_ctx): Likewise.
25047         (md5_read_ctx): Likewise.
25048         (md5_finish_ctx): Likewise.
25049         (md5_stream): Likewise.
25050         (md5_buffer): Likewise.
25051         (md5_process_bytes): Likewise.
25052         * crypt/sha256.c (__sha256_init_ctx): Likewise.
25053         (__sha256_finish_ctx): Likewise.
25054         (__sha256_process_bytes): Likewise.
25055         * crypt/sha512.c (__sha512_init_ctx): Likewise.
25056         (__sha512_finish_ctx): Likewise.
25057         (__sha512_process_bytes): Likewise.
25058         * ctype/isctype.c (__isctype): Likewise.
25059         * debug/backtrace.c (__backtrace): Likewise.
25060         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
25061         * debug/fgets_chk.c (__fgets_chk): Likewise.
25062         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
25063         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
25064         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25065         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25066         * debug/memset_chk.c (__memset_chk): Likewise.
25067         * debug/strcat_chk.c (__strcat_chk): Likewise.
25068         * debug/strncat_chk.c (__strncat_chk): Likewise.
25069         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
25070         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
25071         * dirent/dirfd.c (dirfd): Likewise.
25072         * dirent/getdents.c (__getdirentries): Likewise.
25073         * dirent/getdents64.c (getdirentries64): Likewise.
25074         * dirent/rewinddir.c (__rewinddir): Likewise.
25075         * dirent/seekdir.c (seekdir): Likewise.
25076         * dirent/telldir.c (telldir): Likewise.
25077         * elf/sln.c (makesymlinks): Likewise.
25078         (makesymlink): Likewise.
25079         * gmon/gmon.c (__moncontrol): Likewise.
25080         (__monstartup): Likewise.
25081         (write_hist): Likewise.
25082         (write_call_graph): Likewise.
25083         (write_bb_counts): Likewise.
25084         * grp/setgroups.c (setgroups): Likewise.
25085         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25086         * inet/inet_net.c (inet_network): Likewise.
25087         * inet/inet_netof.c (inet_netof): Likewise.
25088         * inet/rcmd.c (rresvport_af): Likewise.
25089         (rresvport): Likewise.
25090         * io/access.c (__access): Likewise.
25091         * io/chdir.c (__chdir): Likewise.
25092         * io/chmod.c (__chmod): Likewise.
25093         * io/chown.c (__chown): Likewise.
25094         * io/close.c (__close): Likewise.
25095         * io/creat.c (creat): Likewise.
25096         * io/creat64.c (creat64): Likewise.
25097         * io/dup.c (__dup): Likewise.
25098         * io/dup2.c (__dup2): Likewise.
25099         * io/dup3.c (__dup3): Likewise.
25100         * io/euidaccess.c (__euidaccess): Likewise.
25101         * io/faccessat.c (faccessat): Likewise.
25102         * io/fchmod.c (__fchmod): Likewise.
25103         * io/fchmodat.c (fchmodat): Likewise.
25104         * io/fchown.c (__fchown): Likewise.
25105         * io/fchownat.c (fchownat): Likewise.
25106         * io/fcntl.c (__fcntl): Likewise.
25107         * io/flock.c (__flock): Likewise.
25108         * io/fts.c (fts_load): Likewise.
25109         (fts_close): Likewise.
25110         (fts_read): Likewise.
25111         (fts_set): Likewise.
25112         (fts_children): Likewise.
25113         (fts_build): Likewise.
25114         (fts_stat): Likewise.
25115         (fts_sort): Likewise.
25116         (fts_alloc): Likewise.
25117         (fts_lfree): Likewise.
25118         (fts_palloc): Likewise.
25119         (fts_padjust): Likewise.
25120         (fts_maxarglen): Likewise.
25121         (fts_safe_changedir): Likewise.
25122         * io/getwd.c (getwd): Likewise.
25123         * io/isatty.c (__isatty): Likewise.
25124         * io/lchown.c (__lchown): Likewise.
25125         * io/link.c (__link): Likewise.
25126         * io/linkat.c (linkat): Likewise.
25127         * io/lseek.c (__libc_lseek): Likewise.
25128         * io/mkdir.c (__mkdir): Likewise.
25129         * io/mkdirat.c (mkdirat): Likewise.
25130         * io/mkfifo.c (mkfifo): Likewise.
25131         * io/mkfifoat.c (mkfifoat): Likewise.
25132         * io/open.c (__libc_open): Likewise.
25133         * io/open64.c (__libc_open64): Likewise.
25134         * io/readlink.c (__readlink): Likewise.
25135         * io/readlinkat.c (readlinkat): Likewise.
25136         * io/rmdir.c (__rmdir): Likewise.
25137         * io/symlink.c (__symlink): Likewise.
25138         * io/symlinkat.c (symlinkat): Likewise.
25139         * io/ttyname.c (ttyname): Likewise.
25140         * io/ttyname_r.c (__ttyname_r): Likewise.
25141         * io/umask.c (__umask): Likewise.
25142         * io/unlink.c (__unlink): Likewise.
25143         * io/unlinkat.c (unlinkat): Likewise.
25144         * io/utime.c (utime): Likewise.
25145         * libio/clearerr.c (clearerr): Likewise.
25146         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
25147         * libio/feof.c (_IO_feof): Likewise.
25148         * libio/feof_u.c (feof_unlocked): Likewise.
25149         * libio/ferror.c (_IO_ferror): Likewise.
25150         * libio/ferror_u.c (ferror_unlocked): Likewise.
25151         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25152         * libio/fileno.c (__fileno): Likewise.
25153         * libio/fputc.c (fputc): Likewise.
25154         * libio/fputc_u.c (fputc_unlocked): Likewise.
25155         * libio/fputwc.c (fputwc): Likewise.
25156         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
25157         * libio/freopen.c (freopen): Likewise.
25158         * libio/freopen64.c (freopen64): Likewise.
25159         * libio/fseek.c (fseek): Likewise.
25160         * libio/fseeko.c (fseeko): Likewise.
25161         * libio/fseeko64.c (fseeko64): Likewise.
25162         * libio/ftello.c (__ftello): Likewise.
25163         * libio/ftello64.c (ftello64): Likewise.
25164         * libio/fwide.c (fwide): Likewise.
25165         * libio/genops.c (_IO_un_link): Likewise.
25166         (_IO_link_in): Likewise.
25167         (_IO_least_marker): Likewise.
25168         (_IO_switch_to_main_get_area): Likewise.
25169         (_IO_switch_to_backup_area): Likewise.
25170         (_IO_switch_to_get_mode): Likewise.
25171         (_IO_free_backup_area): Likewise.
25172         (_IO_switch_to_put_mode): Likewise.
25173         (__overflow): Likewise.
25174         (__underflow): Likewise.
25175         (__uflow): Likewise.
25176         (_IO_setb): Likewise.
25177         (_IO_doallocbuf): Likewise.
25178         (_IO_default_underflow): Likewise.
25179         (_IO_default_uflow): Likewise.
25180         (_IO_default_xsputn): Likewise.
25181         (_IO_sgetn): Likewise.
25182         (_IO_default_xsgetn): Likewise.
25183         (_IO_sync): Likewise.
25184         (_IO_default_setbuf): Likewise.
25185         (_IO_default_seekpos): Likewise.
25186         (_IO_default_doallocate): Likewise.
25187         (_IO_init): Likewise.
25188         (_IO_old_init): Likewise.
25189         (_IO_default_sync): Likewise.
25190         (_IO_default_finish): Likewise.
25191         (_IO_default_seekoff): Likewise.
25192         (_IO_sputbackc): Likewise.
25193         (_IO_sungetc): Likewise.
25194         (_IO_set_column): Likewise.
25195         (_IO_set_column): Likewise.
25196         (_IO_adjust_column): Likewise.
25197         (_IO_get_column): Likewise.
25198         (_IO_init_marker): Likewise.
25199         (_IO_remove_marker): Likewise.
25200         (_IO_marker_difference): Likewise.
25201         (_IO_marker_delta): Likewise.
25202         (_IO_seekmark): Likewise.
25203         (_IO_unsave_markers): Likewise.
25204         (_IO_nobackup_pbackfail): Likewise.
25205         (_IO_default_pbackfail): Likewise.
25206         (_IO_default_seek): Likewise.
25207         (_IO_default_stat): Likewise.
25208         (_IO_default_read): Likewise.
25209         (_IO_default_write): Likewise.
25210         (_IO_default_showmanyc): Likewise.
25211         (_IO_default_imbue): Likewise.
25212         (_IO_iter_next): Likewise.
25213         (_IO_iter_file): Likewise.
25214         * libio/getc.c (_IO_getc): Likewise.
25215         * libio/getwc.c (_IO_getwc): Likewise.
25216         * libio/iofclose.c (_IO_new_fclose): Likewise.
25217         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25218         * libio/iofflush.c (_IO_fflush): Likewise.
25219         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
25220         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
25221         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
25222         * libio/iofgets.c (_IO_fgets): Likewise.
25223         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
25224         * libio/iofgetws.c (fgetws): Likewise.
25225         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25226         * libio/iofopen64.c (_IO_fopen64): Likewise.
25227         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25228         (_IO_cookie_write): Likewise.
25229         (_IO_cookie_seek): Likewise.
25230         (_IO_cookie_close): Likewise.
25231         (_IO_cookie_seekoff): Likewise.
25232         (_IO_old_cookie_seek): Likewise.
25233         * libio/iofputs.c (_IO_fputs): Likewise.
25234         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
25235         * libio/iofputws.c (fputws): Likewise.
25236         * libio/iofputws_u.c (fputws_unlocked): Likewise.
25237         * libio/iofread.c (_IO_fread): Likewise.
25238         * libio/iofread_u.c (__fread_unlocked): Likewise.
25239         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
25240         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25241         * libio/ioftell.c (_IO_ftell): Likewise.
25242         * libio/iofwrite.c (_IO_fwrite): Likewise.
25243         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25244         * libio/iogets.c (_IO_gets): Likewise.
25245         * libio/iopadn.c (_IO_padn): Likewise.
25246         * libio/iopopen.c (_IO_new_proc_open): Likewise.
25247         (_IO_new_popen): Likewise.
25248         (_IO_new_proc_close): Likewise.
25249         * libio/ioputs.c (_IO_puts): Likewise.
25250         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
25251         (_IO_seekoff): Likewise.
25252         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
25253         (_IO_seekpos): Likewise.
25254         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
25255         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
25256         * libio/ioungetc.c (_IO_ungetc): Likewise.
25257         * libio/ioungetwc.c (ungetwc): Likewise.
25258         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25259         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
25260         * libio/iowpadn.c (_IO_wpadn): Likewise.
25261         * libio/libc_fatal.c (__libc_fatal): Likewise.
25262         * libio/memstream.c (__open_memstream): Likewise.
25263         (_IO_mem_sync): Likewise.
25264         (_IO_mem_finish): Likewise.
25265         * libio/oldfileops.c (_IO_old_file_init): Likewise.
25266         (_IO_old_file_close_it): Likewise.
25267         (_IO_old_file_finish): Likewise.
25268         (_IO_old_file_fopen): Likewise.
25269         (_IO_old_file_attach): Likewise.
25270         (_IO_old_file_setbuf): Likewise.
25271         (_IO_old_do_write): Likewise.
25272         (old_do_write): Likewise.
25273         (_IO_old_file_underflow): Likewise.
25274         (_IO_old_file_overflow): Likewise.
25275         (_IO_old_file_sync): Likewise.
25276         (_IO_old_file_seekoff): Likewise.
25277         (_IO_old_file_write): Likewise.
25278         (_IO_old_file_xsputn): Likewise.
25279         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25280         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25281         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25282         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25283         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25284         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25285         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25286         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25287         (_IO_old_popen): Likewise.
25288         (_IO_old_proc_close): Likewise.
25289         * libio/oldpclose.c (__old_pclose): Likewise.
25290         * libio/pclose.c (__new_pclose): Likewise.
25291         * libio/peekc.c (_IO_peekc_locked): Likewise.
25292         * libio/putc.c (_IO_putc): Likewise.
25293         * libio/putc_u.c (putc_unlocked): Likewise.
25294         * libio/putchar.c (putchar): Likewise.
25295         * libio/putchar_u.c (putchar_unlocked): Likewise.
25296         * libio/putwc.c (putwc): Likewise.
25297         * libio/putwc_u.c (putwc_unlocked): Likewise.
25298         * libio/putwchar.c (putwchar): Likewise.
25299         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25300         * libio/rewind.c (rewind): Likewise.
25301         * libio/setbuf.c (setbuf): Likewise.
25302         * libio/setlinebuf.c (setlinebuf): Likewise.
25303         * libio/vasprintf.c (_IO_vasprintf): Likewise.
25304         * libio/vscanf.c (_IO_vscanf): Likewise.
25305         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25306         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25307         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25308         * libio/wgenops.c (_IO_least_wmarker): Likewise.
25309         (_IO_switch_to_main_wget_area): Likewise.
25310         (_IO_switch_to_wbackup_area): Likewise.
25311         (_IO_wsetb): Likewise.
25312         (_IO_wdefault_pbackfail): Likewise.
25313         (_IO_wdefault_finish): Likewise.
25314         (_IO_wdefault_uflow): Likewise.
25315         (__woverflow): Likewise.
25316         (__wuflow): Likewise.
25317         (__wunderflow): Likewise.
25318         (_IO_wdefault_xsputn): Likewise.
25319         (_IO_wdefault_xsgetn): Likewise.
25320         (_IO_wdoallocbuf): Likewise.
25321         (_IO_wdefault_doallocate): Likewise.
25322         (_IO_switch_to_wget_mode): Likewise.
25323         (_IO_free_wbackup_area): Likewise.
25324         (_IO_switch_to_wput_mode): Likewise.
25325         (_IO_sputbackwc): Likewise.
25326         (_IO_sungetwc): Likewise.
25327         (_IO_adjust_wcolumn): Likewise.
25328         (_IO_init_wmarker): Likewise.
25329         (_IO_wmarker_delta): Likewise.
25330         (_IO_seekwmark): Likewise.
25331         (_IO_unsave_wmarkers): Likewise.
25332         * libio/wmemstream.c (open_wmemstream): Likewise.
25333         (_IO_wmem_sync): Likewise.
25334         (_IO_wmem_finish): Likewise.
25335         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25336         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25337         * locale/programs/simple-hash.c (init_hash): Likewise.
25338         (delete_hash): Likewise.
25339         (insert_entry): Likewise.
25340         (set_entry): Likewise.
25341         (next_prime): Likewise.
25342         (is_prime): Likewise.
25343         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25344         (xmalloc): Likewise.
25345         (xrealloc): Likewise.
25346         * locale/programs/xstrdup.c (xstrdup): Likewise.
25347         * localedata/collate-test.c (xstrcoll): Likewise.
25348         * localedata/xfrm-test.c (xstrcmp): Likewise.
25349         * login/getlogin_r.c (__getlogin_r): Likewise.
25350         * login/getpt.c (__posix_openpt): Likewise.
25351         * login/login_tty.c (login_tty): Likewise.
25352         * login/setlogin.c (setlogin): Likewise.
25353         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25354         (mach_msg_destroy_port): Likewise.
25355         (mach_msg_destroy_memory): Likewise.
25356         * malloc/mcheck.c (flood): Likewise.
25357         * misc/acct.c (acct): Likewise.
25358         * misc/brk.c (__brk): Likewise.
25359         * misc/chflags.c (chflags): Likewise.
25360         * misc/chroot.c (chroot): Likewise.
25361         * misc/fchflags.c (fchflags): Likewise.
25362         * misc/fstab.c (getfsspec): Likewise.
25363         (getfsfile): Likewise.
25364         * misc/fsync.c (fsync): Likewise.
25365         * misc/ftruncate.c (__ftruncate): Likewise.
25366         * misc/ftruncate64.c (__ftruncate64): Likewise.
25367         * misc/getdomain.c (getdomainname): Likewise.
25368         (getdomainname): Likewise.
25369         * misc/gethostname.c (__gethostname): Likewise.
25370         * misc/getpass.c (getpass): Likewise.
25371         * misc/getttyent.c (skip): Likewise.
25372         (value): Likewise.
25373         * misc/gtty.c (gtty): Likewise.
25374         * misc/hsearch.c (hsearch): Likewise.
25375         (hcreate): Likewise.
25376         * misc/hsearch_r.c (__hcreate_r): Likewise.
25377         (__hdestroy_r): Likewise.
25378         * misc/ioctl.c (__ioctl): Likewise.
25379         * misc/mkdtemp.c (mkdtemp): Likewise.
25380         * misc/mkostemp.c (mkostemp): Likewise.
25381         * misc/mkostemp64.c (mkostemp64): Likewise.
25382         * misc/mkostemps.c (mkostemps): Likewise.
25383         * misc/mkostemps64.c (mkostemps64): Likewise.
25384         * misc/mkstemp.c (mkstemp): Likewise.
25385         * misc/mkstemp64.c (mkstemp64): Likewise.
25386         * misc/mkstemps.c (mkstemps): Likewise.
25387         * misc/mkstemps64.c (mkstemps64): Likewise.
25388         * misc/mktemp.c (__mktemp): Likewise.
25389         * misc/preadv.c (preadv): Likewise.
25390         * misc/preadv64.c (preadv64): Likewise.
25391         * misc/pwritev.c (pwritev): Likewise.
25392         * misc/pwritev64.c (pwritev64): Likewise.
25393         * misc/readv.c (__readv): Likewise.
25394         * misc/revoke.c (revoke): Likewise.
25395         * misc/setdomain.c (setdomainname): Likewise.
25396         * misc/setegid.c (setegid): Likewise.
25397         * misc/seteuid.c (seteuid): Likewise.
25398         * misc/sethostid.c (sethostid): Likewise.
25399         * misc/sethostname.c (sethostname): Likewise.
25400         * misc/setregid.c (__setregid): Likewise.
25401         * misc/setreuid.c (__setreuid): Likewise.
25402         * misc/sstk.c (sstk): Likewise.
25403         * misc/stty.c (stty): Likewise.
25404         * misc/syscall.c (syscall): Likewise.
25405         * misc/syslog.c (setlogmask): Likewise.
25406         * misc/truncate.c (__truncate): Likewise.
25407         * misc/truncate64.c (truncate64): Likewise.
25408         * misc/ualarm.c (ualarm): Likewise.
25409         * misc/usleep.c (usleep): Likewise.
25410         * misc/ustat.c (ustat): Likewise.
25411         * misc/writev.c (__writev): Likewise.
25412         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25413         * nptl/old_pthread_cond_broadcast.c
25414         (__pthread_cond_broadcast_2_0): Likewise.
25415         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25416         Likewise.
25417         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25418         Likewise.
25419         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25420         Likewise.
25421         * nptl/pt-raise.c (raise): Likewise.
25422         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25423         Likewise.
25424         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25425         * nptl/pthread_barrierattr_destroy.c
25426         (pthread_barrierattr_destroy): Likewise.
25427         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25428         Likewise.
25429         * nptl/pthread_barrierattr_setpshared.c
25430         (pthread_barrierattr_setpshared): Likewise.
25431         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25432         Likewise.
25433         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25434         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25435         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25436         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25437         Likewise.
25438         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25439         Likewise.
25440         * nptl/pthread_condattr_getpshared.c
25441         (pthread_condattr_getpshared): Likewise.
25442         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25443         Likewise.
25444         * nptl/pthread_condattr_setpshared.c
25445         (pthread_condattr_setpshared): Likewise.
25446         * nptl/pthread_detach.c (pthread_detach): Likewise.
25447         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25448         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25449         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25450         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25451         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25452         Likewise.
25453         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25454         Likewise.
25455         * nptl/pthread_mutex_getprioceiling.c
25456         (pthread_mutex_getprioceiling): Likewise.
25457         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25458         Likewise.
25459         * nptl/pthread_mutexattr_getprotocol.c
25460         (pthread_mutexattr_getprotocol): Likewise.
25461         * nptl/pthread_mutexattr_getpshared.c
25462         (pthread_mutexattr_getpshared): Likewise.
25463         * nptl/pthread_mutexattr_getrobust.c
25464         (pthread_mutexattr_getrobust): Likewise.
25465         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25466         Likewise.
25467         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25468         Likewise.
25469         * nptl/pthread_mutexattr_setprioceiling.c
25470         (pthread_mutexattr_setprioceiling): Likewise.
25471         * nptl/pthread_mutexattr_setprotocol.c
25472         (pthread_mutexattr_setprotocol): Likewise.
25473         * nptl/pthread_mutexattr_setpshared.c
25474         (pthread_mutexattr_setpshared): Likewise.
25475         * nptl/pthread_mutexattr_setrobust.c
25476         (pthread_mutexattr_setrobust): Likewise.
25477         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25478         Likewise.
25479         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25480         Likewise.
25481         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25482         Likewise.
25483         * nptl/pthread_rwlockattr_getkind_np.c
25484         (pthread_rwlockattr_getkind_np): Likewise.
25485         * nptl/pthread_rwlockattr_getpshared.c
25486         (pthread_rwlockattr_getpshared): Likewise.
25487         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25488         Likewise.
25489         * nptl/pthread_rwlockattr_setkind_np.c
25490         (pthread_rwlockattr_setkind_np): Likewise.
25491         * nptl/pthread_rwlockattr_setpshared.c
25492         (pthread_rwlockattr_setpshared): Likewise.
25493         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25494         Likewise.
25495         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25496         Likewise.
25497         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25498         Likewise.
25499         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25500         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25501         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25502         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25503         * nptl/sem_close.c (sem_close): Likewise.
25504         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25505         * nptl/sem_init.c (__old_sem_init): Likewise.
25506         * nptl/sigaction.c (__sigaction): Likewise.
25507         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25508         * posix/_exit.c (_exit): Likewise.
25509         * posix/alarm.c (alarm): Likewise.
25510         * posix/confstr.c (confstr): Likewise.
25511         * posix/fpathconf.c (__fpathconf): Likewise.
25512         * posix/getgroups.c (__getgroups): Likewise.
25513         * posix/getpgid.c (__getpgid): Likewise.
25514         * posix/group_member.c (__group_member): Likewise.
25515         * posix/pathconf.c (__pathconf): Likewise.
25516         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25517         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25518         * posix/setgid.c (__setgid): Likewise.
25519         * posix/setpgid.c (__setpgid): Likewise.
25520         * posix/setuid.c (__setuid): Likewise.
25521         * posix/sleep.c (__sleep): Likewise.
25522         * posix/sysconf.c (__sysconf): Likewise.
25523         * posix/times.c (__times): Likewise.
25524         * posix/uname.c (__uname): Likewise.
25525         * posix/waitid.c (__waitid): Likewise.
25526         * pwd/getpw.c (__getpw): Likewise.
25527         * resolv/base64.c (b64_pton): Likewise.
25528         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25529         * resolv/gethnamaddr.c (Dprintf): Likewise.
25530         (gethostbyname): Likewise.
25531         (gethostbyname2): Likewise.
25532         (gethostbyaddr): Likewise.
25533         (_sethtent): Likewise.
25534         (_gethtbyname): Likewise.
25535         (_gethtbyname2): Likewise.
25536         (_gethtbyaddr): Likewise.
25537         (map_v4v6_address): Likewise.
25538         (map_v4v6_hostent): Likewise.
25539         (addrsort): Likewise.
25540         (ht_sethostent): Likewise.
25541         (ht_gethostbyname): Likewise.
25542         (ht_gethostbyaddr): Likewise.
25543         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25544         (inet_net_ntop_ipv4): Likewise.
25545         * resolv/inet_neta.c (inet_neta): Likewise.
25546         * resolv/inet_ntop.c (inet_ntop): Likewise.
25547         (inet_ntop4): Likewise.
25548         (inet_ntop6): Likewise.
25549         * resolv/inet_pton.c (__inet_pton): Likewise.
25550         (inet_pton4): Likewise.
25551         (inet_pton6): Likewise.
25552         * resolv/res_debug.c (loc_aton): Likewise.
25553         (loc_ntoa): Likewise.
25554         * resource/getpriority.c (__getpriority): Likewise.
25555         * resource/getrusage.c (__getrusage): Likewise.
25556         * resource/nice.c (nice): Likewise.
25557         * resource/setpriority.c (__setpriority): Likewise.
25558         * resource/setrlimit64.c (setrlimit64): Likewise.
25559         * resource/vlimit.c (vlimit): Likewise.
25560         * resource/vtimes.c (vtimes): Likewise.
25561         * rt/aio_error.c (aio_error): Likewise.
25562         * rt/aio_return.c (aio_return): Likewise.
25563         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25564         * signal/kill.c (__kill): Likewise.
25565         * signal/killpg.c (killpg): Likewise.
25566         * signal/raise.c (raise): Likewise.
25567         * signal/sigaction.c (__sigaction): Likewise.
25568         * signal/sigaddset.c (sigaddset): Likewise.
25569         * signal/sigaltstack.c (sigaltstack): Likewise.
25570         * signal/sigandset.c (sigandset): Likewise.
25571         * signal/sigblock.c (__sigblock): Likewise.
25572         * signal/sigdelset.c (sigdelset): Likewise.
25573         * signal/sigempty.c (sigemptyset): Likewise.
25574         * signal/sigfillset.c (sigfillset): Likewise.
25575         * signal/sighold.c (sighold): Likewise.
25576         * signal/sigignore.c (sigignore): Likewise.
25577         * signal/sigintr.c (siginterrupt): Likewise.
25578         * signal/sigisempty.c (sigisemptyset): Likewise.
25579         * signal/sigismem.c (sigismember): Likewise.
25580         * signal/signal.c (signal): Likewise.
25581         * signal/sigorset.c (sigorset): Likewise.
25582         * signal/sigpause.c (__sigpause): Likewise.
25583         * signal/sigpending.c (sigpending): Likewise.
25584         * signal/sigprocmask.c (__sigprocmask): Likewise.
25585         * signal/sigrelse.c (sigrelse): Likewise.
25586         * signal/sigreturn.c (__sigreturn): Likewise.
25587         * signal/sigset.c (sigset): Likewise.
25588         * signal/sigsetmask.c (__sigsetmask): Likewise.
25589         * signal/sigstack.c (sigstack): Likewise.
25590         * signal/sigsuspend.c (__sigsuspend): Likewise.
25591         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25592         * signal/sysv_signal.c (__sysv_signal): Likewise.
25593         * socket/accept.c (accept): Likewise.
25594         * socket/accept4.c (__libc_accept4): Likewise.
25595         * socket/bind.c (__bind): Likewise.
25596         * socket/connect.c (__connect): Likewise.
25597         * socket/getpeername.c (getpeername): Likewise.
25598         * socket/getsockname.c (__getsockname): Likewise.
25599         * socket/getsockopt.c (getsockopt): Likewise.
25600         * socket/listen.c (__listen): Likewise.
25601         * socket/recv.c (__recv): Likewise.
25602         * socket/recvmsg.c (__recvmsg): Likewise.
25603         * socket/send.c (__send): Likewise.
25604         * socket/sendmsg.c (__sendmsg): Likewise.
25605         * socket/shutdown.c (shutdown): Likewise.
25606         * socket/sockatmark.c (sockatmark): Likewise.
25607         * socket/socket.c (__socket): Likewise.
25608         * stdio-common/ctermid.c (ctermid): Likewise.
25609         * stdio-common/cuserid.c (cuserid): Likewise.
25610         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25611         * stdio-common/remove.c (remove): Likewise.
25612         * stdio-common/rename.c (rename): Likewise.
25613         * stdio-common/renameat.c (renameat): Likewise.
25614         * stdio-common/tempname.c (__gen_tempname): Likewise.
25615         * stdio-common/xbug.c (InitBuffer): Likewise.
25616         (AppendToBuffer): Likewise.
25617         (ReadFile): Likewise.
25618         * stdlib/a64l.c (a64l): Likewise.
25619         * stdlib/drand48_r.c (drand48_r): Likewise.
25620         * stdlib/getcontext.c (getcontext): Likewise.
25621         * stdlib/getenv.c (getenv): Likewise.
25622         * stdlib/l64a.c (l64a): Likewise.
25623         * stdlib/llabs.c (llabs): Likewise.
25624         * stdlib/lldiv.c (lldiv): Likewise.
25625         * stdlib/lrand48_r.c (lrand48_r): Likewise.
25626         * stdlib/mrand48_r.c (mrand48_r): Likewise.
25627         * stdlib/putenv.c (putenv): Likewise.
25628         * stdlib/random.c (__srandom): Likewise.
25629         (__initstate): Likewise.
25630         (__setstate): Likewise.
25631         * stdlib/random_r.c (__srandom_r): Likewise.
25632         (__setstate_r): Likewise.
25633         (__random_r): Likewise.
25634         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25635         * stdlib/setcontext.c (setcontext): Likewise.
25636         * stdlib/setenv.c (setenv): Likewise.
25637         (unsetenv): Likewise.
25638         * stdlib/srand48.c (srand48): Likewise.
25639         * stdlib/srand48_r.c (__srand48_r): Likewise.
25640         * stdlib/swapcontext.c (swapcontext): Likewise.
25641         * stdlib/system.c (__libc_system): Likewise.
25642         * stdlib/tst-strtod.c (expand): Likewise.
25643         * stdlib/tst-strtol.c (expand): Likewise.
25644         * stdlib/tst-strtoll.c (expand): Likewise.
25645         * streams/fattach.c (fattach): Likewise.
25646         * streams/fdetach.c (fdetach): Likewise.
25647         * streams/getmsg.c (getmsg): Likewise.
25648         * streams/isastream.c (isastream): Likewise.
25649         * string/ffs.c (__ffs): Likewise.
25650         * string/ffsll.c (ffsll): Likewise.
25651         * string/memcmp.c (memcmp_common_alignment): Likewise.
25652         (memcmp_not_common_alignment): Likewise.
25653         (MEMCMP): Likewise.
25654         * string/memcpy.c (memcpy): Likewise.
25655         * string/memmove.c (MEMMOVE): Likewise.
25656         * string/memset.c (memset): Likewise.
25657         * string/rawmemchr.c (RAWMEMCHR): Likewise.
25658         * string/strchrnul.c (STRCHRNUL): Likewise.
25659         * string/strerror.c (strerror): Likewise.
25660         * string/strndup.c (__strndup): Likewise.
25661         * string/strverscmp.c (__strverscmp): Likewise.
25662         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25663         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25664         (clnttcp_freeres): Likewise.
25665         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25666         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25667         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25668         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25669         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25670         (xdr_callhdr): Likewise.
25671         * sunrpc/rpcinfo.c (udpping): Likewise.
25672         (tcpping): Likewise.
25673         (pstatus): Likewise.
25674         (pmapdump): Likewise.
25675         (brdcst): Likewise.
25676         (deletereg): Likewise.
25677         (getprognum): Likewise.
25678         (getvers): Likewise.
25679         (get_inet_address): Likewise.
25680         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25681         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25682         (svcudp_stat): Likewise.
25683         (svcudp_recv): Likewise.
25684         (svcudp_reply): Likewise.
25685         (svcudp_getargs): Likewise.
25686         (svcudp_freeargs): Likewise.
25687         (svcudp_destroy): Likewise.
25688         * sunrpc/xdr.c (xdr_bytes): Likewise.
25689         (xdr_netobj): Likewise.
25690         (xdr_string): Likewise.
25691         (xdr_wrapstring): Likewise.
25692         * sunrpc/xdr_float.c (xdr_float): Likewise.
25693         (xdr_double): Likewise.
25694         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
25695         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
25696         * sysvipc/ftok.c (ftok): Likewise.
25697         * sysvipc/msgctl.c (msgctl): Likewise.
25698         * sysvipc/msgget.c (msgget): Likewise.
25699         * sysvipc/msgrcv.c (msgrcv): Likewise.
25700         * sysvipc/msgsnd.c (msgsnd): Likewise.
25701         * sysvipc/semget.c (semget): Likewise.
25702         * sysvipc/semop.c (semop): Likewise.
25703         * sysvipc/shmat.c (shmat): Likewise.
25704         * sysvipc/shmctl.c (shmctl): Likewise.
25705         * sysvipc/shmdt.c (shmdt): Likewise.
25706         * sysvipc/shmget.c (shmget): Likewise.
25707         * termios/cfmakeraw.c (cfmakeraw): Likewise.
25708         * termios/speed.c (cfgetospeed): Likewise.
25709         (cfgetispeed): Likewise.
25710         (cfsetospeed): Likewise.
25711         (cfsetispeed): Likewise.
25712         * termios/tcflow.c (tcflow): Likewise.
25713         * termios/tcflush.c (tcflush): Likewise.
25714         * termios/tcgetattr.c (__tcgetattr): Likewise.
25715         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
25716         * termios/tcgetsid.c (tcgetsid): Likewise.
25717         * termios/tcsendbrk.c (tcsendbreak): Likewise.
25718         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
25719         * time/adjtime.c (__adjtime): Likewise.
25720         * time/dysize.c (dysize): Likewise.
25721         * time/ftime.c (ftime): Likewise.
25722         * time/getitimer.c (__getitimer): Likewise.
25723         * time/gettimeofday.c (__gettimeofday): Likewise.
25724         * time/gmtime.c (__gmtime_r): Likewise.
25725         (gmtime): Likewise.
25726         * time/localtime.c (__localtime_r): Likewise.
25727         (localtime): Likewise.
25728         * time/offtime.c (__offtime): Likewise.
25729         * time/settimeofday.c (__settimeofday): Likewise.
25730         * time/stime.c (stime): Likewise.
25731         * time/strftime_l.c (tm_diff): Likewise.
25732         (iso_week_days): Likewise.
25733         * time/strptime.c (strptime): Likewise.
25734         * time/time.c (time): Likewise.
25735         * time/timespec_get.c (timespec_get): Likewise.
25736         * time/tzset.c (tzset_internal): Likewise.
25737         (compute_change): Likewise.
25738         (__tz_compute): Likewise.
25739         * wcsmbs/btowc.c (__btowc): Likewise.
25740         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
25741         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
25742         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
25743         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
25744         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
25745         * wcsmbs/wcscat.c (__wcscat): Likewise.
25746         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25747         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
25748         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
25749         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25750         * wcsmbs/wcsdup.c (wcsdup): Likewise.
25751         * wcsmbs/wcslen.c (__wcslen): Likewise.
25752         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
25753         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
25754         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
25755         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
25756         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25757         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
25758         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25759         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25760         * wcsmbs/wcstok.c (wcstok): Likewise.
25761         * wcsmbs/wctob.c (wctob): Likewise.
25762         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
25763         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25764         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
25765         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
25766         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
25767         * wcsmbs/wmemset.c (__wmemset): Likewise.
25768         * wctype/wcfuncs.c (__towlower): Likewise.
25769         (__towupper): Likewise.
25771         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
25772         (lll_unlock_elision): Add adapt_count parameter.
25774 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25776         * sysdeps/nptl/configure.ac: Do not give errors based on the
25777         results of top-level configure tests.
25778         * sysdeps/nptl/configure: Regenerated.
25780         * configure.ac (libc_cv_Bgroup): Remove configure test.
25781         * configure: Regenerated.
25782         * config.make.in (have-Bgroup): Remove variable.
25784         * configure.ac (sizeof_long_double): Remove configure test.
25785         * configure: Regenerated.
25786         * config.make.in (sizeof-long-double): Remove variable.
25788         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
25789         * configure: Regenerated.
25790         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
25791         variable.
25792         (exceptions): Likewise.
25793         * sysdeps/arm/configure: Regenerated.
25794         * config.make.in (exceptions): Remove variable.
25795         * Makeconfig (uses-callbacks): Use -fexceptions instead of
25796         $(exceptions).
25797         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
25798         (CFLAGS-vdprintf_chk.c): Likewise.
25799         (CFLAGS-printf_chk.c): Likewise.
25800         (CFLAGS-fprintf_chk.c): Likewise.
25801         (CFLAGS-vprintf_chk.c): Likewise.
25802         (CFLAGS-vfprintf_chk.c): Likewise.
25803         (CFLAGS-gets_chk.c): Likewise.
25804         (CFLAGS-fgets_chk.c): Likewise.
25805         (CFLAGS-fgets_u_chk.c): Likewise.
25806         (CFLAGS-fread_chk.c): Likewise.
25807         (CFLAGS-fread_u_chk.c): Likewise.
25808         (CFLAGS-wprintf_chk.c): Likewise.
25809         (CFLAGS-fwprintf_chk.c): Likewise.
25810         (CFLAGS-vwprintf_chk.c): Likewise.
25811         (CFLAGS-vfwprintf_chk.c): Likewise.
25812         (CFLAGS-fgetws_chk.c): Likewise.
25813         (CFLAGS-fgetws_u_chk.c): Likewise.
25814         * libio/Makefile (CFLAGS-fileops.c): Likewise.
25815         (CFLAGS-fputc.c): Likewise.
25816         (CFLAGS-fputwc.c): Likewise.
25817         (CFLAGS-freopen64.c): Likewise.
25818         (CFLAGS-freopen.c): Likewise.
25819         (CFLAGS-fseek.c): Likewise.
25820         (CFLAGS-fseeko64.c): Likewise.
25821         (CFLAGS-fseeko.c): Likewise.
25822         (CFLAGS-ftello64.c): Likewise.
25823         (CFLAGS-ftello.c): Likewise.
25824         (CFLAGS-fwide.c): Likewise.
25825         (CFLAGS-genops.c): Likewise.
25826         (CFLAGS-getc.c): Likewise.
25827         (CFLAGS-getchar.c): Likewise.
25828         (CFLAGS-getwc.c): Likewise.
25829         (CFLAGS-getwchar.c): Likewise.
25830         (CFLAGS-iofclose.c): Likewise.
25831         (CFLAGS-iofflush.c): Likewise.
25832         (CFLAGS-iofgetpos64.c): Likewise.
25833         (CFLAGS-iofgetpos.c): Likewise.
25834         (CFLAGS-iofgets.c): Likewise.
25835         (CFLAGS-iofgetws.c): Likewise.
25836         (CFLAGS-iofputs.c): Likewise.
25837         (CFLAGS-iofputws.c): Likewise.
25838         (CFLAGS-iofread.c): Likewise.
25839         (CFLAGS-iofsetpos64.c): Likewise.
25840         (CFLAGS-iofsetpos.c): Likewise.
25841         (CFLAGS-ioftell.c): Likewise.
25842         (CFLAGS-iofwrite.c): Likewise.
25843         (CFLAGS-iogetdelim.c): Likewise.
25844         (CFLAGS-iogetline.c): Likewise.
25845         (CFLAGS-iogets.c): Likewise.
25846         (CFLAGS-iogetwline.c): Likewise.
25847         (CFLAGS-ioputs.c): Likewise.
25848         (CFLAGS-ioseekoff.c): Likewise.
25849         (CFLAGS-ioseekpos.c): Likewise.
25850         (CFLAGS-iosetbuffer.c): Likewise.
25851         (CFLAGS-iosetvbuf.c): Likewise.
25852         (CFLAGS-ioungetc.c): Likewise.
25853         (CFLAGS-ioungetwc.c): Likewise.
25854         (CFLAGS-oldfileops.c): Likewise.
25855         (CFLAGS-oldiofclose.c): Likewise.
25856         (CFLAGS-oldiofgetpos64.c): Likewise.
25857         (CFLAGS-oldiofgetpos.c): Likewise.
25858         (CFLAGS-oldiofsetpos64.c): Likewise.
25859         (CFLAGS-oldiofsetpos.c): Likewise.
25860         (CFLAGS-peekc.c): Likewise.
25861         (CFLAGS-putc.c): Likewise.
25862         (CFLAGS-putchar.c): Likewise.
25863         (CFLAGS-putwc.c): Likewise.
25864         (CFLAGS-putwchar.c): Likewise.
25865         (CFLAGS-rewind.c): Likewise.
25866         (CFLAGS-wfileops.c): Likewise.
25867         (CFLAGS-wgenops.c): Likewise.
25868         (CFLAGS-oldiofopen.c): Likewise.
25869         (CFLAGS-iofopen.c): Likewise.
25870         (CFLAGS-iofopen64.c): Likewise.
25871         (CFLAGS-oldtmpfile.c): Likewise.
25872         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25873         (CFLAGS-fprintf.c): Likewise.
25874         (CFLAGS-printf.c): Likewise.
25875         (CFLAGS-vfwprintf.c): Likewise.
25876         (CFLAGS-vfscanf.c): Likewise.
25877         (CFLAGS-vfwscanf.c): Likewise.
25878         (CFLAGS-fscanf.c): Likewise.
25879         (CFLAGS-scanf.c): Likewise.
25880         (CFLAGS-isoc99_vfscanf.c): Likewise.
25881         (CFLAGS-isoc99_vscanf.c): Likewise.
25882         (CFLAGS-isoc99_fscanf.c): Likewise.
25883         (CFLAGS-isoc99_scanf.c): Likewise.
25884         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
25885         (CFLAGS-isoc99_fwscanf.c): Likewise.
25886         (CFLAGS-isoc99_vwscanf.c): Likewise.
25887         (CFLAGS-isoc99_vfwscanf.c): Likewise.
25889         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
25890         after mkstemp64.
25891         * login/tst-utmp.c (do_prepare): Likewise.
25892         * rt/tst-aio.c (do_prepare): Likewise.
25893         * rt/tst-aio64.c (do_prepare): Likewise.
25895 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25897         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25898         (__lll_lock_elision): Remove adapt_count decrement...
25899         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25900         (__lll_trylock_elision): Likewise.
25901         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
25902         (__lll_unlock_elision): ... to here. And utilize
25903         new adapt_count parameter.
25904         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25905         (__lll_unlock_elision): Update to include adapt_count
25906         parameter.
25907         (lll_unlock_elision): Pass pointer to adapt_count
25908         variable.
25910 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25912         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
25913         Add elision adapt_count parameter to list of arguments.
25914         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25915         (lll_unlock_elision): Update with new parameter list
25916         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
25917         (lll_unlock_elision): Likewise.
25918         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25919         (lll_unlock_elision): Likewise.
25921 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25923         [BZ #19122]
25924         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25925         attribute_hidden.
25927         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25928         attribute_hidden.
25929         [IS_IN (rtld)] (__strdup): Likewise.
25930         [IS_IN (rtld)] (__strerror_r): Likewise.
25931         [IS_IN (rtld)] (__strsep_g): Likewise.
25932         [IS_IN (rtld)] (memchr): Likewise.
25933         [IS_IN (rtld)] (memcmp): Likewise.
25934         [IS_IN (rtld)] (memcpy): Likewise.
25935         [IS_IN (rtld)] (memmove): Likewise.
25936         [IS_IN (rtld)] (memset): Likewise.
25937         [IS_IN (rtld)] (rawmemchr): Likewise.
25938         [IS_IN (rtld)] (stpcpy): Likewise.
25939         [IS_IN (rtld)] (strchr): Likewise.
25940         [IS_IN (rtld)] (strcmp): Likewise.
25941         [IS_IN (rtld)] (strlen): Likewise.
25942         [IS_IN (rtld)] (strnlen): Likewise.
25943         [IS_IN (rtld)] (strsep): Likewise.
25945         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25946         attribute_hidden.
25947         [IS_IN (rtld)] (__strtoul_internal): Likewise.
25949         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25950         attribute_hidden.
25951         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25953         * include/setjmp.h (__longjmp): Add attribute_hidden.
25954         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25956         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25957         Add attribute_hidden.
25959         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25960         [IS_IN (rtld)] (__open): Likewise.
25961         [IS_IN (rtld)] (__fcntl): Likewise.
25963         * include/dirent.h (__opendirat): Add attribute_hidden.
25964         (__getdents): Likewise.
25965         (__getdents64): Likewise.
25966         (__alloc_dir): Likewise.
25967         [IS_IN (rtld)] (__closedir): Likewise.
25968         [IS_IN (rtld)] (__fdopendir): Likewise.
25969         [IS_IN (rtld)] (__readdir): Likewise.
25970         [IS_IN (rtld)] (__readdir64): Likewise.
25971         [IS_IN (rtld)] (__rewinddir): Likewise.
25973         * include/dlfcn.h (_dl_catch_error): Moved to ...
25974         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25975         attribute_hidden.
25977         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25978         (_itoa_word): Likewise.
25980         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25981         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25982         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25983         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25984         (_dl_higher_prime_number): Likewise.
25985         (_dl_debug_printf_c): Likewise.
25986         (_dl_signal_cerror): Likewise.
25987         (_dl_receive_error): Likewise.
25988         (_dl_reloc_bad_type): Likewise.
25989         (_dl_resolve_conflicts): Likewise.
25990         (_dl_check_all_versions): Likewise.
25991         (_dl_check_map_versions): Likewise.
25992         (_dl_sort_fini): Likewise.
25993         (_dl_debug_initialize): Likewise.
25994         (_dl_init_paths): Likewise.
25995         (_dl_show_auxv): Likewise.
25996         (_dl_next_ld_env_entry): Likewise.
25997         (_dl_important_hwcaps): Likewise.
25998         (_dl_load_cache_lookup): Likewise.
25999         (_dl_update_slotinfo): Likewise.
26000         (_dl_show_scope): Likewise.
26002         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
26003         attribute_hidden.
26004         (_wordcopy_fwd_dest_aligned): Likewise.
26005         (_wordcopy_bwd_aligned): Likewise.
26006         (_wordcopy_bwd_dest_aligned): Likewise.
26008         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26009         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26010         Likewise.
26011         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26012         Likewise.
26013         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26015 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26017         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
26018         GCC 5 requirement.
26020 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26022         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
26023         test.
26024         * sysdeps/i386/configure: Regenerated.
26025         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
26026         code unconditional.
26028         * configure.ac (libc_cv_asm_previous_directive): Remove configure
26029         test.
26030         (libc_cv_asm_popsection_directive): Likewise.
26031         * configure: Regenerated.
26032         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
26033         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
26034         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
26035         (__make_section_unallocated): Make definition unconditional.
26036         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
26037         Remove conditional definition.
26038         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
26039         (__make_section_unallocated): Likewise.
26041         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
26042         * configure: Regenerated.
26043         * config.make.in (static-libgcc): Remove variable.
26044         * Makerules (build-shlib-helper): Use -static-libgcc instead of
26045         $(static-libgcc).
26046         (build-module-helper): Likewise.
26048         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
26049         * configure: Regenerated.
26051 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26053         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
26054         (struct char_buffer): New type.
26055         (char_buffer_start, char_buffer_size, char_buffer_error)
26056         (char_buffer_rewind, char_buffer_add): New functions.
26057         (ADDW): Remove macro, replaced by the char_buffer_add function.
26058         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
26059         of extend_alloca.  Make control flow more explicit.
26061 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26063         [BZ #19137]
26064         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26065         Add -fomit-frame-pointer.
26066         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
26068 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26070         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26071         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
26072         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
26073         only if !__GNUC_PREREQ (5,0).
26074         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
26075         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
26076         (INTERNAL_SYSCALL_NCS): Likewise.
26077         (LOADREGS_0): New macro for GCC 5.
26078         (ASMARGS_0): Likewise.
26079         (LOADREGS_1): Likewise.
26080         (ASMARGS_1): Likewise.
26081         (LOADREGS_2): Likewise.
26082         (ASMARGS_2): Likewise.
26083         (LOADREGS_3): Likewise.
26084         (ASMARGS_3): Likewise.
26085         (LOADREGS_4): Likewise.
26086         (ASMARGS_4): Likewise.
26087         (LOADREGS_5): Likewise.
26088         (ASMARGS_5): Likewise.
26089         (LOADREGS_6): Likewise.
26090         (ASMARGS_6): Likewise.
26092 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26094         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
26095         -fomit-frame-pointer.
26096         (CFLAGS-mmap64.c): Likewise.
26097         (CFLAGS-semtimedop.c): Likewise.
26098         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
26099         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
26100         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26101         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26103 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26105         [BZ #18928]
26106         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
26107         _dl_pointer_guard member.
26108         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
26109         initializer.
26110         (security_init): Always set up pointer guard.
26111         (process_envvars): Do not process LD_POINTER_GUARD.
26113 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
26115         [BZ #19134]
26116         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
26117         (.LC2): Likewise.
26118         (.LC3): Likewise.
26119         (__lround): Do not add 0.5 to integer or out-of-range arguments.
26121 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26123         [BZ #19129]
26124         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
26125         r0 and r1.
26127 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
26129         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
26131 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
26133         * include/stap-probe.h: Fix macro definition formatting.
26135 2015-10-14  Florian Weimer  <fweimer@redhat.com>
26137         [BZ #19074]
26138         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
26139         load and store num_ifs.
26141 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26143         [BZ #18822]
26144         * sysdeps/unix/sysv/linux/sched_getaffinity.c
26145         (__sched_getaffinity_new): Add libc_hidden_proto and
26146         libc_hidden_def.
26148 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26150         [BZ #19007]
26151         * scripts/localplt.awk: Also allow GOT references.
26152         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
26153         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
26154         with "+ REL R_386_GLOB_DAT".
26155         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
26156         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
26158 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26160         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
26161         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26162         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
26163         Likewise.
26164         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26165         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
26166         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26167         INTERNAL_SYSCALLINTERNAL_SYSCALL and
26168         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26169         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26170         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26171         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26172         Likewise.
26173         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26175 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26177         [BZ #19125]
26178         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26179         <math_private.h> and <stdint.h>.
26180         (__llround): Avoid conversions to and from long long int, and
26181         subtractions, where those might raise spurious exceptions.
26182         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26183         <math_private.h> and <stdint.h>.
26184         (__llroundf): Avoid conversions to and from long long int, and
26185         subtractions, where those might raise spurious exceptions.
26187 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26189         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26190         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26191         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26192         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26193         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26194         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26195         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26196         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
26197         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
26198         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26199         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26200         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26201         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
26202         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26203         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26204         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
26205         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
26206         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26207         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
26208         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
26209         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26210         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
26211         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
26212         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26213         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
26214         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26215         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
26216         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26217         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26218         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
26219         (__xstat64_conv): Likewise.
26220         (__xstat32_conv): Likewise.
26222 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26224         * sysdeps/unix/sysv/linux/sysdep.h: New file.
26225         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
26226         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
26227         <sysdeps/unix/sysv/linux/sysdep.h>.
26228         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26229         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
26230         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
26231         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26232         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26233         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
26234         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
26235         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26236         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
26237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26240         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26241         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26242         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26244         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
26245         (sysdep-dl-routines): Add sysdep.
26246         [$(subdir) == nptl] (libpthread-routines): Likewise.
26247         [$(subdir) == rt] (librt-routines): Likewise.
26248         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
26249         PIC when branching to SYSCALL_ERROR_LABEL.
26250         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
26251         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
26252         <sysdeps/unix/sysv/linux/sysdep.h>.
26253         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
26254         (SYSCALL_ERROR_ERRNO): Removed.
26255         (SYSCALL_ERROR_HANDLER): Changed to empty.
26256         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
26257         (__syscall_error): New prototype.
26258         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
26259         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
26261 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26263         [BZ #19124]
26264         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
26265         (_dl_runtime_resolve_avx512): Make it a hidden alias of
26266         _dl_runtime_resolve_avx.
26267         (_dl_runtime_profile_avx512): Make it a hidden alias of
26268         _dl_runtime_profile_avx.
26270 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26272         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
26273         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
26274         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
26275         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26277         [BZ #16422]
26278         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26279         New configure test.
26280         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26281         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26282         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26283         <math_private.h> and <stdint.h>.
26284         (__llrint): Avoid conversions to long long int where those might
26285         raise spurious exceptions.
26286         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26287         <math_private.h> and <stdint.h>.
26288         (__llrintf): Avoid conversions to long long int where those might
26289         raise spurious exceptions.
26291 2015-10-12  Andreas Schwab  <schwab@suse.de>
26293         [BZ #18969]
26294         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26295         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26296         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
26297         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26298         $(gen-locales).
26299         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
26300         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26301         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26302         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26303         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26304         $(gen-locales).
26305         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
26306         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26307         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26308         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26309         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26310         ($(objpfx)tst-ftell-active-handler.out)
26311         ($(objpfx)tst-ftell-append.out)
26312         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26313         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26314         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26315         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26316         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
26317         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26318         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26319         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26320         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26321         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26322         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26323         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26324         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26325         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26326         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26327         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26328         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26329         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26330         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26331         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26332         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26333         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26334         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26335         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26336         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26337         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26338         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26339         $(gen-locales).
26340         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26341         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26342         $(gen-locales).
26343         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26344         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26345         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26346         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26347         $(gen-locales).
26348         * libio/tst_wprintf2.c (main): Use explicit locale.
26349         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26351 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26353         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26354         __msg_sig_post.
26355         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26357 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26359         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26360         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26362         * sysdeps/arm/libm-test-ulps: Regenerated.
26364         [BZ #15470]
26365         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26367         [BZ #16399]
26368         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26369         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26370         and <fix-fp-int-convert-overflow.h>.
26371         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26372         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26373         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26374         and <fix-fp-int-convert-overflow.h>.
26375         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26376         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26377         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26378         <fix-fp-int-convert-overflow.h>.
26379         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26380         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26381         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26382         <fix-fp-int-convert-overflow.h>.
26383         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26384         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26385         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26386         and <fix-fp-int-convert-overflow.h>.
26387         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26388         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26389         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26390         <limits.h> and <fix-fp-int-convert-overflow.h>.
26391         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26392         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26393         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26394         and <fix-fp-int-convert-overflow.h>.
26395         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26396         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26397         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26398         and <fix-fp-int-convert-overflow.h>.
26399         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26400         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26401         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26403 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26405         [BZ #18589]
26406         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26407         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26408         $(gen-locales).
26410 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26411             Phil Blundell <pb@pbcl.net>
26413         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26414         * nptl/tst-cancel26.c: New file.
26415         * nptl/tst-cancel27.c: Likewise.
26417 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26419         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26420         __ILP32__ isn't defined.
26421         (lrint): Likewise.
26422         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26423         (lrintf): Likewise.
26424         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26425         (lrintl): Likewise.
26426         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26427         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26428         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26430 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26432         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26433         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26435         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26436         file.
26437         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26438         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26440 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26442         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26443         configure test.
26444         * sysdeps/i386/configure: Regenerated.
26445         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26446         configure test.
26447         * sysdeps/x86_64/configure: Regenerated.
26448         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26449         Make code unconditional.
26451         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26452         test.
26453         * sysdeps/i386/configure: Regenerated.
26454         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26455         test.
26456         * sysdeps/x86_64/configure: Regenerated.
26457         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26458         Make code unconditional.
26459         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26460         Likewise.
26461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26462         Likewise.
26463         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26464         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26465         code unconditional.
26466         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26467         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26468         code unconditional.
26469         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26470         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26471         code unconditional.
26472         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26473         code unconditional.
26474         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26475         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26476         code unconditional.
26477         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26478         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26479         code unconditional.
26480         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26481         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26482         code unconditional.
26483         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26484         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26485         code unconditional.
26486         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26487         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26489         [BZ #19095]
26490         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26491         mantissa to long int before shifting left.
26493 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26495         [BZ #19094]
26496         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26497         <limits.h>.
26498         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26499         when result overflows but exception would not result from cast.
26500         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26501         <limits.h>.
26502         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26503         when result overflows but exception would not result from cast.
26504         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26505         <limits.h>.
26506         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26507         when result overflows but exception would not result from cast.
26508         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26509         <limits.h>.
26510         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26511         when result overflows but exception would not result from cast.
26512         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26513         <limits.h>.
26514         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26515         when result overflows but exception would not result from cast.
26516         * math/libm-test.inc (lrint_test_data): Add more tests.
26517         (llrint_test_data): Likewise.
26519 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26521         [BZ #18872]
26522         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26523         Move out from under [$(run-built-tests) = yes] conditional.
26524         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26525         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26527 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26529         [BZ #18589]
26530         * string/Makefile (tests): Add bug-strcoll2.
26531         (LOCALES): Add cs_CZ.UTF-8.
26532         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26534         [BZ #18589]
26535         * string/bug-strcoll2.c: New file.
26536         * locale/categories.def: Revert commit
26537         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26538         * locale/langinfo.h: Likewise.
26539         * locale/localeinfo.h: Likewise.
26540         * locale/C-collate.c: Likewise.
26541         * locale/programs/ld-collate.c (collate_output): Likewise.
26542         * string/strcoll_l.c (STRDIFF): Likewise.
26543         (STRCOLL): Likewise.
26544         * wcsmbs/wcscoll_l.c: Likewise.
26546 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26548         * math/libm-test.inc (lround_test_data): Do not expect the absence
26549         of "inexact" for some tests with non-integer arguments.
26550         (llround_test_data): Likewise.
26552         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26553         test.
26554         (libc_cv_cc_sse2avx): Likewise.
26555         * sysdeps/i386/configure: Regenerated.
26556         * sysdeps/i386/i686/multiarch/Makefile
26557         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26558         [$(subdir) = math].
26559         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26560         code unconditional.
26561         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26562         Likewise.
26563         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26564         Likewise.
26565         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26566         Likewise.
26567         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26568         test.
26569         (libc_cv_cc_sse2avx): Likewise.
26570         * sysdeps/x86_64/configure: Regenerated.
26571         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26572         unconditional.
26573         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26574         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26575         unconditional.
26576         (_dl_runtime_profile)
26577         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26578         conditional code.
26579         * sysdeps/x86_64/fpu/multiarch/Makefile
26580         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26581         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26582         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26583         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26584         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26585         * sysdeps/x86_64/fpu/multiarch/e_log.c
26586         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26587         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26588         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26589         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26590         Likewise.
26591         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26592         Likewise.
26593         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26594         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26595         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26596         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26597         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26598         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26599         (HAVE_SSE2AVX_SUPPORT): Likewise.
26601 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26603         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26604         instead of #pragma optimize.
26606 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26608         [BZ #17195]
26609         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26610         as is similarly done in systrim and _int_free already.
26612 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26614         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26616 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26618         [BZ #19088]
26619         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26620         <limits.h>.
26621         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26622         overflows but exception would not result from cast.
26623         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26624         and <limits.h>.
26625         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26626         overflows but exception would not result from cast.
26627         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26628         <limits.h>.
26629         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26630         overflows but exception would not result from cast.
26631         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26632         <limits.h>.
26633         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26634         overflows but exception would not result from cast.
26635         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26636         <limits.h>.
26637         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26638         overflows but exception would not result from cast.
26639         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26640         <limits.h>.
26641         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26642         overflows but exception would not result from cast.
26643         * math/libm-test.inc (lround_test_data): Add more tests.
26644         (llround_test_data): Likewise.
26646 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
26648         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26649         (CFLAGS-ialloc.c): Ditto.
26650         (CFLAGS-scheck.c): Ditto.
26652 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26654         [BZ #19086]
26655         * manual/filesys.texi (Storage Allocation): Fix argument order for
26656         posix_fallocate64.
26658 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26660         [BZ #19085]
26661         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26662         exponent below 48 inside case for non-overflowing exponent.
26663         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26665 2015-10-07  Florian Weimer  <fweimer@redhat.com>
26667         * iconvdata/cp737.h (from_idx): Add const.
26668         * iconvdata/cp775.h (from_idx): Likewise.
26670 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26672         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26673         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26674         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26676         [BZ #19079]
26677         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26678         file, conditioned on [!_LP64].
26679         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26680         [!_LP64] (__lround): Do not define as function or alias.
26681         [!_LP64] (lround): Likewise.
26682         [!_LP64] (__lroundl): Likewise.
26683         [!_LP64] (lroundl): Likewise.
26684         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
26685         macro.
26686         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26687         Likewise.
26689 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26691         * math/libm-test.inc (lrint_test_data): Add more tests.
26692         (llrint_test_data): Likewise.
26693         (lround_test_data): Likewise.
26694         (llround_test_data): Likewise.
26696         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
26697         (llrint_test_data): Add tests used for lrint.
26699         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
26700         test.
26701         * sysdeps/i386/configure: Regenerated.
26702         * sysdeps/i386/i686/multiarch/Makefile
26703         [$(config-cflags-sse4) = yes]: Make code unconditional.
26704         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26705         Likewise.
26706         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
26707         Likewise.
26708         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
26709         test.
26710         * sysdeps/x86_64/configure: Regenerated.
26711         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
26712         Make code unconditional.
26713         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26714         Likewise.
26715         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
26716         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
26718         * scripts/rpm2dynsym.sh: Remove file.
26720 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26722         * configure.ac (libc_cv_cxx_thread_local): Define.
26723         * configure: Regenerate.
26724         * config.make.in (have-cxx-thread_local): Define.
26725         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
26726         (LDLIBS-tst-thread_local1): Define.
26727         (tests): Add tst-thread_local1.
26728         [have-cxx-thread_local != yes] (tests-unsupported): Add
26729         tst-thread_local1.
26730         * nptl/tst-thread_local1.cc: New file.
26732 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26734         [BZ #19078]
26735         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
26736         (u_thres): Likewise.
26737         (__expl): Determine whether to call __kernel_standard_l based on
26738         value of result, not argument.
26740         * math/libm-test.inc (scalb_test_data): Add more expectations for
26741         the "inexact" exception.
26743         [BZ #19077]
26744         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
26745         0.0L for argument 1.0L.
26747         [BZ #19076]
26748         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
26749         constant 0.0L when computing infinite result.
26751 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26753         [BZ #10432]
26754         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
26755         malloc_usable_size.
26757 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26759         [BZ #19018]
26760         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26761         Mangle function pointer before storing it.
26762         (__call_tls_dtors): Demangle function pointer before calling it.
26764 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26766         [BZ #19012]
26767         * iconv/gconv_db.c (gen_steps): Check for additional errors.
26768         Clean up on failure.
26770 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
26772         [BZ #19071]
26773         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
26774         long int variable to store possibly incremented high part of
26775         mantissa.
26776         * math/libm-test.inc (lround_test_data): Add tests used for
26777         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
26778         for tests requiring 64-bit long.  Do not condition tests on
26779         [TEST_FLOAT] unnecessarily.
26780         (llround_test_data): Add tests used for lround.  Add another
26781         expectation for the "inexact" exception.  Do not condition tests
26782         on [TEST_FLOAT] unnecessarily.
26784         [BZ #887]
26785         [BZ #19049]
26786         [BZ #19050]
26787         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
26788         * sysdeps/ieee754/dbl-64/e_log10.c: Include
26789         <fix-int-fp-convert-zero.h>.
26790         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26791         * sysdeps/ieee754/dbl-64/e_log2.c: Include
26792         <fix-int-fp-convert-zero.h>.
26793         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26794         * sysdeps/ieee754/dbl-64/s_erf.c: Include
26795         <fix-int-fp-convert-zero.h>.
26796         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26797         * sysdeps/ieee754/dbl-64/s_logb.c: Include
26798         <fix-int-fp-convert-zero.h>.
26799         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26800         * sysdeps/ieee754/flt-32/e_log10f.c: Include
26801         <fix-int-fp-convert-zero.h>.
26802         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26803         * sysdeps/ieee754/flt-32/e_log2f.c: Include
26804         <fix-int-fp-convert-zero.h>.
26805         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26806         * sysdeps/ieee754/flt-32/s_erff.c: Include
26807         <fix-int-fp-convert-zero.h>.
26808         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26809         * sysdeps/ieee754/flt-32/s_logbf.c: Include
26810         <fix-int-fp-convert-zero.h>.
26811         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26812         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
26813         <fix-int-fp-convert-zero.h>.
26814         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
26816         <fix-int-fp-convert-zero.h>.
26817         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26818         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
26819         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
26820         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
26821         file.
26822         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
26824 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
26826         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26828 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
26830         [BZ #19059]
26831         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
26832         overflowing computation.
26833         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26834         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26835         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26836         Likewise.
26837         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26838         Likewise.
26839         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26840         Likewise.
26841         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26842         Likewise.
26843         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26844         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26845         Likewise.
26846         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26847         Likewise.
26848         * math/libm-test.inc (nexttoward_test_data): Add more tests.
26850         * nss/rewrite_field.c (__nss_rewrite_field): Use
26851         internal_function.
26852         * nss/valid_field.c (__nss_valid_field): Likewise.
26853         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26855 2015-10-02  Florian Weimer  <fweimer@redhat.com>
26857         [BZ #18724]
26858         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
26859         (__nss_invalid_field_characters, __nss_valid_field)
26860         (__nss_valid_list_field, __nss_rewrite_field): Declare.
26861         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
26862         tst-field.c: New file.
26863         * nss/Makefile (routines): Add valid_field, rewrite_field.
26864         (tests-static): Define unconditionally.
26865         (tests): Include tests-static.
26866         [build-static-nss] (tests-static): Use append.
26867         [build-static-nss] (tests): Remove modification.
26868         * nss/getent.c (print_group): Call putgrent.  Report error.
26869         (print_gshadow): Call putsgent.  Report error.
26870         (print_passwd): Call putpwent.  Report error.
26871         (print_shadow): Call putspent.  Report error.
26872         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
26873         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
26874         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
26875         name, password, directory, shell fields for valid syntax.  Rewrite
26876         GECOS field to match syntax.
26877         * pwd/Makefile (tests): Add tst-putpwent.
26878         * pwd/tst-putpwent.c: New file.
26879         * grp/putgrent.c (putgrent): Convert to ISO function definition.
26880         Check grName, grpasswd, gr_mem fields for valid syntax.
26881         Change loop variable i to size_t.
26882         * grp/Makefile (tests): Add tst-putgrent.
26883         * grp/tst-putgrent.c: New file.
26884         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
26885         valid syntax.
26886         * shadow/Makefile (tests): Add tst-putspent.
26887         * shadow/tst-putspent.c: New file.
26888         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
26889         sg_mem fields for valid syntax.
26890         * gshadow/Makefile (tests): Add tst-putsgent.
26891         * gshadow/tst-putsgent.c: New file.
26893 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26895         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
26896         assembly instructions.
26898 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26900         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
26901         prefix from operands.
26903 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
26905         [BZ #16347]
26906         [BZ #19046]
26907         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
26908         <libc-internal.h>.
26909         (MAXLGM): Do not use diagnostic control macros.
26910         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
26911         threshold for ldbl-128ibm.
26912         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
26913         instead of multiplying by log then subtracting.
26914         * math/auto-libm-test-in: Add more tests of lgamma.
26915         * math/auto-libm-test-out: Regenerated.
26917         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26918         (TYPE_HEX_DIG): Likewise.
26919         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26920         precisions when printing floating-point numbers.
26921         (check_float_internal): Likewise.
26923 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26925         [BZ #16620]
26926         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26927         of log (10) rounded downward to 48 bits.
26928         (log10_low): Use corresponding low part of log (10).
26930         [BZ #19032]
26931         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26932         compute result as (x - x) / (x - x) not as 0 / 0.
26933         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26934         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26936         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26937         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26938         and expm1.
26939         * math/auto-libm-test-out: Regenerated.
26940         * math/libm-test.inc (acos_test_data): Add more tests.
26941         (asin_test_data): Likewise.
26942         (asinh_test_data): Likewise.
26943         (atan_test_data): Likewise.
26944         (atanh_test_data): Likewise.
26945         (atan2_test_data): Likewise.
26946         (cbrt_test_data): Likewise.
26947         (ceil_test_data): Likewise.
26948         (copysign_test_data): Likewise.
26949         (cos_test_data): Likewise.
26950         (cosh_test_data): Likewise.
26951         (erf_test_data): Likewise.
26952         (erfc_test_data): Likewise.
26953         (exp_test_data): Likewise.
26954         (exp10_test_data): Likewise.
26955         (exp2_test_data): Likewise.
26956         (expm1_test_data): Likewise.
26957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26959 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26961         [BZ #19006]
26962         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26963         to ...
26964         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26965         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26966         to ...
26967         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26968         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26969         to ...
26970         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26971         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26972         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26973         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26974         to ...
26975         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26976         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26977         Moved to ...
26978         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26979         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26980         Moved to ...
26981         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26982         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26983         to ...
26984         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26985         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26986         Moved to ...
26987         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26989         to ...
26990         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26991         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26992         Removed.
26993         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26994         Likewise.
26995         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26996         Likewise.
26997         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26998         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26999         Likewise.
27000         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27001         Likewise.
27002         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27003         Likewise.
27004         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27005         Likewise.
27006         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27007         Likewise.
27008         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
27009         Likewise.
27010         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
27011         Likewise.
27012         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
27013         Likewise.
27014         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
27015         Likewise.
27016         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
27017         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
27018         Likewise.
27019         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27020         Likewise.
27021         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27022         Likewise.
27023         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27024         Likewise.
27025         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
27026         Likewise.
27027         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27028         Replace ../i486/pthread_cond_timedwait.S with
27029         ../pthread_cond_timedwait.S.
27031 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27033         * math/libm-test.inc (acos_test_data): Refine expectations for
27034         errno and "inexact" exceptions.
27035         (acosh_test_data): Likewise.
27036         (asin_test_data): Likewise.
27037         (asinh_test_data): Likewise.
27038         (atan_test_data): Likewise.
27039         (atanh_test_data): Likewise.
27040         (atan2_test_data): Likewise.
27041         (cbrt_test_data): Likewise.
27042         (ceil_test_data): Likewise.
27043         (copysign_test_data): Likewise.
27044         (cosh_test_data): Likewise.
27045         (erf_test_data): Likewise.
27046         (erfc_test_data): Likewise.
27047         (exp_test_data): Likewise.
27048         (exp10_test_data): Likewise.
27049         (exp2_test_data): Likewise.
27050         (expm1_test_data): Likewise.
27051         (fabs_test_data): Likewise.
27052         (floor_test_data): Likewise.
27053         (fma_test_data): Likewise.
27054         (fmax_test_data): Likewise.
27055         (fmin_test_data): Likewise.
27056         (fmod_test_data): Likewise.
27057         (fpclassify_test_data): Likewise.
27058         (frexp_test_data): Likewise.
27059         (hypot_test_data): Likewise.
27060         (ilogb_test_data): Likewise.
27061         (isgreater_test_data): Likewise.
27062         (isgreaterequal_test_data): Likewise.
27063         (isinf_test_data): Likewise.
27064         (isless_test_data): Likewise.
27065         (islessequal_test_data): Likewise.
27066         (islessgreater_test_data): Likewise.
27067         (isnan_test_data): Likewise.
27068         (isnormal_test_data): Likewise.
27069         (issignaling_test_data): Likewise.
27070         (isunordered_test_data): Likewise.
27071         (j0_test_data): Likewise.
27072         (j1_test_data): Likewise.
27073         (jn_test_data): Likewise.
27074         (lgamma_test_data): Likewise.
27075         (lrint_test_data): Likewise.
27076         (llrint_test_data): Likewise.
27077         (log_test_data): Likewise.
27078         (log10_test_data): Likewise.
27079         (log1p_test_data): Likewise.
27080         (log2_test_data): Likewise.
27081         (logb_test_data): Likewise.
27082         (lround_test_data): Likewise.
27083         (llround_test_data): Likewise.
27084         (modf_test_data): Likewise.
27085         (nearbyint_test_data): Likewise.
27086         (nextafter_test_data): Likewise.
27087         (nexttoward_test_data): Likewise.
27088         (pow_test_data): Likewise.
27089         (remainder_test_data): Likewise.
27090         (remquo_test_data): Likewise.
27091         (rint_test_data): Likewise.
27092         (round_test_data): Likewise.
27093         (signbit_test_data): Likewise.
27094         (sinh_test_data): Likewise.
27095         (sqrt_test_data): Likewise.
27096         (tanh_test_data): Likewise.
27097         (tgamma_test_data): Likewise.
27098         (trunc_test_data): Likewise.
27099         (y0_test_data): Likewise.
27100         (y1_test_data): Likewise.
27101         (yn_test_data): Likewise.
27102         (significand_test_data): Likewise.
27104 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
27106         * manual/filesys.texi (Storage Allocation): Document that
27107         posix_fallocate emulation fails when fd is open with O_WRONLY.
27109 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
27111         [BZ #19016]
27112         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
27113         allow more cases with X^2 + Y^2 >= 0.5.
27114         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
27115         normal element in sum instead of special-casing based on values of
27116         arguments.
27117         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
27118         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
27119         -1 as normal element in sum instead of special-casing based on
27120         values of arguments.
27121         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
27122         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
27123         (__x2y2m1): Update comment.
27124         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
27125         as normal element in sum instead of special-casing based on values
27126         of arguments.
27127         * math/s_clog.c (__clog): Handle more cases using log1p without
27128         hypot.
27129         * math/s_clog10.c (__clog10): Likewise.
27130         * math/s_clog10f.c (__clog10f): Likewise.
27131         * math/s_clog10l.c (__clog10l): Likewise.
27132         * math/s_clogf.c (__clogf): Likewise.
27133         * math/s_clogl.c (__clogl): Likewise.
27134         * math/auto-libm-test-in: Add more tests of clog and clog10.
27135         * math/auto-libm-test-out: Regenerated.
27136         * sysdeps/i386/fpu/libm-test-ulps: Update.
27137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27139 2015-09-28  Martin Sebor  <msebor@redhat.com>
27141         [BZ #18969]
27142         * string/Makefile (LOCALES): Define.
27143         (gen-locales.mk): Include.
27144         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
27145         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
27146         * string/tst-strxfrm2.c (do_test): Print the name of the locale
27147         on setlocale failure.
27149 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27151         [BZ #18985]
27152         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
27153         (__strftime_internal): Likewise.
27154         * time/tst-strftime.c (do_bz18985): New test.
27155         (do_test): Call it.
27157 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
27159         [BZ #18956]
27160         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
27161         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
27162         extracting high part.
27163         * math/auto-libm-test-in: Add another test of pow.
27164         * math/auto-libm-test-out: Regenerated.
27165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27167 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27169         [BZ #18825]
27170         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
27171         New macro.
27172         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
27173         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27174         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27175         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27176         DBL_NARROW_EVAL, reloading the PIC register as needed.
27177         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27178         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27179         FLT_NARROW_EVAL.  Use separate return path for case when first
27180         argument is NaN.
27181         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
27182         DEFINE_LDBL_MIN.
27183         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27184         PIC register.
27185         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27186         math_check_force_underflow_nonneg.
27187         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27188         underflow for subnormal result.
27189         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27190         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27191         math_check_force_underflow_nonneg.
27192         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27193         math_check_force_underflow.
27194         * sysdeps/x86_64/fpu/x86_64-math-asm.h
27195         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27196         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
27197         DEFINE_LDBL_MIN.
27198         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
27199         * math/auto-libm-test-in: Add more tests of pow.
27200         * math/auto-libm-test-out: Regenerated.
27202 2015-09-25  Florian Weimer  <fweimer@redhat.com>
27204         * nss/bug17079.c (init_test_items): Add diagnostic for
27205         inconsistent entries.
27206         (test_buffer_size): Skip inconsistent entries.
27208 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27210         [BZ #13304]
27211         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
27212         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
27213         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
27215         [BZ #13304]
27216         * sysdeps/microblaze/s_fma.c: New file.
27217         * sysdeps/microblaze/s_fmaf.c: Likewise.
27218         * sysdeps/microblaze/sfp-machine.h: Likewise.
27220 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
27222         [BZ #17250]
27223         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
27224         member.
27226 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27228         [BZ #18803]
27229         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
27230         (MO): New macro.
27231         (__ieee754_hypot) [PIC]: Load PIC register.
27232         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
27233         DBL_NARROW_EVAL.
27234         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
27235         math_check_force_underflow_nonneg in case where result might be
27236         tiny.
27237         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27238         Likewise.
27239         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27240         Likewise.
27241         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
27242         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
27243         * math/auto-libm-test-in: Add more tests of hypot.
27244         * math/auto-libm-test-out: Regenerated.
27246 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
27248         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
27250 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27252         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
27253         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
27254         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27255         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27256         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
27257         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27258         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27260         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
27261         LOAD_PIC_REG.
27263         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
27264         (FLT_CHECK_FORCE_UFLOW): Likewise.
27265         (DBL_CHECK_FORCE_UFLOW): Likewise.
27266         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
27267         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
27268         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
27269         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27270         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27271         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27272         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27273         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27274         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
27275         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27276         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27277         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27278         (flt_min): Replace with use of DEFINE_FLT_MIN.
27279         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27280         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27281         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27282         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27283         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27284         (flt_min): Replace with use of DEFINE_FLT_MIN.
27285         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27286         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27287         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27288         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27289         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27290         (flt_min): Replace with use of DEFINE_FLT_MIN.
27291         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27292         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27293         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27294         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27295         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27296         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27297         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27298         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27299         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27300         (__atan): Use DBL_CHECK_FORCE_UFLOW.
27301         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27302         (flt_min): Replace with use of DEFINE_FLT_MIN.
27303         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27304         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27305         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27306         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
27307         main computation.
27308         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27309         (flt_min): Replace with use of DEFINE_FLT_MIN.
27310         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
27311         main computation.
27312         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27313         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27314         (MO): New macro.
27315         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27316         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27317         (flt_min): Replace with use of DEFINE_FLT_MIN.
27318         (MO): New macro.
27319         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27320         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27321         (__log1pl): Use MO.
27323         [BZ #19003]
27324         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27325         $(config-cflags-nofma).
27327 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27329         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27331 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27333         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27334         (TWO127): Likewise.
27336         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27337         (min_of_type): Likewise.
27338         (math_check_force_underflow): Likewise.
27339         (math_check_force_underflow_nonneg): Likewise.
27340         (math_check_force_underflow_complex): Likewise.
27341         * math/e_exp2l.c (__ieee754_exp2l): Use
27342         math_check_force_underflow_nonneg.
27343         * math/k_casinh.c (__kernel_casinh): Likewise.
27344         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27345         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27346         * math/s_catan.c (__catan): Use
27347         math_check_force_underflow_complex.
27348         * math/s_catanf.c (__catanf): Likewise.
27349         * math/s_catanh.c (__catanh): Likewise.
27350         * math/s_catanhf.c (__catanhf): Likewise.
27351         * math/s_catanhl.c (__catanhl): Likewise.
27352         * math/s_catanl.c (__catanl): Likewise.
27353         * math/s_ccosh.c (__ccosh): Likewise.
27354         * math/s_ccoshf.c (__ccoshf): Likewise.
27355         * math/s_ccoshl.c (__ccoshl): Likewise.
27356         * math/s_cexp.c (__cexp): Likewise.
27357         * math/s_cexpf.c (__cexpf): Likewise.
27358         * math/s_cexpl.c (__cexpl): Likewise.
27359         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27360         * math/s_clog10.c (__clog10): Likewise.
27361         * math/s_clog10f.c (__clog10f): Likewise.
27362         * math/s_clog10l.c (__clog10l): Likewise.
27363         * math/s_clogf.c (__clogf): Likewise.
27364         * math/s_clogl.c (__clogl): Likewise.
27365         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27366         * math/s_csinf.c (__csinf): Likewise.
27367         * math/s_csinh.c (__csinh): Likewise.
27368         * math/s_csinhf.c (__csinhf): Likewise.
27369         * math/s_csinhl.c (__csinhl): Likewise.
27370         * math/s_csinl.c (__csinl): Likewise.
27371         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27372         * math/s_csqrtf.c (__csqrtf): Likewise.
27373         * math/s_csqrtl.c (__csqrtl): Likewise.
27374         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27375         * math/s_ctanf.c (__ctanf): Likewise.
27376         * math/s_ctanh.c (__ctanh): Likewise.
27377         * math/s_ctanhf.c (__ctanhf): Likewise.
27378         * math/s_ctanhl.c (__ctanhl): Likewise.
27379         * math/s_ctanl.c (__ctanl): Likewise.
27380         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27381         instead of volatile.
27382         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27383         math_check_force_underflow.
27384         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27385         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27386         volatile when forcing underflow.
27387         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27388         math_check_force_underflow_nonneg.
27389         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27390         Likewise.
27391         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27392         math_check_force_underflow.
27393         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27394         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27395         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27396         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27397         math_check_force_underflow_nonneg.
27398         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27399         math_check_force_underflow.
27400         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27402         instead of volatile.
27403         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27404         math_check_force_underflow.
27405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27406         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27407         math_check_force_underflow_nonneg.
27408         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27409         math_check_force_underflow.
27410         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27411         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27412         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27413         math_check_force_underflow_nonneg.
27414         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27415         Likewise.
27416         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27417         math_check_force_underflow.
27418         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27419         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27420         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27421         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27422         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27423         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27424         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27425         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27426         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27427         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27428         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27429         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27430         Likewise.
27431         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27432         math_check_force_underflow_nonneg.
27433         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27434         Likewise.
27435         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27436         math_check_force_underflow.
27437         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27438         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27439         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27440         Likewise.
27441         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27442         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27443         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27444         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27445         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27446         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27448         instead of volatile.
27449         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27450         math_check_force_underflow.
27451         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27452         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27453         math_check_force_underflow.
27454         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27455         Likewise.
27456         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27457         Use math_check_force_underflow_nonneg.
27458         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27459         math_check_force_underflow.
27460         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27461         Likewise.
27462         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27463         Likewise.
27464         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27465         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27466         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27467         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27468         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27469         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27470         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27471         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27472         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27473         math_check_force_underflow_nonneg.
27474         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27475         math_check_force_underflow.
27476         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27477         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27478         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27479         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27480         math_check_force_underflow_nonneg.
27481         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27482         math_check_force_underflow.
27483         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27484         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27485         instead of volatile.
27486         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27487         math_check_force_underflow.
27489         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27490         * stdlib/strtod_l.c: Include <math_private.h>.
27491         (overflow_value): Use math_narrow_eval.
27492         (underflow_value): Likewise.
27493         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27494         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27495         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27496         (__ieee754_gamma_r): Likewise.
27497         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27498         Likewise.
27499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27500         Likewise.
27501         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27502         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27503         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27504         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27505         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27506         (__ieee754_gammaf_r): Likewise.
27507         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27508         Likewise.
27509         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27510         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27511         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27512         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27513         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27514         volatile.
27515         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27516         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27517         math_narrow_eval.
27518         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27519         Likewise.
27520         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27521         Likewise.
27522         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27523         Likewise.
27524         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27525         volatile.
27526         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27527         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27528         math_narrow_eval.
27529         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27530         Likewise.
27531         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27532         Likewise.
27534 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27536         * nptl/Versions: Remove ignored symbols.
27538 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27540         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27541         * nss/Makefile (tests): Update.
27543 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27545         * nss/bug18287.c: New file.
27546         * nss/Makefile (tests): Add bug18287.
27548 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27550         * mach/Versions (__mach_host_self_): Add symbol.
27552 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27554         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27555         vm_page_size.
27557 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27559         Really fix sysdeps/i386/fpu/s_scalbn.S build
27561         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27562         (libc: GLIBC_2_22): Remove unused version set.
27564 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27566         * config.make.in (enable-timezone-tools): New variable.
27567         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27568         (enable_timezone_tools): Export to generated files.
27569         * configure: Regenerate.
27570         * INSTALL: Regenerate.
27571         * manual/install.texi (--disable-timezone-tools): Document new flag.
27572         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27573         ifeq ($(enable-timezone-tools),yes) check.
27575 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27577         * timezone/Makefile: Revert previous change.
27579         [BZ #18980]
27580         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27581         (DEFINE_DBL_MIN): Likewise.
27582         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27583         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27584         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27585         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27586         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27587         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27588         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27589         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27590         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27591         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27592         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27593         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27594         (flt_min): Replace with use of DEFINE_FLT_MIN.
27595         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27596         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27597         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27598         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27599         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27600         (flt_min): Replace with use of DEFINE_FLT_MIN.
27601         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27602         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27603         (flt_min): Replace with use of DEFINE_FLT_MIN.
27604         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27605         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27606         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27607         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27608         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27609         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27610         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27611         (__ieee754_pow): Use DBL_NARROW_EVAL.
27612         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27613         (__ieee754_powf): Use FLT_NARROW_EVAL.
27614         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27615         (__ieee754_expf_sse2): Convert double-precision result to single
27616         precision.
27617         * sysdeps/i386/fpu/libm-test-ulps: Update.
27619 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27621         * timezone/Makefile: Ignore unused variable errors due to private.h
27622         (time_t_min) and (time_t_max).
27623         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
27624         Likewise.
27626 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27628         [BZ #18981]
27629         * sysdeps/i386/fpu/i386-math-asm.h: New file.
27630         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27631         (__ieee754_scalb): Use DBL_NARROW_EVAL.
27632         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27633         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27634         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27635         (__scalbn): Use DBL_NARROW_EVAL.
27636         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27637         (__scalbnf): Use FLT_NARROW_EVAL.
27639 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27641         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27642         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27643         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27644         * stdio-common/printf_fp.c (___printf_fp):
27645         Use signbit to get the sign. Use isinf macro to allow inlining.
27646         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27647         * stdio-common/printf_size.c (__printf_size): Likewise.
27649 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27651         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27653 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27655         [BZ #18980]
27656         * sysdeps/generic/math_private.h: Include <float.h>.
27657         (math_narrow_eval): New macro.
27658         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27659         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27660         math_narrow_eval on overflowing return value.
27661         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27662         Likewise.
27663         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27664         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27665         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27666         Likewise.
27667         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27669 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27671         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27672         * math/Makefile: Remove isinf_ns.c.
27673         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27674         * math/multc3.c (__multc3): Likewise.
27675         * math/s_casin.c (__casin): Likewise.
27676         * math/s_casinf.c (__casinf): Likewise.
27677         * math/s_casinl.c (__casinl): Likewise.
27678         * math/s_cproj.c (__cproj): Likewise.
27679         * math/s_cprojf.c (__cprojf): Likewise.
27680         * math/s_cprojl.c (__cprofl): Likewise.
27681         * math/s_ctan.c (__ctan): Likewise.
27682         * math/s_ctanf.c (__ctanf): Likewise.
27683         * math/s_ctanh.c (__ctanh): Likewise.
27684         * math/s_ctanhf.c (__ctanhf): Likewise.
27685         * math/s_ctanhl.c (__ctanhl): Likewise.
27686         * math/s_ctanl.c (__ctanl): Likewise.
27687         * math/w_fmod.c (__fmod): Likewise.
27688         * math/w_fmodf.c (__fmodf): Likewise.
27689         * math/w_fmodl.c (_fmodl): Likewise.
27690         * math/w_remainder.c (__remainder): Likewise.
27691         * math/w_remainderf.c (__remainderf): Likewise.
27692         * math/w_remainderl.c (__remainderl): Likewise.
27693         * math/w_scalb.c (__scalb): Likewise.
27694         * math/w_scalbf.c (__scalbf): Likewise.
27695         * math/w_scalbl.c (__scalbl): Likewise.
27696         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
27697         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
27698         with isinf.
27699         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
27700         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
27701         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
27702         __isinf_nsf with isinf.
27703         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
27704         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
27705         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
27706         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
27707         with isinf.
27708         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
27709         __isinf_nsl with isinf.
27710         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
27711         with isinf.
27712         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
27713         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
27714         __isinf_nsl with isinf.
27715         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
27716         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
27717         with isinf.
27719 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27721         * resolv/base64.c (rcsid): Remove unused static.
27722         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
27723         static.  (tqpi1): Likewise.
27724         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
27725         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
27726         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
27727         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
27728         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
27729         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
27730         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
27731         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
27732         Likewise.
27734 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
27736         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
27737         <nptl/pthreadP.h>.
27738         (_longjmp_unwind): Use __libc_ptf_call.
27739         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
27741 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
27743         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
27744         * sysdeps/arm/__longjmp.S: Likewise.
27746 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27748         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
27749         Use __builtin_signbit.
27750         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
27751         Use __builtin_signbitf.
27752         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
27753         Use __builtin_signbitl.
27754         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27755         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
27757 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27759         [BZ #15367]
27760         [BZ #17441]
27762         * math/Makefile: Build test-snan.c with -fsignaling-nans.
27763         * math/math.h (fpclassify): Use __builtin_fpclassify when
27764         available.  (signbit): Use __builtin_signbit(f/l).
27765         (isfinite): Use__builtin_isfinite.  (isnormal): Use
27766         __builtin_isnormal.  (isnan): Use __builtin_isnan.
27767         (isinf): Use __builtin_isinf_sign.
27769 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27771         * benchtests/Makefile: Add bench-math-inlines, link with libm.
27772         * benchtests/bench-math-inlines.c: New benchmark.
27773         * benchtests/bench-util.h: New file.
27774         * benchtests/bench-util.c: New file.
27775         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
27777 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
27779         * elf/tst-dlmopen1.c: Define TEST_SO.
27780         (do_test): Use TEST_SO.
27782         * elf/dl-load.c: Include libc-internal.h.
27783         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
27785 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27787         [BZ #17887]
27788         * time/strptime_l.c (__strptime_internal): Make %z accept
27789         [+-]HH:MM time zones.
27791 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27793         [BZ #17886]
27794         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
27795         valid time zone.
27797 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
27799         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
27800         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
27801         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27802         (__ASSUME_FDATASYNC): Delete.
27804 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27806         * conform/linknamespace.pl: Require weak undefined symbols to be
27807         in the standard namespace.
27808         (%strong_syms): Rename to %seen_syms.
27809         (%strong_seen): Rename to %seen_where.
27811 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
27813         [BZ #18970]
27814         * misc/error.c (error): Replace pthread_setcancelstate with
27815         __pthread_setcancelstate.
27816         (error_at_line): Likewise.
27817         * posix/wordexp.c (parse_comm): Likewise.
27818         * stdlib/fmtmsg.c (fmtmsg): Likewise.
27819         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
27820         (__pthread_setcancelstate): This.
27821         (pthread_setcancelstate): Add an alias.
27822         * nptl/nptl-init.c (pthread_functions): Replace
27823         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
27824         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
27825         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
27826         hidden_proto.
27827         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
27828         it with hidden_def.
27829         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
27830         (pthread_setcancelstate): Renamed to ...
27831         (__pthread_setcancelstate): This.
27832         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
27833         __libc_ptf_call with __pthread_setcancelstate.
27835 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27836             Andreas Schwab  <schwab@suse.de>
27838         [BZ #17118]
27839         * math/s_ctan.c (__ctan): Determine sign of zero real part of
27840         result when imaginary part of argument is infinite using sine and
27841         cosine.
27842         * math/s_ctanf.c (__ctanf): Likewise.
27843         * math/s_ctanl.c (__ctanl): Likewise.
27844         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
27845         of result when real part of argument is infinite using sine and
27846         cosine.
27847         * math/s_ctanhf.c (__ctanhf): Likewise.
27848         * math/s_ctanhl.c (__ctanhl): Likewise.
27849         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
27850         (ctanh_test_data): Add more tests of ctanh.
27852 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27854         [BZ #15384]
27855         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
27856         bit-mask as in subtraction.
27857         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
27858         Likewise.
27859         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
27860         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27861         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
27863         [BZ #18951]
27864         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
27865         underflow exception for small results.
27866         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27867         Likewise.
27868         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27869         Likewise.
27870         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27871         Likewise.
27872         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27873         Likewise.
27874         * math/auto-libm-test-in: Add more tests of tgamma.
27875         * math/auto-libm-test-out: Regenerated.
27877 2015-09-17  Andreas Schwab  <schwab@suse.de>
27879         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
27881 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27883         [BZ #18977]
27884         * math/bits/mathcalls.h
27885         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
27886         not declare.
27887         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
27888         Likewise.
27889         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
27890         Likewise.
27891         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
27892         Likewise.
27893         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
27894         Likewise.
27895         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
27896         Likewise.
27897         * conform/data/math.h-data
27898         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
27899         function.
27900         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
27901         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
27902         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27903         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
27904         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
27905         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
27906         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27907         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
27908         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
27909         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
27910         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
27912         [BZ #6803]
27913         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
27914         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
27915         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
27916         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
27917         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27918         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27919         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27920         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27921         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27922         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27923         Likewise.
27924         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27925         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27926         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27927         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27928         long_double_symbol calls.
27929         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27930         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27931         strong alias of __ldexpl.
27932         (scalbnl): Define using long_double_symbol.
27933         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27934         Remove alias.
27935         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27936         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27937         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27938         (scalbln_test_data): Add more errno expectations.
27940 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
27942         Cache the host port like we cache the task port.  This way we do not
27943         need to call the kernel just to get the port.  Furthermore, we no
27944         longer increase the reference count on every invocation of
27945         `mach_host_self'.
27947         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27948         Protect declarations against the macro expansion.
27949         * mach/mach_init.c (__mach_host_self_): New variable.
27950         (mach_init): Initialize `__mach_host_self_'.
27951         * mach/mach_init.h (__mach_host_self_): New declaration.
27952         (__mach_host_self, mach_host_self): New macros.
27953         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27954         Release reference.
27956 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27958         [BZ #4404]
27959         * po/de.po: Update from Translation Project.
27961         [BZ #16415]
27962         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27963         (__expm1l): Remove code to handle positive infinity and overflow.
27964         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27965         variable.
27966         (__expm1l): Remove code to handle positive infinity and overflow.
27968 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27969             Paul Pluzhnikov  <ppluzhnikov@google.com>
27971         [BZ #18872]
27972         * stdio-common/Makefile (tst-printf-bz18872): New test.
27973         (tst-printf-bz18872-mem.out): Likewise.
27974         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27975         * stdio-common/vfprintf.c: Fix memory leaks.
27977 2015-09-16  Andreas Schwab  <schwab@suse.de>
27979         [BZ #17244]
27980         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27981         Remove extra va_start/va_end calls.
27983         [BZ #17243]
27984         * posix/execl.c (execl): Add missing va_end.
27985         * posix/execle.c (execle): Likewise.
27986         * posix/execlp.c (execlp): Likewise.
27988 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27990         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27991         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27993 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27995         [BZ #18967]
27996         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27997         undefine around includes of <bits/mathcalls.h>.
27998         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27999         not declare function.
28000         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
28001         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
28002         (scalb): Likewise.
28003         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
28004         not define macro.
28005         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
28006         variable.
28007         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28008         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28009         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28011         [BZ #18857]
28012         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
28013         return non-finite argument without doing ordered comparisons on
28014         it.
28016         [BZ #16296]
28017         * math/fenv.h (fegetround): Use __attribute_pure__.
28018         * include/fenv.h (__fegetround): Likewise.
28020         [BZ #18595]
28021         * math/s_ctan.c (__ctan): Force underflow exception for results
28022         whose real or imaginary part has small absolute value.
28023         * math/s_ctanf.c (__ctanf): Likewise.
28024         * math/s_ctanh.c (__ctanh): Likewise.
28025         * math/s_ctanhf.c (__ctanhf): Likewise.
28026         * math/s_ctanhl.c (__ctanhl): Likewise.
28027         * math/s_ctanl.c (__ctanl): Likewise.
28028         * math/auto-libm-test-in: Do not allow missing underflow for ctan
28029         and ctanh.  Add more tests of ctan and ctanh.
28031         [BZ #15918]
28032         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
28033         handling of cases where one argument is an infinity.
28035         [BZ #18875]
28036         [BZ #18966]
28037         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
28038         (MO): New macro.
28039         (__ieee754_exp10): For small results, force underflow exception
28040         and remove excess range and precision from return value.
28041         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
28042         (MO): New macro.
28043         (__ieee754_exp10f): For small results, force underflow exception
28044         and remove excess range and precision from return value.
28045         * math/auto-libm-test-in: Add more tests of exp10.
28046         * math/auto-libm-test-out: Regenerated.
28048 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
28050         [BZ #18875]
28051         [BZ #18961]
28052         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
28053         (MO): New macro.
28054         (__ieee754_exp): For small results, force underflow exception and
28055         remove excess range and precision from return value.
28056         (__exp_finite): Likewise.
28057         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
28058         (MO): New macro.
28059         (__ieee754_expf): For small results, force underflow exception and
28060         remove excess range and precision from return value.
28061         (__expf_finite): Likewise.
28062         * math/auto-libm-test-in: Add more tests of exp.
28063         * math/auto-libm-test-out: Regenerated.
28065         [BZ #16521]
28066         [BZ #18875]
28067         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
28068         small results.
28069         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
28070         (MO): New macro.
28071         (__ieee754_exp2): For small results, force underflow exception and
28072         remove excess range and precision from return value.
28073         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
28074         (MO): New macro.
28075         (__ieee754_exp2f): For small results, force underflow exception
28076         and remove excess range and precision from return value.
28077         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
28078         (MO): New macro.
28079         (__ieee754_exp2l): Force underflow exception for small results.
28080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28081         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28082         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
28083         (MO): New macro.
28084         (__ieee754_exp2l): Force underflow exception for small results.
28085         * math/auto-libm-test-in: Add more tests or exp2.
28086         * math/auto-libm-test-out: Regenerated.
28088 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
28090         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
28092         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
28093         /dev/null.
28095 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28097         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28098         io fs process)): Drop spurious backslash.
28100 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28102         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
28103         Use sysinfo system call instead of parsing /proc/meminfo.
28104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
28105         Likewise.
28107 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
28109         [BZ #16985]
28110         * programs/localedef.c (main): Display argv[remaining] when
28111         output_path is NULL.
28113 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28115         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28116         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
28117         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
28118         tanh.
28119         * math/auto-libm-test-out: Regenerated.
28120         * sysdeps/i386/fpu/libm-test-ulps: Update.
28121         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28122         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28125 2015-09-11  Roland McGrath  <roland@hack.frob.com>
28127         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
28128         Use 'override' keyword to freeze the value here, preventing
28129         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
28131 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28133         [BZ #14912]
28134         * sysdeps/aarch64/bits/atomic.h: Move to ...
28135         * sysdeps/aarch64/atomic-machine.h: ...here.
28136         (_AARCH64_BITS_ATOMIC_H): Rename macro to
28137         _AARCH64_ATOMIC_MACHINE_H.
28138         * sysdeps/alpha/bits/atomic.h: Move to ...
28139         * sysdeps/alpha/atomic-machine.h: ...here.
28140         * sysdeps/arm/bits/atomic.h: Move to ...
28141         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
28142         * bits/atomic.h: Move to ...
28143         * sysdeps/generic/atomic-machine.h: ...here.
28144         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28145         * sysdeps/i386/bits/atomic.h: Move to ...
28146         * sysdeps/i386/atomic-machine.h: ...here.
28147         * sysdeps/ia64/bits/atomic.h: Move to ...
28148         * sysdeps/ia64/atomic-machine.h: ...here.
28149         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
28150         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
28151         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28152         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
28153         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
28154         * sysdeps/microblaze/bits/atomic.h: Move to ...
28155         * sysdeps/microblaze/atomic-machine.h: ...here.
28156         * sysdeps/mips/bits/atomic.h: Move to ...
28157         * sysdeps/mips/atomic-machine.h: ...here.
28158         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
28159         * sysdeps/powerpc/bits/atomic.h: Move to ...
28160         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
28161         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
28162         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
28163         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
28164         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
28165         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
28166         <atomic-machine.h> instead of <bits/atomic.h>.
28167         * sysdeps/s390/bits/atomic.h: Move to ...
28168         * sysdeps/s390/atomic-machine.h: ...here.
28169         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
28170         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
28171         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28172         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
28173         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
28174         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
28175         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28176         * sysdeps/tile/bits/atomic.h: Move to ...
28177         * sysdeps/tile/atomic-machine.h: ...here.
28178         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28179         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
28180         <sysdeps/tile/atomic-machine.h> instead of
28181         <sysdeps/tile/bits/atomic.h>.
28182         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28183         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28184         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
28185         <sysdeps/tile/atomic-machine.h> instead of
28186         <sysdeps/tile/bits/atomic.h>.
28187         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28188         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28189         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
28190         <sysdeps/arm/atomic-machine.h> instead of
28191         <sysdeps/arm/bits/atomic.h>.
28192         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28193         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28194         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28195         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28196         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
28197         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28198         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
28199         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
28200         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
28201         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
28202         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
28203         * sysdeps/x86_64/bits/atomic.h: Move to ...
28204         * sysdeps/x86_64/atomic-machine.h: ...here.
28205         * include/atomic.h: Include <atomic-machine.h> instead of
28206         <bits/atomic.h>.
28208         * sysdeps/mips/mips32/libm-test-ulps: Update.
28209         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28211         [BZ #18952]
28212         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
28213         not convert non-integer negative arguments to int to determine the
28214         value of signgam.
28215         * math/auto-libm-test-in: Add more tests of lgamma.
28216         * math/auto-libm-test-out: Regenerated.
28218         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
28219         cosh, csqrt, erfc, expm1 and lgamma.
28220         * math/auto-libm-test-out: Regenerated.
28221         * sysdeps/i386/fpu/libm-test-ulps: Update.
28222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28224 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
28226         [BZ #2542]
28227         [BZ #2543]
28228         [BZ #2558]
28229         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
28230         __lgamma_neg for arguments from -28.0 to -2.0.
28231         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
28232         __lgamma_negf for arguments from -15.0 to -2.0.
28233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28234         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
28235         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
28236         Call __lgamma_negl for arguments from -33.0 to -2.0.
28237         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
28238         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
28239         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
28240         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
28241         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
28242         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
28243         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
28244         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
28245         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
28246         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
28247         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
28248         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
28249         (__lgamma_neg): Likewise.
28250         (__lgamma_negl): Likewise.
28251         (__lgamma_product): Likewise.
28252         (__lgamma_productl): Likewise.
28253         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
28254         * math/auto-libm-test-in: Add more tests of lgamma.
28255         * math/auto-libm-test-out: Regenerated.
28256         * sysdeps/i386/fpu/libm-test-ulps: Update.
28257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28259 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
28261         [BZ #18675]
28262         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
28264 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
28266         [BZ #14912]
28267         * bits/libc-lock.h: Move to ...
28268         * sysdeps/generic/libc-lock.h: ...here.
28269         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28270         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
28271         * sysdeps/mach/hurd/libc-lock.h: ...here.
28272         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28273         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
28274         * sysdeps/mach/bits/libc-lock.h: Move to ...
28275         * sysdeps/mach/libc-lock.h: ...here.
28276         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28277         * sysdeps/nptl/bits/libc-lock.h: Move to ...
28278         * sysdeps/nptl/libc-lock.h: ...here.
28279         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28280         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28281         * sysdeps/nptl/libc-lockP.h: ...here.
28282         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28283         * crypt/crypt_util.c: Include <libc-lock.h> instead of
28284         <bits/libc-lock.h>.
28285         * dirent/scandir-tail.c: Likewise.
28286         * dlfcn/dlerror.c: Likewise.
28287         * elf/dl-close.c: Likewise.
28288         * elf/dl-iteratephdr.c: Likewise.
28289         * elf/dl-lookup.c: Likewise.
28290         * elf/dl-open.c: Likewise.
28291         * elf/dl-support.c: Likewise.
28292         * elf/dl-writev.h: Likewise.
28293         * elf/rtld.c: Likewise.
28294         * grp/fgetgrent.c: Likewise.
28295         * gshadow/fgetsgent.c: Likewise.
28296         * gshadow/sgetsgent.c: Likewise.
28297         * iconv/gconv_conf.c: Likewise.
28298         * iconv/gconv_db.c: Likewise.
28299         * iconv/gconv_dl.c: Likewise.
28300         * iconv/gconv_int.h: Likewise.
28301         * iconv/gconv_trans.c: Likewise.
28302         * include/link.h: Likewise.
28303         * inet/getnameinfo.c: Likewise.
28304         * inet/getnetgrent.c: Likewise.
28305         * inet/getnetgrent_r.c: Likewise.
28306         * intl/bindtextdom.c: Likewise.
28307         * intl/dcigettext.c: Likewise.
28308         * intl/finddomain.c: Likewise.
28309         * intl/gettextP.h: Likewise.
28310         * intl/loadmsgcat.c: Likewise.
28311         * intl/localealias.c: Likewise.
28312         * intl/textdomain.c: Likewise.
28313         * libidn/idn-stub.c: Likewise.
28314         * libio/libioP.h: Likewise.
28315         * locale/duplocale.c: Likewise.
28316         * locale/freelocale.c: Likewise.
28317         * locale/newlocale.c: Likewise.
28318         * locale/setlocale.c: Likewise.
28319         * login/getutent_r.c: Likewise.
28320         * login/getutid_r.c: Likewise.
28321         * login/getutline_r.c: Likewise.
28322         * login/utmp-private.h: Likewise.
28323         * login/utmpname.c: Likewise.
28324         * malloc/mtrace.c: Likewise.
28325         * misc/efgcvt.c: Likewise.
28326         * misc/error.c: Likewise.
28327         * misc/fstab.c: Likewise.
28328         * misc/getpass.c: Likewise.
28329         * misc/mntent.c: Likewise.
28330         * misc/syslog.c: Likewise.
28331         * nis/nis_call.c: Likewise.
28332         * nis/nis_callback.c: Likewise.
28333         * nis/nss-default.c: Likewise.
28334         * nis/nss_compat/compat-grp.c: Likewise.
28335         * nis/nss_compat/compat-initgroups.c: Likewise.
28336         * nis/nss_compat/compat-pwd.c: Likewise.
28337         * nis/nss_compat/compat-spwd.c: Likewise.
28338         * nis/nss_nis/nis-alias.c: Likewise.
28339         * nis/nss_nis/nis-ethers.c: Likewise.
28340         * nis/nss_nis/nis-grp.c: Likewise.
28341         * nis/nss_nis/nis-hosts.c: Likewise.
28342         * nis/nss_nis/nis-network.c: Likewise.
28343         * nis/nss_nis/nis-proto.c: Likewise.
28344         * nis/nss_nis/nis-pwd.c: Likewise.
28345         * nis/nss_nis/nis-rpc.c: Likewise.
28346         * nis/nss_nis/nis-service.c: Likewise.
28347         * nis/nss_nis/nis-spwd.c: Likewise.
28348         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28349         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28350         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28351         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28352         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28353         * nis/nss_nisplus/nisplus-network.c: Likewise.
28354         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28355         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28356         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28357         * nis/nss_nisplus/nisplus-service.c: Likewise.
28358         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28359         * nis/ypclnt.c: Likewise.
28360         * nptl/libc_pthread_init.c: Likewise.
28361         * nss/getXXbyYY.c: Likewise.
28362         * nss/getXXent.c: Likewise.
28363         * nss/getXXent_r.c: Likewise.
28364         * nss/nss_db/db-XXX.c: Likewise.
28365         * nss/nss_db/db-netgrp.c: Likewise.
28366         * nss/nss_db/nss_db.h: Likewise.
28367         * nss/nss_files/files-XXX.c: Likewise.
28368         * nss/nss_files/files-alias.c: Likewise.
28369         * nss/nsswitch.c: Likewise.
28370         * posix/regex_internal.h: Likewise.
28371         * posix/wordexp.c: Likewise.
28372         * pwd/fgetpwent.c: Likewise.
28373         * resolv/res_hconf.c: Likewise.
28374         * resolv/res_libc.c: Likewise.
28375         * shadow/fgetspent.c: Likewise.
28376         * shadow/lckpwdf.c: Likewise.
28377         * shadow/sgetspent.c: Likewise.
28378         * socket/opensock.c: Likewise.
28379         * stdio-common/reg-modifier.c: Likewise.
28380         * stdio-common/reg-printf.c: Likewise.
28381         * stdio-common/reg-type.c: Likewise.
28382         * stdio-common/vfprintf.c: Likewise.
28383         * stdio-common/vfscanf.c: Likewise.
28384         * stdlib/abort.c: Likewise.
28385         * stdlib/cxa_atexit.c: Likewise.
28386         * stdlib/fmtmsg.c: Likewise.
28387         * stdlib/random.c: Likewise.
28388         * stdlib/setenv.c: Likewise.
28389         * string/strsignal.c: Likewise.
28390         * sunrpc/auth_none.c: Likewise.
28391         * sunrpc/bindrsvprt.c: Likewise.
28392         * sunrpc/create_xid.c: Likewise.
28393         * sunrpc/key_call.c: Likewise.
28394         * sunrpc/rpc_thread.c: Likewise.
28395         * sysdeps/arm/backtrace.c: Likewise.
28396         * sysdeps/generic/ldsodefs.h: Likewise.
28397         * sysdeps/generic/stdio-lock.h: Likewise.
28398         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28399         * sysdeps/i386/backtrace.c: Likewise.
28400         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28401         * sysdeps/m68k/backtrace.c: Likewise.
28402         * sysdeps/mach/hurd/cthreads.c: Likewise.
28403         * sysdeps/mach/hurd/dirstream.h: Likewise.
28404         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28405         * sysdeps/nptl/malloc-machine.h: Likewise.
28406         * sysdeps/nptl/stdio-lock.h: Likewise.
28407         * sysdeps/posix/dirstream.h: Likewise.
28408         * sysdeps/posix/getaddrinfo.c: Likewise.
28409         * sysdeps/posix/system.c: Likewise.
28410         * sysdeps/pthread/aio_suspend.c: Likewise.
28411         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28412         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28413         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28414         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28415         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28416         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28417         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28418         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28419         * sysdeps/unix/sysv/linux/system.c: Likewise.
28420         * sysdeps/x86_64/backtrace.c: Likewise.
28421         * time/alt_digit.c: Likewise.
28422         * time/era.c: Likewise.
28423         * time/tzset.c: Likewise.
28424         * wcsmbs/wcsmbsload.c: Likewise.
28425         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28426         instead of <bits/libc-lock.h> in comment.
28428 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28430         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28431         Only use .set mips2 if the current ISA is below mips2.
28432         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28433         Likewise.
28434         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28435         mips32r2 if the current ISA is below mips32r2.
28436         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28437         (TLS_IE): Updated to use the TLD_RDHWR macro.
28438         (TLS_LE): Likewise.
28439         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28440         __ASSEMBLER__ condition.
28442 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28444         Fix parallel build of before-compile targets.
28446         * sysdeps/mach/Makefile ($(patsubst
28447         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28448         mach-before-compile target.
28449         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28450         io fs process)): Move rule to dedicated hurd-before-compile target.
28452 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28454         Fix rules generating headers in hurd/ and mach/ when initial make call
28455         has subdir= explicitly set.
28457         * sysdeps/mach/Makefile ($(patsubst
28458         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28459         calling $(MAKE).
28460         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28461         io fs process)): Force subdir to hurd when calling $(MAKE).
28462         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28463         subdir to mach when calling $(MAKE).
28465 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28467         Check sysheaders when looking for Mach and Hurd headers
28469         * sysdeps/mach/configure.ac: Add sysheaders check.
28470         * sysdeps/mach/configure: Regenerate.
28471         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28472         * sysdeps/mach/hurd/configure: Regenerate.
28474 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28476         [BZ #18921]
28477         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28478         Fix inverted sense of test of 'o_directory_works' value.
28479         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28480         Bernhard Voelker <mail@bernhard-voelker.de>.
28482 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28484         [BZ #14912]
28485         * bits/linkmap.h: Move to ...
28486         * sysdeps/generic/linkmap.h: ...here.
28487         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28488         * sysdeps/aarch64/linkmap.h: ...here.
28489         * sysdeps/arm/bits/linkmap.h: Move to ...
28490         * sysdeps/arm/linkmap.h: ...here.
28491         * sysdeps/hppa/bits/linkmap.h: Move to ...
28492         * sysdeps/hppa/linkmap.h: ...here.
28493         * sysdeps/ia64/bits/linkmap.h: Move to ...
28494         * sysdeps/ia64/linkmap.h: ...here.
28495         * sysdeps/mips/bits/linkmap.h: Move to ...
28496         * sysdeps/mips/linkmap.h: ...here.
28497         * sysdeps/s390/bits/linkmap.h: Move to ...
28498         * sysdeps/s390/linkmap.h: ...here.
28499         * sysdeps/sh/bits/linkmap.h: Move to ...
28500         * sysdeps/sh/linkmap.h: ...here.
28501         * sysdeps/x86/bits/linkmap.h: Move to ...
28502         * sysdeps/x86/linkmap.h: ...here.
28503         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28505 2015-09-04  Andreas Schwab  <schwab@suse.de>
28507         [BZ #18635]
28508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28509         (__makecontext): Terminate FDE before return label.
28510         (__novec_makecontext): Likewise.
28512 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28514         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28515         first member of struct sv in syscall macro.
28517 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28519         [BZ #14912]
28520         * bits/stdio-lock.h: Move to ...
28521         * sysdeps/generic/stdio-lock.h: ...here.
28522         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28523         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28524         * sysdeps/nptl/stdio-lock.h: ...here.
28525         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28526         * include/libio.h: Include <stdio-lock.h> instead of
28527         <bits/stdio-lock.h>.
28528         * sysdeps/nptl/fork.c: Likewise.
28529         * sysdeps/pthread/flockfile.c: Likewise.
28530         * sysdeps/pthread/ftrylockfile.c: Likewise.
28531         * sysdeps/pthread/funlockfile.c: Likewise.
28533         [BZ #14912]
28534         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28535         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28536         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28537         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28538         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28539         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28540         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28542 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28544         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28545         (test-xfail-tst-protected1b): New variable.
28547 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28549         [BZ #14912]
28550         * bits/libc-tsd.h: Move to ...
28551         * sysdeps/generic/libc-tsd.h: ...here.
28552         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28553         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28554         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28555         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28556         * include/ctype.h: Include <libc-tsd.h> instead of
28557         <bits/libc-tsd.h>.
28558         * include/rpc/rpc.h: Likewise.
28559         * locale/localeinfo.h: Likewise.
28560         * sunrpc/rpc_thread.c: Likewise.
28561         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28562         * sysdeps/nptl/malloc-machine.h: Likewise.
28564         * Makefile (headers): Remove bits/libc-lock.h.
28565         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28567         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28568         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28569         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28570         <bits/stdio-lock.h>.
28571         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28572         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28574 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28576         [BZ #18757]
28577         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28578         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28579         BZ #18757.
28581 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28583         * malloc/mtrace.pl: Filter out NULL entries.
28585 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28587         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28588         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28589         macro.
28591         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28592         (TCP_CC_INFO): Likewise.
28593         (TCP_SAVE_SYN): Likewise.
28594         (TCP_SAVED_SYN): Likewise.
28596 2015-08-31  Brett Neumeier <brett@neumeier.us>
28598         [BZ #18870]
28599         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28601 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28603         [BZ #18873]
28604         Fix broken overflow check in posix_fallocate
28605         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28606         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28607         Fix parenthesization typo.
28609 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28611         [BZ #18887]
28612         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28613         tst-mntent-blank-passno.
28614         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28615         * misc/tst-mntent-blank-corrupt.c: New test.
28616         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28617         * misc/tst-mntent.c (do_test): ... here.
28619 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
28621         [BZ #4404]
28622         * po/de.po: Fix SIGALRM typo.
28624 2015-08-28  James Perkins  <james@loowit.net>
28626         * time/tst-strptime2.c (tests): Replace short list of test
28627         strings for strptime %z specifier with code which exhaustively
28628         tests every combination of sign and 0 to 5 digits. Tests for
28629         rejection of invalid strings.
28631 2015-08-28  James Perkins  <james@loowit.net>
28633         [BZ #16141]
28634         * time/strptime_l.c (__strptime_internal): Fix %z minutes
28635         calculation, removing incorrect decimal time rounding, so that
28636         all minute values result in a valid seconds value.
28637         * time/strptime_l.c (__strptime_internal): Extend %z time zone
28638         offset range limits to UTC-99:59 through UTC+99:59 to parse
28639         current and historical use cases.
28640         * time/tst-strptime2.c (tests): Modify and add tests for the
28641         strptime %z input field descriptor, specifically conversion of
28642         minutes to seconds and validating an offset range of -9959 to
28643         +9959.
28645 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28646             Dmitry V. Levin  <ldv@altlinux.org>
28648         [BZ #18877]
28649         * posix/Makefile (tests): Add tst-mmap-offset.
28650         * posix/tst-mmap.c: New file.
28651         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28652         offset calculation for negative values.
28654 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28656         * sysdeps/i386/init-arch.h: New file.
28657         * sysdeps/i386/i586/init-arch.h: Likewise.
28658         * sysdeps/i386/i686/init-arch.h: Likewise.
28659         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28660         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
28661         * sysdeps/x86/cpu-features.h (bit_I586): New.
28662         (bit_I686): Likewise.
28663         (bit_CX8): Likewise.
28664         (bit_CMOV): Likewise.
28665         (index_CX8): Likewise.
28666         (index_CMOV): Likewise.
28667         (index_I586): Likewise.
28668         (index_I686): Likewise.
28669         (reg_CX8): Likewise.
28670         (reg_CMOV): Likewise.
28671         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28672         available at compile-time.
28673         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28674         available at compile-time.
28675         * sysdeps/x86/init-arch.h (USE_I586): New macro.
28676         (USE_I686): Likewise.
28678 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28680         * sysdeps/i386/bcopy.S: New file.
28681         * sysdeps/i386/bzero.S: Likewise.
28682         * sysdeps/i386/memcpy.S: Likewise.
28683         * sysdeps/i386/memmove.S: Likewise.
28684         * sysdeps/i386/mempcpy.S: Likewise.
28685         * sysdeps/i386/memset.S: Likewise.
28686         * sysdeps/i386/bzero.c: Removed.
28687         * sysdeps/i386/memset.c: Likewise.
28688         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
28689         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
28690         * sysdeps/i386/i586/memset_chk.S: Likewise.
28691         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
28692         * sysdeps/i386/memcpy_chk.S: Here.
28693         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
28694         * sysdeps/i386/memmove_chk.S: Here.
28695         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
28696         * sysdeps/i386/mempcpy_chk.S: Likewise.
28697         * sysdeps/i386/i686/memset_chk.S: Moved to ...
28698         * sysdeps/i386/memset_chk.S: Likewise.
28700 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
28702         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
28703         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
28704         file, move DIAG_POP_NEEDS_COMMENT to end of file.
28705         * soft-fp/fmadf4.c: Ditto.
28706         * soft-fp/fmatf4.c: Ditto.
28708 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28710         * sysdeps/i386/i586/Implies: Removed.
28711         * sysdeps/i386/i686/Implies: Likewise.
28713 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28715         * sysdeps/i386/i486/strlen.S: Moved to ...
28716         * sysdeps/i386/strlen.S: Here.
28718 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28720         * sysdeps/i386/i486/strcat.S: Moved to ...
28721         * sysdeps/i386/strcat.S: Here.
28723 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28725         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
28726         * sysdeps/i386/pthread_spin_trylock.S: Here.
28727         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
28728         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
28730 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28732         * sysdeps/i386/i486/string-inlines.c: Moved to ...
28733         * sysdeps/i386/string-inlines.c: Here.
28735 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28737         * sysdeps/i386/i486/htonl.S: Moved ...
28738         * sysdeps/i386/htonl.S: here.
28740 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28742         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
28743         * sysdeps/i386/bits/atomic.h: Here.
28745 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28747         * sysdeps/i386/i486/Versions: Removed.
28749 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28751         [BZ #2898]
28752         * misc/mktemp.c: Add mkdtemp to the link_warning message.
28753         Based on patch by Aurelien Jarno.
28755 2015-08-26  Stan Shebs  <stanshebs@google.com>
28757         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
28758         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28760 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28762         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
28763         * sysdeps/powerpc/dl-procinfo.c:
28764         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
28765         feature so it shows when LD_SHOW_AUXV=1.
28767 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28769         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28770         (__arch_compare_and_exchange_val_32_acq): Remove and use common
28771         definition.  ISA 2.07B no longer requires full sync.
28773 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
28775         [BZ #18863]
28776         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
28777         (si_call_addr): Define.
28778         (si_syscall): Define.
28779         (si_arch): Define.
28781 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
28783         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
28784         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
28785         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
28786         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28787         (__memset_zero_constant_len_parameter): New.
28788         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
28789         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28790         (__memset_zero_constant_len_parameter): Don't define if
28791         __memset_chk or USE_AS_BZERO are defined.
28793         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
28794         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
28795         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
28797         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
28798         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
28799         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
28800         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
28801         comments.
28802         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
28803         -mno-mmx for $(all-rtld-routines).
28804         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
28805         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
28806         i386.
28808 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28810         * sysdeps/generic/unwind.h
28811         (_Unwind_Word): Use __mode__(__unwind_word__)
28812         instead of __mode__(__word__).
28813         (_Unwind_Sword): Likewise.
28815         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28816         (MAX_NEEDED_INPUT): New define.
28817         (MAX_NEEDED_OUTPUT): New define.
28819         * NEWS: New item for IBM z13 string optimizations.
28821         * sysdeps/s390/multiarch/memrchr-c.c: New File.
28822         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
28823         * sysdeps/s390/multiarch/memrchr.c: Likewise.
28824         * sysdeps/s390/multiarch/Makefile
28825         (sysdep_routines): Add memrchr functions.
28826         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28827         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
28829         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
28830         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
28831         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
28832         * sysdeps/s390/multiarch/Makefile
28833         (sysdep_routines): Add wmemcmp functions.
28834         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28835         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
28836         * benchtests/bench-wmemcmp.c: New File.
28837         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
28839         * sysdeps/s390/multiarch/wmemset-c.c: New File.
28840         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
28841         * sysdeps/s390/multiarch/wmemset.c: Likewise.
28842         * sysdeps/s390/multiarch/Makefile
28843         (sysdep_routines): Add wmemset functions.
28844         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28845         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
28846         * wcsmbs/wmemset.c: Use WMEMSET if defined.
28847         * string/test-memset.c: Add wmemset support.
28848         * wcsmbs/test-wmemset.c: New File.
28849         * wcsmbs/Makefile (strop-tests): Add wmemset.
28850         * benchtests/bench-memset.c: Add wmemset support.
28851         * benchtests/bench-wmemset.c: New File.
28852         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
28854         * sysdeps/s390/multiarch/memccpy-c.c: New File.
28855         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
28856         * sysdeps/s390/multiarch/memccpy.c: Likewise.
28857         * sysdeps/s390/multiarch/Makefile
28858         (sysdep_routines): Add memccpy functions.
28859         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28860         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
28861         * string/memccpy.c: Use MEMCCPY if defined.
28863         * sysdeps/s390/multiarch/memchr-vx.S: New File.
28864         * sysdeps/s390/multiarch/memchr.c: Likewise.
28865         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
28866         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
28867         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
28868         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
28869         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
28870         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
28871         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
28872         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
28873         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
28874         and rawmemchr functions.
28875         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28876         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
28877         and wmemchr.
28878         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
28879         * string/test-memchr.c: Add wmemchr support.
28880         * wcsmbs/test-wmemchr.c: New File.
28881         * wcsmbs/Makefile (strop-tests): Add wmemchr.
28882         * benchtests/bench-memchr.c: Add wmemchr support.
28883         * benchtests/bench-wmemchr.c: New File.
28884         * benchtests/Makefile (wcsmbs-bench): wmemchr.
28886         * sysdeps/s390/multiarch/strcspn-c.c: New File.
28887         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
28888         * sysdeps/s390/multiarch/strcspn.c: Likewise.
28889         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
28890         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
28891         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
28892         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
28893         wcscspn functions.
28894         * sysdeps/s390/multiarch/ifunc-impl-list.c
28895         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
28896         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
28897         * string/test-strcspn.c: Add wcscspn support.
28898         * wcsmbs/test-wcscspn.c: New File.
28899         * wcsmbs/Makefile (strop-tests): Add wcscspn.
28900         * benchtests/bench-strcspn.c: Add wcscspn support.
28901         * benchtests/bench-wcscspn.c: New File.
28902         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
28904         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
28905         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
28906         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
28907         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
28908         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
28909         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
28910         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
28911         wcspbrk functions.
28912         * sysdeps/s390/multiarch/ifunc-impl-list.c
28913         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
28914         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
28915         * string/test-strpbrk.c: Add wcspbrk support.
28916         * wcsmbs/test-wcspbrk.c: New File.
28917         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28918         * benchtests/bench-strpbrk.c: Add wcspbrk support.
28919         * benchtests/bench-wcspbrk.c: New File.
28920         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28922         * sysdeps/s390/multiarch/strspn-c.c: New File.
28923         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28924         * sysdeps/s390/multiarch/strspn.c: Likewise.
28925         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28926         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28927         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28928         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28929         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28930         wcsspn functions.
28931         * sysdeps/s390/multiarch/ifunc-impl-list.c
28932         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28933         * string/test-strspn.c: Add wcsspn support.
28934         * wcsmbs/test-wcsspn.c: New File.
28935         * wcsmbs/Makefile (strop-tests): Add wcsspn.
28936         * benchtests/bench-strspn.c: Add wcsspn support.
28937         * benchtests/bench-wcsspn.c: New File.
28938         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28940         * sysdeps/s390/multiarch/strrchr-c.c: New File.
28941         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28942         * sysdeps/s390/multiarch/strrchr.c: Likewise.
28943         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28944         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28945         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28946         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28947         wcsrchr functions.
28948         * sysdeps/s390/multiarch/ifunc-impl-list.c
28949         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28950         * benchtests/bench-wcsrchr.c: New File.
28951         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28953         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28954         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28955         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28956         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28957         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28958         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28959         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28960         wcschrnul functions.
28961         * sysdeps/s390/multiarch/ifunc-impl-list.c
28962         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28963         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28964         * string/test-strchr.c: Add wcschrnul support.
28965         * wcsmbs/test-wcschrnul.c: New File.
28966         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28967         * benchtests/bench-strchr.c: Add wcschrnul support.
28968         * benchtests/bench-wcschrnul.c: New File.
28969         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28971         * sysdeps/s390/multiarch/strchr-c.c: New File.
28972         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28973         * sysdeps/s390/multiarch/strchr.c: Likewise.
28974         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28975         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28976         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28977         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28978         wcschr functions.
28979         * sysdeps/s390/multiarch/ifunc-impl-list.c
28980         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28981         * string/strchr.c (STRCHR): Define and use macro.
28982         * benchtests/bench-wcschr.c: New File.
28983         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28985         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28986         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28987         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28988         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28989         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28990         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28991         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28992         wcsncmp functions.
28993         * sysdeps/s390/multiarch/ifunc-impl-list.c
28994         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28995         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28996         * benchtests/bench-strncmp.c: Add wcsncmp support.
28997         * benchtests/bench-wcsncmp.c: New File.
28998         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
29000         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
29001         * sysdeps/s390/multiarch/strcmp.c: Likewise.
29002         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
29003         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
29004         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
29005         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
29006         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
29007         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
29008         wcscmp functions.
29009         * sysdeps/s390/multiarch/ifunc-impl-list.c
29010         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
29011         * string/strcmp.c (STRCMP): Define and use macro.
29012         * benchtests/bench-wcscmp.c: New File.
29013         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
29014         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
29015         instead of _HAVE_STRING_ARCH_memchr.
29017         * sysdeps/s390/multiarch/strncat-c.c: New File.
29018         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
29019         * sysdeps/s390/multiarch/strncat.c: Likewise.
29020         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
29021         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
29022         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
29023         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
29024         wcsncat functions.
29025         * sysdeps/s390/multiarch/ifunc-impl-list.c
29026         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
29027         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
29028         * string/test-strncat.c: Add wcsncat support.
29029         * wcsmbs/test-wcsncat.c: New File.
29030         * wcsmbs/Makefile (strop-tests): Add wcsncat.
29031         * benchtests/bench-strncat.c: Add wcsncat support.
29032         * benchtests/bench-wcsncat.c: New File.
29033         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
29035         * sysdeps/s390/multiarch/strcat-c.c: New File.
29036         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
29037         * sysdeps/s390/multiarch/strcat.c: Likewise.
29038         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
29039         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
29040         * sysdeps/s390/multiarch/wcscat.c: Likewise.
29041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
29042         wcscat functions.
29043         * sysdeps/s390/multiarch/ifunc-impl-list.c
29044         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
29045         * string/strcat.c (STRCAT): Define and use macro.
29046         * wcsmbs/wcscat.c: Use WCSCAT if defined.
29047         * string/test-strcat.c: Add wcscat support.
29048         * wcsmbs/test-wcscat.c: New File.
29049         * wcsmbs/Makefile (strop-tests): Add wcscat.
29050         * benchtests/bench-strcat.c: Add wcscat support.
29051         * benchtests/bench-wcscat.c: New File.
29052         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
29054         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
29055         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
29056         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29057         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
29058         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
29059         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
29060         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
29061         wcpncpy functions.
29062         * sysdeps/s390/multiarch/ifunc-impl-list.c
29063         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
29064         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
29065         * string/test-stpncpy.c: Add wcpncpy support.
29066         * wcsmbs/test-wcpncpy.c: New File.
29067         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
29068         * benchtests/bench-stpncpy.c: Add wcpncpy support.
29069         * benchtests/bench-wcpncpy.c: New File.
29070         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
29072         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
29073         * sysdeps/s390/multiarch/strncpy.c: Likewise.
29074         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
29075         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
29076         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
29077         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
29078         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
29079         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
29080         wcsncpy functions.
29081         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
29082         * sysdeps/s390/multiarch/ifunc-impl-list.c
29083         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
29084         * string/test-strncpy.c: Add wcsncpy support.
29085         * wcsmbs/test-wcsncpy.c: New File.
29086         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
29087         * benchtests/bench-strncpy.c: Add wcsncpy support.
29088         * benchtests/bench-wcsncpy.c: New File.
29089         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
29091         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
29092         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
29093         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
29094         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
29095         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29096         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
29097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
29098         wcpcpy functions.
29099         * string/stpcpy.c: Use STPCPY if defined.
29100         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
29101         * sysdeps/s390/multiarch/ifunc-impl-list.c
29102         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
29103         * string/test-stpcpy.c: Add wcpcpy support.
29104         * wcsmbs/test-wcpcpy.c: New File.
29105         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
29106         * benchtests/bench-stpcpy.c: Add wcpcpy support.
29107         * benchtests/bench-wcpcpy.c: New File.
29108         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
29110         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
29111         * sysdeps/s390/multiarch/strcpy.c: Likewise.
29112         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
29113         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
29114         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
29115         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
29116         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
29117         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
29118         wcscpy functions.
29119         * sysdeps/s390/multiarch/ifunc-impl-list.c
29120         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
29121         * benchtests/bench-wcscpy.c: New File.
29122         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
29124         * sysdeps/s390/multiarch/strnlen-c.c: New File.
29125         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
29126         * sysdeps/s390/multiarch/strnlen.c: Likewise.
29127         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
29128         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
29129         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
29130         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
29131         wcsnlen functions.
29132         * sysdeps/s390/multiarch/ifunc-impl-list.c
29133         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
29134         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
29135         * string/test-strnlen.c: Add wcsnlen support.
29136         * wcsmbs/test-wcsnlen.c: New File.
29137         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
29138         * benchtests/bench-strnlen.c: Add wcsnlen support.
29139         * benchtests/bench-wcsnlen.c: New File.
29140         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
29142         * sysdeps/s390/multiarch/Makefile: New File.
29143         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
29144         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
29145         * sysdeps/s390/multiarch/strlen.c: Likewise.
29146         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
29147         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29148         * sysdeps/s390/multiarch/wcslen.c: Likewise.
29149         * string/strlen.c (STRLEN): Define and use macro.
29150         * sysdeps/s390/multiarch/ifunc-impl-list.c
29151         (IFUNC_VX_IMPL): New macro function.
29152         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
29153         * benchtests/Makefile (wcsmbs-bench): New variable.
29154         (string-bench-all): Added wcsmbs-bench.
29155         * benchtests/bench-wcslen.c: New File.
29157         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
29158         s390_vx_libc_ifunc2): New macro function.
29160         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
29161         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
29162         assembler support.
29163         * sysdeps/s390/configure: Regenerated.
29165         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
29166         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29168         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
29169         * sysdeps/s390/dl-procinfo.h: Add vector capability.
29170         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
29172         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
29173         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
29174         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
29175         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29176         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29177         (memcmp, bcmp): Use __memcmp_default as alias source.
29178         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29179         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29180         Rename to __memcmp_default.
29181         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29182         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29183         (memcpy): Use __memcpy_default as alias source.
29184         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29185         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29186         Rename to __memcpy_default.
29187         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29188         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29189         (memset): Use __memset_default as alias source.
29190         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29191         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29192         Rename to __memset_default.
29193         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29194         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29195         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29196         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
29197         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
29198         (memcmp, bcmp): Use __memcmp_default as alias source.
29199         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
29200         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
29201         Rename to __memcmp_default.
29202         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
29203         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
29204         (memcpy): Use __memcpy_default as alias source.
29205         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
29206         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
29207         Rename to __memcpy_default.
29208         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
29209         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
29210         (memset): Use __memset_default as alias source.
29211         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
29212         * sysdeps/s390/s390-64/memset.S (__memset_z900):
29213         Rename to __memset_default.
29214         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
29215         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
29217         [BZ #18610]
29218         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
29219         __ieee_instruction_pointer to __unused.
29220         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
29221         __ieee_instruction_pointer.
29222         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
29223         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
29224         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29225         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29226         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
29227         Mark dxc-field as reserved.
29229 2015-08-25  Roland McGrath  <roland@hack.frob.com>
29231         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
29232         if the weak reference is not null.
29234 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29236         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
29238         [BZ #11214]
29239         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
29241 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29243         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
29244         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
29245         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
29246         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
29247         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
29248         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
29249         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
29250         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
29251         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
29252         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
29253         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
29254         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
29255         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
29256         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
29257         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
29258         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
29259         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29260         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
29262 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29264         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
29265         register other than r0 for tabort, it has special meaning.
29266         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
29267         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
29268         transaction before starting syscall.
29270 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29272         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
29274 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29276         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29278         * sysdeps/x86_64/rtld-memcmp.c: Removed.
29279         * sysdeps/x86_64/rtld-memset.S: Likewise.
29280         * sysdeps/x86_64/rtld-strchr.S: Likewise.
29281         * sysdeps/x86_64/rtld-strlen.S: Likewise.
29282         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29283         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29285         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29287 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
29289         * debug/strcpy_chk.c: Improve performance.
29290         * debug/stpcpy_chk.c: Likewise.
29291         * sysdeps/x86_64/strcpy_chk.S: Remove.
29292         * sysdeps/x86_64/stpcpy_chk.S: Remove.
29294         [BZ #18240]
29295         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29297 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29299         [BZ #15128]
29300         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29301         ifuncmain8.
29302         (modules-names): Add ifuncmod8.
29303         ($(objpfx)ifuncmain8): New rule.
29304         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29305         <cpuid.h>.
29306         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29307         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29308         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29309         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29310         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29311         * sysdeps/x86_64/dl-trampoline.h: Likewise.
29312         * sysdeps/x86_64/ifuncmain8.c: New file.
29313         * sysdeps/x86_64/ifuncmod8.c: Likewise.
29314         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29315         Removed.
29316         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29317         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29318         Change rtld_savespace_sse to __glibc_unused2.
29319         (RTLD_CHECK_FOREIGN_CALL): Removed.
29320         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29321         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29322         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29324 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29326         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29328 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29330         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29331         Unconditionally set __fpcr to avoid uninialized warning.
29332         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29334 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29336         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29337         is corrupt.
29339         * malloc/arena.c (arena_get2): Drop unused argument.
29340         (arena_lock): Adjust.
29341         (arena_get_retry): Likewise.
29343 2015-08-24  Andreas Schwab  <schwab@suse.de>
29345         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29346         Don't define.
29347         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29348         (__ASSUME_IPC64): Don't undef.
29349         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29350         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29351         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29352         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29353         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29354         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29355         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29356         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29357         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29358         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29359         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29360         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29361         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29362         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29363         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29364         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29365         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29366         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29367         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29368         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29369         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29371 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29373         * manual/Makefile (install): Only build manual when perl is available.
29375 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29377         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29378         '#undef memcpy' by '#undef memchr'.
29380 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29382         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29383         memchr not point to the internal __GI_memchr implementation.
29385 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29387         * timezone/Makefile (CFLAGS-zdump.c): Remove
29388         -Wno-strict-prototypes.
29389         (CFLAGS-zic.c): Likewise.
29390         (CFLAGS-ialloc.c): Likewise.
29391         (CFLAGS-scheck.c): Likewise.
29393         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29394         -Wno-error=undef.
29396 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29398         * i386/i686/multiarch/strcasestr-c.c: Removed.
29399         * x86_64/multiarch/strcasestr.c: Likewise.
29400         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29401         Remove strcasestr.
29403 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29405         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29407         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29408         variables for high and low parts before possibly modifying them.
29410 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29412         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29413         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29414         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29415         of "multiarch/init-arch.h".
29416         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29417         * sysdeps/x86/init-arch.h: This.
29419 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29421         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29422         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29424 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29426         [BZ #17787]
29427         * manual/macros.texi: Add twoexp macro.
29428         * manual/filesys.texi: Fix exponents.
29429         * manual/llio.texi: Likewise.
29430         * manual/stdio.texi: Likewise.
29432 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29434         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29435         incorrect use.
29437 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29439         [BZ #18370]
29440         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29441         whose real or imaginary part has small absolute value.
29442         * math/s_csqrtf.c (__csqrtf): Likewise.
29443         * math/s_csqrtl.c (__csqrtl): Likewise.
29444         * math/auto-libm-test-in: Add more tests of csqrt.
29445         * math/auto-libm-test-out: Regenerated.
29446         * sysdeps/i386/fpu/libm-test-ulps: Update.
29448 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29450         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29451         __ppc_set_ppr_very_low): New functions.
29452         * manual/platform.texi: Add documentation about
29453         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29455 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29457         * string/stpncpy.c (stpncpy): Improve performance using
29458         __strnlen/memcpy/memset.
29460 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29462         [BZ #18796]
29463         * scripts/test-installation.pl: Don't add -lmvec to build options if
29464         libmvec wasn't built.
29466 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29468         [BZ #14341]
29469         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29470         case when there is a gap between DT_REL and DT_JMPREL sections.
29471         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29472         (LDFLAGS-tst-split-dynreloc): New.
29473         (tst-split-dynreloc-ENV): Likewise.
29474         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29475         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29477 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29479         [BZ #18822]
29480         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29481         attribute_hidden.
29482         (__xstat64_conv): Likewise.
29483         (__xstat32_conv): Likewise.
29485 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29487         [BZ #18822]
29488         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29489         Don't load %ebx when calling __setcontext.  Call __setcontext
29490         with HIDDEN_JUMPTARGET.
29491         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29492         libc_hidden_def.
29494 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29496         * sysdeps/i386/i686/Makefile
29497         [$(subdir) == string] (sysdep_routines): Moved to ...
29498         * sysdeps/i386/Makefile: Here.
29499         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29500         * sysdeps/i386/cacheinfo.c: Here.
29501         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29502         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29503         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29504         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29506 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29508         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29509         __i586__ is defined.
29510         (HAS_I686): Defined to 1 if __i686__ is defined.
29512 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29514         * elf/Makefile [$(have-z-execstack) = yes]
29515         (CPPFLAGS-tst-execstack.c): New variable.
29517         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29518         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29519         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29520         UTMPX || _HAVE_UT_TV].
29521         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29522         UTMPX || _HAVE_UT_TV - 0].
29524 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29526         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29527         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29528         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29530 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29532         * sysdeps/powerpc/dl-procinfo.c:
29533         (_dl_powerpc_cap_flags): Added missing strings for some
29534         hwcap features.
29535         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29537 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29539         Port the 0x7efe...feff pattern to GCC 6.
29540         See Steve Ellcey's bug report in:
29541         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29542         * string/memrchr.c (MEMRCHR):
29543         * string/rawmemchr.c (RAWMEMCHR):
29544         * string/strchr.c (strchr):
29545         * string/strchrnul.c (STRCHRNUL):
29546         Rewrite code to avoid issues with signed shift overflow.
29548 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29550         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29551         whether cpuid is available only if HAS_CPUID is 0.
29552         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29553         (HAS_I586): Likewise.
29554         (HAS_I686): Likewise.
29556 2015-08-18  Zack Weinberg  <zackw@panix.com>
29558         * misc/Versions (libc): Add GLIBC_2.23.
29560 2015-08-18  Alan Modra  <amodra@gmail.com>
29562         [BZ #18421]
29563         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29564         .Lp__global.
29565         (_start): Load %dp via .Lp__global.
29566         [!SHARED]: Use .section .rodata.
29568 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29570         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29571         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29573 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29575         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29576         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29578 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29580         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29581         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29583 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29585         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29586         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29588 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29590         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29591         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29593 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29595         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29596         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29598 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29600         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29602 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29604         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29605         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29606         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29607         (__ASSUME_LWS_CAS): Delete.
29609 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29611         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29612         * sysdeps/hppa/configure: Regenerated.
29613         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29614         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29615         * sysdeps/hppa/nptl/tls.h: Likewise.
29617 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29619         [BZ #18823]
29620         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29621         for scaling up small arguments.
29622         * math/s_csqrtf.c (__csqrtf): Likewise.
29623         * math/s_csqrtl.c (__csqrtl): Likewise.
29624         * math/auto-libm-test-in: Add more tests of csqrt.
29625         * math/auto-libm-test-out: Regenerated.
29627 2015-08-17  Andreas Schwab  <schwab@suse.de>
29629         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29630         version set GLIBC_2.19.
29632 2015-08-16  Zack Weinberg  <zackw@panix.com>
29634         [BZ #18681]
29635         * misc/regexp.h: This interface is no longer supported.
29636         Remove all contents, leaving only an #error directive.
29637         * misc/regexp.c (loc1, loc2, locs, step, advance):
29638         Demote to compatibility symbols.
29640 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
29642         [BZ #18084]
29643         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29644         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29645         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29646         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29647         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29648         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29649         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29650         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29651         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29653 2015-08-15  Zack Weinberg  <zackw@panix.com>
29655         [BZ #18795]
29656         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29657         buffer length is known to be too large, not if it's known to be
29658         small enough.
29659         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29660         overflow at runtime, involving a length parameter, twice: once
29661         with a compile-time constant length parameter, once without.
29663 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
29665         [BZ #18824]
29666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29667         scaling x * y up instead of down.
29668         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29669         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29670         * math/auto-libm-test-in: Add more tests of fma.
29671         * math/auto-libm-test-out: Regenerated.
29673 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29675         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29677 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29679         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29680         unnecessary movq.
29681         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
29682         Likewise.
29684 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
29686         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29687         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
29688         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
29689         and tgamma.
29690         * math/auto-libm-test-out: Regenerated.
29691         * sysdeps/i386/fpu/libm-test-ulps: Update.
29692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29694         [BZ #16520]
29695         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
29696         (__tanh): Force underflow exception for arguments with small
29697         absolute value.
29698         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
29699         (__tanhf): Force underflow exception for arguments with small
29700         absolute value.
29701         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
29702         (__tanhl): Force underflow exception for arguments with small
29703         absolute value.
29704         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29705         (__tanhl): Force underflow exception for arguments with small
29706         absolute value.
29707         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
29708         (__tanhl): Force underflow exception for arguments with small
29709         absolute value.
29710         * math/auto-libm-test-in: Add more tests of tanh.
29711         * math/auto-libm-test-out: Regenerated.
29712         * sysdeps/i386/fpu/libm-test-ulps: Update.
29714 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29716         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
29717         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
29719 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29721         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
29722         <cpuid.h>.
29724 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29726         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
29727         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
29729 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29731         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
29732         Remove $(objpfx)init-arch.o.
29733         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
29734         init-arch.
29735         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
29736         (INIT_ARCH_EXT): Defined as empty.
29737         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
29738         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
29739         __init_cpu_features call.  Replace HAS_XXX with
29740         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29741         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
29742         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
29743         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
29744         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
29745         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29746         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
29747         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
29748         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29749         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
29750         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
29751         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29752         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
29753         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
29754         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29755         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
29756         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
29757         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29758         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29759         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
29760         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
29761         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29762         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
29763         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
29764         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29765         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
29766         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
29767         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29768         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
29769         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
29770         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29771         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
29772         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
29773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
29775         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
29777 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29779         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
29780         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29781         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29782         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29783         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
29784         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
29785         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
29786         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
29787         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
29788         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
29789         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
29790         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
29791         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29792         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29793         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29794         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29795         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29796         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29797         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29798         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29799         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29800         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29801         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29802         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29803         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29804         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29805         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29806         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29807         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29808         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29809         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29810         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29811         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29812         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29813         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29814         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29815         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29816         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29817         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29818         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29819         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29820         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29821         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29823 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29825         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
29826         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29827         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29828         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29829         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29830         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29831         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29832         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
29833         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29834         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29835         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29836         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
29837         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
29838         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
29839         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
29840         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
29841         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
29842         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
29843         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
29844         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
29845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
29846         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
29847         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
29848         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29849         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29850         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29851         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
29852         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
29853         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29854         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29855         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29856         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29857         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29858         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29859         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29860         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29861         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29862         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29863         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29864         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29865         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29866         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29867         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29869 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29871         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
29872         (dl_platform_init): Call init_cpu_features.
29873         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
29874         * sysdeps/i386/i686/cacheinfo.c
29875         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
29876         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
29877         * sysdeps/i386/i686/multiarch/Versions: Removed.
29878         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
29879         Removed.
29880         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
29881         * sysdeps/unix/sysv/linux/x86/Makefile
29882         (libpthread-sysdep_routines): Remove init-arch.
29883         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
29884         <sysdeps/x86_64/dl-procinfo.c> instead of
29885         sysdeps/generic/dl-procinfo.c>.
29886         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
29887         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
29888         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
29889         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
29890         [$(subdir) == elf] (tests-static): Add
29891         tst-get-cpu-features-static.
29892         * sysdeps/x86/Versions: New file.
29893         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
29894         * sysdeps/x86/cpu-features.c: Likewise.
29895         * sysdeps/x86/cpu-features.h: Likewise.
29896         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
29897         * sysdeps/x86/libc-start.c: Likewise.
29898         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
29899         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
29900         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
29901         * sysdeps/x86_64/dl-procinfo.c: Likewise.
29902         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
29903         Assume USE_MULTIARCH is defined and don't check it.
29904         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
29905         (is_amd): Likewise.
29906         (max_cpuid): Likewise.
29907         (intel_check_word): Likewise.
29908         (__cache_sysconf): Don't call __init_cpu_features.
29909         (__x86_preferred_memory_instruction): Removed.
29910         (init_cacheinfo): Don't call __init_cpu_features. Replace
29911         __cpu_features with GLRO(dl_x86_cpu_features).
29912         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
29913         (dl_platform_init): Call init_cpu_features.
29914         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
29915         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
29916         * sysdeps/x86_64/multiarch/Versions: Removed.
29917         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29918         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29919         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29920         Removed.
29921         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29923 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29925         [BZ #18820]
29926         * libio/Makefile (test-fmemopen-mem): New test.
29927         * libio/test-fmemopen.c (do_bz18820): New test.
29928         * libio/fmemopen.c (__fmemopen): Fix memory leak.
29929         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29931 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29933         [BZ #16734]
29934         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29935         (FREE_BUF): Delete.
29936         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29937         * libio/genops.c (_IO_setb): Use malloc and free directly.
29938         (_IO_default_doallocate, _IO_default_finish): Likewise.
29939         ( _IO_unbuffer_all): Likewise.
29940         ( libc_freeres_fn): Likewise.
29941         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29942         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29943         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29944         (_IO_wdefault_doallocate): Likewise.
29946 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29948         [BZ #18086]
29949         * sysdeps/posix/nice.c (nice): Restore old errno.
29950         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29952 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29954         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29956 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29958         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29959         __bcopy and add a weak_alias to bcopy.
29960         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29961         for static build.
29963         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29964         cleanup macro usage.
29965         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29966         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29968         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29969         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29970         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29971         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29972         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29973         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29974         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29976         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29977         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29978         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29979         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29981         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29982         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29983         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29985         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29986         libc_hidden_def.
29987         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29989         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29990         (sysdep_routines): Add strstr-ppc64.
29991         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29993 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29995         [BZ #18778]
29996         * elf/Makefile (tests): Add Add tst-nodelete2.
29997         (modules-names): Add tst-nodelete2mod.
29998         (tst-nodelete2mod.so-no-z-defs): New.
29999         ($(objpfx)tst-nodelete2): Likewise.
30000         ($(objpfx)tst-nodelete2.out): Likewise.
30001         (LDFLAGS-tst-nodelete2): Likewise.
30002         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
30003         out of loop through all loaded libraries.
30004         * elf/tst-nodelete2.c: New file.
30005         * elf/tst-nodelete2mod.c: Likewise.
30006         * elf/tst-znodelete-zlib.cc: Delete.
30008 2015-08-11  Andreas Schwab  <schwab@suse.de>
30010         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
30011         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
30012         (__openat64_nocancel): Likewise.
30014 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
30016         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
30017         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
30018         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
30019         * math/auto-libm-test-out: Regenerated.
30020         * sysdeps/i386/fpu/libm-test-ulps: Update.
30021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30023 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30025         [BZ #18790]
30026         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
30027         threshold for returning +/- 1.
30028         * math/auto-libm-test-in: Add more tests of tanh.
30029         * math/auto-libm-test-out: Regenerated.
30030         * sysdeps/i386/fpu/libm-test-ulps: Update.
30032 2015-08-10  Andreas Schwab  <schwab@suse.de>
30034         [BZ #18781]
30035         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
30036         MORE_OFLAGS to oflag.
30037         * io/test-lfs.c (do_test): Test openat64.
30039 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30041         [BZ #18789]
30042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30043         smaller threshold for returning the argument.
30044         * math/auto-libm-test-in: Add more tests of sinh.
30045         * math/auto-libm-test-out: Regenerated.
30046         * sysdeps/i386/fpu/libm-test-ulps: Update.
30048 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30050         [BZ #18674]
30051         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
30052         break.
30054 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
30056         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
30057         (generated): Don't add $(addprefix z.,$(tzfiles)).
30059 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30061         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
30062         * scripts/sysd-rules.awk: Likewise.
30064 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30066         * iconvdata/tst-tables.sh: Change echo -n to printf.
30067         * nss/db-Makefile: Likewise.
30068         * posix/tst-getconf.sh: Likewise.
30069         * stdio-common/tst-unbputc.sh: Likewise.
30071 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30073         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
30074         MADV_*_PAGES defines behind this feature check.
30076 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
30078         [BZ #18480]
30079         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
30080         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
30081         Define.
30082         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30083         LOAD_REGS_5, LOAD_REGS_6): Update.
30084         (INTERNAL_SYSCALL): Update using new LOAD defines.
30085         (INTERNAL_SYSCALL_NCS): Likewise.
30086         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
30088 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30090         [BZ #16734]
30091         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
30093 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30095         [BZ #17905]
30096         * catgets/Makefile (tst-catgets-mem): New test.
30097         * catgets/catgets.c (catopen): Don't use unbounded alloca.
30098         * catgets/open_catalog.c (__open_catalog): Likewise.
30099         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
30101 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
30103         [BZ #18787]
30104         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
30105         clobber registers.
30106         (atomic_compare_and_exchange_val_acq): Use register asms to assign
30107         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
30108         Cast return to __typeof (oldval).
30110 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
30112         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
30113         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
30114         and delete sys/syscall.h include.
30116 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
30118         [BZ #16517]
30119         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
30120         (tan): Force underflow exception for arguments with small absolute
30121         value.
30122         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
30123         (__kernel_tanf): Force underflow exception for arguments with
30124         small absolute value.
30125         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
30126         (__kernel_tanl): Force underflow exception for arguments with
30127         small absolute value.
30128         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
30129         (__kernel_tanl): Force underflow exception for arguments with
30130         small absolute value.
30131         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
30132         (__kernel_tanl): Force underflow exception for arguments with
30133         small absolute value.
30134         * math/auto-libm-test-in: Add more tests of tan.
30135         * math/auto-libm-test-out: Regenerated.
30137 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30139         Fix sysdeps/i386/fpu/s_scalbn.S build
30141         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
30143 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
30145         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30147 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30149         Fix gcrt0.o compilation
30151         When static-start-installed-name is different from
30152         start-installed-name, we must not use the shared objects.
30154         * csu/Makefile
30155         (extra-objs): Add gmon-start.o when building shared library and
30156         $(static-start-installed-name) is different from
30157         $(start-installed-name).
30158         $(objpfx)g$(static-start-installed-name): When building shared
30159         library and $(static-start-installed-name) is different from
30160         $(static-start-installed-name), revert to non-shared rule,
30161         i.e. using $(objpfx)% and gmon-start.o.
30163 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
30165         [BZ #16519]
30166         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
30167         (__ieee754_sinh): Force underflow exception for arguments with
30168         small absolute value.
30169         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
30170         (__ieee754_sinhf): Force underflow exception for arguments with
30171         small absolute value.
30172         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
30173         (__ieee754_sinhl): Force underflow exception for arguments with
30174         small absolute value.
30175         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30176         (__ieee754_sinhl): Force underflow exception for arguments with
30177         small absolute value.
30178         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30179         (__ieee754_sinhl): Force underflow exception for arguments with
30180         small absolute value.
30181         * math/auto-libm-test-in: Add more tests of sinh.
30182         * math/auto-libm-test-out: Regenerated.
30183         * sysdeps/i386/fpu/libm-test-ulps: Update.
30185 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30187         * libio/oldfileops.c: Include unistd.h.
30189 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
30191         * stdlib/isomac.c: Include ctype.h.
30193 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
30195         * dirent/tst-seekdir.c (main): Converted to ...
30196         (do_test): ... this.
30197         (TEST_FUNCTION): New macro.
30198         Include test-skeleton.c.
30199         * elf/tst-dlmodcount.c (main): Converted to ...
30200         (do_test): ... this.
30201         (TEST_FUNCTION): New macro.
30202         Include test-skeleton.c.
30203         * elf/tst-order-main.c (main): Converted to ...
30204         (do_test): ... this.
30205         (TEST_FUNCTION): New macro.
30206         Include test-skeleton.c.
30207         * elf/tst-pie2.c (main): Converted to ...
30208         (do_test): ... this.
30209         (TEST_FUNCTION): New macro.
30210         Include test-skeleton.c.
30211         * inet/tst-ether_aton.c (main): Converted to ...
30212         (do_test): ... this.
30213         (TEST_FUNCTION): New macro.
30214         Include test-skeleton.c.
30215         * misc/tst-mntent.c (main): Converted to ...
30216         (do_test): ... this.
30217         (TEST_FUNCTION): New macro.
30218         Include test-skeleton.c.
30219         * misc/tst-tsearch.c (main): Converted to ...
30220         (do_test): ... this.
30221         (TEST_FUNCTION): New macro.
30222         Include test-skeleton.c.
30223         * posix/tst-regexloc.c (main): Converted to ...
30224         (do_test): ... this.
30225         (TEST_FUNCTION): New macro.
30226         Include test-skeleton.c.
30227         * resolv/tst-aton.c (main): Converted to ...
30228         (do_test): ... this.
30229         (TEST_FUNCTION): New macro.
30230         Include test-skeleton.c.
30231         * stdio-common/test-fwrite.c (main): Converted to ...
30232         (do_test): ... this.
30233         (TEST_FUNCTION): New macro.
30234         Include test-skeleton.c.
30235         * stdio-common/tst-ferror.c (main): Converted to ...
30236         (do_test): ... this.
30237         (TEST_FUNCTION): New macro.
30238         Include test-skeleton.c.
30239         * stdio-common/tst-printf.c (main): Converted to ...
30240         (do_test): ... this.
30241         (TEST_FUNCTION): New macro.
30242         Include test-skeleton.c.
30243         * stdio-common/tst-printfsz.c (main): Converted to ...
30244         (do_test): ... this.
30245         (TEST_FUNCTION): New macro.
30246         Include test-skeleton.c.
30247         * stdlib/tst-strtod.c (main): Converted to ...
30248         (do_test): ... this.
30249         (TEST_FUNCTION): New macro.
30250         Include test-skeleton.c.
30251         * string/tst-strlen.c (main): Converted to ...
30252         (do_test): ... this.
30253         (TEST_FUNCTION): New macro.
30254         Include test-skeleton.c.
30255         * string/tst-svc.c (main): Converted to ...
30256         (do_test): ... this.
30257         (TEST_FUNCTION): New macro.
30258         Include test-skeleton.c.
30259         * time/tst-strptime.c (main): Converted to ...
30260         (do_test): ... this.
30261         (TEST_FUNCTION): New macro.
30262         Include test-skeleton.c.
30263         * timezone/tst-timezone.c (main): Converted to ...
30264         (do_test): ... this.
30265         (TEST_FUNCTION): New macro.
30266         Include test-skeleton.c.
30268 2015-08-05  Zack Weinberg  <zackw@panix.com>
30270         * misc/regexp.h: Update comments.
30272 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
30274         [BZ #18635]
30275         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30276         before return label.
30278 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30280         [BZ #18661]
30281         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30282         when calling __errno_location.
30283         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30284         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30286 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30288         [BZ #18661]
30289         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30290         (__lll_timedwait_tid): Align stack to 16 bytes when calling
30291         __gettimeofday.
30293 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30295         [BZ #18661]
30296         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30297         (__start_context): Don't use pop to restore %rdi so that stack
30298         is aligned to 16 bytes when calling __setcontext.
30300 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30302         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30303         only for libc.
30304         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30306 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30308         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30309         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
30310         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30312 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30314         * string/memccpy.c (memccpy):
30315         Improve performance by using memchr/memcpy/__mempcpy.
30317 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30319         * string/strncpy.c (strncpy):
30320         Improve performance by using __strnlen/memcpy.
30322 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30324         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30325         Optimize to avoid an unnecessary FPCR read.
30327 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30329         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30330         Optimize to reduce FPCR/FPSR accesses.
30332 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30334         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30335         dead->data[category] != NULL.
30337 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30339         [BZ #18647]
30340         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30341         and |x| close to 1, use absolute value of x when computing log.
30342         * math/auto-libm-test-in: Add more tests of pow.
30343         * math/auto-libm-test-out: Regenerated.
30345 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30347         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30348         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30349         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30351 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30353         [BZ #18525]
30354         * locales/km_KH: Remove timezone definition.
30355         * locales/lo_LA: Likewise.
30356         * locales/my_MM: Likewise.
30357         * locales/nan_TW@latin: Likewise.
30358         * locales/th_TH: Likewise.
30359         * locales/uk_UA: Likewise.
30361 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30363         [BZ #18265]
30364         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30365         (wcsncat): Likewise.
30366         (wcscmp): Likewise.
30367         (wcsncmp): Likewise.
30369 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30371         * test-skeleton.c (usage): New function.
30372         (main): Call usage when opt is '?'.
30374 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30376         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30377         before first use.
30379 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30381         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30382         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30383         in there too.
30385 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30387         * version.h (RELEASE): Set to "development".
30388         (VERSION): Set to "2.22.90"
30390         * version.h (RELEASE): Set to "stable".
30391         (VERSION): Set to "2.22"
30392         * include/features.h (__GLIBC_MINOR__): Set to 22.
30394 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30396         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30397         Restructure macro to avoid "value computed is not used" warning.
30398         (atomic_compare_and_exchange_val_acq): Likewise.
30400 2015-08-04  Andreas Schwab  <schwab@suse.de>
30402         [BZ #18635]
30403         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30404         ret.
30405         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30407 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30409         * po/pl.po: Updated translation.
30410         * po/uk.po: Likewise.
30411         * po/fi.po: Likewise.
30412         * po/ko.po: Likewise.
30413         * po/ru.po: Likewise.
30414         * po/vi.po: Likewise.
30416 2015-07-31  Zack Weinberg  <zackw@panix.com>
30418         [BZ #18681]
30419         * regexp.h: Add unconditional #warning stating that this header
30420         will be removed soon.  Revise banner comment to match.
30421         (compile): Consistently use ERROR instead of RETURN to report
30422         errors (partial fix for BZ #18681).
30423         * regexp.c: Don't include regexp.h. Remove some unnecessary
30424         declarations.
30426 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30428         * po/libc.pot: Regenerated.
30430 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30432         [BZ #18740]
30433         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30434         float-vlen4-arch-ext-cflags): Removed.
30435         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30436         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30438 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30440         [BZ #14113]
30441         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30442         aligned to __aligned__.
30443         (pthread_cond_t, pthread_rwlock_t): Likewise.
30445 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30447         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30449 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30451         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30452         (struct sigaction): Change sa_flags from a long to an int, and add
30453         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30455 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30457         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30458         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30459         sysdeps/generic/sysdep.h include.
30460         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30461         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30462         sysdeps/hppa/sysdep.h.
30463         (ENTRY, PSEUDO): Undefine before defining.
30465 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30467         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30468         from scratch to use INTERNAL_SYSCALL.
30470 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30472         [BZ #18078]
30473         * scripts/check-localplt.awk: Support alternate relocations.
30474         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30475         sections.
30476         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30477         malloc entries with + REL R_386_GLOB_DAT.
30478         * sysdeps/x86_64/localplt.data: New file.
30480 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30482         [BZ #18731]
30483         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30484         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30485         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30487 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30489         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30491 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30493         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30494         directly in terms of __sync_fetch_and_add and delete (int) cast.
30496 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30498         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30499         the -D_ASM_IA64_CURRENT_H flag.
30501 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30503         [BZ #18641]
30504         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30506 2015-07-27  Andreas Schwab  <schwab@suse.de>
30508         * conform/conformtest.pl (checknamespace): Filter out string
30509         literals while tokenizing.
30511 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30513         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30514         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30515         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30517 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30519         * nptl/tst-join7mod.c: Add #include <string.h>.
30521 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30523         * sysdeps/nios2/libm-test-ulps: Update.
30525 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30527         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30528         Fix order of arguments to the rt_sigprocmask syscall.
30529         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30530         Likewise.
30532 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30534         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30536 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30538         [BZ #18457]
30539         * nptl/Makefile (tests): New test case tst-join7.
30540         (modules-names): New test case module tst-join7mod.
30541         * nptl/tst-join7.c: New file.
30542         * nptl/tst-join7mod.c: New file.
30543         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30544         all translation units in libc.so, libpthread.so and rtld.
30546 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30550 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30552         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30553         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30554         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30555         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30556         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30558         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30560         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30561         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30562         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30563         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30564         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30565         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30567         implementation.
30569 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30571         [BZ #17711]
30572         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30573         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30574         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30575         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30576         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30577         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30579 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30581         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30582         instead of just saying load lock in the comments.
30584 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30586         * sysdeps/unix/Subdirs: Moved ...
30587         * sysdeps/posix/Subdirs: ... here.
30588         * login/pty.h (struct termios, struct winsize): Add forward decls.
30589         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30590         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30591         * sysdeps/arm/nacl/libc.abilist: Updated.
30592         * sysdeps/nacl/libutil.abilist: New file.
30594         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30595         (SIGWINCH): New macro.
30597         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30598         * sysdeps/arm/nacl/libc.abilist: Add it.
30600 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30602         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30604 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30606         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30607         Swap __glibc_reserved0 and sa_flags order.
30609 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30611         [BZ #18657]
30612         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30613         are pending TLS destructor calls.
30614         * include/link.h (struct link_map): Add concurrency note for
30615         L_TLS_DTOR_COUNT.
30616         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30617         Don't touch the link map flag.  Atomically increment
30618         l_tls_dtor_count.
30619         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30620         Avoid taking the load lock and don't touch the link map flag.
30621         * stdlib/tst-tls-atexit-nodelete.c: New test case.
30622         * stdlib/Makefile (tests): Use it.
30623         * stdlib/tst-tls-atexit.c (do_test): dlopen
30624         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
30625         to allow tst-tls-atexit-nodelete test case to use it.
30627 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30629         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30630         to bits/types.h.
30631         (msgqnum_t): New typedef.
30632         (msglen_t): Likewise.
30633         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
30634         and msg_qbytes type to msglen_t.
30636 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30638         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30639         pad0 to __glibc_reserved0.
30640         (struct stat64): Likewise.
30642 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30644         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30645         Change sa_flags from a long to an int and add __glibc_reserved0 before
30646         it for padding.
30648 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30650         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30651         anonymous by deleting "siginfo" name.
30653 2015-07-21  Roland McGrath  <roland@hack.frob.com>
30655         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30656         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30657         rather than __nacl_irt_filename.
30658         * sysdeps/nacl/xstat.c (__xstat): Likewise.
30660         * NEWS: New item for arm-nacl port.
30661         * sysdeps/arm/nacl/libc.abilist: New file.
30662         * sysdeps/nacl/ld.abilist: New file.
30663         * sysdeps/nacl/libBrokenLocale.abilist: New file.
30664         * sysdeps/nacl/libanl.abilist: New file.
30665         * sysdeps/nacl/libcrypt.abilist: New file.
30666         * sysdeps/nacl/libdl.abilist: New file.
30667         * sysdeps/nacl/libm.abilist: New file.
30668         * sysdeps/nacl/libpthread.abilist: New file.
30669         * sysdeps/nacl/libresolv.abilist: New file.
30670         * sysdeps/nacl/librt.abilist: New file.
30672 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
30674         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30675         __startcontext to initialize the new context.
30676         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30677         up CFI directive to forbid further backtracing.
30679 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
30681         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
30682         reference.
30683         * charmaps/ANSI_X3.4-1968: Likewise.
30684         * charmaps/BS_4730: Likewise.
30685         * charmaps/BS_VIEWDATA: Likewise.
30686         * charmaps/CP1250: Likewise.
30687         * charmaps/CP1251: Likewise.
30688         * charmaps/CP1252: Likewise.
30689         * charmaps/CP1253: Likewise.
30690         * charmaps/CP1254: Likewise.
30691         * charmaps/CP1255: Likewise.
30692         * charmaps/CP1256: Likewise.
30693         * charmaps/CSN_369103: Likewise.
30694         * charmaps/EBCDIC-DK-NO: Likewise.
30695         * charmaps/GB_1988-80: Likewise.
30696         * charmaps/GREEK-CCITT: Likewise.
30697         * charmaps/GREEK7: Likewise.
30698         * charmaps/INIS-8: Likewise.
30699         * charmaps/ISIRI-3342: Likewise.
30700         * charmaps/ISO_2033-1983: Likewise.
30701         * charmaps/ISO_5427-EXT: Likewise.
30702         * locales/POSIX: Likewise.
30703         * locales/ar_SA: Likewise.
30704         * locales/be_BY: Likewise.
30705         * locales/be_BY@latin: Likewise.
30706         * locales/ca_ES: Likewise.
30707         * locales/cs_CZ: Likewise.
30708         * locales/da_DK: Likewise.
30709         * locales/de_BE: Likewise.
30710         * locales/de_CH: Likewise.
30711         * locales/de_LU: Likewise.
30712         * locales/en_AU: Likewise.
30713         * locales/en_BW: Likewise.
30714         * locales/en_CA: Likewise.
30715         * locales/en_DK: Likewise.
30716         * locales/en_GB: Likewise.
30717         * locales/en_IE: Likewise.
30718         * locales/en_NZ: Likewise.
30719         * locales/en_ZA: Likewise.
30720         * locales/en_ZW: Likewise.
30721         * locales/es_AR: Likewise.
30722         * locales/es_BO: Likewise.
30723         * locales/es_CL: Likewise.
30724         * locales/es_CO: Likewise.
30725         * locales/es_DO: Likewise.
30726         * locales/es_EC: Likewise.
30727         * locales/es_ES: Likewise.
30728         * locales/es_HN: Likewise.
30729         * locales/es_MX: Likewise.
30730         * locales/es_PA: Likewise.
30731         * locales/es_PE: Likewise.
30732         * locales/es_PY: Likewise.
30733         * locales/es_SV: Likewise.
30734         * locales/es_US: Likewise.
30735         * locales/es_UY: Likewise.
30736         * locales/es_VE: Likewise.
30737         * locales/et_EE: Likewise.
30738         * locales/fa_IR: Likewise.
30739         * locales/fo_FO: Likewise.
30740         * locales/fr_CA: Likewise.
30741         * locales/fr_CH: Likewise.
30742         * locales/gv_GB: Likewise.
30743         * locales/he_IL: Likewise.
30744         * locales/hr_HR: Likewise.
30745         * locales/id_ID: Likewise.
30746         * locales/is_IS: Likewise.
30747         * locales/it_CH: Likewise.
30748         * locales/iw_IL: Likewise.
30749         * locales/kl_GL: Likewise.
30750         * locales/ko_KR: Likewise.
30751         * locales/kw_GB: Likewise.
30752         * locales/lg_UG: Likewise.
30753         * locales/lt_LT: Likewise.
30754         * locales/lv_LV: Likewise.
30755         * locales/mi_NZ: Likewise.
30756         * locales/nhn_MX: Likewise.
30757         * locales/nl_BE: Likewise.
30758         * locales/pl_PL: Likewise.
30759         * locales/sk_SK: Likewise.
30760         * locales/sl_SI: Likewise.
30761         * locales/sv_FI: Likewise.
30762         * locales/tl_PH: Likewise.
30763         * locales/tr_TR: Likewise.
30764         * locales/vi_VN: Likewise.
30766 2015-07-21  Khem Raj  <raj.khem@gmail.com>
30768         [BZ #17475]
30769         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
30770         of tu_IN and bh_IN.
30772 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
30774         [BZ #18694]
30775         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
30776         bits/wordsize.h.
30777         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
30779 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30781         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
30782         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
30783         (spawn_thread): New function.
30784         (load): Rename to reg_dtor_and_close.  Move dlopen to...
30785         (do_test): ... here.  Use IS_LOADED to test for its
30786         availability.
30788 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
30790         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30792 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
30794         [BZ #18696]
30795         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
30796         si_addr_bnd.
30797         (si_lower): New.
30798         (si_upper): Likewise.
30800 2015-07-16  David S. Miller  <davem@davemloft.net>
30802         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
30804 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30806         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
30807         buffer.
30808         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
30809         fail output information.
30811 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
30814         and strstr-ppc64..
30815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30816         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30817         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
30818         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
30819         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
30821 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30823         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30824         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30825         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30826         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30828 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30830         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30831         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
30832         rtld_hidden_proto.
30833         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
30835 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30837         * tst-nodelete-opened.c (do_test): Add comment to clarify how
30838         the test can fail.
30840         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
30842         [BZ #18676]
30843         * elf/tst-nodelete-opened.c: New test case.
30844         * elf/tst-nodelete-opened-lib.c: New test case module.
30845         * elf/Makefile (tests, modules-names): Use them.
30846         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
30847         early.
30849 2015-07-15  David S. Miller  <davem@davemloft.net>
30851         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
30852         futex-intenal.h
30853         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
30854         * sysdeps/sparc/sparc64/Makefile: Likewise.
30855         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30856         Remove space from macro define.
30857         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
30859 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
30861         [BZ #17475]
30862         * locale/iso-639.def: Update Bhili and Tulu language codes as
30863         per iso639-3.
30865 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
30867         * elf/tst-leaks1.c (main): Converted to ...
30868         (do_test): ... this.
30869         (TEST_FUNCTION): New macro.
30870         Include test-skeleton.c.
30871         * localedata/tst-langinfo.c (main): Converted to ...
30872         (do_test): ... this.
30873         (TEST_FUNCTION): New macro.
30874         Include test-skeleton.c.
30875         * math/test-fpucw.c (main): Converted to ...
30876         (do_test): ... this.
30877         (TEST_FUNCTION): New macro.
30878         Include test-skeleton.c.
30879         * math/test-tgmath.c (main): Converted to ...
30880         (do_test): ... this.
30881         (TEST_FUNCTION): New macro.
30882         Include test-skeleton.c.
30883         * math/test-tgmath2.c (main): Converted to ...
30884         (do_test): ... this.
30885         (TEST_FUNCTION): New macro.
30886         Include test-skeleton.c.
30887         * setjmp/tst-setjmp.c (main): Converted to ...
30888         (do_test): ... this.
30889         (TEST_FUNCTION): New macro.
30890         Include test-skeleton.c.
30891         * stdio-common/tst-sscanf.c (main): Converted to ...
30892         (do_test): ... this.
30893         (TEST_FUNCTION): New macro.
30894         Include test-skeleton.c.
30895         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
30896         (do_test): ... this.
30897         (TEST_FUNCTION): New macro.
30898         Include test-skeleton.c.
30900         * elf/tst-audit9.c (main): Converted to ...
30901         (do_test): ... this.
30902         (TEST_FUNCTION): New macro.
30903         Include test-skeleton.c.
30905 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
30907         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
30909 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30911         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
30912         New variable.
30914 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30916         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30918 2015-07-14  Roland McGrath  <roland@hack.frob.com>
30920         * sysdeps/generic/dl-fileid.h: New file.
30921         * sysdeps/posix/dl-fileid.h: New file.
30922         * sysdeps/nacl/dl-fileid.h: New file.
30923         * include/link.h: Include <dl-fileid.h>.
30924         (struct link_map): Replace l_dev and l_ino with l_file_id.
30925         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30926         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
30927         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
30929 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30931         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30933 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30935         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30936         Add iff $CXX is set.
30937         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30938         Likewise.
30939         (tst-nodelete-zmodiff): Likewise.
30940         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30942 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30944         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30946 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30948         * sysdeps/aarch64/fpu/math_private.h
30949         (define math_opt_barrier): Add AArch64 version.
30950         (math_force_eval): Likewise.
30952 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30954         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30956 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30958         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30959         %ld with %jd and cast to intmax_t.
30960         (do_test_length_zero): Likewise.
30962 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30964         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30966 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30968         * sysdeps/tile/libm-test-ulps: Regenerated.
30970         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30971         Comment out the whole function, not just its body.
30973 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30975         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30976         locks.
30978         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30980 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30982         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30983         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30985 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30987         * sysdeps/nptl/futex-internal.h: New file.
30988         * sysdeps/nacl/futex-internal.h: New file.
30989         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30990         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30991         error checking.
30992         (setxid_unmark_thread): Likewise.
30993         (__nptl_setxid): Likewise.
30994         (__wait_lookup_done): Likewise.
30995         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30996         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30997         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30998         * nptl/pthread_once.c (clear_once_control): Likewise.
30999         (__pthread_once_slow): Likewise.
31000         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
31001         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
31002         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
31003         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
31004         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
31005         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
31006         Likewise.
31007         (__pthread_rwlock_rdlock): Likewise.
31008         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31009         Likewise.
31010         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31011         Likewise.
31012         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31013         Likewise.
31014         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31015         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
31016         Likewise.
31017         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
31018         __ASSUME_PRIVATE_FUTEX check.
31019         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
31020         Check that shared futexes are supported.
31021         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
31022         wrappers with error checking.
31023         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
31024         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
31025         * nptl/pthread_barrierattr_setpshared.c
31026         (pthread_barrierattr_setpshared): Check that shared futexes are
31027         supported.
31028         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
31029         Likewise.
31030         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
31031         Likewise.
31032         * nptl/sem_init.c (futex_private_if_supported): Remove.
31033         (__new_sem_init): Adapt and check that shared futexes are supported.
31034         * nptl/sem_open.c (sem_open): Likewise.
31035         * nptl/sem_post.c (futex_wake): Remove.
31036         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
31037         (do_futex_wait): Use futex wrappers with error checking.
31038         * nptl/sem_wait.c: Include lowlevellock.h.
31039         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
31040         Use futex_supports_pshared.
31041         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
31042         Use futex wrappers with error checking.
31043         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
31044         Likewise.
31045         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
31046         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
31047         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
31048         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
31049         (futex_wake): Likewise.
31050         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
31051         (do_futex_wait): Use futex wrappers with error checking.
31052         (__new_sem_wait_slow): Update EINTR handling.
31053         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
31055 2015-07-09  Martin Sebor  <msebor@redhat.com>
31057         [BZ #18435]
31058         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31059         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
31060         * nptl/Makefile (test-xfail-tst-once5): Define.
31062 2015-07-09  Roland McGrath  <roland@hack.frob.com>
31064         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
31065         * elf/dl-minimal.c: For readability, reorder some definitions and
31066         introduce more page breaks.  Include <stdio.h>.
31067         (__libc_fatal): New function.
31069         * include/unistd.h: Add rtld_hidden_proto for _exit.
31070         * posix/_exit.c: Add rtld_hidden_def.
31071         * sysdeps/mach/hurd/_exit.c: Likewise.
31072         * sysdeps/nacl/_exit.c: Likewise.
31073         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
31074         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
31076 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
31078         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
31079         bndmov encoding with zero displacement.
31081 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31082             H.J. Lu  <hongjiu.lu@intel.com>
31084         [BZ #18134]
31085         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
31086         * sysdeps/i386/configure: Regenerated.
31087         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31088         (_dl_runtime_profile): Save and restore Intel MPX return bound
31089         registers when calling _dl_call_pltexit.  Add
31090         PRESERVE_BND_REGS_PREFIX before return.
31091         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
31092         (LRV_BND1_OFFSET): Likewise.
31093         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
31094         lrv_bnd1.
31095         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
31096         typo in bndmov encoding.
31097         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
31098         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
31099         branch instructions to preserve bounds.
31101 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
31104         [GLIBC_2.22]: Add fmemopen.
31106 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31108         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
31109         returns an error, also try to use host port from __mach_host_self for
31110         the __vm_wire call.
31111         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
31113 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31115         [BZ #18400]
31116         [BZ #18648]
31117         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
31118         Fix pr_uid and pr_gid members.
31119         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
31120         definition to elf_greg_t.
31122 2015-07-08  Roland McGrath  <roland@hack.frob.com>
31124         [BZ #18383]
31125         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
31126         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
31127         * sysdeps/arm/configure: Regenerated.
31128         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
31129         (test-xfail-tst-tlsalign-static): Variable removed.
31131         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
31132         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
31133         rather than explicit 'ln -s'.
31135         * resolv/rpc/netdb.h: New file.
31136         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
31138 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31140         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
31141         length buffers.
31142         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31143         test-skeleton.c.
31145         [BZ #6544]
31146         [BZ #11216]
31147         [BZ #12836]
31148         [BZ #13151]
31149         [BZ #13152]
31150         [BZ #14292]
31151         * include/stdio.h (fmemopen): Remove hidden prototype.
31152         (__fmemopen): Add new hidden prototype.
31153         * libio/Makefile: Add oldfmemopen object.
31154         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
31155         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
31156         compliance.
31157         * libio/oldfmemopen.c: New file: old fmemopen implementation for
31158         symbol compatibility.
31159         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
31160         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
31161         fmemopen.
31162         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
31163         on append and read mode.
31164         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
31165         fmemopen.
31166         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
31167         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31168         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
31169         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
31170         Likewise.
31171         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
31172         [GLIBC_2.22]: Likewise.
31173         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
31174         Likewise.
31175         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31176         Likewise.
31177         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31178         [GLIBC_2.22]: Likewise.
31179         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31180         [GLIBC_2.22]: Likewise.
31181         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31182         [GLIBC_2.22]: Likewise.
31183         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31184         [GLIBC_2.22]: Likewise.
31185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31186         [GLIBC_2.22]: Likewise.
31187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31188         [GLIBC_2.22]: Likewise.
31189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31190         [GLIBC_2.22]: Likewise.
31191         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31192         Likewise.
31193         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31194         Likewise.
31195         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31196         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
31197         [GLIBC_2.22]: Likewise.
31198         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
31199         [GLIBC_2.22]: Likewise.
31200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
31201         [GLIBC_2.22]: Likewise.
31202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
31203         [GLIBC_2.22]: Likewise.
31204         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
31205         Likewise.
31206         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
31207         Likewise.
31208         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
31209         Likewise.
31210         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
31211         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
31213 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31215         [BZ #18643]
31216         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
31217         IPV6_PATHMTU, and IPV6_DONTFRAG.
31219 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
31221         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
31222         and _IO_UNBUFFERED.
31223         * libio/oldfileops.c: Likewise.
31224         * libio/wfileops.c: Likewise.
31226 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31228         * nscd/selinux.c: Delete selinux/flask.h include.
31230 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31232         [BZ #18641]
31233         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
31234         (putpwent): Likewise.
31235         (getpwnam): Likewise.
31236         (getpwent_r): Likewise.
31237         (getpwuid_r): Likewise.
31238         (getpwnam_r): Likewise.
31239         (fgetpwent_r): Likewise.
31241 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31243         [BZ #18557]
31244         * inet/rcmd.c (__validuser2_sa): Check user first to
31245         short-circuit host check.
31247 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
31248             Mikhail Ilin  <m.ilin@samsung.com>
31250         [BZ #17833]
31251         * elf/Makefile (tests): Add tst-nodelete.
31252         (modules-names): Add tst-nodelete-uniquemod.
31253         (tst-nodelete-uniquemod.so-no-z-defs): New.
31254         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
31255         (tst-nodelete-zmod.so-no-z-defs): Likewise.
31256         ($(objpfx)tst-nodelete): Likewise.
31257         ($(objpfx)tst-nodelete.out): Likewise.
31258         (LDFLAGS-tst-nodelete): Likewise.
31259         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31260         * elf/dl-close.c (_dl_close_worker): Add a parameter to
31261         implement forced object deletion.
31262         (_dl_close): Pass false to _dl_close_worker.
31263         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
31264         * elf/tst-nodelete.cc: New file.
31265         * elf/tst-nodeletelib.cc: Likewise.
31266         * elf/tst-znodeletelib.cc: Likewise.
31267         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
31269 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31271         [BZ #18508]
31272         * stdlib/Makefile ($(objpfx)tst-makecontext3):
31273         Depend on $(libdl).
31274         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
31275         is not called infinitely times.
31276         (backtrace_helper): New function.
31277         (trace_arg): New struct.
31278         (st1): Enlarge stack size.
31279         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31280         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31281         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31282         Likewise.
31284 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31286         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31288 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31290         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31291         Include sys/types.h instead of bits/types.h.
31292         Remove inclusion of bits/wordsize.h.
31294 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31296         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31297         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31298         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31299         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31300         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31301         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31303 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31305         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31306         link-defines.sym.
31307         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31308         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31309         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31310         and LR_SIZE.
31311         * sysdeps/i386/link-defines.sym: New file.
31313 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31315         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31316         (modules-names): Add tst-auditmod3a tst-auditmod3b.
31317         ($(objpfx)tst-audit3): New rule.
31318         ($(objpfx)tst-audit3.out): Likewise.
31319         * sysdeps/i386/tst-audit3.c: New file.
31320         * sysdeps/i386/tst-audit3.h: Likewise.
31321         * sysdeps/i386/tst-auditmod3a.c: Likewise.
31322         * sysdeps/i386/tst-auditmod3b.c: Likewise.
31324 2015-07-07  Torvald Riegel  <triegel@redhat.com>
31326         [BZ #18633]
31327         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31328         pointer in C code.
31329         (__strcat_c): Likewise.
31330         (__strcat_g): Likewise.
31332 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31334         [BZ #18592]
31335         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31337 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31339         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31340         New function.  (__ieee754_sqrtf): New function.
31341         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31342         New function.
31343         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31344         New function.
31346 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31348         * sysdeps/ieee754/support.c: Remove unused file.
31350 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31352         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31353         registers instead of d ones so the layout is kernel abi compatible.
31354         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31355         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31356         Likewise.
31358 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31360         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31362 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31364         [BZ #18619]
31365         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31366         and return argument in case of subnormal argument.
31368 2015-07-01  Martin Sebor  <msebor@redhat.com>
31370         [BZ #18435]
31371         * nptl/Makefile: Add tst-once5.cc.
31372         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31373         Remove macro redefinitions.
31374         * nptl/tst-once5.cc: New test.
31376 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31378         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31380         * sysdeps/arm/libm-test-ulps: Regenerated.
31382         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31383         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31385 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31387         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31388         lll_lock_wait_private and lll_futex_wake probes.
31390         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31392         Likewise.
31393         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31394         atomic_spin_nop.
31395         * sysdeps/x86_64/bits/atomic.h: Likewise.
31396         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31397         to atomic_spin_nop and move ...
31398         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31399         ... here and ...
31400         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31401         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31402         atomic_spin_nop instead of BUSY_WAIT_NOP.
31403         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31404         Likewise.
31405         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31406         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31407         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31408         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31409         instead of atomic_delay.
31411 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31413         [BZ #18613]
31414         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31415         X_ADJ not X when adjusting exponent.
31416         (__ieee754_gamma_r): Do intermediate computations in
31417         round-to-nearest then adjust overflowing and underflowing results
31418         as needed.
31419         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31420         of X_ADJ not X when adjusting exponent.
31421         (__ieee754_gammaf_r): Do intermediate computations in
31422         round-to-nearest then adjust overflowing and underflowing results
31423         as needed.
31424         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31425         log 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         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31430         log of X_ADJ not X when adjusting exponent.
31431         (__ieee754_gammal_r): Do intermediate computations in
31432         round-to-nearest then adjust overflowing and underflowing results
31433         as needed.  Use 1.0L not 1.0f as numerator of division.
31434         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31435         of X_ADJ not X when adjusting exponent.
31436         (__ieee754_gammal_r): Do intermediate computations in
31437         round-to-nearest then adjust overflowing and underflowing results
31438         as needed.  Use 1.0L not 1.0f as numerator of division.
31439         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31440         to auto-libm-test-in.
31441         (tgamma_test): Use ALL_RM_TEST.
31442         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31443         tests of tgamma with spurious-overflow.
31444         * math/auto-libm-test-out: Regenerated.
31445         * math/gen-libm-have-vector-test.sh: Do not check for START.
31446         * sysdeps/i386/fpu/libm-test-ulps: Update.
31447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31449         [BZ #18612]
31450         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31451         arguments, just return 0.5 times the argument, with underflow
31452         forced as needed.
31453         * math/auto-libm-test-in: Add more tests of j1.
31454         * math/auto-libm-test-out: Regenerated.
31456         [BZ #16559]
31457         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31458         (__ieee754_j1): Force underflow exception for small results.
31459         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31460         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31461         (__ieee754_j1f): Force underflow exception for small results.
31462         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31463         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31464         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31465         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31466         (__ieee754_j1l): Force underflow exception for small results.
31467         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31468         * math/auto-libm-test-in: Add more tests of j1 and jn.
31469         * math/auto-libm-test-out: Regenerated.
31471         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31472         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31473         (PF_MPLS): Likewise.
31474         (AF_IB): Likewise.
31475         (AF_MPLS): Likewise.
31476         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31477         value and macro.
31478         (MS_RMT_MASK): Include MS_LAZYTIME.
31480 2015-06-26  Mel Gorman  <mgorman@suse.de>
31482         [BZ #18502]
31483         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31484         already minimal.
31486 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31488         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31489         (DT_MIPS_NUM): Update.
31490         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31491         DT_MIPS_RLD_MAP_REL.
31493 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31495         [BZ #16559]
31496         [BZ #18602]
31497         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31498         round-to-nearest internally then recompute results that
31499         underflowed to zero in the original rounding mode.
31500         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31501         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31502         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31503         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31504         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31505         * sysdeps/i386/fpu/libm-test-ulps: Update.
31506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31508 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31510         * NEWS: Fixed description of link with vector math library.
31512 2015-06-25  Andreas Schwab  <schwab@suse.de>
31514         [BZ #18549]
31515         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31516         * libio/test-fmemopen.c (do_test): Add test for it.
31518 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31520         [BZ #17841]
31521         * Makeconfig (no-pie-ldflag): New.
31522         (+link): Set to $(+link-pie) if default to PIE.
31523         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31524         * config.make.in (build-pie-default): New.
31525         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31526         is default.  AC_SUBST.
31527         * configure: Regenerated.
31528         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31530 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31532         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31533         to 'unsigned int'.
31535         * resolv/gai_misc.h (struct waitlist): Change type of field
31536         counterp to 'volatile unsigned int *'.
31537         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31538         FUTEXADDR and OLDVAL.
31539         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31540         Give local variable TOTAL type 'volatile unsigned int'.
31541         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31542         * resolv/gai_suspend.c (gai_suspend):
31543         Give local variable CNTR type 'unsigned int'.
31545         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31546         counterp to 'volatile unsigned int *'.
31547         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31548         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31549         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31550         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31551         Give local variable TOTAL type 'volatile unsigned int'.
31552         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31554 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31556         [BZ #18383]
31557         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31558         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31559         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31560         comment for i386/x86-64.
31561         (test-xfail-tst-tlsalign-extern-static): Removed.
31563 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31565         * math/test-double.h: New file.
31566         * math/test-float.h: Likewise.
31567         * math/test-ldouble.h: Likewise.
31568         * math/test-math-inline.h: Likewise.
31569         * math/test-math-no-inline.h: Likewise.
31570         * math/test-math-scalar.h: Likewise.
31571         * math/test-math-vector.h: Likewise.
31572         * math/test-vec-loop.h: Remove file.  Contents moved into
31573         test-math-vector.h.
31574         * math/libm-test.inc (MATHCONST): Do not document macro.
31575         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31576         and test-math-scalar.h.
31577         (FUNC): Remove macro.
31578         (FUNC_TEST): Likewise.
31579         (FLOAT): Likewise.
31580         (MATHCONST): Likewise.
31581         (PRINTF_EXPR): Likewise.
31582         (PRINTF_XEXPR): Likewise.
31583         (PRINTF_NEXPR): Likewise.
31584         (TEST_DOUBLE): Likewise.
31585         (TEST_MATHVEC): Likewise.
31586         (__NO_MATH_INLINES): Likewise.
31587         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31588         and test-math-scalar.h.
31589         (FUNC): Remove macro.
31590         (FUNC_TEST): Likewise.
31591         (FLOAT): Likewise.
31592         (MATHCONST): Likewise.
31593         (PRINTF_EXPR): Likewise.
31594         (PRINTF_XEXPR): Likewise.
31595         (PRINTF_NEXPR): Likewise.
31596         (TEST_FLOAT): Likewise.
31597         (TEST_MATHVEC): Likewise.
31598         (__NO_MATH_INLINES): Likewise.
31599         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31600         and test-math-scalar.h.
31601         (FUNC): Remove macro.
31602         (FUNC_TEST): Likewise.
31603         (FLOAT): Likewise.
31604         (MATHCONST): Likewise.
31605         (PRINTF_EXPR): Likewise.
31606         (PRINTF_XEXPR): Likewise.
31607         (PRINTF_NEXPR): Likewise.
31608         (TEST_DOUBLE): Likewise.
31609         (TEST_MATHVEC): Likewise.
31610         (TEST_INLINE): Likewise.
31611         (__NO_MATH_INLINES): Likewise.
31612         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31613         test-math-scalar.h.
31614         (FUNC): Remove macro.
31615         (FUNC_TEST): Likewise.
31616         (FLOAT): Likewise.
31617         (MATHCONST): Likewise.
31618         (PRINTF_EXPR): Likewise.
31619         (PRINTF_XEXPR): Likewise.
31620         (PRINTF_NEXPR): Likewise.
31621         (TEST_FLOAT): Likewise.
31622         (TEST_MATHVEC): Likewise.
31623         (TEST_INLINE): Likewise.
31624         (__NO_MATH_INLINES): Likewise.
31625         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31626         and test-math-scalar.h.
31627         (FUNC): Remove macro.
31628         (FUNC_TEST): Likewise.
31629         (FLOAT): Likewise.
31630         (MATHCONST): Likewise.
31631         (PRINTF_EXPR): Likewise.
31632         (PRINTF_XEXPR): Likewise.
31633         (PRINTF_NEXPR): Likewise.
31634         (TEST_LDOUBLE): Likewise.
31635         (TEST_MATHVEC): Likewise.
31636         (TEST_INLINE): Likewise.
31637         (__NO_MATH_INLINES): Likewise.
31638         * math/test-ldouble.c: Include test-ldouble.h,
31639         test-math-no-inline.h and test-math-scalar.h.
31640         (FUNC): Remove macro.
31641         (FUNC_TEST): Likewise.
31642         (FLOAT): Likewise.
31643         (MATHCONST): Likewise.
31644         (PRINTF_EXPR): Likewise.
31645         (PRINTF_XEXPR): Likewise.
31646         (PRINTF_NEXPR): Likewise.
31647         (TEST_LDOUBLE): Likewise.
31648         (TEST_MATHVEC): Likewise.
31649         (__NO_MATH_INLINES): Likewise.
31650         * math/test-double-vlen2.h: Include test-double.h,
31651         test-math-no-inline.h and test-math-vector.h.
31652         (FLOAT): Remove macro.
31653         (FUNC): Likewise.
31654         (MATHCONST): Likewise.
31655         (PRINTF_EXPR): Likewise.
31656         (PRINTF_XEXPR): Likewise.
31657         (PRINTF_NEXPR): Likewise.
31658         (TEST_DOUBLE): Likewise.
31659         (TEST_MATHVEC): Likewise.
31660         (__NO_MATH_INLINES): Likewise.
31661         (CNCT): Likewise.
31662         (CONCAT): Likewise.
31663         (WRAPPER_NAME): Likewise.
31664         (WRAPPER_DECL): Likewise.
31665         (WRAPPER_DECL_ff): Likewise.
31666         (WRAPPER_DECL_fFF): Likewise.
31667         (VECTOR_WRAPPER): Likewise.
31668         (VECTOR_WRAPPER_ff): Likewise.
31669         (VECTOR_WRAPPER_fFF): Likewise.
31670         (VEC_LEN): New macro.
31671         * math/test-double-vlen4.h: Include test-double.h,
31672         test-math-no-inline.h and test-math-vector.h.
31673         (FLOAT): Remove macro.
31674         (FUNC): Likewise.
31675         (MATHCONST): Likewise.
31676         (PRINTF_EXPR): Likewise.
31677         (PRINTF_XEXPR): Likewise.
31678         (PRINTF_NEXPR): Likewise.
31679         (TEST_DOUBLE): Likewise.
31680         (TEST_MATHVEC): Likewise.
31681         (__NO_MATH_INLINES): Likewise.
31682         (CNCT): Likewise.
31683         (CONCAT): Likewise.
31684         (WRAPPER_NAME): Likewise.
31685         (WRAPPER_DECL): Likewise.
31686         (WRAPPER_DECL_ff): Likewise.
31687         (WRAPPER_DECL_fFF): Likewise.
31688         (VECTOR_WRAPPER): Likewise.
31689         (VECTOR_WRAPPER_ff): Likewise.
31690         (VECTOR_WRAPPER_fFF): Likewise.
31691         (VEC_LEN): New macro.
31692         * math/test-double-vlen8.h: Include test-double.h,
31693         test-math-no-inline.h and test-math-vector.h.
31694         (FLOAT): Remove macro.
31695         (FUNC): Likewise.
31696         (MATHCONST): Likewise.
31697         (PRINTF_EXPR): Likewise.
31698         (PRINTF_XEXPR): Likewise.
31699         (PRINTF_NEXPR): Likewise.
31700         (TEST_DOUBLE): Likewise.
31701         (TEST_MATHVEC): Likewise.
31702         (__NO_MATH_INLINES): Likewise.
31703         (CNCT): Likewise.
31704         (CONCAT): Likewise.
31705         (WRAPPER_NAME): Likewise.
31706         (WRAPPER_DECL): Likewise.
31707         (WRAPPER_DECL_ff): Likewise.
31708         (WRAPPER_DECL_fFF): Likewise.
31709         (VECTOR_WRAPPER): Likewise.
31710         (VECTOR_WRAPPER_ff): Likewise.
31711         (VECTOR_WRAPPER_fFF): Likewise.
31712         (VEC_LEN): New macro.
31713         * math/test-float-vlen4.h: Include test-float.h,
31714         test-math-no-inline.h and test-math-vector.h.
31715         (FLOAT): Remove macro.
31716         (FUNC): Likewise.
31717         (MATHCONST): Likewise.
31718         (PRINTF_EXPR): Likewise.
31719         (PRINTF_XEXPR): Likewise.
31720         (PRINTF_NEXPR): Likewise.
31721         (TEST_FLOAT): Likewise.
31722         (TEST_MATHVEC): Likewise.
31723         (__NO_MATH_INLINES): Likewise.
31724         (CNCT): Likewise.
31725         (CONCAT): Likewise.
31726         (WRAPPER_NAME): Likewise.
31727         (WRAPPER_DECL): Likewise.
31728         (WRAPPER_DECL_ff): Likewise.
31729         (WRAPPER_DECL_fFF): Likewise.
31730         (VECTOR_WRAPPER): Likewise.
31731         (VECTOR_WRAPPER_ff): Likewise.
31732         (VECTOR_WRAPPER_fFF): Likewise.
31733         (VEC_LEN): New macro.
31734         * math/test-float-vlen8.h: Include test-float.h,
31735         test-math-no-inline.h and test-math-vector.h.
31736         (FLOAT): Remove macro.
31737         (FUNC): Likewise.
31738         (MATHCONST): Likewise.
31739         (PRINTF_EXPR): Likewise.
31740         (PRINTF_XEXPR): Likewise.
31741         (PRINTF_NEXPR): Likewise.
31742         (TEST_FLOAT): Likewise.
31743         (TEST_MATHVEC): Likewise.
31744         (__NO_MATH_INLINES): Likewise.
31745         (CNCT): Likewise.
31746         (CONCAT): Likewise.
31747         (WRAPPER_NAME): Likewise.
31748         (WRAPPER_DECL): Likewise.
31749         (WRAPPER_DECL_ff): Likewise.
31750         (WRAPPER_DECL_fFF): Likewise.
31751         (VECTOR_WRAPPER): Likewise.
31752         (VECTOR_WRAPPER_ff): Likewise.
31753         (VECTOR_WRAPPER_fFF): Likewise.
31754         (VEC_LEN): New macro.
31755         * math/test-float-vlen16.h: Include test-float.h,
31756         test-math-no-inline.h and test-math-vector.h.
31757         (FLOAT): Remove macro.
31758         (FUNC): Likewise.
31759         (MATHCONST): Likewise.
31760         (PRINTF_EXPR): Likewise.
31761         (PRINTF_XEXPR): Likewise.
31762         (PRINTF_NEXPR): Likewise.
31763         (TEST_FLOAT): Likewise.
31764         (TEST_MATHVEC): Likewise.
31765         (__NO_MATH_INLINES): Likewise.
31766         (CNCT): Likewise.
31767         (CONCAT): Likewise.
31768         (WRAPPER_NAME): Likewise.
31769         (WRAPPER_DECL): Likewise.
31770         (WRAPPER_DECL_ff): Likewise.
31771         (WRAPPER_DECL_fFF): Likewise.
31772         (VECTOR_WRAPPER): Likewise.
31773         (VECTOR_WRAPPER_ff): Likewise.
31774         (VECTOR_WRAPPER_fFF): Likewise.
31775         (VEC_LEN): New macro.
31776         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
31777         test-vec-loop.h.
31778         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31779         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31780         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31781         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31782         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31783         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31784         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31786 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31788         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
31789         (__getlogin_r): ... this.
31791 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31793         [BZ #18594]
31794         * math/s_ccosh.c (__ccosh): Compare with least normal value
31795         instead of comparing class with FP_SUBNORMAL.
31796         * math/s_ccoshf.c (__ccoshf): Likewise.
31797         * math/s_ccoshl.c (__ccoshl): Likewise.
31798         * math/s_cexp.c (__cexp): Likewise.
31799         * math/s_cexpf.c (__cexpf): Likewise.
31800         * math/s_cexpl.c (__cexpl): Likewise.
31801         * math/s_csin.c (__csin): Likewise.
31802         * math/s_csinf.c (__csinf): Likewise.
31803         * math/s_csinh.c (__csinh): Likewise.
31804         * math/s_csinhf.c (__csinhf): Likewise.
31805         * math/s_csinhl.c (__csinhl): Likewise.
31806         * math/s_csinl.c (__csinl): Likewise.
31807         * math/s_ctan.c (__ctan): Likewise.
31808         * math/s_ctanf.c (__ctanf): Likewise.
31809         * math/s_ctanh.c (__ctanh): Likewise.
31810         * math/s_ctanhf.c (__ctanhf): Likewise.
31811         * math/s_ctanhl.c (__ctanhl): Likewise.
31812         * math/s_ctanl.c (__ctanl): Likewise.
31813         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
31814         csin, csinh, ctan and ctanh.
31815         * math/auto-libm-test-out: Regenerated.
31816         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
31817         * sysdeps/i386/fpu/libm-test-ulps: Update.
31818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31820 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31822         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
31823         return value is wrong, print the expected value too.
31825 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31827         [BZ #18585]
31828         * elf/readlib.c (is_gdb_python_file): New.
31829         (process_file): Don't issue errors on filenames with -gdb.py
31830         suffix.
31832 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31834         * math/auto-libm-test-in: Add more tests of csin and csinh.
31835         * math/auto-libm-test-out: Regenerated.
31836         * math/libm-test.inc (csin_test_data): Remove tests moved to
31837         auto-libm-test-in.
31838         (csinh_test_data): Likewise.
31840         [BZ #18593]
31841         * math/s_csin.c (__csin): Negate before rather than after possibly
31842         overflowing multiplication.
31843         * math/s_csinf.c (__csinf): Likewise.
31844         * math/s_csinh.c (__csinh): Likewise.
31845         * math/s_csinhf.c (__csinhf): Likewise.
31846         * math/s_csinhl.c (__csinhl): Likewise.
31847         * math/s_csinl.c (__csinl): Likewise.
31848         * math/auto-libm-test-in: Add some tests of csin and csinh.
31849         * math/auto-libm-test-out: Regenerated.
31850         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
31851         (csinh_test_data): Likewise.
31852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31854         [BZ #18586]
31855         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
31856         underflow exception for small results.
31858 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31860         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31861         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
31862         variable and included header.
31863         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
31864         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
31865         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
31866         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
31867         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31868         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
31869         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
31870         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
31871         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
31872         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
31873         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
31874         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
31875         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
31876         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
31877         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
31878         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
31880 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31882         [BZ #16526]
31883         [BZ #16538]
31884         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
31885         (__sin): Force underflow exception for arguments with small
31886         absolute value.
31887         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
31888         (__kernel_sinf): Force underflow exception for arguments with
31889         small absolute value.
31890         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
31891         (__kernel_sincosl): Force underflow exception for arguments with
31892         small absolute value.
31893         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
31894         (__kernel_sinl): Force underflow exception for arguments with
31895         small absolute value.
31896         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
31897         (__kernel_sincosl): Force underflow exception for arguments with
31898         small absolute value.
31899         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
31900         (__kernel_sinl): Force underflow exception for arguments with
31901         small absolute value.
31902         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
31903         (__kernel_sinl): Force underflow exception for arguments with
31904         small absolute value.
31905         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
31906         (__kernel_sinf): Force underflow exception for arguments with
31907         small absolute value.
31908         * math/auto-libm-test-in: Add more tests of sin and sincos.
31909         * math/auto-libm-test-out: Regenerated.
31911         [BZ #18245]
31912         [BZ #18583]
31913         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
31914         (__kernel_standard_l): Use feholdexcept and fesetenv around
31915         conversion to double instead of special-casing overflow and
31916         underflow.
31917         * math/libm-test.inc (fmod_test_data): Add more tests.
31918         (remainder_test_data): Likewise.
31919         (sqrt_test_data): Likewise.
31921 2015-06-23  Torvald Riegel  <triegel@redhat.com>
31923         [BZ #17403]
31924         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31925         atomic_read_barrier, atomic_write_barrier): Define.
31926         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31927         atomic_read_barrier, atomic_write_barrier): Define.
31929 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31931         * math/Makefile [$(PERL) != no]
31932         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31933         dependency on libm-test.stmp below the inclusion of Rules.
31935 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
31937         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31938         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31939         and included header.
31940         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31941         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31942         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31943         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31944         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31945         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31946         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31947         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31948         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31949         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31950         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31951         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31952         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31953         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31954         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31955         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31956         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31957         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31958         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31960 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31962         [BZ #18371]
31963         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31964         intermediate but not final result might underflow.
31965         * math/s_csqrtf.c (__csqrtf): Likewise.
31966         * math/s_csqrtl.c (__csqrtl): Likewise.
31967         * math/auto-libm-test-in: Add more tests of csqrt.
31968         * math/auto-libm-test-out: Regenerated.
31969         * sysdeps/i386/fpu/libm-test-ulps: Update.
31971         [BZ #18219]
31972         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31973         threshold on absolute value of exponent for which scaling is used.
31974         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31975         * math/auto-libm-test-in: Add more tests of exp2.
31976         * math/auto-libm-test-out: Regenerated.
31978 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31980         [BZ #17977]
31981         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31982         when initializing interface list, based on the bug analysis
31983         and the patch proposed by Eric Newton.
31984         * resolv/tst-res_hconf_reorder.c: New test.
31985         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31986         tst-res_hconf_reorder.
31987         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31988         and $(shared-thread-library).
31989         (tst-res_hconf_reorder-ENV): New variable.
31991         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31992         in comment.
31994 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31996         [BZ #16353]
31997         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31998         (__expm1): Force underflow exception for arguments with small
31999         absolute value.
32000         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
32001         (__expm1f): Force underflow exception for arguments with small
32002         absolute value.
32003         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
32004         (__expm1): Force underflow exception for arguments with small
32005         absolute value.
32006         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
32007         (__expm1f): Force underflow exception for arguments with small
32008         absolute value.
32009         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32010         Check for small arguments before calling __expm1.
32011         * math/auto-libm-test-in: Do not mark underflow exceptions as
32012         possibly missing for bug 16353.
32013         * math/auto-libm-test-out: Regenerated.
32015 2015-06-22  Andreas Schwab  <schwab@suse.de>
32017         [BZ #18513]
32018         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
32019         PTR queries.
32021 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
32023         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
32025         * string/strcoll_l.c: Remove unused struct element idxnow.
32027 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
32029         [BZ #18569]
32030         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
32031         underflow and return argument in case of subnormal argument.
32032         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32033         Likewise.
32034         * math/auto-libm-test-in: Add more tests of expm1.
32035         * math/auto-libm-test-out: Regenerated.
32037         [BZ #16361]
32038         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32039         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32040         tiny results.
32041         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32042         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32043         tiny results.
32044         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
32045         mark underflow exceptions as possibly missing for bug 16361.
32046         * math/auto-libm-test-out: Regenerated.
32048 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
32050         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
32051         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
32052         Remove variable.
32053         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32054         (test-xfail-XOPEN2K8/utmpx.h/conform).
32056         * conform/conformtest.pl ($xerrors): New variable.
32057         (note_error): New function.
32058         (compiletest): New argument $xfail.  Use not_error.
32059         (runtest): Likewise.
32060         (top level): Handle xfail- lines.  Update calls to compiletest and
32061         runtest.  Handle xfail- and optional- in headers listed with
32062         allow-header.
32063         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
32064         (O_EXEC): Likewise.
32065         (O_SEARCH): Likewise.
32066         * conform/data/stropts.h-data (ioctl): Likewise.
32067         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
32068         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
32069         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
32070         (msghdr.msg_controllen): Likewise.
32071         (cmsghdr.cmsg_len): Likewise.
32072         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
32073         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
32074         variable.
32075         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32076         (test-xfail-XPG4/stropts.h/conform): Likewise.
32077         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32078         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32079         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32080         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32081         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32082         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32083         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32084         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32085         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32086         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32087         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32088         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32089         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32090         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32091         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32092         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32093         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32094         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32095         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32097 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32099         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
32100         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
32101         definitions for proper unfolding of __MATHDECL_VEC.
32103 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32105         * benchtests/bench-strcoll.c:
32106         Include string.h.
32107         (main): Remove unused variable res.
32109 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32111         * timezone/Makefile (%/UTC %/Universal):
32112         Generate test-result files for UTC and Universal.
32114 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32116         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32118 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
32120         [BZ #16350]
32121         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
32122         for arguments with small absolute value.
32123         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
32124         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
32125         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
32126         (__asinh): Force underflow exception for arguments with small
32127         absolute value.
32128         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
32129         (__asinhf): Force underflow exception for arguments with small
32130         absolute value.
32131         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
32132         (__asinhl): Force underflow exception for arguments with small
32133         absolute value.
32134         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
32135         (__asinhl): Force underflow exception for arguments with small
32136         absolute value.
32137         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
32138         (__asinhl): Force underflow exception for arguments with small
32139         absolute value.
32140         * math/auto-libm-test-in: Do not mark underflow exceptions as
32141         possibly missing for bug 16350.
32142         * math/auto-libm-test-out: Regenerated.
32144         * include/bits/ipc.h: Remove file.
32145         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
32146         variable.
32147         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32148         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32149         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32150         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32151         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32152         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32153         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32154         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32155         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32157         * math/auto-libm-test-in: Remove spurious underflow allowance for
32158         tests of cexp.
32159         * math/auto-libm-test-out: Regenerated.
32161         [BZ #18558]
32162         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
32163         unconditional definition.
32164         (MCAST_BLOCK_SOURCE): Likewise.
32165         (MCAST_UNBLOCK_SOURCE): Likewise.
32166         (MCAST_LEAVE_GROUP): Likewise.
32167         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32168         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32169         (MCAST_MSFILTER): Likewise.
32170         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
32171         Remove variable.
32172         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32173         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32174         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32175         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32176         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32178 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
32180         * NEWS: Mention addition of x86_64 vector sincosf.
32181         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32182         * math/test-float-vlen4.h: Likewise.
32183         * math/test-float-vlen8.h: Likewise.
32184         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32185         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32186         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32187         * sysdeps/x86_64/fpu/Versions: New versions added.
32188         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32189         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32190         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32192         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32193         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32194         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32195         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32196         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
32197         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
32198         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
32199         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
32200         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
32201         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
32202         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
32203         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
32204         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
32205         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32206         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32207         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32208         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32209         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32210         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32211         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32213         * NEWS: Mention addition of x86_64 vector sincos.
32214         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
32215         * math/math.h (__MATHDECL_VEC): New macro.
32216         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
32217         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
32218         declaration under condition.
32219         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
32220         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
32221         TEST_VEC_LOOP change.
32222         * math/test-double-vlen4.h: Likewise.
32223         * math/test-double-vlen8.h: Likewise.
32224         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
32225         * math/test-float-vlen4.h: Likewise.
32226         * math/test-float-vlen8.h: Likewise.
32227         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32228         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
32229         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32230         * sysdeps/x86_64/fpu/Versions: New versions added.
32231         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32232         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32233         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
32235         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
32236         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
32237         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
32238         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
32239         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
32240         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
32241         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
32242         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
32243         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
32244         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
32245         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
32246         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
32247         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
32248         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32249         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32250         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32251         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32252         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32253         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32254         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32256         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32257         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32258         redirections for powf.
32259         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32260         * sysdeps/x86_64/fpu/Versions: New versions added.
32261         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32262         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32263         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32264         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
32265         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
32266         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
32267         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
32268         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
32269         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
32270         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
32271         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
32272         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
32273         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
32274         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
32275         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32276         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32277         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32278         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32279         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32280         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32281         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32283         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32284         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32285         * math/test-float-vlen16.h: Fixed 2 argument macro.
32286         * math/test-float-vlen4.h: Likewise.
32287         * math/test-float-vlen8.h: Likewise.
32288         * NEWS: Mention addition of x86_64 vector powf.
32290 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
32292         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32293         and redefine.
32294         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32295         and redefine.
32296         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32297         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32298         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32300         [BZ #18553]
32301         * resource/getpriority.c (getpriority): Rename to __getpriority
32302         and define as weak alias of __getpriority.
32303         * resource/setpriority.c (setpriority): Rename to __setpriority
32304         and define as weak alias of __setpriority.
32305         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32306         __getpriority and define as weak alias of __getpriority.
32307         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32308         __setpriority and define as weak alias of __setpriority.
32309         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32310         strong name.
32311         (setpriority): Use __setpriority as strong name.
32312         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32313         __getpriority and define as weak alias of __getpriority.
32314         * include/sys/resource.h (__getpriority): Declare.  Use
32315         libc_hidden_proto.
32316         (__setpriority): Likewise.
32317         (getpriority): Don't use libc_hidden_proto.
32318         (setpriority): Likewise.
32319         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32320         getpriority.  Call __setpriority instead of setpriority.
32321         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32322         Remove variable.
32324         [BZ #18547]
32325         * misc/getttyent.c (getttynam): Rename to __getttynam and define
32326         as weak alias of __getttynam.  Use prototype function definition.
32327         Call __setttyent, __getttyent and __endttyent instead of
32328         setttyent, getttyent and endttyent.
32329         (getttyent): Rename to __getttyent and define as weak alias of
32330         __getttyent.  Call __setttyent instead of setttyent.  Call
32331         __fgets_unlocked instead of fgets_unlocked.
32332         (setttyent): Rename to __setttyent and define as weak alias of
32333         __setttyent.
32334         (endttyent): Rename to __endttyent and define as weak alias of
32335         __endttyent.
32336         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32337         (__setttyent): Likewise.
32338         (__endttyent): Likewise.
32339         (getttyent): Don't use libc_hidden_proto.
32340         (setttyent): Likewise.
32341         (endttyent): Likewise.
32342         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32343         __endttyent instead of setttyent, getttyent and endttyent.
32344         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32345         Remove variable.
32347         [BZ #18546]
32348         * socket/recv.c (__recv): Use libc_hidden_def.
32349         * socket/socket.c (__socket): Likewise.
32350         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32351         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32352         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32353         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32354         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32355         libc_hidden_def.
32356         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32357         libc_hidden_weak.
32358         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32359         Use libc_hidden_proto.
32360         (__recv): Likewise.
32361         * socket/Versions (libc): Export __recv and __socket at version
32362         GLIBC_PRIVATE.
32363         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32364         instead of recv.
32365         (init_mq_netlink): Call __socket instead of socket.
32366         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32367         Remove variable.
32369         [BZ #18545]
32370         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32371         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32372         hidden_weak.
32373         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32374         define as alias of __mq_timedsend.  Use hidden_weak.
32375         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32376         __mq_timedsend as strong name.
32377         (mq_timedreceive): Use __mq_timedreceive as strong name.
32378         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32379         (__mq_timedreceive): Likewise.
32380         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32381         __mq_timedreceive instead of mq_timedreceive.
32382         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32383         instead of mq_timedsend.
32384         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32385         Remove variable.
32387         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32388         hidden_def and hidden_weak instead of libc_hidden_def and
32389         libc_hidden_weak.
32390         (top level): Refer to hidden_def in comment.
32391         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32392         macro.  Use it instead of libc_hidden_def.
32393         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32394         specify __GI_* name explicitly.
32395         (mq_timedreceive): Likewise.
32396         (mq_setattr): Likewise.
32398         [BZ #18544]
32399         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32400         __pthread_barrier_init and define as weak alias of
32401         __pthread_barrier_init.
32402         * sysdeps/sparc/nptl/pthread_barrier_init.c
32403         (pthread_barrier_init): Likewise.
32404         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32405         __pthread_barrier_wait and define as weak alias of
32406         __pthread_barrier_wait.
32407         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32408         (pthread_barrier_wait): Likewise.
32409         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32410         (pthread_barrier_wait): Likewise.
32411         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32412         (pthread_barrier_wait): Likewise.
32413         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32414         (pthread_barrier_wait): Likewise.
32415         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32416         __pthread_barrier_wait at version GLIBC_PRIVATE.
32417         * include/pthread.h (__pthread_barrier_init): Declare.
32418         (__pthread_barrier_wait): Likewise.
32419         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32420         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32421         (helper_thread): Likewise.
32422         (init_mq_netlink): Call __pthread_barrier_init instead of
32423         pthread_barrier_init.
32425         [BZ #18542]
32426         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32427         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32428         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32429         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32430         vswscanf.
32431         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32432         Remove variable.
32434         [BZ #18540]
32435         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32436         strong alias of _IO_fflush.  Use libc_hidden_def.
32437         * libio/iofflush_u.c (fflush_unlocked): Rename to
32438         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32439         Use libc_hidden_weak.
32440         * include/stdio.h (__fflush_unlocked): Declare.  Use
32441         libc_hidden_proto.
32442         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32443         fflush_unlocked.
32444         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32445         Remove variable.
32447         [BZ #18539]
32448         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32449         define as weak alias of __addseverity.
32450         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32451         Remove variable.
32452         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32453         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32454         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32456         [BZ #18536]
32457         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32458         (__tfind): Likewise.
32459         (__tdelete): Likewise.
32460         (__twalk): Likewise.
32461         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32462         __twalk to GLIBC_PRIVATE.
32463         * include/search.h (__tsearch): Use libc_hidden_proto.
32464         (__tfind): Likewise.
32465         (__tdelete): Likewise.
32466         (__twalk): Likewise.
32467         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32468         Call __tdelete instead of tdelete.
32469         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32470         tfind.  Call __tsearch instead of tsearch.
32471         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32472         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32473         Remove variable.
32474         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32476         [BZ #18534]
32477         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32478         (dprintf): Define as a weak alias of __dprintf, not a strong
32479         alias.
32480         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32481         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32482         dprintf.
32483         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32484         Remove variable.
32485         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32486         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32488         [BZ #18533]
32489         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32490         not a strong alias.
32491         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32492         Remove variable.
32494         [BZ #18532]
32495         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32496         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32497         (in6addr_loopback): Rename to __in6addr_loopback and define as
32498         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32499         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32500         libc_hidden_proto.
32501         (__in6addr_any): Likewise.
32502         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32503         in6addr_any.
32504         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32505         variable.
32506         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32508 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32510         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32511         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32512         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32513         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32514         redirections for pow.
32515         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32516         * sysdeps/x86_64/fpu/Versions: New versions added.
32517         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32518         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32519         build of SSE, AVX2 and AVX512 IFUNC versions.
32520         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32521         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32522         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32523         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32524         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32525         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32526         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32527         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32528         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32529         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32530         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32531         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32532         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32533         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32534         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32536         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32537         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32538         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32539         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32540         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32541         * NEWS: Mention addition of x86_64 vector pow.
32543         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32544         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32545         redirections for expf.
32546         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32547         * sysdeps/x86_64/fpu/Versions: New versions added.
32548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32550         build of SSE, AVX2 and AVX512 IFUNC versions.
32551         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32552         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32553         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32554         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32555         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32556         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32557         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32558         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32559         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32560         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32561         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32562         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32563         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32564         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32565         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32566         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32567         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32568         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32569         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32570         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32571         * NEWS: Mention addition of x86_64 vector expf.
32573         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32574         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32575         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32576         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32577         redirections for exp.
32578         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32579         * sysdeps/x86_64/fpu/Versions: New versions added.
32580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32581         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32582         build of SSE, AVX2 and AVX512 IFUNC versions.
32583         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32584         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32585         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32586         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32587         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32588         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32589         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32590         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32591         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32592         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32593         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32594         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32595         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32596         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32597         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32598         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32599         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32600         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32601         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32602         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32603         * NEWS: Mention addition of x86_64 vector exp.
32605         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32606         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32607         redirections for logf.
32608         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32609         * sysdeps/x86_64/fpu/Versions: New versions added.
32610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32611         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32612         build of SSE, AVX2 and AVX512 IFUNC versions.
32613         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32614         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32615         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32616         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32617         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32618         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32619         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32620         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32621         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32622         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32623         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32624         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32625         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32626         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32627         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32628         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32629         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32630         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32631         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32632         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32633         * NEWS: Mention addition of x86_64 vector logf.
32635         * bits/libm-simd-decl-stubs.h: Added stubs for log.
32636         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32637         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32638         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32639         redirections for log.
32640         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32641         * sysdeps/x86_64/fpu/Versions: New versions added.
32642         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32643         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32644         build of SSE, AVX2 and AVX512 IFUNC versions.
32645         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32646         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32647         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32648         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32649         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32650         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32651         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32652         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32653         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32654         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32655         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32656         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32657         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32658         test.
32659         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32660         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32661         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32662         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32663         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32664         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32665         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32666         * NEWS: Mention addition of x86_64 vector log.
32668 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32670         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32671         cfi_adjust_cfa_offset argument.
32672         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32673         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32675         [BZ #18034]
32676         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32677         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32678         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32679         ordering using ldar.
32680         (_dl_tlsdesc_dynamic): Likewise.
32681         (_dl_tlsdesc_return_lazy): Likewise.
32682         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
32683         relaxed atomics instead of volatile and synchronize with release store.
32684         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
32685         volatile.
32686         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32688 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
32690         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32691         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
32692         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32693         * sysdeps/x86_64/fpu/Versions: New versions added.
32694         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32695         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32696         build of SSE, AVX2 and AVX512 IFUNC versions.
32697         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
32698         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
32699         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
32700         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
32701         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
32702         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
32703         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
32704         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
32705         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
32706         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
32707         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
32708         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
32709         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
32710         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32711         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32712         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32713         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32714         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32715         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32716         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32717         * NEWS: Mention addition of x86_64 vector sinf.
32719 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
32721         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
32722         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
32723         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
32724         Remove variable.
32725         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32726         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32728 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32730         [BZ #18530]
32731         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
32732         strong alias of _IO_fputs.  Use libc_hidden_def.
32733         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
32734         and define as weak alias of __fputs_unlocked.  Use
32735         libc_hidden_weak.
32736         * include/stdio.h (__fputs_unlocked): Declare.  Use
32737         libc_hidden_proto.
32738         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
32739         fputs_unlocked.
32741         [BZ #18529]
32742         * resolv/netdb.h [__USE_POSIX]: Change condition to
32743         [__USE_XOPEN2K].
32744         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
32745         not expect.
32746         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
32747         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
32748         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
32749         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
32750         [XPG4 || UNIX98] (AI_ALL): Likewise.
32751         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
32752         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
32753         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
32754         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
32755         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
32756         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
32757         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
32758         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
32759         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
32760         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
32761         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
32762         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
32763         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
32764         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
32765         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
32766         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32767         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32768         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
32769         [XPG4 || UNIX98] (gai_strerror): Likewise.
32770         [XPG4 || UNIX98] (getaddrinfo): Likewise.
32771         [XPG4 || UNIX98] (getnameinfo): Likewise.
32773         [BZ #18528]
32774         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
32775         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
32776         __USE_XOPEN2K8].
32777         (getgrent): Likewise.
32778         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
32779         expect.
32780         [XPG3 || POSIX2008] (endgrent): Likewise.
32781         [XPG3] (setgrent): Likewise.
32782         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
32783         variable.
32784         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32786         [BZ #18527]
32787         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
32788         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
32789         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
32790         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
32791         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
32792         * include/unistd.h (__getlogin_r): Declare.  Use
32793         libc_hidden_proto.
32794         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
32795         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
32796         variable.
32797         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32798         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32799         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32801 2015-06-12  Martin Sebor  <msebor@redhat.com>
32803         [BZ #18512]
32804         * Makerules (check-install-supported): New target.
32805         (install): Add check-install-supported as a dependency.
32806         * manual/install.texi (Installing the C Library): Document
32807         that overriding prefix and exec_prefix is not supported.
32808         Mention DESTDIR.
32809         * INSTALL: Regenerate from the above.
32811 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32813         [BZ #18519]
32814         * posix/Versions (libc): Export __libc_pread at version
32815         GLIBC_PRIVATE.
32816         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
32817         instead of pread.
32818         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
32819         variable.
32821         [BZ #18522]
32822         * misc/efgcvt_r.c
32823         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
32824         (cvt_symbol): Use weak_alias instead of strong_alias.
32825         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
32826         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
32827         Remove variable.
32828         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32829         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32831         [BZ #18520]
32832         * inet/herrno.c (h_errno): Rename to __h_errno.
32833         (__libc_h_errno): Define as alias of __h_errno not h_errno.
32834         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
32835         to __h_errno instead of h_errno.
32836         * nptl/herrno.c (h_errno): Rename to __h_errno.
32837         (__h_errno_location): Refer to __h_errno not h_errno.
32838         * resolv/Versions (h_errno): Rename to __h_errno.
32839         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
32840         Remove variable.
32841         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32843 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
32845         * configure.ac: More strict check for AVX512 assembler support.
32846         * configure: Regenerated.
32848         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
32849         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32850         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32851         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
32852         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32853         * sysdeps/x86_64/fpu/Versions: New versions added.
32854         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32855         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32856         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32857         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
32858         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
32859         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
32860         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
32861         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
32862         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
32863         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
32864         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
32865         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
32866         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
32867         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
32868         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
32869         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
32870         test.
32871         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32872         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32873         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32874         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32875         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32876         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32877         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32878         * NEWS: Mention addition of x86_64 vector sin.
32880 2015-06-11  Florian Weimer  <fweimer@redhat.com>
32882         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
32883         comment.
32885 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32887         [BZ #18479]
32888         * nptl/pt-interp.c: New file.
32889         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
32890         Add pt-interp.
32891         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
32892         $(common-objpfx)runtime-linker.h.
32894 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
32896         * Makeconfig (+interp): Remove unused variable.
32897         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
32898         only.  Depend on $(common-objpfx)runtime-linker.h instead of
32899         $(elf-objpfx)runtime-linker.h.
32900         ($(elf-objpfx)runtime-linker.h): Rename to
32901         $(common-objpfx)runtime-linker.h and move ...
32902         * Makerules [$(build-shared) = yes]: ... here.
32903         * elf/interp.c: Include <runtime-linker.h> instead of
32904         <elf/runtime-linker.h>.
32906 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32908         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
32909         (__gettimeofday_syscall): Remove vsyscall fallback.
32910         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
32911         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
32912         Add syscall fallback function.
32913         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
32914         if vDSO is not present.
32915         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
32916         fallback function.
32917         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32918         present.
32919         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32920         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32922 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
32924         [BZ #18497]
32925         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32926         of wcscmp.
32927         (wcscmp): Define as weak alias of WCSCMP.
32928         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32929         wcscoll.
32930         (USE_HIDDEN_DEF): Define.
32931         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32932         __wcscoll.  Don't use libc_hidden_weak.
32933         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32934         wcscmp.
32935         * sysdeps/i386/i686/multiarch/wcscmp-c.c
32936         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32937         __GI_wcscmp.
32938         (weak_alias): Undefine and redefine.
32939         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32940         __wcscmp and define as weak alias of __wcscmp.
32941         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32942         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
32943         (__wcscoll): Likewise.
32944         (wcscmp): Don't use libc_hidden_proto.
32945         (wcscoll): Likewise.
32946         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32947         wcscoll.
32948         * posix/regexec.c (check_node_accept_bytes): Likewise.
32949         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32950         variable.
32951         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32952         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32954         [BZ #18507]
32955         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32956         __fstatvfs and define as weak alias of __fstatvfs.  Use
32957         libc_hidden_weak.
32958         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32959         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32960         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32961         Define as alias of __fstatvfs, not fstatvfs.
32962         (fstatvfs64): Likewise.
32963         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32964         Define as alias of __statvfs, not statvfs.
32965         (statvfs64): Likewise.
32966         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32967         Remove variable.
32969 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32972         (HAVE_GETCPU_VSYSCALL): Define.
32973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32974         (HAVE_GETCPU_VSYSCALL): Likewise.
32975         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32976         * sysdeps/unix/sysv/linux/sched_getcpu.c
32977         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32978         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32979         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32980         prototype.
32981         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32982         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32983         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32985         Define.
32986         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32987         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32988         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32989         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32991 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32993         * sysdeps/x86_64/fpu/Makefile: New file.
32994         * sysdeps/x86_64/fpu/Versions: New file.
32995         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32996         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32997         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32998         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32999         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
33000         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
33001         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
33002         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
33003         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
33004         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
33005         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
33006         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
33007         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
33008         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33009         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33010         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
33011         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
33012         * sysdeps/x86_64/configure.ac: Options for libmvec build.
33013         * sysdeps/x86_64/configure: Regenerated.
33014         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
33015         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
33016         * manual/install.texi (Configuring and compiling): Document
33017         --disable-mathvec.
33018         * INSTALL: Regenerated.
33019         * NEWS: Mention addition of libmvec and x86_64 vector cos.
33021         * math/Makefile: Added rules for vector tests.
33022         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33023         declaration under condition.
33024         * math/test-double-vlen2.h: New file.
33025         * math/test-double-vlen4.h: New file.
33026         * math/test-double-vlen8.h: New file.
33027         * math/test-vec-loop.h: Added initialization macro.
33028         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
33029         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
33030         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
33031         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
33032         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
33033         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
33034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
33035         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
33036         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
33037         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
33038         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
33040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33041         * sysdeps/x86_64/fpu/Versions: New versions added.
33042         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
33043         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
33044         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
33045         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
33046         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
33047         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
33048         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
33049         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
33050         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
33051         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
33052         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
33053         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
33054         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
33055         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33056         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33057         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33058         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
33059         * NEWS: Mention addition of x86_64 vector cosf.
33061         * math/Makefile: Added CFLAGS for new tests.
33062         * math/test-float-vlen16.h: New file.
33063         * math/test-float-vlen4.h: New file.
33064         * math/test-float-vlen8.h: New file.
33065         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
33066         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
33067         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33068         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
33069         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
33070         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
33071         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
33072         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
33073         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
33074         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
33075         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
33077 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
33079         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
33080         * locale/programs/ld-ctype.c: Likewise.
33082 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
33084         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
33085         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
33086         bit_ZMM16_31_state): New macro.
33087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33088         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
33090 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
33092         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
33094 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
33096         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
33098 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
33100         [BZ #18498]
33101         * libio/memstream.c (open_memstream): Rename to __open_memstream
33102         and define as weak alias of __open_memstream.
33103         * include/stdio.h (__open_memstream): Declare.  Use
33104         libc_hidden_proto.
33105         (open_memstream): Don't use libc_hidden_proto.
33106         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
33107         open_memstream.
33108         * posix/getopt.c (_getopt_internal_r): Likewise.
33109         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
33110         variable.
33111         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33112         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33113         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33115         [BZ #18496]
33116         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
33117         instead of wcrtomb.
33119         [BZ #18483]
33120         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
33121         [__USE_XOPEN2K8].  Remove redundant #endif.
33122         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
33123         Remove redundant #if.
33124         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
33125         Remove variable.
33126         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33127         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33129         [BZ #18495]
33130         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
33131         (__iswlower): Likewise.
33132         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
33133         (__iswlower): Likewise.
33134         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
33135         instead of towlower.
33136         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
33137         instead of iswlower.  Call __towupper instead of towupper.
33138         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
33139         instead of iswalnum.
33141 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33143         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
33144         errors to stderr.
33146 2015-06-05  Florian Weimer  <fweimer@redhat.com>
33148         [BZ #15661]
33149         [BZ #17322]
33150         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
33151         Check for overflow properly.  Check for O_APPEND.  Ignore large
33152         file system block sizes.  Add comments about problems.
33153         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
33154         * manual/filesys.texi (Storage Allocation): New node.
33156 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33158         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33159         cancellable syscalls.
33160         (SYS_ify): Add guard to no redefine it.
33161         (INLINE_SYSCALL): Likewise.
33162         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
33163         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
33164         SYSCALL_CANCEL instead.
33165         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
33166         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33167         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33168         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33169         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33170         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
33171         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
33172         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
33173         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33174         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33175         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33176         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33177         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33178         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33179         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33180         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33181         Likewise.
33182         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33183         (__libc_pread64): Likewise.
33184         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33185         (__libc_preadv): Likewise.
33186         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33187         (__libc_readv64): Likewise.
33188         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33189         (__libc_pwrite): Likewise.
33190         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33191         (__libc_pwrite64): Likewise.
33192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33193         (__libc_pwritev): Likewise.
33194         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33195         (__libc_pwritev64): Likewise.
33196         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
33197         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
33198         (sync_file_range): Likewise.
33199         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
33200         Likewise.
33201         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
33202         Likewise.
33203         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33204         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33205         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33206         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33207         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33208         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33209         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33210         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33212         Likewise.
33213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33214         (__libc_read64): Likewise.
33215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
33216         Likewise.
33217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
33218         Likewise.
33219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
33220         Likewise.
33221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
33222         Likewise.
33223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33224         (__libc_pread64): Likewise.
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
33226         Likewise.
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33228         (__libc_pwrite64): Likewise.
33229         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
33230         (sync_file_range): Likewise.
33231         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
33232         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33233         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33234         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
33235         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
33236         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33237         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33238         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
33239         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
33240         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33241         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33242         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33243         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33244         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33245         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
33246         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33247         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33248         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33249         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33250         Likewise.
33251         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
33252         Likewise.
33253         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
33254         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
33255         Likewise.
33256         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
33257         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
33258         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
33259         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
33260         Likewise.
33261         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
33262         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
33263         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
33264         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
33265         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
33267 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
33269         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
33270         Include dl-vdso.
33271         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
33272         Use VDSO routines for gettimeofday, clock_gettime if
33273         available.
33274         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
33275         Declare VDSO symbols.
33276         * sysdeps/unix/sysv/linux/arm/sysdep.h:
33277         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33278         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33279         * sysdeps/unix/sysv/linux/arm/Versions: Add
33280         __vdso_clock_gettime.
33282 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33284         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33285         be an inline implementation regardless of library is built within.
33286         (open_not_cancel_2): Likewise.
33287         (__read_nocancel): Likewise.
33288         (__write_nocancel): Likewise.
33289         (openat_not_cancel): Likewise.
33290         (openat_not_cancel_3): Likewise.
33291         (openat64_not_cancel): Likewise.
33292         (openat64_not_cancel_3): Likewise.
33293         (__close_nocancel): Likewise.
33294         (pause_not_cancel): Likewise.
33295         (nanosleep_not_cancel): Likewise.
33296         (sigsuspend_not_cancel): Likewise.
33298 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33300         [BZ #14958]
33301         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33302         wake-up.
33303         (__pthread_rwlock_rdlock_slow): Likewise.
33304         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33305         Likewise.
33306         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33307         Likewise.
33308         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33309         * nptl/tst-rwlock16.c: New file.
33310         * nptl/Makefile (tests): Add new test.
33312 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33314         [BZ #18324]
33315         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33316         missing wake-up of readers.
33317         * nptl/tst-rwlock15.c: New file.
33318         * nptl/Makefile (tests): Add new test.
33320 2015-06-03  Roland McGrath  <roland@hack.frob.com>
33322         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33323         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33324         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33325         and __nacl_supply_interface_rtld.
33326         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33327         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33328         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33329         Add __nacl_supply_interface_rtld.
33330         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33332 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33334         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33335         isfinite.
33336         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33337         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33339 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33341         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33342         __signbit* with standard C99 macros.
33343         * math/e_exp10l.c: Likewise.
33344         * math/e_exp2l.c: Likewise.
33345         * math/e_scalb.c: Likewise.
33346         * math/e_scalbf.c: Likewise.
33347         * math/e_scalbl.c: Likewise.
33348         * math/s_ldexp.c: Likewise.
33349         * math/s_ldexpf.c: Likewise.
33350         * math/s_ldexpl.c: Likewise.
33351         * math/w_atan2.c: Likewise.
33352         * math/w_atan2f.c: Likewise.
33353         * math/w_atan2l.c: Likewise.
33354         * math/w_cosh.c: Likewise.
33355         * math/w_coshf.c: Likewise.
33356         * math/w_coshl.c: Likewise.
33357         * math/w_exp10.c: Likewise.
33358         * math/w_exp10f.c: Likewise.
33359         * math/w_exp10l.c: Likewise.
33360         * math/w_exp2.c: Likewise.
33361         * math/w_exp2f.c: Likewise.
33362         * math/w_exp2l.c: Likewise.
33363         * math/w_fmod.c: Likewise.
33364         * math/w_fmodf.c: Likewise.
33365         * math/w_fmodl.c: Likewise.
33366         * math/w_hypot.c: Likewise.
33367         * math/w_hypotf.c: Likewise.
33368         * math/w_hypotl.c: Likewise.
33369         * math/w_jnl.c: Likewise.
33370         * math/w_lgamma.c: Likewise.
33371         * math/w_lgamma_r.c: Likewise.
33372         * math/w_lgammaf.c: Likewise.
33373         * math/w_lgammaf_r.c: Likewise.
33374         * math/w_lgammal.c: Likewise.
33375         * math/w_lgammal_r.c: Likewise.
33376         * math/w_pow.c: Likewise.
33377         * math/w_powf.c: Likewise.
33378         * math/w_powl.c: Likewise.
33379         * math/w_remainder.c: Likewise.
33380         * math/w_remainderf.c: Likewise.
33381         * math/w_remainderl.c: Likewise.
33382         * math/w_scalb.c: Likewise.
33383         * math/w_scalbf.c: Likewise.
33384         * math/w_scalbl.c: Likewise.
33385         * math/w_scalbln.c: Likewise.
33386         * math/w_scalblnf.c: Likewise.
33387         * math/w_scalblnl.c: Likewise.
33388         * math/w_sinh.c: Likewise.
33389         * math/w_sinhf.c: Likewise.
33390         * math/w_sinhl.c: Likewise.
33391         * math/w_tgamma.c: Likewise.
33392         * math/w_tgammaf.c: Likewise.
33393         * math/w_tgammal.c: Likewise.
33394         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33395         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33396         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33397         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33398         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33399         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33400         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33401         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33402         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33403         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33404         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33405         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33406         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33407         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33408         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33409         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33410         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33411         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33412         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33413         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33415         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33416         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33417         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33418         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33419         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33420         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33421         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33422         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33423         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33424         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33425         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33426         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33427         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33428         * stdio-common/printf_fp.c: Likewise.
33429         * stdio-common/printf_fphex.c: Likewise.
33430         * stdio-common/printf_size.c: Likewise.
33432 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33434         [BZ #18470]
33435         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33436         strnlen.
33437         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33438         Remove variable.
33439         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33440         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33441         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33442         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33443         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33444         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33445         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33446         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33447         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33448         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33450         [BZ #18468]
33451         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33452         weak alias of __wmemchr.  Use libc_hidden_weak.
33453         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33454         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33455         instead of wmemchr.
33457 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33459         [BZ #18383]
33460         * elf/tst-tlsalign-extern.c: New file.
33461         * elf/tst-tlsalign-extern-static.c: New file.
33462         * elf/tst-tlsalign-vars.c: New file.
33463         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33464         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33465         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33466         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33467         (test-xfail-tst-tlsalign-extern-static): New variable.
33469 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33471         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33472         Use variable name _sc_err instead of err.
33473         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33474         instead of ret.
33475         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33476         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33477         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33478         (INLINE_SYSCALL): Likewise.
33480         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33481         * include/string.h (__strnlen): Use libc_hidden_proto.
33482         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33483         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33484         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33485         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33486         (libc_hidden_def): Undefine and redefine.
33487         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33488         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33489         __GI_strnlen.
33490         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33491         libc_hidden_def.
33492         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33494         [BZ #18469]
33495         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33496         weak alias of __towlower.  Use libc_hidden_weak.
33497         (towupper): Rename to __towupper and define as weak alias of
33498         __towupper.  Use libc_hidden_weak.
33499         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33500         (__towupper): Likewise.
33501         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33502         __towlower instead of towlower.
33504 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33506         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33507         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33509 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33511         * sysdeps/aarch64/libm-test-ulps: Update.
33513 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33515         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33516         Define.
33517         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33518         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33519         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33520         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33521         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33522         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33523         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33525 2015-06-01  Martin Sebor  <msebor@redhat.com>
33527         [BZ #18116]
33528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33529         (__setcontext): Use extended four-operand version of mtsf whenever
33530         possible.
33531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33532         (__novec_swapcontext): Likewise.
33534 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33536         * benchtests/scripts/compare_bench.py: New file.
33537         * benchtests/scripts/import_bench.py (mean): New function.
33538         (split_list): Likewise.
33539         (do_for_all_timings): Likewise.
33540         (compress_timings): Likewise.
33542         * benchtests/scripts/import_bench.py: New file.
33543         * benchtests/scripts/validate_benchout.py: Import import_bench
33544         instead of jsonschema.
33545         (validate_bench): Remove function.
33546         (main): Use import_bench.
33548 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33550         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33551         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33553 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33557 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33559         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33560         set THREAD_SELF->tid to a magic value and futex-wake it.
33561         Pass its address to the thread_exit system call.
33562         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33563         bit is clear.
33564         * sysdeps/nacl/lowlevellock.h: New file.
33565         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33567         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33568         Add TIMEOUT to current time, don't subtract it.
33570 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33572         [BZ #2981]
33573         [BZ #18422]
33574         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33575         ($(objpfx)tst-audit2.out): Also depend on
33576         $(objpfx)tst-auditmod9b.so.
33577         * elf/tst-audit2.c: Include <dlfcn.h>.
33578         (calloc_called): New.
33579         (calloc): Allow to be called more than once.
33580         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33582 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33584         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33585         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33587 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33589         * stdlib/monetary.h: Fix comment.
33591 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33593         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33594         Avoid using variables in #defines that might cause shadowing.
33595         (INTERNAL_VSYSCALL_CALL): Likewise.
33597 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33599         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33601         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33602         * nptl/lll_timedlock_wait.c: ... to this new file.
33603         * nptl/Makefile (libpthread-routines): Add it.
33604         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33605         * nptl/lll_timedwait_tid.c: ... to this new file.
33606         * nptl/Makefile (libpthread-routines): Add it.
33607         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33608         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33609         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33610         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33611         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33612         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33613         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33614         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33615         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33616         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33618 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33620         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33621         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33622         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33624         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33625         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33626         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33628         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33629         * sysdeps/unix/sysv/linux/tile/sysdep.h
33630         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33631         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33632         using vDSO syscall macro.
33634 2015-05-26  Andriy Rysin  <arysin@gmail.com>
33636         [BZ #17293]
33637         * uk_UA: Fix sorting order for Ukrainian locale
33639 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
33641         * stdlib/monetary.h: Fix comment.
33643 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33645         [BZ #18234]
33646         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33647         st_mtim and st_ctim members.
33648         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33649         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33650         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33651         (struct stat64): Likewise.
33652         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33653         (struct stat64): Likewise.
33654         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33655         (struct stat64): Likewise.
33657 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33659         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33660         Define and include sysdep-vdso.h.
33661         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33662         Likewise.
33663         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33664         Likewise.
33665         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33666         Define with VDSO_SYMBOL and use PTR_MANGLE.
33667         (__vdso_clock_gettime): Likewise.
33668         (__vdso_clock_getres): Likewise.
33669         (_libc_vdso_platform_setup): Likewise.
33670         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33671         Likewise.
33672         (_libc_vdso_platform_setup): Likewise.
33673         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33674         Likewise.
33675         (__vdso_clock_gettime): Likewise.
33676         (__vdso_clock_getres): Likewise.
33677         (__vdso_get_tbfreq): Likewise.
33678         (__vdso_getcpu): Likewise.
33679         (__vdso_time): Likewise.
33680         (__vdso_sigtramp_rt64): Likewise.
33681         (__vdso_signtramp32): Likewise.
33682         (__vdso_sigtramp_rt32): Likewise.
33683         (_libc_vdso_platform_setup): Likewise.
33684         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
33685         Likewise.
33686         (__vdso_clock_gettime): Likewise.
33687         (__vdso_clock_getres): Likewise.
33688         (_libc_vdso_platform_setup): Likewise.
33689         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
33690         Likewise.
33691         (__vdso_clock_gettime): Likewise.
33692         (_libc_vdso_platform_setup): Likewise.
33693         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33694         Likewise.
33695         (__vdso_getcpu): Likewise.
33696         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
33697         Use VDSO_SYMBOL macro to define.
33698         (__vdso_clock_gettime): Likewise.
33699         (__vdso_clock_getres): Likewise.
33700         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
33701         Likewise.
33702         (__vdso_clock_gettime): Likewise.
33703         (__vdso_clock_getres): Likewise.
33704         (__vdso_get_tbfreq): Likewise.
33705         (__vdso_getcpu): Likewise.
33706         (__vdso_time): Likewise.
33707         (__vdso_sigtramp_rt64): Likewise.
33708         (__vdso_signtramp32): Likewise.
33709         (__vdso_sigtramp_rt32): Likewise.
33710         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
33711         Likewise.
33712         (__vdso_clock_gettime): Likewise.
33713         (__vdso_clock_getres): Likewise.
33714         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
33715         Likewise.
33716         (__vdso_clock_gettime): Likewise.
33717         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33718         Likewise.
33719         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
33720         macro.
33721         (INTERNAL_VSYSCALL): Likewise.
33722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
33723         Remove macro.
33724         (INTERNAL_VSYSCALL): Likewise.
33725         (INTERNAL_VSYSCALL_NCS): Likewise.
33726         (INTERNAL_VSYSCALL_CALL): New macro.
33727         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
33729         Likewise.
33730         (INTERNAL_VSYSCALL): Likewise.
33731         (INTERNAL_VSYSCALL_NCS): Likewise.
33732         (INTERNAL_VSYSCALL_CALL): New macro.
33733         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33735         (INLINE_VSYSCALL): Remove macro.
33736         (INTERNAL_VSYSCALL): Remove macro.
33737         (INTERNAL_VSYSCALL_NCS): Remove macro.
33738         (INTERNAL_VSYSCALL_CALL): New macro.
33739         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
33740         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
33741         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33742         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
33743         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33745         (INLINE_VSYSCALL): Remove macro.
33746         (INTERNAL_VSYSCALL): Likewise.
33747         (INTERNAL_VSYSCALL_NCS): Likewise.
33748         (INTERNAL_VSYSCALL_CALL): New macro.
33749         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
33750         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
33751         PTR_DEMANGLE on vDSO pointer.
33752         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33753         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
33754         macro.
33755         (INTERNAL_SYSCALL): Likewise.
33756         (INTERNAL_VSYSCALL_NCS): Remove macro.
33757         (INTERNAL_VSYSCALL_CALL): New macro.
33758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
33759         Remove macro.
33760         (INTERNAL_VSYSCALL): Likewise.
33761         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
33762         sysdep-vdso.h instead of libc-vdso.h.
33763         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
33764         definition.
33765         (INLINE_VSYSCALL): Likewise.
33766         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
33767         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
33768         definition.
33769         (INLINE_VSYSCALL): Likewise.
33770         (INTERNAL_VSYSCALL): Likewise.
33771         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33772         * sysdeps/unix/sysv/linux/timespec_get.c
33773         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33774         (timespec_get): Use ANSI prototype.
33775         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
33776         and definition for Linux.
33778 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33780         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
33781         * include/libc-symbols.h: libmvec_hidden_* macro series added.
33783 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33785         [BZ #2981]
33786         [BZ #18410]
33787         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
33788         for missing DT_PLTRELSZ.
33790 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33792         Remove obsolete aliases that broke 'locale -a'
33793         [BZ #18412]
33794         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
33795         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
33796         breaking some applications that use 'locale -a' output.
33797         Change the encoding of this file from Latin-1 to ASCII to avoid
33798         other potential problems with people grepping this file.
33800 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33802         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
33803         -fasynchronous-unwind-tables.
33804         (CFLAGS-sendto.c): Likewise.
33805         (CFLAGS-sendmsg.c): Likewise.
33806         (CFLAGS-connect.c): Likewise.
33807         (CFLAGS-recvmsg.c): Likewise.
33808         (CFLAGS-recvfrom.c): Likewise.
33809         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
33810         (SOCKETCALL): New macro: non-cancellable socketcall.
33811         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
33812         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
33813         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
33814         * sysdeps/unix/sysv/linux/accept.c: New file.
33815         * sysdeps/unix/sysv/linux/bind.c: Likewise.
33816         * sysdeps/unix/sysv/linux/connect.c: Likewise.
33817         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
33818         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
33819         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
33820         * sysdeps/unix/sysv/linux/listen.c: Likewise.
33821         * sysdeps/unix/sysv/linux/recv.c: Likewise.
33822         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
33823         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
33824         * sysdeps/unix/sysv/linux/send.c: Likewise.
33825         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
33826         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
33827         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
33828         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
33829         * sysdeps/unix/sysv/linux/socket.c: Likewise.
33830         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
33831         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
33832         prototype.
33833         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
33834         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33835         instead of __internal_xxx function.
33836         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
33837         prototype.
33838         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
33839         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33840         instead of __internal_xxx function.
33841         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
33842         prototype.
33843         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
33844         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33845         instead of __internal_xxx function.
33846         * sysdeps/unix/sysv/linux/accept.S: Remove file.
33847         * sysdeps/unix/sysv/linux/bind.S: Likewise.
33848         * sysdeps/unix/sysv/linux/connect.S: Likewise.
33849         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
33850         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
33851         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
33852         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
33853         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
33854         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
33855         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
33856         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
33857         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33858         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
33859         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
33860         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
33861         * sysdeps/unix/sysv/linux/listen.S: Likewise.
33862         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
33863         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
33864         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
33865         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
33866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
33867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
33868         * sysdeps/unix/sysv/linux/recv.S: Likewise.
33869         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
33870         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
33871         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
33872         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33873         * sysdeps/unix/sysv/linux/send.S: Likewise.
33874         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
33875         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
33876         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
33877         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
33878         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
33879         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
33880         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
33881         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
33882         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
33883         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
33884         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
33885         socketcall is implemented in GLIBC.
33887 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33889         * soft-fp/fmadf4.c: Include <libc-internal.h>.
33890         (__fma): Ignore uninitialized warnings around packing.
33891         * soft-fp/fmasf4.c: Include <libc-internal.h>.
33892         (__fmaf): Ignore uninitialized warnings around packing.
33893         * soft-fp/fmatf4.c: Include <libc-internal.h>.
33894         (__fmal): Ignore uninitialized warnings around packing.
33896         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
33897         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33898         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
33899         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33901         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
33902         switch statement into default case.
33903         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
33905         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
33906         a conditional in forcing "inexact".
33907         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33908         Likewise.
33910 2015-05-22  Roland McGrath  <roland@hack.frob.com>
33912         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33913         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
33914         for each INTERNAL_SYSCALL use.
33916 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33918         [BZ #438]
33919         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33920         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33921         variable.
33923         [BZ #18444]
33924         * string/basename.c (basename): Rename to __basename and define as
33925         weak alias of __basename.  Use libc_hidden_weak.
33926         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
33927         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33928         __basename instead of basename.
33929         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33930         Remove variable.
33931         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33933 2015-05-18  Florian Weimer  <fweimer@redhat.com>
33935         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33936         (_IO_JUMPS_FILE_plus): New.
33937         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33938         _IO_CAST_FIELD_ACCESS.
33939         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33940         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33941         * libio/freopen.c (freopen): Likewise.
33942         * libio/freopen64.c (freopen64): Likewise.
33943         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33944         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33945         * libio/iofwide.c (_IO_fwide): Likewise.
33946         * libio/memstream.c (open_memstream): Likewise.
33947         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33948         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33949         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33951 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33953         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33954         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33955         NADJ.
33956         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33957         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33958         NADJ.
33959         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33960         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33961         NADJ.
33963         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33964         (p == 4) case.
33966         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33967         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33968         Remove variable.
33969         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33970         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33971         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33973 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33975         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33976         Adjust jump table label generation macros.
33978 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33980         * stdio-common/vfprintf.c (vfprintf): Move local variables
33981         args_malloced, specs, specs_malloced, and the code after
33982         do_positional to the printf_positional function.
33983         (printf_positional): New function.
33985 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33987         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33988         function.
33989         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33990         STEP4_TABLE, process_arg): Move macro definitions
33991         out of the vfprintf function.  (Cosmetic change only.)
33993 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33995         * benchtests/Makefile (stdio-common-bench): Define.
33996         (benchset): Add stdio-common-bench.
33997         * sprintf-inputs: New file.
33998         * sprintf-source.c: New file.
34000 2015-05-21  Andreas Schwab  <schwab@suse.de>
34002         [BZ #13028]
34003         [BZ #17053]
34004         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
34005         of struct __res_state.
34006         * resolv/res_send.c (__libc_res_nsend): Likewise.
34007         (get_nsaddr): New function.
34008         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
34009         statp directly.
34011 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
34013         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
34014         -D_POSIX_C_SOURCE=199506L.
34016         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
34018         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
34019         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
34020         Do not mention otherwise.
34021         [POSIX] (_XOPEN_VERSION): Do not expect.
34022         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
34023         [POSIX] (_POSIX2_C_BIND): Likewise.
34024         [POSIX] (_POSIX2_VERSION): Likewise.
34025         [POSIX] (_XOPEN_XPG2): Likewise.
34026         [POSIX] (_XOPEN_XPG3): Likewise.
34027         [POSIX] (_XOPEN_XPG4): Likewise.
34028         [POSIX] (_XOPEN_UNIX): Likewise.
34029         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
34030         [POSIX] (_POSIX_BARRIERS): Likewise.
34031         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
34032         [POSIX] (_POSIX_CPUTIME): Likewise.
34033         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
34034         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
34035         [POSIX] (_POSIX_SHELL): Likewise.
34036         [POSIX] (_POSIX_SPAWN): Likewise.
34037         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
34038         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
34039         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
34040         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
34041         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
34042         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
34043         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34044         [POSIX] (_XBS5_LP64_OFF64): Likewise.
34045         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
34046         [POSIX] (_POSIX_TIMEOUTS): Likewise.
34047         [POSIX] (_POSIX2_PBS): Likewise.
34048         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34049         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
34050         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
34051         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
34052         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
34053         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
34054         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
34055         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
34056         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
34057         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
34058         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
34059         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
34060         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
34061         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
34062         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
34063         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
34064         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
34065         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
34066         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
34067         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
34068         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
34069         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
34070         [POSIX] (_SC_2_C_BIND): Likewise.
34071         [POSIX] (_SC_2_C_VERSION): Likewise.
34072         [POSIX] (_SC_2_PBS): Likewise.
34073         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
34074         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
34075         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
34076         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
34077         [POSIX] (_SC_2_PBS_TRACK): Likewise.
34078         [POSIX] (_SC_ATEXIT_MAX): Likewise.
34079         [POSIX] (_SC_BARRIERS): Likewise.
34080         [POSIX] (_SC_BASE): Likewise.
34081         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
34082         [POSIX] (_SC_DEVICE_IO): Likewise.
34083         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
34084         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
34085         [POSIX] (_SC_FD_MGMT): Likewise.
34086         [POSIX] (_SC_FIFO): Likewise.
34087         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
34088         [POSIX] (_SC_FILE_LOCKING): Likewise.
34089         [POSIX] (_SC_FILE_SYSTEM): Likewise.
34090         [POSIX] (_SC_IOV_MAX): Likewise.
34091         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
34092         [POSIX] (_SC_NETWORKING): Likewise.
34093         [POSIX] (_SC_PAGE_SIZE): Likewise.
34094         [POSIX] (_SC_PASS_MAX): Likewise.
34095         [POSIX] (_SC_PIPE): Likewise.
34096         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
34097         [POSIX] (_SC_REGEXP): Likewise.
34098         [POSIX] (_SC_SHELL): Likewise.
34099         [POSIX] (_SC_SIGNALS): Likewise.
34100         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
34101         [POSIX] (_SC_SPIN_LOCKS): Likewise.
34102         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
34103         [POSIX] (_SC_USER_GROUPS): Likewise.
34104         [POSIX] (_SC_USER_GROUPS_R): Likewise.
34105         [POSIX] (_SC_STREAMS): Likewise.
34106         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
34107         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
34108         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
34109         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
34110         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
34111         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
34112         [POSIX] (_PC_FILESIZEBITS): Likewise.
34113         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
34114         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
34115         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
34116         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
34117         [POSIX] (uid_t): Likewise.
34118         [POSIX] (gid_t): Likewise.
34119         [POSIX] (off_t): Likewise.
34120         [POSIX] (pid_t): Likewise.
34121         [POSIX] (cuserid): Allow.
34122         (_SC_2_CHAR_TERM): Require constant.
34123         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
34124         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
34125         variable.
34127 2015-05-20  Roland McGrath  <roland@hack.frob.com>
34129         * sysdeps/nacl/pthread-pids.h: New file.
34130         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
34131         (create_thread): Use __nacl_get_tid to initialize PD->tid.
34133         * nptl/pthread-pids.h: New file.
34134         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
34135         * nptl/nptl-init.c: Include <pthread-pids.h>.
34136         (__pthread_initialize_minimal_internal):
34137         Call __pthread_initialize_pids instead of set_tid_address syscall.
34139         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
34140         * sysdeps/posix/usleep.c: ... here.
34142 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34144         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
34145         call_pselect6 object.
34146         [$(subdir) = io]: Remove call_sync_file_range object.
34147         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
34148         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
34149         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
34150         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
34152 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
34154         * math/s_cproj.c: Add include "math_private.h".
34155         * math/s_cprojf.c: Likewise.
34156         * math/s_cprojl.c: Likewise.
34158 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
34160         [BZ #18244]
34161         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
34162         high mantissa bit when testing whether P is a NaN.
34163         * math/libm-test.inc (remainder_test_data): Add more tests.
34164         (remquo_test_data): Likewise.
34166         [BZ #18049]
34167         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
34168         below -32, return the argument, with underflow if subnormal.
34169         * math/auto-libm-test-in: Add more tests of atanh.
34170         * math/auto-libm-test-out: Regenerated.
34172 2015-05-19  Roland McGrath  <roland@hack.frob.com>
34174         [BZ #18434]
34175         * nptl/tst-sem15.c: New file.
34176         * nptl/Makefile (tests): Add it.
34177         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34178         s/<</>>/ to fix typo in EOVERFLOW check.
34179         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34181 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34183         * manual/strings.texi (envz_remove): Fix typo in safety
34184         annotations.
34186 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
34187             Steve Ellcey  <sellcey@imgtec.com>
34189         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34190         in order to avoid strict alias warnings.
34191         (iruserok_af): Ditto for ra.
34193 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
34195         [BZ #17581]
34196         * malloc/hooks.c
34197         (magicbyte): Convert to a function and avoid returning 0x01.
34198         (mem2mem_check): Avoid using a length byte equal to the magic byte.
34199         (mem2chunk_check): Fix unsigned comparisons to zero.
34200         Hoist defs of sz and magic.
34202 2015-05-19  Richard Henderson  <rth@redhat.com>
34204         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
34206         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34208 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34210         [BZ #16159]
34211         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
34212         * malloc/arena.c (arena_lock): Check if arena is corrupt.
34213         (reused_arena): Find a non-corrupt arena.
34214         (heap_trim): Pass arena to unlink.
34215         * malloc/hooks.c (malloc_check_get_size): Pass arena to
34216         malloc_printerr.
34217         (top_check): Likewise.
34218         (free_check): Likewise.
34219         (realloc_check): Likewise.
34220         * malloc/malloc.c (malloc_printerr): Add arena argument.
34221         (unlink): Likewise.
34222         (munmap_chunk): Adjust.
34223         (ARENA_CORRUPTION_BIT): New macro.
34224         (arena_is_corrupt): Likewise.
34225         (set_arena_corrupt): Likewise.
34226         (sysmalloc): Use mmap if there are no usable arenas.
34227         (_int_malloc): Likewise.
34228         (__libc_malloc): Don't fail if arena_get returns NULL.
34229         (_mid_memalign): Likewise.
34230         (__libc_calloc): Likewise.
34231         (__libc_realloc): Adjust for additional argument to
34232         malloc_printerr.
34233         (_int_free): Likewise.
34234         (malloc_consolidate): Likewise.
34235         (_int_realloc): Likewise.
34236         (_int_memalign): Don't touch corrupt arenas.
34237         * malloc/tst-malloc-backtrace.c: New test case.
34239         * Makefile (summarize-tests): Fix return value on success.
34241         * manual/string.texi (Envz Functions): Add envz_remove.
34243 2015-05-18  Roland McGrath  <roland@hack.frob.com>
34245         * sysdeps/posix/opendir.c: Include <stdbool.h>.
34246         (invalid_name): New function, broken out of ...
34247         (__opendirat): ... here.  Call it.
34248         (need_isdir_precheck): New function, broken out of ...
34249         (__opendirat): ... here.  Call it.
34250         Use __fxstatat64, not __xstatat64.
34251         (opendir_oflags): New function, broken out of ...
34252         (__opendirat): ... here.  Call it.
34253         (opendir_tail): New function, broken out of ...
34254         (__opendirat): ... here.  Call it.
34255         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
34256         opendir_tail, rather than punting to __opendirat.
34257         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
34259 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34261         * .gitignore: Ignore generated *.pyc.
34263 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
34265         * include/stdio.h: Define __need_wint_t.
34266         * test-skeleton.c: Avoid `for' loop initial declaration.
34267         * nptl/tst-initializers1.c: Use test-skeleton.c.
34269 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34271         [BZ #18418]
34272         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
34274 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34276         [BZ #16352]
34277         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34278         (__ieee754_atanh): Force underflow exception for results with
34279         small absolute value.
34280         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34281         (__ieee754_atanhf): Force underflow exception for results with
34282         small absolute value.
34283         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34284         (__ieee754_atanh): Force underflow exception for results with
34285         small absolute value.
34286         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34287         (__ieee754_atanhf): Force underflow exception for results with
34288         small absolute value.
34289         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34290         (__ieee754_atanhl): Force underflow exception for results with
34291         small absolute value.
34292         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34293         (__ieee754_atanhl): Force underflow exception for results with
34294         small absolute value.
34295         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34296         (__ieee754_atanhl): Force underflow exception for results with
34297         small absolute value.
34298         * math/auto-libm-test-in: Do not allow missing underflow
34299         exceptions from atanh.
34300         * math/auto-libm-test-out: Regenerated.
34302         [BZ #18221]
34303         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34304         2**-28 as threshold for returning x or +/- 1/x.
34305         * math/auto-libm-test-in: Add more tests of tan.
34306         * math/auto-libm-test-out: Regenerated.
34308         [BZ #18220]
34309         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34310         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34311         * math/auto-libm-test-in: Add another test of lgamma.
34312         * math/auto-libm-test-out: Regenerated.
34314 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
34316         * stdio-common/printf_fp.c (___printf_fp): Use abs.
34317         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
34318         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34319         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34320         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
34321         (ADD2A): Use fabs.  (SUB2A): Use fabs.
34322         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34323         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34324         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34325         (log1): Use fabs.  (my_log2): Use fabs.
34326         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34327         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34328         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34329         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34330         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34331         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34332         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34333         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34334         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34335         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34336         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34338 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34340         [BZ #18217]
34341         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34342         as threshold for returning 1 - x.
34343         * math/auto-libm-test-in: Add more tests of erfc.
34344         * math/auto-libm-test-out: Regenerated.
34346 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34348         [BZ #18196]
34349         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34350         threshold for large arguments.
34351         * math/auto-libm-test-in: Add another test of atan.
34352         * math/auto-libm-test-out: Regenerated.
34354         [BZ #16339]
34355         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34356         (__log1p): Force underflow exception for results with small
34357         absolute value.
34358         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34359         (__log1pf): Force underflow exception for results with small
34360         absolute value.
34361         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34362         (__log1p): Force underflow exception for results with small
34363         absolute value.
34364         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34365         (__log1pf): Force underflow exception for results with small
34366         absolute value.
34367         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34368         (__log1pl): Force underflow exception for results with small
34369         absolute value.
34370         * math/auto-libm-test-in: Do not allow missing underflow
34371         exceptions from log1p.
34372         * math/auto-libm-test-out: Regenerated.
34374 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34375             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34377         [BZ #16704]
34378         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34380 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34382         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34383         (libmvec): New variable.
34384         * configure.ac: Added option for mathvec build.
34385         * configure: Regenerated.
34386         * mathvec/Depend: New file.
34387         * mathvec/Makefile: New file.
34388         * shlib-versions: Added libmvec.
34389         * math/Makefile: Added rule for libm.so installation.
34391         * bits/math-vector.h: New file.
34392         * bits/libm-simd-decl-stubs.h: New header.
34393         * math/Makefile (headers): Added new header
34394         libm-simd-decl-stubs.h.
34395         * math/math.h (__MATHCALL_VEC): New macro.
34397         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34398         for conditions in testing functions.
34399         * math/Makefile: Added call of libm-have-vector-test.sh.
34400         * math/libm-test.inc (HAVE_VECTOR): New macros.
34402         * math/libm-test.inc: START refactored.
34403         * math/test-double.c (TEST_MATHVEC): Add define.
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         * sysdeps/generic/math-tests-arch.h
34410         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34411         architecture check.
34413         * math/test-double.c (FUNC_TEST): New macro.
34414         * math/test-float.c: Likewise.
34415         * math/test-idouble.c: Likewise.
34416         * math/test-ifloat.c: Likewise.
34417         * math/test-ildoubl.c: Likewise.
34418         * math/test-ldouble.c: Likewise.
34419         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34421 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34423         * sysdeps/nacl/fdopendir.c: New file.
34425         * dirent/scandir-tail.c: New file.
34426         * dirent/scandir64-tail.c: New file.
34427         * dirent/Makefile (routines): Add them.
34428         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34429         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34430         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34431         [!SCANDIR] (SCANDIR_TAIL): New macro.
34432         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34433         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34434         (SCANDIRAT): Macro removed.
34435         (SCANDIR_TAIL): New macro.
34436         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34437         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34438         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34439         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34440         (READDIR): Macro removed.
34441         (SCANDIR_TAIL): New macro.
34442         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34443         (SCANDIR_TAIL): New macro.
34445         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34446         * dirent/scandir-cancel.c: ... to this new file.
34447         * dirent/Makefile (routines): Add it.
34448         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34449         * sysdeps/unix/sysv/linux/i386/scandir64.c
34450         (SKIP_SCANDIR_CANCEL): Macro removed.
34451         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34453         * dirent/tst-scandir.c: New file.
34454         * dirent/tst-scandir64.c: New file.
34455         * dirent/Makefile (tests): Add them.
34457 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34459         [BZ #18409]
34460         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34462 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34464         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34465         list.
34467 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34469         * benchtests/bench-strcoll.c: New benchmark.
34470         * benchtests/Makefile: Generate locales and run benchmark.
34471         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34472         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34473         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34474         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34475         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34476         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34477         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34478         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34479         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34480         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34481         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34482         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34483         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34484         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34485         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34486         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34487         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34488         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34489         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34490         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34491         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34492         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34493         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34494         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34496 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34498         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34499         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34501 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34503         * posix/uname-values.h: New file.
34504         * posix/uname.c: Include that instead of <config-name.h>.
34505         * sysdeps/nacl/uname-values.h: New file.
34506         * sysdeps/arm/nacl/uname-values.h: New file.
34508 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34510         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34511         splitting into fields.
34513 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34515         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34516         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34517         * locale/localeinfo.h: Add enum collation_encoding_type.
34518         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34519         * programs/ld-collate.c (collate_output): Add encoding type info.
34520         * string/strcoll_l.c (STRDIFF): New function.
34521         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34522         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34524 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34526         [BZ #18397]
34527         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34528         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34529         <fpu_control.h> instead of <math/fpu_control.c>.
34530         * sysdeps/mips/mips32/fpu/Makefile: New file.
34532 2015-05-11  Andreas Schwab  <schwab@suse.de>
34534         [BZ #18007]
34535         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34536         nss_endgrent.
34537         (_nss_compat_endgrent): Call nss_endgrent.
34538         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34539         nss_endpwent.
34540         (_nss_compat_endpwent): Call nss_endpwent.
34541         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34542         needent, call nss_setspent only if non-zero.
34543         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34544         (internal_endspent): Don't call nss_endspent.
34545         (_nss_compat_endspent): Call nss_endspent.
34546         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34547         Remove.  All uses removed.
34548         (internal_setent): Remove parameter stayopen, add parameter
34549         stream.  Use it instead of global variable.
34550         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34551         (internal_endent, internal_getent): Add parameter stream.  Use it
34552         instead of global variable.
34553         (CONCAT(_nss_files_end,ENTNAME))
34554         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34555         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34556         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34557         uses removed.
34558         (internal_setent, internal_endent): Add parameter stream.  Use it
34559         instead of global variable.
34560         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34561         stream.
34562         (get_next_alias): Add parameter stream.
34563         (_nss_files_getaliasent_r): Pass global stream.
34564         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34565         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34566         (_nss_files_gethostbyname4_r): Pass local stream to
34567         internal_setent, internal_getent and internal_endent.  Remove
34568         locking.
34570 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34572         * tst-strfmon1.c (tests): Update expected currency symbol.
34574 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34576         * sysdeps/nacl/gethostname.c: New file.
34578 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34580         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34581         and sinh.
34582         * math/auto-libm-test-out: Regenerated.
34583         * sysdeps/i386/fpu/libm-test-ulps: Update.
34584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34586 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34588         [BZ #18125]
34589         * stdlib/tst-setcontext3.c: New file.
34590         * stdlib/tst-setcontext3.sh: New file.
34591         * stdlib/Makefile (tests): Add tst-setcontext3.
34592         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34593         to verify test program created output file.
34594         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34595         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34596         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34597         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34599 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34601         [BZ #18383]
34602         * elf/tst-tlsalign.c: New file.
34603         * elf/tst-tlsalign-static.c: New file.
34604         * elf/tst-tlsalign-lib.c: New file.
34605         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34606         (tests-static): Add tst-tlsalign-static.
34607         (modules-names): Add tst-tlsalign-lib.
34608         (test-xfail-tst-tlsalign): New variable.
34609         (test-xfail-tst-tlsalign-static): New variable.
34611         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34612         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34614 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34616         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34617         csqrt, erfc, sin and sincos.
34618         * math/auto-libm-test-out: Regenerated.
34619         * sysdeps/i386/fpu/libm-test-ulps: Update.
34620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34622 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34624         * sysdeps/aarch64/libm-test-ulps: Update.
34626 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
34628         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34629         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34630         * math/auto-libm-test-out: Regenerated.
34631         * sysdeps/i386/fpu/libm-test-ulps: Update.
34632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34634 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
34636         [BZ #18265]
34637         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34638         (wcsncpy): Likewise.
34640 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34642         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34643         Assume __ASSUME_FALLOCATE is always true.
34644         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34645         (__posix_fallocate64_l64): Likewise.
34646         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34647         (posix_fallocate): Likewise.
34648         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34649         (__posix_fallocate64_l64): Likewise.
34650         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34651         [!__ASSUME_FALLOCATE]: Add comment.
34653 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34655         * sysdeps/unix/sysv/linux/i386/Makefile
34656         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34657         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34658         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34659         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34660         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34661         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34662         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34664 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
34666         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34667         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34668         tgamma.
34669         * math/auto-libm-test-out: Regenerated.
34670         * sysdeps/i386/fpu/libm-test-ulps: Update.
34671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34673 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34675         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
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 more tests of tan.
34686         * math/auto-libm-test-out: Regenerated.
34687         * sysdeps/i386/fpu/libm-test-ulps: Update.
34688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34690         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
34691         * math/auto-libm-test-out: Regenerated.
34692         * sysdeps/i386/fpu/libm-test-ulps: Update.
34693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34695         * math/auto-libm-test-in: Add another test of pow.
34696         * math/auto-libm-test-out: Regenerated.
34697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34699         * math/auto-libm-test-in: Add more tests of lgamma.
34700         * math/auto-libm-test-out: Regenerated.
34701         * sysdeps/i386/fpu/libm-test-ulps: Update.
34702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34704         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
34705         log1p.
34706         * math/auto-libm-test-out: Regenerated.
34707         * sysdeps/i386/fpu/libm-test-ulps: Update.
34708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34710 2015-05-01  Mark Wielaard  <mjw@redhat.com>
34712         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
34713         Elf64_Chdr structs and ELFCOMPRESS constants.
34715 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34717         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
34718         expm1.
34719         * math/auto-libm-test-out: Regenerated.
34720         * sysdeps/i386/fpu/libm-test-ulps: Update.
34721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34723         * math/auto-libm-test-in: Add more tests of erf and erfc.
34724         * math/auto-libm-test-out: Regenerated.
34725         * sysdeps/i386/fpu/libm-test-ulps: Update.
34726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34728 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34730         * config.h.in (HAVE_AARCH64_BE): Add.
34732 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
34734         * math/auto-libm-test-in: Add more tests of csqrt.
34735         * math/auto-libm-test-out: Regenerated.
34736         * sysdeps/i386/fpu/libm-test-ulps: Update.
34737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34739         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34740         * math/auto-libm-test-out: Regenerated.
34741         * sysdeps/i386/fpu/libm-test-ulps: Update.
34742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34744         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
34746 2015-04-29  Roland McGrath  <roland@hack.frob.com>
34748         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
34749         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
34751         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
34752         (euidaccess, eaccess): Define as weak aliases.
34754         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
34755         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
34756         but __suseconds_t is often 'long int' so some sources assume that
34757         type is being used (e.g. they use %ld to print tv_usec).
34759 2015-04-29  Florian Weimer  <fweimer@redhat.com>
34761         [BZ #18007]
34762         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
34763         (CVE-2014-8121)
34764         * nss/tst-nss-getpwent.c: New file.
34765         * nss/Makefile (tests): Add new test.
34767 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
34769         [BZ #18346]
34770         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
34771         exponents less than 48 as cases where high part of mantissa needs
34772         examining to determine whether argument is integral.
34773         * math/libm-test.inc (round_test_data): Add more tests.
34775 2015-04-28  Mark Wielaard  <mjw@redhat.com>
34777         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
34779 2015-04-27  David S. Miller  <davem@davemloft.net>
34781         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
34782         __tls_get_addr.
34783         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34785 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
34787         [BZ #18333]
34788         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
34790 2015-04-27  Florian Weimer  <fweimer@redhat.com>
34792         [BZ #18333]
34793         * time/tzset.c (parse_tzname): Return error on memory allocation
34794         failure.
34795         * test-skeleton.c (struct temp_name_list): Change type of name
34796         member to non-const.
34797         (add_temp_file): Create a copy of the file name.
34798         (delete_temp_files): Deallocate memory.
34799         (create_temp_file): Add comment.
34801 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34803         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
34804         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
34806 2015-04-24  Roland McGrath  <roland@hack.frob.com>
34808         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
34809         * sysdeps/arm/configure: Regenerated.
34811 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34813         [BZ #17715]
34814         * time/tzfile.c (__tzfile_read): Check for large values of
34815         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
34816         * time/tzset.c (__tzstring_len): New function, based on the old
34817         __tzstring function.
34818         (__tzstring): Call __tzstring_len.
34819         (parse_tzname): New helper function extracted from
34820         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
34821         the input string.
34822         (parse_offset): New helper function extracted from
34823         __tzset_parse_tz.  Replace switch with fallthrough with
34824         initialization before sscanf.
34825         (parse_rule): Likewise.
34826         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
34827         new-style function definition.
34828         * timezone/Makefile (tests): Add tst-tzset.
34829         (tst-tzset.out): Dependencies on time zone files.
34830         (tst-tzset-ENV): Set TZDIR.
34831         (testdata/XT%): Copy crafted time zone files.
34832         * timezone/README: Mention crafted time zone files.
34833         * timezone/testdata/XT1, timezone/testdata/XT2,
34834         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
34835         files.
34836         * timezone/tst-tzset.c: New test.
34838 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34840         * Makeconfig (+gccwarn): Remove -Winline.
34842 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34844         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
34846 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34848         * NEWS: Mention sysconf() cache information support for s390.
34849         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
34851 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
34853         * math/k_casinh.c (__kernel_casinh): Use __copysign.
34854         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
34855         (__nearbyint): Likewise.
34856         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
34857         (copysignl): Likewise.
34859 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
34861         [BZ #18287]
34862         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
34863         based on padding.  (CVE-2015-1781)
34865 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34867         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
34868         libc-vdso.h.
34869         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
34870         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
34871         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
34872         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34873         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34874         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
34875         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
34876         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34877         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34878         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
34879         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34880         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34881         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34882         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
34883         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34884         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
34885         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
34886         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
34887         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
34888         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
34889         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
34890         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
34891         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34893 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34895         * stdlib/setenv.c (__add_to_environ):
34896         Dump core quickly if setenv (..., NULL, ...) is called.
34897         This time, do it the right way, and pacify GCC with a pragma.
34899 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34901         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
34902         IMAP->l_prev cannot be null, and #if out the code for the contrary
34903         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
34904         believe that NS (&_dl_ns[NSID]) could point outside the array.
34906         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
34907         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
34908         before using NSID as an index.
34910 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
34912         [BZ #17825]
34913         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
34914         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
34915         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34917 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34919         Add preliminary port to Google Native Client on ARM.
34920         * abi-tags (.*-.*-nacl.*): New entry.
34921         * sysdeps/arm/nacl: New directory.
34922         * sysdeps/nacl: New directory.
34924 2015-04-16  David S. Miller  <davem@davemloft.net>
34926         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34927         lowlevellock-futex.h
34929 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
34931         * sysdeps/tile/configure.ac: New file.
34932         * sysdeps/tile/configure: Regenerated.
34934 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34936         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
34937         conditionals for weak_alias and libc_hidden_weak.
34938         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34939         libc_hidden_weak and weak_alias.
34940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34941         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34942         and weak_alias for static one.
34944 2015-04-15  David S. Miller  <davem@davemloft.net>
34946         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34948 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34950         [BZ #18206]
34951         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34952           Use signed comparision instead of substraction to avoid
34953           overflow bug.
34954         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34955           Take the sign of ret.
34956         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34957           Do not expect precise return values. Only the sign matters.
34958         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34959         * wcsmbs/test-wcsncmp.c: New File.
34960         * string/test-strncmp.c: Add wcsncmp support.
34962 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34964         [BZ #6792]
34965         * math/w_log1p.c: New file.
34966         * math/w_log1pf.c: Likewise.
34967         * math/w_log1pl.c: Likewise.
34968         * math/Makefile (libm-calls): Add w_log1p.
34969         * math/s_log1pl.c (log1pl): Remove weak_alias.
34970         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34971         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34972         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34973         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34974         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34975         [NO_LONG_DOUBLE] (log1pl): Likewise.
34976         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34977         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34978         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34979         (log1p): Remove long_double_symbol.
34980         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34981         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34982         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34983         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34984         remove weak_alias for corresponding log1p function.
34985         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34986         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34987         * sysdeps/ia64/fpu/w_log1p.c: New file.
34988         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34989         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34990         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34992 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34994         [BZ #18247]
34995         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34996         decimal exponent by 1.
34997         * stdlib/tst-strtod-round-data: Add more tests.
34998         * stdlib/tst-strtod-round.c (tests): Regenerated.
35000 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
35002         * math/auto-libm-test-in: Add more tests of clog and clog10.
35003         * math/auto-libm-test-out: Regenerated.
35004         * sysdeps/i386/fpu/libm-test-ulps: Update.
35005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35007 2015-04-09  Roland McGrath  <roland@hack.frob.com>
35009         * Makeconfig (module-cppflags): Exclude all .v.i files.
35010         (skip-module-cppflags): Variable removed.
35012         * configure.ac (libc_config_ok): Initialize before reading
35013         preconfigure scripts, not after.
35014         * configure: Regenerated.
35016         * test-skeleton.c (TIMEOUT): Move #define to top level.
35017         (main): Grok environment variable TEST_DIRECT.  If set, print
35018         test expectation details into that file and then behave as if
35019         given --direct.
35021 2015-04-09  Florian Weimer  <fweimer@redhat.com>
35023         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
35024         warning on 32-bit.
35026 2015-04-08  David S. Miller  <davem@davemloft.net>
35028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35030 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35032         * math/auto-libm-test-in: Add more tests of atanh.
35033         * math/auto-libm-test-out: Regenerated.
35034         * sysdeps/i386/fpu/libm-test-ulps: Update.
35035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35037         * math/auto-libm-test-in: Add more tests of atan.
35038         * math/auto-libm-test-out: Regenerated.
35039         * sysdeps/i386/fpu/libm-test-ulps: Update.
35040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35042 2015-04-08  Florian Weimer  <fweimer@redhat.com>
35044         * elf/pldd.c (main): Rewrite to use struct
35045         scratch_buffer instead of extend_alloca.
35046         * elf/pldd-xx.c (find_maps): Likewise.
35047         * grp/initgroups.c: Include <scratch_buffer.h> instead of
35048         <alloca.h>.
35049         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
35050         scratch_buffer instead of extend_alloca.
35051         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
35052         grp/compat-initgroups.c.
35053         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
35054         Rewrite to use struct scratch_buffer instead of extend_alloca.
35055         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
35056         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35058 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35060         * math/auto-libm-test-in: Add more tests of cbrt.
35061         * math/auto-libm-test-out: Regenerated.
35062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35064         * math/auto-libm-test-in: Add more tests of cabs.
35065         * math/auto-libm-test-out: Regenerated.
35066         * sysdeps/i386/fpu/libm-test-ulps: Update.
35067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35069         [BZ #18210]
35070         [BZ #18211]
35071         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
35072         (__ieee754_atan2): Set FE_TONEAREST mode for internal
35073         computations.
35074         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35075         clog10.
35076         * math/auto-libm-test-out: Regenerated.
35077         * sysdeps/i386/fpu/libm-test-ulps: Update.
35078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35080         [BZ #18197]
35081         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
35082         (atan): Set FE_TONEAREST mode for internal computations.
35083         * math/auto-libm-test-in: Add more tests of atan.
35084         * math/auto-libm-test-out: Regenerated.
35086 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
35088         [BZ #17930]
35089         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
35091 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35093         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
35095 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35097         * include/scratch_buffer.h: New file.
35098         * malloc/scratch_buffer_grow.c: Likewise.
35099         * malloc/scratch_buffer_grow_preserve.c: Likewise.
35100         * malloc/scratch_buffer_set_array_size.c: Likewise.
35101         * malloc/tst-scratch_buffer.c: Likewise.
35102         * malloc/Makefile (routines): Add scratch_buffer_grow.
35103         (tests): Add test case.
35104         * malloc/Versions (GLIBC_PRIVATE): Export
35105         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
35106         __libc_scratch_buffer_set_array_size.
35108 2015-04-06  Richard Henderson  <rth@redhat.com>
35110         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
35111         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35113         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
35114         unsigned int before printing.
35116 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35118         [BZ #17596]
35119         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35120         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35122 2015-04-02  Florian Weimer  <fweimer@redhat.com>
35124         * include/libc-internal.h (libc_max_align_t): Define.
35126 2015-04-02  Andreas Schwab  <schwab@suse.de>
35128         [BZ #16850]
35129         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
35131 2015-04-02  Mel Gorman  <mgorman@suse.de>
35133         [BZ #17195]
35134         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
35135         as well as the main arena.
35137 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35139         [BZ #18185]
35140         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
35141         sharing L2 cache to 2 for Silvermont/Knights Landing.
35143 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35145         [BZ #17711]
35146         * config.make.in (have-protected-data): New.
35147         * configure.ac: Check linker support for protected data symbol.
35148         * configure: Regenerated.
35149         * elf/Makefile (modules-names): Add tst-protected1moda and
35150         tst-protected1modb if $(have-protected-data) is yes.
35151         (tests): Add tst-protected1a and tst-protected1b if
35152         $(have-protected-data) is yes.
35153         ($(objpfx)tst-protected1a): New.
35154         ($(objpfx)tst-protected1b): Likewise.
35155         (tst-protected1modb.so-no-z-defs): Likewise.
35156         * elf/tst-protected1a.c: New file.
35157         * elf/tst-protected1b.c: Likewise.
35158         * elf/tst-protected1mod.h: Likewise.
35159         * elf/tst-protected1moda.c: Likewise.
35160         * elf/tst-protected1modb.c: Likewise.
35162 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35164         [BZ #17711]
35165         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
35166         indicates it is called from do_lookup_x on relocation against
35167         protected data, skip the data definion in the executable from
35168         copy reloc.
35169         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
35170         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
35171         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
35172         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
35173         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
35174         otherwise to 0.
35175         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35176         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35177         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35178         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35179         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35180         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35182 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
35184         * sysdeps/nptl/pthread.h: Remove duplicate definition of
35185         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35187 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
35189         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35190         THREAD_SETMEM_NC.
35191         * sysdeps/x86_64/nptl/tls.h: Ditto.
35193 2015-03-27  Roland McGrath  <roland@hack.frob.com>
35195         * dlfcn/tststatic.c (main): Converted to ...
35196         (do_test): ... this.
35197         (TEST_FUNCTION): New macro.
35198         Include test-skeleton.c.
35200 2015-03-26  Alan Modra  <amodra@gmail.com>
35202         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
35203         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
35204         zero for undefined weak.
35205         (elf_machine_plt_conflict): Similarly.
35207 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35209         * math/auto-libm-test-in: Add more tests of acosh, asinh and
35210         atanh.
35211         * math/auto-libm-test-out: Regenerated.
35212         * sysdeps/i386/fpu/libm-test-ulps: Update.
35213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35215         * math/auto-libm-test-in: Add another test 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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
35221         Remove macro.
35222         (LLL_EBX_REG): Likewise.
35223         (LLL_ENTER_KERNEL): Likewise.
35225         * math/auto-libm-test-in: Add more tests of asin.
35226         * math/auto-libm-test-out: Regenerated.
35227         * sysdeps/i386/fpu/libm-test-ulps: Update.
35228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35230         [BZ #18138]
35231         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
35232         libc_do_syscall_args): New structure.
35233         (INTERNAL_SYSCALL_MAIN_0): New macro.
35234         (INTERNAL_SYSCALL_MAIN_1): Likewise.
35235         (INTERNAL_SYSCALL_MAIN_2): Likewise.
35236         (INTERNAL_SYSCALL_MAIN_3): Likewise.
35237         (INTERNAL_SYSCALL_MAIN_4): Likewise.
35238         (INTERNAL_SYSCALL_MAIN_5): Likewise.
35239         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
35240         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
35241         Replace conditional definitions by conditional definitions of ....
35242         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
35243         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
35244         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
35245         (libpthread-sysdep_routines): Add libc-do-syscall.
35246         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35247         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
35248         to __NR_futex not 240.
35250 2015-03-25  Alan Modra  <amodra@gmail.com>
35252         * NEWS: Advertise TLS optimization.
35253         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
35254         (DT_PPC_NUM): Increment.
35255         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
35256         (CHECK_STATIC_TLS): Use here.
35257         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
35258         TLS descriptors.
35259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35260         * sysdeps/powerpc/dl-tls.c: New file.
35261         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
35262         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
35263         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
35264         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
35265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
35266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
35267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
35269 2015-03-25  Alan Modra  <amodra@gmail.com>
35271         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
35272         for overlapping .opd entries" to "support...".
35273         * sysdeps/powerpc/powerpc64/configure: Regenerate
35275 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35277         * math/auto-libm-test-in: Add more tests of acos.
35278         * math/auto-libm-test-out: Regenerated.
35279         * sysdeps/i386/fpu/libm-test-ulps: Update.
35280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35282         * math/auto-libm-test-in: Add more tests of expm1.
35283         * math/auto-libm-test-out: Regenerated.
35284         * sysdeps/i386/fpu/libm-test-ulps: Update.
35285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35287 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
35289         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35290         * math/auto-libm-test-out: Regenerated.
35291         * sysdeps/i386/fpu/libm-test-ulps: Update.
35292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35294         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35297         * math/auto-libm-test-in: Add more tests of log2.
35298         * math/auto-libm-test-out: Regenerated.
35299         * sysdeps/i386/fpu/libm-test-ulps: Update.
35300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35302 2015-03-23  Roland McGrath  <roland@hack.frob.com>
35304         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35305         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
35306         _IO_IS_APPENDING bit in READ_WRITE instead.
35308 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35310         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35311         (__determine_cpumask_size): Replace extend_alloca with a
35312         variable-length array.  Do not treat res == 0 as an error.
35314 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35316         [BZ #18100]
35317         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35318         and integer overflow.
35319         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35320         (main): Add integer overflow tests.
35321         * manual/pattern.texi (Calling Wordexp): Document additional use
35322         for WRDE_SYNTAX.
35324 2015-03-23  Alan Modra  <amodra@gmail.com>
35326         * config.h.in: Remove HAVE_ASM_PPC_REL16.
35327         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35328         and false branch of conditional.
35329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35330         Likewise.
35332 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35334         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35335         libc-modules.h
35336         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35337         unused declaration of _hurd_intr_rpc_msg_in_trap.
35338         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35339         defined instead of whether it is non-zero.
35340         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35341         input constraint instead of both input and output constraint.  Use ecx
35342         clobber instead of %ecx.
35343         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35344         mutex_unlock): Use a statement expression instead of an expression list.
35345         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35346         type to vm_size_t instead of vm_address_t.
35347         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35348         defined instead of whether it is non-zero.
35349         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35350         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35351         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35352         comparisons with mapaddr.
35353         * nscd/nscd-client.h: Include <time.h>.
35354         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35355         9th parameter to __vm_region instead of int.
35356         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35357         * scripts/check-local-headers.sh (exclude): Add device/,
35358         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35359         cthreads.h.
35361 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35363         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35364         to account for alignment padding.
35365         * sysdeps/arm/memmove.S: Likewise.
35367 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35369         * sysdeps/unix/sysv/linux/generic/README: New file.
35371 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35373         [BZ #18138]
35374         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35375         (futex_abstimed_wait)
35376         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35377         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35378         of lll_futex_timed_wait.
35380 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35382         [BZ #17542]
35383         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35385 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35387         [BZ #17090]
35388         [BZ #17620]
35389         [BZ #17621]
35390         [BZ #17628]
35391         * NEWS: Update.
35392         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35393         entries with Static TLS too.  Skip entries past the end of the
35394         allocated DTV, from Alan Modra.
35395         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35396         Static TLS DTV entry set up from...
35397         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35398         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35399         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35400         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35401         for Static TLS.
35402         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35403         that the slot we find is associated with the given map before
35404         using its generation count.
35405         * nptl_db/db_info.c: Include ldsodefs.h.
35406         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35407         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35408         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35409         (link_map::l_tls_offset): New struct field.
35410         (dtv_t::counter): Likewise.
35411         (rtld_global): New struct.
35412         (_rtld_global): New rtld variable.
35413         (dl_tls_dtv_slotinfo_list): New rtld global field.
35414         (dtv_slotinfo_list): New struct.
35415         (dtv_slotinfo): Likewise.
35416         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35417         (td_lookup): Rename to...
35418         (td_mod_lookup): ... this.  Use new mod parameter instead of
35419         LIBPTHREAD_SO.
35420         * nptl_db/td_thr_tlsbase.c: Include link.h.
35421         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35422         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35423         addresses even if the DTV is out of date or missing them.
35424         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35425         index zero-length arrays.
35426         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35427         (td_lookup): Make it a macro implemented in terms of...
35428         (td_mod_lookup): ... this declaration.
35429         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35430         (DB_MAIN_VARIABLE): Likewise.
35432 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35434         [BZ #18134]
35435         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35437 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35439         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35441 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35443         [BZ #18128]
35444         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35445         (atomic_add, atomic_increment_and_test)
35446         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35448 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35450         * stdlib/setenv.c (__add_to_environ):
35451         Dump core quickly if setenv (..., NULL, ...) is called.
35453 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35455         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35456         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35457         all the necessary asm magic in one place.
35458         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35459         using those.
35461 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35463         [BZ #14906]
35464         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35465         traced file mtime. Use consistent log message.
35466         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35467         (register_traced_file): Call install_watches. Always set mtime.
35468         (invalidate_cache): Iterate over all trace files. Call install_watches.
35469         (inotify_check_files): Don't inline. Handle watching parent
35470         directories and configuration file movement in and out.
35471         (handle_inotify_events): New function.
35472         (main_loop_poll): Call handle_inotify_events.
35473         (main_loop_epoll): Likewise.
35474         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35475         (struct traced_file): Use array of inotify fds. Add parent directory,
35476         and basename.
35477         (struct database_dyn): Remove unused file_mtime.
35478         (init_traced_file): New inline function.
35479         (define_traced_file): New macro.
35480         * nss/nss_db/db-init.c: Use define_traced_file.
35481         (_nss_db_init): Use init_traced_file.
35482         * nss/nss_files/files-init.c: Use define_traced_file.
35483         (_nss_files_init): Use init_traced_file.
35485 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35487         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35488         [_LIBC]: Do not include <stdlib.h>.
35489         [!_LIBC] (abort): Remove declaration.
35490         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35491         _FP_STATIC_ASSERT instead of conditionally calling abort.
35492         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35493         (_FP_EXTEND_CNAN): Likewise.
35494         (FP_TRUNC): Likewise.
35495         (__FP_CLZ): Likewise.
35496         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35498 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35500         * manual/string.texi (XPG basename): Fix prototype.
35502 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35504         [BZ #18080]
35505         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35506         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35507         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35508         (__setcontext): Likewise.
35509         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35510         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35511         Call rt_sigprocmask syscall one time to set new signal mask
35512         and retrieve the current signal mask instead of two calls.
35513         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35514         (__swapcontext): Likewise.
35515         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35516         * stdlib/tst-setcontext2.c: New file.
35518 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35520         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35522 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35524         [BZ #18093]
35525         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35526         the wrong size.
35528 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35530         [BZ #18043]
35531         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35533 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35535         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35536         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35537         Remove define.
35538         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35539         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35540         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35541         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35542         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35543         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35544         define.
35545         * nptl_db/td_symbol_list.c (td_lookup): Remove
35546         HAVE_ASM_GLOBAL_DOT_NAME code.
35547         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35548         HAVE_ASM_GLOBAL_DOT_NAME check.
35549         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35550         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35551         (DOT_LABEL): Remove define.
35552         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35553         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35554         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35555         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35556         (__TLS_GET_ADDR): Likewise.
35557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35558         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35560 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35562         [BZ #18111]
35563         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35564         (_FPU_SETCW): Initialize cw from fpsr before storing.
35565         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35566         (fesetexceptflag): Rewrite using fpu_control.h.
35567         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35569 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35571         [BZ #18110]
35572         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35573         asms.
35574         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35576 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35578         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35579         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35580         abort.
35581         (_FP_FMA): Likewise.
35582         (_FP_DIV): Likewise.
35584 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35586         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35587         with 0 in that case.
35588         * Makefile (summarize-tests): New canned sequence, factored out of
35589         commands for targets tests and xtests.  Display summary lines that
35590         don't start with PASS: or XFAIL: rather than ones that do start with
35591         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35592         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35593         do start with ERROR: or FAIL:.
35594         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35595         (except for [$(build-shared) = yes]).
35596         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35597         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35598         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35599         * nptl/Makefile: Revert 2015-03-04 changes.
35600         [$(CXX) empty] (tests-unsupported): New variable.
35601         * debug/Makefile: Likewise.
35603         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35604         gnulib file.  Replace __attribute with __attribute__ throughout.
35606 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35608         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35610 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35612         [BZ #18104]
35613         * math/auto-libm-test-in: Add another test of pow.
35614         * math/auto-libm-test-out: Regenerated.
35616 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35618         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35619         $(config-cflags-nofma).
35621 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35623         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35624         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35625         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35626         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35627         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35628         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35629         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35630         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35631         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35632         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35633         Add comment on closing #endif.
35635 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35637         * posix/wordexp.c (CHAR_IN_SET): New macro.
35638         (parse_param): Use it.
35640 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35642         * sysdeps/powerpc/fpu/libm-test-ulps: update.
35644 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35646         [BZ #18043]
35647         * posix/wordexp.c (parse_param): Fix buffer overflow.
35648         * posix/wordexp-test.c (test_case): Add test case.
35650 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35652         [BZ #18042]
35653         * posix/wordexp.c (parse_backtick): Fix off-by-one.
35654         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35656 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35658         [BZ #18043]
35659         * posix/wordexp-test.c (test_case): Add test for BZ #18043
35660         (do_bz18043): Delete.
35661         (at_page_end): New.
35662         (testit): Refactor to have words at the edge of unreadable page.
35664 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35666         [BZ #16734]
35667         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35668         Cleanup read-only streams as well.
35669         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35671 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35673         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35674         <bits/libc-lockP.h>
35676 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35678         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
35679         on [__KERNEL__].
35680         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35681         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
35682         * soft-fp/op-common.h (_FP_DECL): Likewise.
35684 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
35686         * elf/ifuncdep2.c (global): Replace
35687         __attribute__((visibility("protected"))) with
35688         asm (".protected global").
35689         * elf/ifuncmod1.c (global): Likewise.
35690         * elf/ifuncmod5.c (global): Likewise.
35692 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
35694         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
35695         <asm/sfp-machine.h> instead of <sfp-machine.h>.
35697 2015-03-06  Roland McGrath  <roland@hack.frob.com>
35699         * manual/install.texi (Configuring and compiling):
35700         Document test-wrapper-env-only.
35701         * INSTALL: Regenerated.
35703 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35705         [BZ #18043]
35706         * posix/wordexp.c (parse_param): Fix buffer overflow.
35707         * posix/wordexp-test.c (do_bz18043): Add test case.
35709 2015-03-06  Vincent Bernat  <vincent@bernat.im>
35711         * time/tst-strptime2.c (do_test): Ensure failing tests are
35712         reported correctly.
35713         * time/tst-strptime3.c (do_test): Likewise.
35715 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
35717         Fix aio_error thread-safety.
35718         * sysdeps/pthread/aio_error.c: New file
35719         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
35720         synchronization.
35722 2015-03-06  Florian Weimer  <fweimer@redhat.com>
35724         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
35725         (group_number, vfprintf): Use it.
35726         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
35727         (JUMP, REF): Use it.
35728         (WORK_BUFFER_SIZE): New enum constant.
35729         (process_arg, vfprintf): Use it.
35731 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
35733         * manual/errno.texi (Error Messages): Complete example function
35734         by adding missing #define.
35735         (program_invocation_name): Add statement indicating GNU
35736         extension and reference which header file declares the variable.
35737         (program_invocation_short_name): Likewise.
35739 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
35741         * manual/errno.texi (Error Messages): Delete strerror ISO C89
35742         compatibility note.
35744 2015-03-05  Roland McGrath  <roland@hack.frob.com>
35746         * Makeconfig (test-wrapper-env-only): New variable.
35747         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
35748         then use that with $(test-wrapper-env-only) rather than using
35749         $(test-wrapper-env) $(run-program-env) $($*-ENV).
35751 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35753         [BZ #18082]
35754         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
35755         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
35756         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
35757         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
35758         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
35759         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
35760         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
35761         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
35762         Likewise.
35763         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
35764         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
35765         Likewise.
35766         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
35767         Likewise.
35768         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
35769         Likewise.
35770         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
35771         Likewise.
35772         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
35773         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
35774         Likewise.
35775         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
35776         Likewise.
35777         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
35778         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
35780 2015-03-04  Roland McGrath  <roland@hack.frob.com>
35782         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
35783         (ETH_ALEN): New macro.
35784         (struct ether_addr): Use it for length of ether_addr_octet.
35786         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
35787         (setdb): Don't call __nss_configure_lookup for "rpc".
35788         (do_test): Don't call test_rpc.
35789         (output_rpcent, test_rpc): Functions moved ...
35790         * sunrpc/test-rpcent.c: ... to this new file.
35791         * sunrpc/Makefile (tests): Add it.
35793         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
35794         __xpg_sigpause.
35795         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
35796         * nptl/tst-signal6.c: Likewise.
35797         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
35798         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
35800         * configure.ac (libc_cv_cxx_link_ok): New check.
35801         Reset CXX to empty if it fails to link.
35802         * configure: Regenerated.
35803         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
35804         bug-atexit3-lib only if $(CXX) is nonempty.
35805         * nptl/Makefile (tests): Likewise for tst-cancel24.
35806         (tests, tests-static): Likewise for tst-cancel24-static.
35807         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
35808         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
35809         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
35810         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
35812 2015-03-04  Andreas Schwab  <schwab@suse.de>
35814         [BZ #17631]
35815         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
35816         for non-GCC compilers.
35817         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35818         Likewise.
35820 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35822         [BZ #17776]
35823         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
35824         integer before bitwise and assembly operations.
35825         (feclearexcept): Likewise.
35826         * math/test-fenvinline.c: New file.
35827         * math/Makefile: Add test-fenvinline test.
35829 2015-03-03  Alan Modra  <amodra@gmail.com>
35831         [BZ #16512]
35832         * scripts/localplt.awk: Strip off symbol version.
35833         * NEWS: Mention bug fix.
35835 2015-03-02  Roland McGrath  <roland@hack.frob.com>
35837         * sysdeps/pthread/timer_routines.c
35838         (timer_free_list, thread_free_list, thread_active_list): Make static.
35840 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
35842         [BZ #17779]
35843         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35844         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35845         Undefine.
35846         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35847         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35848         Likewise.
35849         * sysdeps/unix/sysv/linux/sh/kernel-features.h
35850         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35851         Likewise.
35853 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35855         [BZ #18036]
35856         * posix/fnmatch_loop.c (END): Detect invalid pattern.
35857         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
35859 2015-03-02  Andreas Schwab  <schwab@suse.de>
35861         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
35862         variable name.
35864 2015-03-02  Florian Weimer  <fweimer@redhat.com>
35866         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
35867         Return error status.
35869 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
35871         [BZ #15969]
35872         * locale/findlocale.c (_nl_find_locale): Introduce const
35873         version of loc_name and drop unsafe type casts.
35875 2015-02-27  Roland McGrath  <roland@hack.frob.com>
35877         * dlfcn/tststatic2.c (main): Converted to ...
35878         (do_test): ... this.
35879         (TEST_FUNCTION): New macro.
35880         Include test-skeleton.c.
35882 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
35884         [BZ #17711]
35885         * elf/Makefile (tests): Add vismain only if PIE is enabled.
35886         (tests-pie): Add vismain.
35887         (CFLAGS-vismain.c): New.
35888         * elf/vismain.c: Add comments for PIE requirement.
35890 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35892         [BZ #18046]
35893         [BZ #18047]
35894         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
35895         0x1p-56L as threshold for just returning the argument.
35896         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
35897         0x1p-32L as threshold for just returning the argument.
35898         * math/auto-libm-test-in: Add more tests of atanh.
35899         * math/auto-libm-test-out: Regenerated.
35900         * sysdeps/i386/fpu/libm-test-ulps: Update.
35901         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
35903 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35905         * string/bcopy.c (bcopy): Call memmove for performance.
35907 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35909         * string/bzero.c (__bzero): Call memset for performance.
35911 2015-02-27  John David Anglin  <dave.anglin@bell.net>
35913         [BZ #18068]
35914         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
35915         to 00100000.
35917 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35919         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35921 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35923         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35924         (__kernel_standard): Use CSTR macro when setting exc.name.
35925         * sysdeps/ieee754/Makefile [$(subdir) = math]
35926         (CFLAGS-k_standard.c): Remove variable.
35928         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35929         setting p and q from "else if" to "else".
35930         (qzero): Likewise.
35931         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35932         (qone): Likewise.
35933         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35934         (qzerof): Likewise.
35935         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35936         (qonef): Likewise.
35937         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35938         (qzero): Likewise.
35939         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35940         (qone): Likewise.
35942         [BZ #18038]
35943         [BZ #18039]
35944         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35945         return pi/2 for arguments below 0x1p-113L.
35946         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35947         return pi/2 for arguments below 0x1p-106L.
35948         * math/auto-libm-test-in: Add more tests of acos.
35949         * math/auto-libm-test-out: Regenerated.
35951         [BZ #16351]
35952         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35953         (MO): New macro.
35954         (__ieee754_asin): Force underflow exception for results with small
35955         absolute value.
35956         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35957         (MO): New macro.
35958         (__ieee754_asinf): Force underflow exception for results with
35959         small absolute value.
35960         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35961         (__ieee754_asin): Force underflow exception for results with small
35962         absolute value.
35963         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35964         (__ieee754_asinf): Force underflow exception for results with
35965         small absolute value.
35966         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35967         (__ieee754_asinl): Force underflow exception for results with
35968         small absolute value.
35969         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35970         (__ieee754_asinl): Force underflow exception for results with
35971         small absolute value.
35972         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35973         (__ieee754_asinl): Force underflow exception for results with
35974         small absolute value.
35975         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35976         Include <math.h>.
35977         * math/auto-libm-test-in: Do not mark underflow exceptions as
35978         possibly missing for bug 16351.
35979         * math/auto-libm-test-out: Regenerated.
35981         [BZ #18030]
35982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35983         of power of 2 down when low part has opposite sign.
35984         * math/libm-test.inc (logb_test_data): Add more tests.
35986 2015-02-26  Andreas Schwab  <schwab@suse.de>
35988         [BZ #18032]
35989         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35990         over collating symbol inside a bracket expression.  Minor cleanup.
35991         * posix/tst-fnmatch3.c (do_test): Add test case.
35993 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35995         [BZ #18029]
35996         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35997         Adjust exponent of power of 2 down when low part has opposite
35998         sign.
35999         * math/libm-test.inc (ilogb_test_data): Add more tests.
36001 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
36003         [BZ #15969]
36004         * locale/findlocale.c (_nl_find_locale): Fix constness error in
36005         the previous change.
36007         [BZ #15969]
36008         * locale/findlocale.c (_nl_find_locale): Retry archive search
36009         after alias expansion.
36011 2015-02-25  Roland McGrath  <roland@hack.frob.com>
36013         * iconv/tst-iconv3.c (main): Converted to ...
36014         (do_test): ... this.
36015         (TEST_FUNCTION): New macro.
36016         Include test-skeleton.c.
36018         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
36019         (convert): Make function static.
36020         (test_unalign): Likewise.  Add const to argument pointee types.
36021         (main): Replace with static function do_test.
36022         Print "Succeeded." only if RET is zero.
36023         (TEST_FUNCTION): New macro.
36024         Include test-skeleton.c.
36026         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
36027         returns a null pointer.
36029 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36031         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
36032         to __memcpy_ppc only for static builds.
36034 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
36036         [BZ #18020]
36037         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
36038         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
36039         * math/auto-libm-test-in: Add more tests of asinh.
36040         * math/auto-libm-test-out: Regenerated.
36041         * sysdeps/i386/fpu/libm-test-ulps: Update.
36042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36044 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
36046         [BZ #15850]
36047         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
36048         and ip6_mtuinfo definitions here.
36049         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
36050         in this define too.  Update comment.
36052 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
36054         * elf/sprof.c (load_shobj): Tweak error message to match others.
36056 2015-02-24  Kevin Easton  <kevin@guarana.org>
36058         [BZ #16145] (partial fix)
36059         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
36060         to reduce lock contention.
36062 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
36064         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
36065         (struct timex): Update time comment.
36066         (ADJ_SETOFFSET): Define.
36068 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36070         [BZ #18019]
36071         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36072         2**56 not 2**28 as threshold for log (2x) formula.
36073         * math/auto-libm-test-in: Add more tests of acosh.
36074         * math/auto-libm-test-out: Regenerated.
36075         * sysdeps/i386/fpu/libm-test-ulps: Update.
36076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36078 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36080         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
36081         parenthesis around the buf assignment.
36082         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
36084 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36086         [BZ #16783]
36087         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
36088         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
36089         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
36090         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36091         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36092         * math/libm-test.inc (scalb_test_data): Add more tests.
36094 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36096         [BZ #17916]
36097         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
36098         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
36100 2015-02-24  Eric Rannaud  <e@nanocritical.com>
36102         [BZ #17523]
36103         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
36104         * io/bits/fcntl2.h (open): Use it.
36105         (openat): Likewise.
36106         * io/open.c (__libc_open): Likewise.
36107         * io/open64.c (__libc_open64): Likewise.
36108         * io/open64_2.c (__open64_2): Likewise.
36109         * io/open_2.c (__open_2): Likewise.
36110         * io/openat.c (__openat): Likewise.
36111         * io/openat64.c (__openat64): Likewise.
36112         * io/openat64_2.c (__openat64_2): Likewise.
36113         * io/openat_2.c (__openat_2): Likewise.
36114         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
36115         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
36116         * sysdeps/posix/open64.c (__libc_open64): Likewise.
36117         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
36118         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36119         (__open_nocancel): Likewise.
36120         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36121         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36122         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
36124 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36126         [BZ #14841]
36127         * resolv/gethnamaddr.c (getanswer): Skip logging if
36128         RES_USE_DNSSEC is set.
36129         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36131 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36133         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
36135 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
36137         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
36138         201304L, for Unicode 7.
36140 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
36142         [BZ #17836]
36143         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
36144         shared library.  Add gmon-start.os otherwise.
36145         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
36146         $(objpfx)gmon-start.os if builing shared library.
36147         ($(objpfx)g$(static-start-installed-name)): Likewise.
36149 2015-02-23  Andreas Schwab  <schwab@suse.de>
36151         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
36153 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36155         [BZ #17269]
36156         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
36157         (enlarge_userbuf): Likewise.
36159 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
36161         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
36162         * math/atest-exp.c (TIMEOUT): Adjust to 200.
36163         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
36164         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36166 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
36168         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
36169         expression inside statement expression.
36171 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36173         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
36174         <sysdeps/nptl/lowlevellock.h> and remove macros and
36175         functions that are now defined there.
36176         (SYS_futex): Remove.
36177         (lll_compare_and_swap): Remove.
36178         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36180 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
36182         [BZ #17999]
36183         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36184         instead of scandirat.
36185         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36186         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36187         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36188         __scandirat.
36189         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36190         (__scandirat): Declare.  Use libc_hidden_proto.
36191         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36192         Remove variable.
36193         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36195 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36197         [BZ #15319]
36198         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
36199         (MO): New macro.
36200         (__ieee754_atan2): For results with small absolute value, force
36201         underflow exception and remove excess range and precision from
36202         return value.
36203         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
36204         (MO): New macro.
36205         (__ieee754_atan2f): For results with small absolute value, force
36206         underflow exception and remove excess range and precision from
36207         return value.
36208         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
36209         (MO): New macro.
36210         (__atan): For results with small absolute value, force underflow
36211         exception and remove excess range and precision from return value.
36212         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
36213         (MO): New macro.
36214         (__atanf): For results with small absolute value, force underflow
36215         exception and remove excess range and precision from return value.
36216         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
36217         <math.h>.
36218         (__ieee754_atan2): Force underflow exception for results with
36219         small absolute value.
36220         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
36221         <math_private.h>.
36222         (atan): Force underflow exception for results with small absolute
36223         value.
36224         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
36225         (__atanf): Force underflow exception for results with small
36226         absolute value.
36227         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
36228         <math.h>.
36229         (__atanl): Force underflow exception for results with small
36230         absolute value.
36231         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
36232         (__atanl): Force underflow exception for results with small
36233         absolute value.
36234         * sysdeps/x86/fpu/bits/mathinline.h
36235         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
36236         (__ieee754_atan2): Only define inline for long double.
36237         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
36238         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
36239         * math/auto-libm-test-in: Do not mark underflow exceptions as
36240         possibly missing for bug 15319.  Add more tests of atan2.
36241         * math/auto-libm-test-out: Regenerated.
36242         * math/libm-test.inc (casin_test_data): Do not mark underflow
36243         exceptions as possibly missing for bug 15319.
36244         (casinh_test_data): Likewise.
36245         * sysdeps/i386/fpu/libm-test-ulps: Update.
36247 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
36249         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
36250         * sysdeps/mips/bits/endian.h: Fix comments.
36252 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36254         [BZ #17996]
36255         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
36256         (hdestroy_r): Likewise.
36257         (hsearch_r): Likewise.
36258         (__hcreate_r): Declare and use libc_hidden_proto.
36259         (__hdestroy_r): Likewise.
36260         (__hsearch_r): Likewise.
36261         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
36262         (hcreate): Call __hcreate_r instead of hcreate_r.
36263         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
36264         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
36265         as weak alias of __hcreate_r.
36266         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
36267         __hdestroy_r.
36268         (hsearch_r): Rename to __hsearch_r and define as weak alias of
36269         __hsearch_r.
36270         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
36271         Remove variable.
36272         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36273         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36274         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36275         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36277 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36279         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36280         arena_lock into a single arena_get.
36282 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
36284         * dl-reloc.c: Inlucde libc-internal.h.
36285         (_dl_try_allocate_static_tls): Call ALIGN_UP.
36286         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36287         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36288         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36289         (grow_heap): Likewise.
36290         * malloc/malloc.c: Include libc-internal.h.
36291         (do_check_malloc): Call powerof2.
36292         (sysmalloc): Use pagesize. Call ALIGN_UP.
36293         (systrim): Use pagesize.
36294         (mremap_chunk): Use pagesize. Call ALIGN_UP.
36295         (__libc_valloc): Use pagesize.
36296         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36298 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36300         [BZ #17991]
36301         * include/sys/resource.h (__getrlimit64): Declare.  Use
36302         libc_hidden_proto.
36303         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36304         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
36305         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36306         getrlimit64.
36307         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36308         __getrlimit64.
36309         [!getrlimit64] (getrlimit64): Define as weak alias of
36310         __getrlimit64.  Use libc_hidden_weak.
36311         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36312         using __getrlimit64 not __new_getrlimit64.
36313         (__GI_getrlimit64): Likewise.
36314         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36315         Likewise.
36316         (__GI_getrlimit64): Likewise.
36317         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36319         (getrlimit): Add __getrlimit64 alias.
36320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36321         Likewise.
36322         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36323         Remove variable.
36324         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36325         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36327 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36329         * libio/fileops.c: Add missing sys/mman.h
36330         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36332 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36334         * manual/math.texi (Errors in Math Functions): Clarify goals
36335         regarding inexact and underflow exceptions.
36337 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36339         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36340         * sysdeps/mips/memset.S: Ditto.
36342 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36344         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36346 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36348         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36349         (__v1longjmp): Remove versioned symbol.
36350         (__v1siglongjmp): Remove alias and versioned symbol.
36351         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36352         (__v2siglongjmp): Likewise.
36354 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36356         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36358 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36360         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36362 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36364         [BZ #17987]
36365         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36366         zero result does not depend on the sign resulting from
36367         subtraction.
36368         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36369         Likewise.
36370         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36371         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36372         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36373         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36374         * math/libm-test.inc (remquo_test_data): Add more tests.
36376 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36378         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36379         Problem reported by J William Piggott.
36381 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36383         [BZ #17978]
36384         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36385         products 4 * y and 2 * y where those would overflow.
36386         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36387         Likewise.
36388         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36389         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36390         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36391         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36392         * math/libm-test.inc (remquo_test_data): Add more tests.
36394         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36396         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36397         [defined _COMPILING_NEWLIB].
36398         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36399         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36401         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36402         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36404 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36406         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36407         acquired.
36409 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36411         [BZ #17792]
36412         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36413         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36414         HOST_STACK_END_ADDR): Likewise.
36416 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36418         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36419         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36420         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36422 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36424         * sysdeps/generic/c++-types.data: New file.
36425         * sysdeps/generic/ld.abilist: New file.
36426         * sysdeps/generic/libBrokenLocale.abilist: New file.
36427         * sysdeps/generic/libanl.abilist: New file.
36428         * sysdeps/generic/libc.abilist: New file.
36429         * sysdeps/generic/libcrypt.abilist: New file.
36430         * sysdeps/generic/libdl.abilist: New file.
36431         * sysdeps/generic/libm.abilist: New file.
36432         * sysdeps/generic/libpthread.abilist: New file.
36433         * sysdeps/generic/libresolv.abilist: New file.
36434         * sysdeps/generic/librt.abilist: New file.
36436 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36438         [BZ #17569]
36439         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36440         Compute absolute value of x as modified by fmod, not original
36441         value of x.
36442         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36443         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36444         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36445         RUN_TEST_ffI_f1_mod8.
36446         (remquo_test_data): Add more tests.
36448 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36450         * sysdeps/init_array/pt-crti.S: New file.
36452 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36454         [BZ #17967]
36455         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36456         __builtin_fmaf instead of relying on contraction of a * b + c.
36458 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36460         [BZ #17969]
36461         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36462         node.
36464 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36466         [BZ #17964]
36467         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36468         __builtin_fma instead of relying on contraction of a * b + c.
36470 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36472         * Makeconfig (ASFLAGS): Add -Werror=undef.
36473         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36474         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36475         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36477         * Makeconfig (after-link): New variable.
36478         (+link-pie, +link-pie-tests): Use it.
36479         (+link-static, +link-static-tests): Likewise.
36480         (+link, +link-tests): Likewise.
36481         * Makerules (build-module, build-module-asneeded): Likewise.
36482         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36483         Likewise.
36484         * elf/Makefile ($(objpfx)ld.so): Likewise.
36486 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36488         [BZ #17965]
36489         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36490         both struct timeval and struct timespec.
36492 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36494         [BZ #16560]
36495         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36496         and redefine.
36497         (__ieee754_exp2l): Do not multiply small fractional parts by
36498         M_LN2l.
36499         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36500         small argument.
36501         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36502         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36503         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36504         * math/auto-libm-test-in: Add more tests of exp2.
36505         * math/auto-libm-test-out: Regenerated.
36507 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36509         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36510         unaligned path.
36512 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36514         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36515         little endian.
36517 2015-02-12  Andreas Schwab  <schwab@suse.de>
36519         [BZ #15790]
36520         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36521         Filter out elision flags from value returned in kind.
36522         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36523         * nptl/tst-pthread-mutexattr.c: New file.
36525 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36527         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36528         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36529         into gnu-gnu, and update comment to refer to abi-tags.
36531 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36533         [BZ #15467]
36534         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36535         (__sincos): Set errno to EDOM for infinite argument.
36536         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36537         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36538         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36539         (__sincosl): Set errno to EDOM for infinite argument.
36540         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36541         (__sincosl): Set errno to EDOM for infinite argument.
36542         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36543         (__sincosl): Set errno to EDOM for infinite argument.
36544         * math/libm-test.inc (sincos_test_data): Test errno setting.
36546 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36548         * string/strxfrm_l.c: Remove #define STRCMP.
36549         * string/strcoll_l.c: Remove #define STRLEN.
36550         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36551         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36553 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36555         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36556         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36557         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36558         * sysdeps/mips/mips64/Makefile: ... here.
36559         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36560         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36561         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36562         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36563         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36564         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36565         * sysdeps/mips/mips64/n64/Implies: Likewise.
36567 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36569         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36570         <sys/time.h>, <string.h>, and <errno.h>.
36571         (dest_offset, dest_address, value, zero): Remove unused variables.
36572         (ldouble): Remove typedef.
36573         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36574         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36575         1).  Fix code style.
36576         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36577         (check): Function removed.
36578         (CHECK): New macro.
36579         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36580         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36581         Don't call set_sigaction_FP and remove_sigaction_FP here.
36582         (ldouble_test): Just use 'long double' as macro argument, no need for
36583         the 'ldouble' typedef.
36584         (do_test): Set up SIGFPE handler at start, using plain signal rather
36585         than sigaction.  Fix code style.
36587 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36589         [BZ #17949]
36590         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36591         jump label.
36593 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36595         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36596         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36598         * sysdeps/powerpc/configure.ac: Remove file.
36599         * sysdeps/powerpc/configure: Likewise.
36601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36602         [sysdep_routines]: Remove wordcopy-power6 object.
36603         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36604         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36605         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36606         (__memmove_ppc32): Likewise.
36607         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36608         file.
36609         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36610         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36611         Remove preprocessor.
36613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36614         [sysdep_routines]: Remove wide chars objects.
36615         [wcsmbs]: New rule for wide char objects.
36617         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36618         Remove wordcopy-power6 obejct.
36619         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36620         Use local call for wordcopy and memcpy symbols.
36621         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36622         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36623         implementation for loader.
36624         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36626         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36627         Remove wordcopy-power7 object.
36628         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36629         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36630         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36631         (_wordcopy_fwd_dest_aligned): Likewise.
36632         (_wordcopy_bwd_aligned): Likewise.
36633         (_wordcopy_bwd_dest_aligned): Likewise.
36635         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36636         Rewrite to call __memmove_ppc instead of include default
36637         implementation.
36639         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36640         Remove wide chars objects.
36641         [wcsmbs]: New rule for wide char objects.
36643 2015-02-09  Andreas Schwab  <schwab@suse.de>
36645         [BZ #17912]
36646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36647         in terms of __O_DIRECTORY.
36649 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36651         * time/getdate.c: Include <stdbool.h>.
36652         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36653         call PTR_MANGLE.
36654         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36655         PTR_DEMANGLE.
36657 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
36659         Add ersatz _Static_assert on older C hosts
36660         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36661         pre-C11 C platform that is not known to support _Static_assert.
36663 2015-02-07  Richard Braun  <rbraun@sceen.net>
36665         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36666         sigstate.
36667         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36669 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36671         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36672         priority against unexistent AIO_PRIO_DELTA_MAX.
36673         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36674         instead of int.
36675         * misc/fchflags.c (fchflags): Likewise.
36676         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36677         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36678         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36679         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36680         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36681         Declare macros.
36682         [__USE_MISC] (chflags, fchflags): Declare functions.
36683         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
36684         EINVAL when nfds is greater than FD_SETSIZE.
36685         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
36686         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
36687         45.
36688         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
36689         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
36690         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
36691         MACH_RCV_TIMED_OUT.
36692         * hurd/hurd/signal.h (_hurd_self_sigstate,
36693         _hurd_critical_section_lock, _hurd_critical_section_unlock):
36694         Explicit casts from void *.
36695         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
36696         * abi-tags: Rename gnu-gnu os into gnu.
36698         [BZ #4719]
36699         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
36700         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
36701         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
36702         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
36703         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
36704         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
36706         [BZ #17944]
36707         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
36708         duplicates ADDR->sun_path with sockaddr LEN limitation.
36709         * sysdeps/mach/hurd/connect.c: Include <string.h>
36710         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
36711         * sysdeps/mach/hurd/sendmsg.c: Likewise.
36712         * sysdeps/mach/hurd/sendto.c: Likewise.
36713         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
36714         implementing it by hand.
36716 2015-02-06  Roland McGrath  <roland@hack.frob.com>
36718         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
36719         Use sfi_breg on ldr.
36720         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
36721         Likewise.
36723         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
36724         it's defined.
36725         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
36726         Test SIGSETXID only if it's defined.
36728         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
36730         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
36731         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
36733         * nptl/tst-align2.c: Moved ...
36734         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
36735         * nptl/Makefile (tests): Remove tst-align2.
36736         * sysdeps/unix/sysv/linux/Makefile
36737         [$(subdir) = nptl] (tests): Add tst-align-clone.
36738         * nptl/tst-getpid1.c: Moved ...
36739         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
36740         * nptl/tst-getpid2.c: Moved ...
36741         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
36742         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
36743         * sysdeps/unix/sysv/linux/Makefile
36744         [$(subdir) = nptl] (tests): ... here.
36745         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
36746         * sysdeps/unix/sysv/linux/Makefile
36747         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
36749         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
36750         Drop trailing \n from perror argument.  Use return rather than exit.
36752         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
36753         on [SA_SIGINFO].
36754         * nptl/tst-cancel21.c (do_test): Likewise.
36755         * debug/tst-backtrace6.c: Include <signal.h> first thing.
36756         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
36757         [!SA_SIGINFO]: Make it a stub test.
36759         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
36760         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
36762         * posix/tst-getlogin.c: Move to ...
36763         * login/tst-getlogin.c: ... here.
36764         * posix/Makefile (tests): Move tst-getlogin to ...
36765         * login/Makefile (tests): ... here.
36767         * libio/tst-atime.c (do_test): Move local variables SV and E
36768         inside [ST_NOATIME] conditional.
36770         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
36772         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
36774         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
36775         (wait_code): New function replaces macro.
36776         Call nanosleep rather than syscall.
36778         * nptl/pt-system.c: Rewritten.  Put everything under
36779         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36780         Use IFUNC to redirect when possible.
36782         * nptl/pt-longjmp.c: Rewritten.  Put everything under
36783         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36784         Use IFUNC to redirect when possible.
36786         * nptl/pt-fork.c: Rewritten.  Put everything under
36787         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36788         Use IFUNC to redirect when possible.
36789         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
36791         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
36792         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
36793         unconditionally nowadays.  This included the only reference to
36794         __vdso_clock_gettime that appears outside libc proper.
36795         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
36796         Remove version set (containing only __vdso_clock_gettime).
36797         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36798         Add attribute_hidden.
36799         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36800         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
36801         libc_hidden_data_def.
36802         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36803         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36805         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
36806         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36807         setrpcent, and getrpcport to ...
36808         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
36809         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
36810         getrpcbynumber_r, and getrpcent_r to ...
36811         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
36812         * inet/getrpcbyname.c: Moved ...
36813         * sunrpc/getrpcbyname.c: ... here.
36814         * inet/getrpcbyname_r.c: Moved ...
36815         * sunrpc/getrpcbyname_r.c: ... here.
36816         * inet/getrpcbynumber.c: Moved ...
36817         * sunrpc/getrpcbynumber.c: ... here.
36818         * inet/getrpcbynumber_r.c: Moved ...
36819         * sunrpc/getrpcbynumber_r.c: ... here.
36820         * inet/getrpcent.c: Moved ...
36821         * sunrpc/getrpcent.c: ... here.
36822         * inet/getrpcent_r.c: Moved ...
36823         * sunrpc/getrpcent_r.c: ... here.
36824         * inet/Makefile (routines): Move those to ...
36825         * sunrpc/Makefile (routines): ... here.
36826         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
36827         the $(subdirs) list.
36828         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
36829         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
36830         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
36831         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
36833         * elf/Makefile (routines): Include $(all-dl-routines), not just
36834         $(dl-routines).
36835         (rtld-routines): Likewise.  Use = rather than :=.
36836         * sysdeps/aarch64/Makefile [$(subdir) = elf]
36837         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
36838         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
36839         * sysdeps/arm/Makefile: Likewise.
36840         * sysdeps/i386/Makefile: Likewise.
36841         * sysdeps/x86_64/Makefile: Likewise.
36842         * sysdeps/hppa/Makefile [$(subdir) = elf]
36843         (sysdep_routines, sysdep-rtld-routines): Don't add
36844         $(sysdep-dl-routines) to these.
36845         * sysdeps/ia64/Makefile: Likewise.
36846         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
36847         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
36848         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
36849         Don't add dl-static to these; sysdep-dl-routines alone is enough.
36850         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
36851         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
36852         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
36853         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
36854         * sysdeps/powerpc/Makefile [$(subdir) = elf]
36855         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
36856         these; sysdep-dl-routines alone is enough.
36858 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
36860         [BZ #17932]
36861         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
36862         where multiplication results in zero and third argument is finite
36863         and nonzero.
36864         * math/auto-libm-test-in: Add more tests of fma.
36865         * math/auto-libm-test-out: Regenerated.
36867         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
36868         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
36869         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
36870         (_FP_CMP_EQ): Likewise.
36871         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
36873         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
36874         extra argument CHECK_NAN.  Redefine as wrapper around
36875         _FP_EXTEND_CNAN.
36877 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
36879         * version.h (RELEASE): Set to "stable".
36880         (VERSION): Set to "2.21"
36881         * include/features.h (__GLIBC_MINOR__): Set to 21.
36883         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
36885 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36886             Paul Eggert  <eggert@cs.ucla.edu>
36888         [BZ #16618]
36889         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
36890         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
36891         size in bytes. Store needed elements in wpmax. Use needed size
36892         in bytes for extend_alloca.
36894 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
36896         * manual/install.texi: Latest tested versions are GCC 4.9.2,
36897         binutls 2.25, and texinfo 5.2.
36898         * INSTALL: Regenerate.
36899         * sysdeps/nios2/configure: Regenerate.
36900         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
36901         * manual/contrib.texi: Update.
36902         * po/be.po: Update.
36903         * po/bg.po: Update.
36904         * po/ca.po: Update.
36905         * po/cs.po: Update.
36906         * po/da.po: Update.
36907         * po/de.po: Update.
36908         * po/el.po: Update.
36909         * po/eo.po: Update.
36910         * po/es.po: Update.
36911         * po/fi.po: Update.
36912         * po/fr.po: Update.
36913         * po/gl.po: Update.
36914         * po/hr.po: Update.
36915         * po/hu.po: Update.
36916         * po/ia.po: Update.
36917         * po/id.po: Update.
36918         * po/it.po: Update.
36919         * po/ja.po: Update.
36920         * po/ko.po: Update.
36921         * po/lt.po: Update.
36922         * po/nb.po: Update.
36923         * po/nl.po: Update.
36924         * po/pl.po: Update.
36925         * po/pt_BR.po: Update.
36926         * po/ru.po: Update.
36927         * po/rw.po: Update.
36928         * po/sk.po: Update.
36929         * po/sl.po: Update.
36930         * po/sv.po: Update.
36931         * po/tr.po: Update.
36932         * po/uk.po: Update.
36933         * po/vi.po: Update.
36934         * po/zh_CN.po: Update.
36935         * po/zh_TW.po: Update.
36937         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36938         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36939         * sysdeps/hppa/dl-irel.h: Remove #warning.
36940         * sysdeps/hppa/entry.h: Provide prototype for
36941         __canonicalize_funcptr_for_compare and cast argument.
36942         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36943         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36944         * sysdeps/hppa/sotruss-lib.c: New file.
36945         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36946         (atomic_compare_and_exchange_val_acq): Use __typeof__.
36947         (atomic_compare_and_exchange_bool_acq): Likewise.
36948         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36949         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36951         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36952         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36953         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36955 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36957         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36958         called function in non-PIC case.
36960 2015-01-31  David S. Miller  <davem@davemloft.net>
36962         * sysdeps/sparc/sparc32/bits/atomic.h
36963         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36964         unlock not after it.
36965         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36966         volatile register usage warnings from the compiler.
36968         * sysdeps/sparc/nptl/sem_init.c: Delete.
36969         * sysdeps/sparc/nptl/sem_post.c: Delete.
36970         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36971         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36972         * sysdeps/sparc/sparc32/sem_init.c: New file.
36973         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36974         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36975         padding explicitly initialized.
36976         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36977         padding for in-semaphore spinlock.
36978         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36979         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36980         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36981         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36982         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36983         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36984         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36985         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36986         version.
36987         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36988         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36990 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36992         [BZ #17801]
36993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36994         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36995         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36996         New.
36997         (index_AVX_Fast_Unaligned_Load): Likewise.
36998         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36999         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
37000         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
37001         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
37002         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
37003         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
37004         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
37005         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
37006         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
37008 2015-01-29  Andreas Schwab  <schwab@suse.de>
37010         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
37012 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
37014         [BZ #17892]
37015         * nscd/nscd_stat.c (send_stats): Initialize DATA.
37017 2015-01-28  Martin Sebor  <msebor@redhat.com>
37019         * math/README.libm-test: Clarify. Add "How to read the test output."
37021 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
37023         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
37024         Define to 0.
37026 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
37028         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
37029         (__HAVE_64B_ATOMICS): Define to 0.
37031 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37033         [BZ #17885]
37034         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
37035         value to set as new flag.
37037         [BZ #16576]
37038         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
37039         and use _ARCH_PPCSQ instead.
37040         (__ieee754_sqrt): Likewise.
37041         (__ieee754_sqrtf): Likewise.
37042         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
37043         _ARCH_PPCSQ is defined.
37044         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
37045         fsqrt instruction.
37046         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
37047         _ARCH_PPCSQ is defined.
37048         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
37049         fsqrts instruction.
37050         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
37052 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37054         * iconv/loop.c: Suppress array out of bound warning caused by GCC
37055         bug (GCC BZ #64739).
37057 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
37059         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
37060         Mark _retval as used.
37061         (lll_futex_wake_unlock): Likewise.
37062         (lll_futex_timed_wait_requeue_pi): Likewise.
37064         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37065         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
37066         register variables.
37068         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
37069         libm_hidden_def.
37071         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
37072         (__bswap_64): Mark as __always_inline.
37074 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
37076         [BZ #15378]
37077         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
37078         when none of the search directories exist.
37080 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37082         [BZ #17869]
37083         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
37084         power8 in .machine directive.
37086         [BZ #17868]
37087         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37088         set dependency from opd value.
37090 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37093         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
37094         architecture.
37096 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37098         [BZ #17870]
37099         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
37100         with uint64_t.
37101         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
37102         (uint64_t) 1.
37103         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
37104         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37105         Replace 1UL with (uint64_t) 1.
37106         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
37107         int with uint64_t.
37109 2015-01-23  Roland McGrath  <roland@hack.frob.com>
37111         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
37112         (if_freenameindex): Likewise.
37114         * resource/getrlimit64.c: Add missing libc_hidden_def.
37116 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
37118         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
37119         __label__.
37120         (_FP_FMA): Likewise.
37121         (_FP_TO_INT_ROUND): Likewise.
37122         (_FP_FROM_INT): Likewise.
37124 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37126         [BZ #16418]
37127         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37128         Make code racy and cancel safe.
37130 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
37132         * sysdeps/arm/unwind-resume.h: Fix copyright year.
37133         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
37134         attribution.
37136         * pwd/tst-getpw.c: Rewrite.
37138         [BZ #17702]
37139         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
37140         (modules-names): Add moddummy1 and moddummy2.
37141         ($(objpfx)tst-rec-dlopen): Define.
37142         * dlfcn/moddummy1.c: New file.
37143         * dlfcn/moddummy2.c: New file.
37144         * dlfcn/tst-rec-dlopen.c: New file.
37145         * elf/dl-cache.c (_dl_load_cache_lookup):
37146         Return char*. Copy result with alloca/strcpy/strdup.
37147         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
37148         returns char*. Free cached. If not saving realname
37149         free cached.
37150         * elf/dl-open.c (dl_open_worker): Do not assert that
37151         _r_debug->r_state is RT_CONSISTENT.
37152         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
37153         returns char*.
37155 2015-01-21  Torvald Riegel  <triegel@redhat.com>
37156             Carlos O'Donell  <carlos@redhat.com>
37158         [BZ #12674]
37159         * nptl/sem_waitcommon.c: New file.
37160         * nptl/sem_wait.c: Include sem_waitcommon.c.
37161         (__sem_wait_cleanup, do_futex_wait): Remove.
37162         (__new_sem_wait): Adapt.
37163         (__new_sem_trywait): New function.
37164         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
37165         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
37166         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
37167         (sem_timedwait): Adapt.
37168         * nptl/sem_post.c (__new_sem_post): Adapt.
37169         (futex_wake): New function.
37170         (__old_sem_post): Add release MO fence.
37171         * nptl/sem_open.c (sem_open): Adapt.
37172         * nptl/sem_init.c (__new_sem_init): Adapt.
37173         (futex_private_if_supported): New function.
37174         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
37175         (__old_sem_getvalue): Add using previous code.
37176         * sysdeps/nptl/internaltypes.h: Adapt.
37177         * nptl/tst-sem13.c (do_test): Adapt.
37178         * nptl/tst-sem11.c (main): Adapt.
37179         * nptl/sem_trywait.c: Remove.
37180         * nptl/DESIGN-sem.txt: Remove.
37181         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37182         (gen-as-const-headers): Remove structsem.sym.
37183         * nptl/structsem.sym: Remove.
37184         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37185         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37186         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37187         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37188         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37189         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37190         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37191         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37192         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37193         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37194         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37195         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37196         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
37197         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
37198         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
37199         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
37200         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
37201         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
37202         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
37203         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
37204         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
37205         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
37207 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
37209         * INSTALL: Regenerated.
37211         * po/libc.pot: Regenerated.
37213 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
37214             Sandra Loosemore  <sandra@codesourcery.com>
37215             Andrew Jenner  <andrew@codesourcery.com>
37216             Joseph Myers  <joseph@codesourcery.com>
37217             Nathan Sidwell  <nathan@codesourcery.com>
37219         * NEWS: Mention new Nios II port.
37220         * sysdeps/nios2/Implies: New file.
37221         * sysdeps/nios2/Makefile: New file.
37222         * sysdeps/nios2/Subdirs: New file.
37223         * sysdeps/nios2/Versions: New file.
37224         * sysdeps/nios2/__longjmp.S: New file.
37225         * sysdeps/nios2/abort-instr.h: New file.
37226         * sysdeps/nios2/backtrace.c: New file.
37227         * sysdeps/nios2/bits/endian.h: New file.
37228         * sysdeps/nios2/bits/fenv.h: New file.
37229         * sysdeps/nios2/bits/link.h: New file.
37230         * sysdeps/nios2/bits/setjmp.h: New file.
37231         * sysdeps/nios2/bsd-_setjmp.S: New file.
37232         * sysdeps/nios2/bsd-setjmp.S: New file.
37233         * sysdeps/nios2/configure: New generated file.
37234         * sysdeps/nios2/configure.ac: New file.
37235         * sysdeps/nios2/crti.S: New file.
37236         * sysdeps/nios2/crtn.S: New file.
37237         * sysdeps/nios2/dl-init.c: New file.
37238         * sysdeps/nios2/dl-machine.h: New file.
37239         * sysdeps/nios2/dl-sysdep.h: New file.
37240         * sysdeps/nios2/dl-tls.h: New file.
37241         * sysdeps/nios2/dl-trampoline.S: New file.
37242         * sysdeps/nios2/gccframe.h: New file.
37243         * sysdeps/nios2/gmp-mparam.h: New file.
37244         * sysdeps/nios2/jmpbuf-offsets.h: New file.
37245         * sysdeps/nios2/jmpbuf-unwind.h: New file.
37246         * sysdeps/nios2/ldsodefs.h: New file.
37247         * sysdeps/nios2/libc-tls.c: New file.
37248         * sysdeps/nios2/libm-test-ulps: New file.
37249         * sysdeps/nios2/machine-gmon.h: New file.
37250         * sysdeps/nios2/math-tests.h: New file.
37251         * sysdeps/nios2/math_private.h: New file.
37252         * sysdeps/nios2/memusage.h: New file.
37253         * sysdeps/nios2/nptl/Makefile: New file.
37254         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
37255         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
37256         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
37257         * sysdeps/nios2/nptl/pthreaddef.h: New file.
37258         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
37259         * sysdeps/nios2/nptl/tls.h: New file.
37260         * sysdeps/nios2/preconfigure: New file.
37261         * sysdeps/nios2/s_fma.c: New file.
37262         * sysdeps/nios2/s_fmaf.c: New file.
37263         * sysdeps/nios2/setjmp.S: New file.
37264         * sysdeps/nios2/sfp-machine.h: New file.
37265         * sysdeps/nios2/sotruss-lib.c: New file.
37266         * sysdeps/nios2/stackguard-macros.h: New file.
37267         * sysdeps/nios2/stackinfo.h: New file.
37268         * sysdeps/nios2/start.S: New file.
37269         * sysdeps/nios2/sysdep.h: New file.
37270         * sysdeps/nios2/tls-macros.h: New file.
37271         * sysdeps/nios2/tst-audit.h: New file.
37272         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
37273         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
37274         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
37275         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37276         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37277         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37278         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37279         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37280         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37281         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37282         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37283         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37284         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37285         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37286         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37287         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37288         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37289         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37290         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37291         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37292         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37293         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37294         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37295         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37296         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37297         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37298         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37299         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37300         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37301         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37302         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37303         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37304         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37305         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37306         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37307         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37308         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37309         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37310         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37311         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37312         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37313         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37314         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37315         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37317 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37319         [BZ #17844]
37320         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37321         (getutent): Use weak_alias in non SHARED case
37322         and default_symbol_version in SHARED case.
37323         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37324         (getutent_r, pututline): Likewise.
37325         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37326         (getutid): Likewise.
37327         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37328         (getutid_r): Likewise.
37329         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37330         (getutline): Likewise.
37331         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37332         (getutline_r): Likewise.
37333         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37334         (updwtmp): Likewise.
37336 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37338         [BZ #17848]
37339         * sysdeps/s390/s390-32/memcmp.S
37340         (memcmp_g5): Rename to __memcmp_g5.
37341         * sysdeps/s390/s390-32/memcpy.S
37342         (memcpy_g5): Rename to __memcpy_g5.
37343         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37344         (memcpy_mvcle) Rename to __memcpy_mvcle.
37345         * sysdeps/s390/s390-32/memset.S
37346         (memset_g5): Rename to __memset_g5.
37347         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37348         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37349         and use prefixed functions.
37350         * sysdeps/s390/s390-32/multiarch/memcmp.S
37351         (memcmp_z196): Rename to __memcmp_z196.
37352         (memcmp_z10): Rename to __memcmp_z10.
37353         (memcmp): Set alias to __memcmp_g5.
37354         (bcmp): Set alias to __memcmp_g5.
37355         * sysdeps/s390/s390-32/multiarch/memcpy.S
37356         (memcpy_z196): Rename to __memcpy_z196.
37357         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37358         (memcpy_z10): Rename to __memcpy_z10.
37359         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37360         (memcpy): Set alias to __memcpy_g5.
37361         * sysdeps/s390/s390-32/multiarch/memset.S
37362         (memset_z196): Rename to __memset_z196.
37363         Jump to __memset_mvcle instead of memset_mvcle.
37364         (memset_z10): Rename to __memset_z10.
37365         Jump to __memset_mvcle instead of memset_mvcle.
37366         (memset_mvcle) Rename to __memset_mvcle.
37367         (memset): Set alias to __memset_g5.
37368         * sysdeps/s390/s390-64/memcmp.S
37369         (memcmp_z900): Rename to __memcmp_z900.
37370         * sysdeps/s390/s390-64/memcpy.S
37371         (memcpy_z900): Rename to __memcpy_z900.
37372         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37373         (memcpy_mvcle) Rename to __memcpy_mvcle.
37374         * sysdeps/s390/s390-64/memset.S
37375         (memset_z900): Rename to __memset_z900.
37376         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37377         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37378         and use prefixed functions.
37379         * sysdeps/s390/s390-64/multiarch/memcmp.S
37380         (memcmp_z196): Rename to __memcmp_z196.
37381         (memcmp_z10): Rename to __memcmp_z10.
37382         (memcmp): Set alias to __memcmp_z900.
37383         (bcmp): Set alias to __memcmp_z900.
37384         * sysdeps/s390/s390-64/multiarch/memcpy.S
37385         (memcpy_z196): Rename to __memcpy_z196.
37386         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37387         (memcpy_z10): Rename to __memcpy_z10.
37388         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37389         (memcpy): Set alias to __memcpy_z900.
37390         * sysdeps/s390/s390-64/multiarch/memset.S
37391         (memset_z196): Rename to __memset_z196.
37392         Jump to __memset_mvcle instead of memset_mvcle.
37393         (memset_z10): Rename to __memset_z10.
37394         Jump to __memset_mvcle instead of memset_mvcle.
37395         (memset_mvcle) Rename to __memset_mvcle.
37396         (memset): Set alias to __memset_z900.
37398 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37400         [BZ #17748]
37401         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37402         __fesetenv instead of fesetenv.
37404 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37406         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37407         macro.
37409 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37411         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37412         regression on LE.
37414         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37415         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37416         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37417         strncmp-power8 object.
37418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37419         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37420         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37421         * NEWS: Update.
37423 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37424             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37426         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37427         trailing byte check.
37429 2015-01-13  David S. Miller  <davem@davemloft.net>
37431         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37433 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37435         * login/logout.c (logout): Use memset rather than bzero.
37436         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37437         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37438         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37439         (_gethtbyaddr): Likewise.
37440         * locale/programs/simple-hash.c (bcopy): Macro removed.
37442 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37444         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37445         Add strcmp-power8 object.
37446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37447         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37448         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37449         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37450         __strcmp_power8 implementation.
37451         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37452         * NEWS: Update.
37454         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37455         Add strncpy-power8 and stpncpy-power8 objects.
37456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37457         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37458         implementations.
37459         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37460         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37461         __stpncpy_power8 implementation.
37462         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37463         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37464         __strncpy_power8 implementation.
37465         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37466         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37467         * NEWS: Update.
37469         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37470         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37471         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37473         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37474         strncat-power8 object.
37475         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37476         __strcat_power8 implementation.
37477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37478         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37479         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37480         optimized strcat for power8.
37482         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37483         strcpy-power8 and stpcpy-power8 objects.
37484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37485         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37486         implementations.
37487         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37488         multiarch stpcpy implementation for POWER8.
37489         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37490         multiarch strcpy implementation for POWER8.
37491         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37492         __strcpy_power8 function.
37493         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37494         stpcpy for POWER8.
37495         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37496         strcpy for POWER8.
37497         * NEWS: Update.
37499 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37501         [BZ #16009]
37502         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37503         weights and rules. Use do_xfrm_cached if data fits in cache,
37504         do_xfrm otherwise.  Moved former main loop to...
37505         * (do_xfrm_cached): New function.
37506         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37507         find_idx, find_position and stack_push.
37508         * (find_idx): New function.
37509         * (find_position): Likewise.
37510         * localedata/sort-test.sh: Added test run for do_xfrm.
37511         * localedata/xfrm-test.c (main): Added command line option
37512         -nocache to run the test with strings that are too large for
37513         the STRXFRM cache.
37515 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37517         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37518         variable to lll_futex_wake call, not the value itself.
37520 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37522         [BZ #17803]
37523         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37524         twom64.  Adjust value to 0x1p-64L.
37525         (__scalblnl): Only return standard underflowing result for K <=
37526         -64 not K <= -63; adjust exponent for underflowing result by 64
37527         not 63.
37528         * math/libm-test.inc (scalbn_test_data): Add more tests.
37529         (scalbln_test_data): Likewise.
37531         [BZ #17834]
37532         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37533         0x1p63L.
37534         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37535         not HX.
37536         * math/libm-test.inc (scalbn_test_data): Add more tests.
37537         (scalbln_test_data): Likewise.
37539 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37540             Stefani Seibold  <stefani@seibold.net>
37542         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37543         (sysdep_routines): Add dl-vdso here, ...
37544         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37545         (sysdep_routines): ... not here.
37546         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37547         fallback when vDSO is not presented.
37548         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37549         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37550         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37551         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37552         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37553         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37554         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37555         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37556         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37557         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37558         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37559         fallback configurable symbol when vDSO is not available.
37560         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37561         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37562         be able to redefine fallback symbol when vDSO is not available.
37563         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37564         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37566 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37568         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37569         (TLS_INIT_TP): Add tm_capable initialization.
37570         (TLS_DEFINE_INIT_TP): Likewise.
37571         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37572         TCB.
37573         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37574         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37575         calculation.
37576         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37577         transactoion is lock elision is built and TCB tm_capable is set.
37578         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37580         (INTERNAL_SYSCALL_NCS): Likewise.
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37582         (INTERNAL_SYSCALL_NCS): Likewise.
37583         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37585         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37586         for powerpc.
37587         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37588         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37589         and remove it for 32 bits case.
37590         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37592         initialization.
37593         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37594         Disable lock elision with rdlocks if elision is not available.
37596         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37597         (sysdep_routines): Add lock elision objects.
37598         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37599         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37600         [pthread_mutex_t] (__elision): Add field.
37601         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37602         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37603         elision definitions for powerpc.
37604         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37605         implementation of lock elision for powerpc.
37606         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37607         implementation of timed lock elision for powerpc.
37608         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37609         implementation of trylock with lock elision for powerpc.
37610         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37611         implementaion of unlock for lock elision for powerpc.
37612         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37613         automatic enable lock elision for mutexes.
37614         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37615         transaction execution definitions for powerpc.
37616         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37617         definitions.
37618         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37619         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37620         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37621         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37622         * NEWS: Update.
37624 2015-01-09  Roland McGrath  <roland@hack.frob.com>
37626         * sysdeps/posix/shm-directory.c: Use <> rather than ""
37627         for #include of <shm-directory.h>.
37629 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
37631         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37632         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37634 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
37636         [BZ #17791]
37637         * NEWS: Mention bug fix.
37638         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37639         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37640         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37642 2015-01-09  Torvald Riegel <triegel@redhat.com>
37644         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37646 2015-01-09  Torvald Riegel <triegel@redhat.com>
37648         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37650 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37652         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37653         pointer and cast to uintptr_t.
37655 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37657         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37658         removed.
37659         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37661 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37663         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37664         of 0.
37666 2015-01-08  Roland McGrath  <roland@hack.frob.com>
37668         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37669         <nptl/pthreadP.h> instead.
37670         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37672         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37673         already defined.
37674         [__SIGRTMIN] (init): Function removed.
37675         [__SIGRTMIN] (initialized): Variable removed.
37676         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37677         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37678         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37679         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37680         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37681         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
37682         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
37683         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
37684         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
37685         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
37686         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
37687         * sysdeps/nptl/allocrtsig.c: New file.
37688         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
37689         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
37690         * sysdeps/generic/testrtsig.h: File removed.
37692         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
37693         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
37695         * nptl/nptl-init.c (pthread_functions): Conditionalize
37696         .ptr__nptl_setxid initialization on [SIGSETXID].
37698         * sysdeps/nptl/sys/procfs.h: New file.
37699         * nptl_db/Makefile (headers): Add it.
37700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
37702         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
37703         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
37704         * nptl/pthread_attr_setaffinity.c: Include it.
37705         * nptl/pthread_setattr_default_np.c: Likewise.
37706         * nptl/check-cpuset.h: New file.
37708 2015-01-08  Richard Henderson  <rth@redhat.com>
37710         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
37711         (CFLAGS-tst-execstack-prog.c): Likewise.
37712         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
37714 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
37715             Sandra Loosemore  <sandra@codesourcery.com>
37716             Andrew Jenner  <andrew@codesourcery.com>
37717             Joseph Myers  <joseph@codesourcery.com>
37718             Nathan Sidwell  <nathan@codesourcery.com>
37720         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
37721         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
37722         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
37723         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
37724         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
37725         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
37726         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
37727         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
37728         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
37729         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
37730         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
37731         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
37732         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
37733         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
37734         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
37735         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
37736         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
37738 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37740         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
37741         timespec struct member in syscall macro.
37742         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
37743         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
37744         first timeval struct member in syscall macro.
37745         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
37747 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
37749         [BZ #17748]
37750         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
37751         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
37752         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
37753         __feupdateenv and define as weak alias of __feupdateenv.  Use
37754         libm_hidden_weak.
37755         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
37756         libm_hidden_def.
37757         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
37758         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
37759         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37760         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
37761         libm_hidden_def.
37762         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
37763         __feupdateenv and define as weak alias of __feupdateenv.  Use
37764         libm_hidden_weak.
37765         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
37766         libm_hidden_def.
37767         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
37768         __feupdateenv and define as weak alias of __feupdateenv.  Use
37769         libm_hidden_weak.
37770         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
37771         libm_hidden_def.
37772         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37773         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37774         (__feupdateenv): Likewise.
37775         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
37776         __feupdateenv and define as weak alias of __feupdateenv.  Use
37777         libm_hidden_weak.
37778         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37779         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
37780         libm_hidden_def.
37781         * sysdeps/tile/math_private.h (__feupdateenv): New inline
37782         function.
37783         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
37784         libm_hidden_def.
37785         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
37786         __feupdateenv instead of feupdateenv.
37787         (default_libc_feupdateenv_test): Likewise.
37788         (libc_feresetround_ctx): Likewise.
37790 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37792         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
37793         prototype.
37795 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
37797         * posix/regcomp.c (parse_bracket_exp): Initialize type to
37798         COLL_SYM in a couple of places to avoid uninitialized variable
37799         wanings on tilegx gcc 4.8.2.
37801 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37803         * sysdeps/aarch64/strcpy.S: New file.
37804         * sysdeps/aarch64/stpcpy.S: New file.
37805         * NEWS: Updated.
37807 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37809         * sysdeps/aarch64/strrchr.S: New file.
37810         * NEWS: Updated.
37812 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
37814         [BZ #17658]
37815         * stdlib/setenv.c: Fix memory leak when setting large,
37816         duplicate string.
37818 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
37820         [BZ #17273]
37821         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
37822         and tabs from buffer before parsing fstab entry.
37823         * misc/tst-mntent.c (main): Add test for mount entry with
37824         trailing spaces and tabs.
37826 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
37828         [BZ #17748]
37829         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
37830         * math/fesetround.c (fesetround): Rename to __fesetround and
37831         define as weak alias of __fesetround.  Use libm_hidden_weak.
37832         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
37833         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
37834         * sysdeps/arm/fesetround.c (fesetround): Likewise.
37835         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
37836         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37837         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
37838         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
37839         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
37840         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
37841         __fesetround_inline.
37842         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
37843         __fesetround_inline instead of __fesetround.
37844         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
37845         __fesetround and define as weak alias of __fesetround.  Use
37846         libm_hidden_weak.  Call __fesetround_inline instead of
37847         __fesetround.
37848         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
37849         __fesetround and define as weak alias of __fesetround.  Use
37850         libm_hidden_weak.
37851         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
37852         Likewise.
37853         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
37854         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37855         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
37856         * sysdeps/tile/math_private.h (__fesetround): New inline function.
37857         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
37858         __fesetround and define as weak alias of __fesetround.  Use
37859         libm_hidden_weak.
37860         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
37861         __fesetround instead of fesetround.
37862         (default_libc_feholdexcept_setround): Likewise.
37863         (libc_feholdsetround_ctx): Likewise.
37864         (libc_feholdsetround_noex_ctx): Likewise.
37866         [BZ #17748]
37867         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
37868         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
37869         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37870         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37871         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37872         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
37873         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37874         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37875         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37876         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37877         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37878         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37879         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37880         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37881         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
37882         libm_hidden_def.
37883         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
37884         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
37885         Likewise.
37886         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37887         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37888         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37889         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37890         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
37891         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37892         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37893         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
37894         __fesetenv instead of fesetenv.
37895         (libc_feresetround_noex_ctx): Likewise.
37896         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37897         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37898         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
37899         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37900         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37901         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37902         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37903         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37904         (__feupdateenv): Likewise.
37905         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37906         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37907         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37908         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
37910 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37912         [BZ #17806]
37913         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
37914         addresses have been freed.
37916 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37918         * resolv/res_init.c (__res_vinit): Improve comments about nserv
37919         and nservall.
37921 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
37923         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37924         Clean up check_pf allocation pattern. addresses
37926 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37928         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37929         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37930         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37931         * nptl/pthread_exit.c (__pthread_exit): Likewise.
37932         * nptl/pthread_join.c (pthread_join): Likewise.
37933         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37934         * sysdeps/posix/waitid.c (__waitid): Likewise.
37935         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37936         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37937         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37938         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37939         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37940         Likewise.
37941         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37942         (__libc_pread64): Likewise.
37943         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37944         (__libc_pwrite): Likewise.
37945         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37946         (__libc_pwrite64): Likewsie.
37947         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37948         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37949         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37950         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37951         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37952         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37953         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37955         Likewise.
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37957         (__libc_pread64): Likewise.
37958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37959         Likewise.
37960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37961         (__libc_pwrite64): Likewise.
37962         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37963         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37964         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37965         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37966         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37967         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37968         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37969         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37970         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37971         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37972         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37973         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37974         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37975         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37976         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37977         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37978         Likewise.
37980 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37982         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37983         (CFLAGS-test-double.c): Likewise.
37984         (CFLAGS-test-ldouble.c): Likewise.
37985         (CPPFLAGS-test-ifloat.c): Likewise.
37986         (CPPFLAGS-test-idouble.c): Likewise.
37987         (CPPFLAGS-test-ildoubl.c): Likewise.
37988         (CFLAGS-test-test-fenv.c): Remove variable.
37989         (CFLAGS-test-misc.c): Likewise.
37991 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37993         [BZ #17797]
37994         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37995         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37996         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37997         CLOCKS_PER_SEC == 1000000.
37998         * time/clocktest.c (main): Replace %ld with %jd and cast to
37999         intmax_t.
38001 2015-01-05  Roland McGrath  <roland@hack.frob.com>
38003         * sysdeps/generic/unwind-resume.h: New file.
38004         * sysdeps/gnu/unwind-resume.c: Include it.
38005         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
38006         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
38007         argument list.
38008         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
38009         global rather than static.
38010         (_Unwind_Resume): Update user.
38011         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
38012         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
38013         rather than static.  Add __attribute__ ((cold)).
38014         (_Unwind_Resume, __gcc_personality_v0): Update callers.
38015         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
38016         * sysdeps/arm/arm-unwind-resume.S: New file.
38017         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
38018         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
38019         * sysdeps/arm/Makefile [$(subdir) = csu]
38020         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
38021         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38022         Add rt-arm-unwind-resume.
38023         [$(subdir) = nptl]
38024         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38025         Add pt-arm-unwind-resume.
38026         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
38027         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38029 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38031         [BZ #17748]
38032         * include/fenv.h (__feholdexcept): Declare.  Use
38033         libm_hidden_proto.
38034         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
38035         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
38036         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38037         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38038         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
38039         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
38040         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
38041         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38042         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
38043         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
38044         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38045         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
38046         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
38047         (feholdexcept): Likewise.
38048         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38049         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38050         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38051         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38052         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
38053         __feholdexcept instead of feholdexcept.
38054         (default_libc_feholdexcept_setround): Likewise.
38056 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38058         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
38059         to avoid using stl/str to align destination.
38061 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38063         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
38065 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38067         [BZ #17796]
38068         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
38069         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
38070         Define as weak alias not strong alias.
38072 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38074         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
38075         bltzal with addiupc.
38076         (RTLD_START): Ditto.
38078 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
38080         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
38081         for __vdso_* functions in declarations.
38082         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
38083         definitions.
38084         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
38085         INTERNAL_VSYSCALL): Use struct return types to check for error.
38087         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
38088         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
38089         function with cast from llround().
38090         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
38091         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
38092         Define.
38094 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38096         [BZ #17793]
38097         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38098         Define as weak alias not strong alias.
38100         [BZ #17635]
38101         * ctype/ctype-c99.c: New file.  isblank implementation moved from
38102         ...
38103         * ctype/ctype-extn.c: ... here.
38104         (__isblank_l): Move to ...
38105         * ctype/ctype-c99_l.c: ... here.  New file.
38106         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
38107         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
38108         Remove variable.
38109         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38110         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38111         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38112         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38113         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38115         [BZ #17777]
38116         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
38117         (posix_fadvise64): Define as weak alias not strong alias.
38118         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38119         (posix_fallocate64): Likewise.
38120         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
38121         Remove variable.
38122         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38123         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38124         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38125         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38126         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38128 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
38130         [BZ #16191]
38131         * NEWS: Mention bug fix.
38132         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
38133         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
38134         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38135         (HOST_STACK_END_ADDR): Likewise.
38137 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38139         [BZ #17748]
38140         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
38141         * math/fegetround.c (fegetround): Rename to __fegetround and
38142         define as weak alias of __fegetround.  Use libm_hidden_weak.
38143         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
38144         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
38145         * sysdeps/arm/fegetround.c (fegetround): Likewise.
38146         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
38147         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38148         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
38149         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
38150         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
38151         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38152         Undefine after rather than before function definition; use
38153         parentheses around function name in definition.
38154         (__fegetround): Also undefine macro after function definition.
38155         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
38156         __fegetround and define as weak alias of __fegetround.  Use
38157         libm_hidden_weak.  Do not undefine as macro.
38158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38159         Likewise.
38160         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
38161         __fegetround and define as weak alias of __fegetround.  Use
38162         libm_hidden_weak.
38163         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38164         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38165         * sysdeps/tile/math_private.h (__fegetround): New inline function.
38166         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
38167         __fegetround and define as weak alias of __fegetround.  Use
38168         libm_hidden_weak.
38169         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
38170         __fegetround instead of fegetround.
38172         [BZ #17782]
38173         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
38174         Condition macro definition on [__USE_MISC].
38176         [BZ #17781]
38177         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38178         (struct sigaction): Change type of sa_flags field to int.
38180         [BZ #17780]
38181         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38182         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38183         __glibc_reserved0.
38185         * nptl/version.c (banner): Use single year in copyright notice.
38187         * NEWS: Update copyright dates.
38188         * catgets/gencat.c (print_version): Likewise.
38189         * csu/version.c (banner): Likewise.
38190         * debug/catchsegv.sh: Likewise.
38191         * debug/pcprofiledump.c (print_version): Likewise.
38192         * debug/xtrace.sh (do_version): Likewise.
38193         * elf/ldconfig.c (print_version): Likewise.
38194         * elf/ldd.bash.in: Likewise.
38195         * elf/pldd.c (print_version): Likewise.
38196         * elf/sotruss.sh: Likewise.
38197         * elf/sprof.c (print_version): Likewise.
38198         * iconv/iconv_prog.c (print_version): Likewise.
38199         * iconv/iconvconfig.c (print_version): Likewise.
38200         * locale/programs/locale.c (print_version): Likewise.
38201         * locale/programs/localedef.c (print_version): Likewise.
38202         * login/programs/pt_chown.c (print_version): Likewise.
38203         * malloc/memusage.sh (do_version): Likewise.
38204         * malloc/memusagestat.c (print_version): Likewise.
38205         * malloc/mtrace.pl: Likewise.
38206         * manual/libc.texinfo: Likewise.
38207         * nptl/version.c (banner): Likewise.
38208         * nscd/nscd.c (print_version): Likewise.
38209         * nss/getent.c (print_version): Likewise.
38210         * nss/makedb.c (print_version): Likewise.
38211         * posix/getconf.c (main): Likewise.
38212         * scripts/test-installation.pl: Likewise.
38213         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
38215 2015-01-02  Will Newton  <will.newton@linaro.org>
38217         * sysdeps/arm/armv7/configure: Removed.
38218         * sysdeps/arm/armv7/configure.ac: Likewise.
38220 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38222         * All files with FSF copyright notices: Update copyright dates
38223         using scripts/update-copyrights.
38224         * intl/plural.c: Regenerated.
38225         * locale/programs/charmap-kw.h: Likewise.
38226         * locale/programs/locfile-kw.h: Likewise.
38228 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38230         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
38232 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38234         [BZ #17748]
38235         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
38236         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
38237         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38238         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38239         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38240         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
38241         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38242         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
38243         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38244         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38245         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38246         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38247         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38248         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38249         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
38250         libm_hidden_def.
38251         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38252         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
38253         Likewise.
38254         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38255         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38256         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38257         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38258         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
38259         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38260         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38261         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
38262         __fegetenv instead of fegetenv.
38263         (libc_feholdsetround_noex_ctx): Likewise.
38265 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38267         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
38268         (Elf_MIPS_ABIFlags_v0): New structure.
38269         (EF_MIPS_FP64): Define.
38270         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
38271         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
38272         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
38273         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
38274         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
38275         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38276         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38277         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38278         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38279         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38280         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38281         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38282         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38283         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38284         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38285         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38286         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38287         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38288         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38289         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38290         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38291         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38292         field.
38293         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38294         EF_MIPS_FP64.
38295         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38296         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38297         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38298         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38299         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38300         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38301         * sysdeps/mips/tst-abi-interlink.c: Likewise.
38302         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38303         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38304         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38305         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38306         record the current FP ABI extension.
38307         (mips-mode-switch): Define to show if kernel headers support mode
38308         switching.
38309         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38310         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38311         supported SYSV ABI version to 3.
38312         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38313         feature.
38315 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38316             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38318         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38319         path.
38320         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38322 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38324         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38325         __fegetround and redefine to call __fegetround.  Remove condition
38326         on [!__NO_MATH_INLINES].
38327         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38328         function.
38329         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38330         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38331         Remove macro.
38332         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38333         instead of <fenv_libc.h>.
38334         (__llrintl): Call fegetround instead of __fegetround.
38335         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38336         instead of <fenv_libc.h>.
38337         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38338         (__lrintl): Call fegetround instead of __fegetround.
38339         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38340         instead of <fenv_libc.h>.
38341         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38342         (__rintl): Call fegetround instead of __fegetround.
38344 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38346         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38347         arrays.
38349 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38351         [BZ #17775]
38352         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38353         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38354         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38356 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38358         * sysdeps/i386/tls-macros.h: Include <features.h>.
38359         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38360         (TLS_IE): Likewise.
38361         (TLS_LD): Likewise.
38362         (TLS_GD): Likewise.
38363         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38364         define for GCC >= 5.0.
38366 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38368         * math/test-fenv.c (test_single_exception, set_single_exc,
38369         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38370         feexcp_mask_test, feenable_test, fe_single_test): Add
38371         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38372         case where they are not used.
38373         * math/libm-test.inc: Likewise.
38374         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38375         unused in the absence of FP rounding/exception support.
38376         * stdio-common/tst-printf-round.c: Likewise.
38377         * stdlib/tst-strtod-round.c: Likewise.
38378         * stdlib/tst-strtod-underflow.c: Likewise.
38380 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38382         [BZ #17723]
38383         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38384         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38385         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38386         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38387         libm_hidden_weak.
38388         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38389         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38390         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38391         libm_hidden_def.
38392         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38393         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38394         libm_hidden_weak.
38395         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38396         Likewise.
38397         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38398         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38399         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38400         libm_hidden_weak.
38401         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38402         libm_hidden_def.
38403         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38404         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38405         (__feraiseexcept): Likewise.
38406         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38407         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38408         libm_hidden_weak.
38409         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38410         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38411         libm_hidden_def.
38412         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38413         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38414         Use libm_hidden_def.
38415         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38416         libm_hidden_def.
38417         (feraiseexcept): Define as weak not strong alias.  Use
38418         libm_hidden_weak.
38419         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38420         New inline function.  Factored out of ...
38421         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38422         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38423         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38424         feraiseexcept.
38425         * math/w_acos.c (__acos): Likewise.
38426         * math/w_asin.c (__asin): Likewise.
38427         * math/w_ilogb.c (__ilogb): Likewise.
38428         * math/w_j0.c (y0): Likewise.
38429         * math/w_j1.c (y1): Likewise.
38430         * math/w_jn.c (yn): Likewise.
38431         * math/w_log.c (__log): Likewise.
38432         * math/w_log10.c (__log10): Likewise.
38433         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38434         * sysdeps/aarch64/fpu/math_private.h
38435         (libc_feupdateenv_test_aarch64): Likewise.
38436         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38437         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38438         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38439         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38440         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38441         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38442         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38443         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38444         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38445         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38447 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38449         [BZ #17732]
38450         * io/test-utime.c (main): Replace %ld with %jd and cast to
38451         intmax_t.
38452         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38453         * nptl/tst-mutex5.c: Include <stdint.h>.
38454         (do_test): Replace %ld with %jd and cast to intmax_t.
38455         * posix/tst-regex.c (run_test): Likewise.
38456         (run_test_backwards): Likewise.
38457         * rt/tst-clock.c: Include <stdint.h>.
38458         (clock_test): Replace %ld with %jd and cast to intmax_t.
38459         * rt/tst-cpuclock1.c: Include <stdint.h>.
38460         (do_test): Replace %lu with %ju and cast to uintmax_t.
38461         * rt/tst-cpuclock2.c: Include <stdint.h>.
38462         (do_test): Replace %lu with %ju and cast to uintmax_t.
38463         * rt/tst-mqueue1.c: Include <stdint.h>.
38464         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38465         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38466         intmax_t.
38467         * rt/tst-mqueue4.c (do_test): Likewise.
38468         * rt/tst-timer4.c: Include <stdint.h>.
38469         (check_ts): Replace %ld with %jd and cast to intmax_t.
38470         (do_test): Likewise.
38471         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38472         and cast to intmax_t.
38473         * sysdeps/pthread/tst-timer.c (main): Likewise.
38474         * time/clocktest.c (main): Likewise.
38475         * time/tst-posixtz.c (do_test): Likewise.
38476         * timezone/tst-timezone.c (main): Likewise.
38478 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38479             H.J. Lu  <hongjiu.lu@intel.com>
38481         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38482         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38483         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38484         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38485         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38486         version if bit_Fast_Unaligned_Load is set.
38487         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38488         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38489         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38490         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38491         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38492         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38493         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38494         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38495         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38496         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38497         to 4.
38498         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38499         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38500         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38501         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38503 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38505         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38506         instead of #if to avoid a Wundef warning.
38507         * stdlib/tst-limits.c (do_test): Likewise.
38509         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38510         parallel other exception macros.
38511         (fegetenv): Convert from macro to extern inline so that it applies
38512         retroactively to inline functions already seen by the compiler.
38513         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38515         * posix/Makefile (before-compile): Use $(objpfx) for
38516         posix-conf-vars-def.h.
38518 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38520         * posix/getconf.c (main): Use size_t for type of I.
38521         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38522         NSPEC.
38524         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38525         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38526         * posix/posix-envs.def: Likewise.
38527         * sysdeps/posix/sysconf.c: Likewise.
38528         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38529         (specs): Remove array.
38530         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38531         array.
38533         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38534         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38535         (__sysconf): Use CONF_IS_* macros.
38537         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38538         ($(objpfx)posix-conf-vars-def.h): New target.
38539         * posix/posix-conf-vars.list: New file.
38540         * posix/posix-conf-vars.h: New file.
38541         * posix/confstr.c: Include posix-conf-vars.h.
38542         (confstr): Use CONF_IS_* macros.
38543         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38544         CONF_IS_* macros.
38545         * scripts/gen-posix-conf-vars.awk: New file.
38547 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38549         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38550         fegetround): Add no-op macros to avoid linknamespace issues.
38552         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38553         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38555         * sysdeps/unix/sysv/linux/tile/sysdep.h
38556         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38557         assembly-specific section to avoid a redefinition warning.
38559         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38560         long before casting to pointer to avoid a cast warning.
38562 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38564         * sysdeps/tile/tilegx/Implies: New file.
38566 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38568         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38570 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38572         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38574 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38577         not define.
38578         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38579         <kernel-features.h>.
38580         (__utimes) [__NR_utimes]: Make code unconditional.
38581         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38582         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38583         (__ASSUME_UTIMES): Do not undefine.
38584         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38585         (__ASSUME_UTIMES): Likewise.
38586         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38587         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38588         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38589         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38591 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38593         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38595 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38597         [BZ #17747]
38598         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38599         alias to weak alias for j0l, y0l.
38600         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38601         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38603         [BZ #17746]
38604         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38605         conversion.
38607 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38609         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38610         to zero if not already defined.
38612 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38614         [BZ #17724]
38615         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38616         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38617         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38618         (char *) casts added.
38619         * sysdeps/ieee754/k_standardf.c: New file.
38620         * sysdeps/ieee754/k_standardl.c: Likewise.
38621         * math/Makefile (libm-support): Remove k_standard.
38622         (libm-calls): Add k_standard.
38624 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38626         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38627         Optimize to avoid an unnecessary FPCR read.
38629 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38631         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38632         Optimize to reduce FPCR/FPSR accesses.
38634 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38636         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38637         Call libc_fetestexcept_aarch64.
38639 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38641         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38642         Call libc_fesetround_aarch64.
38644 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38646         [BZ #17733]
38647         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38648         (__bind): Do not define as weak alias.
38649         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38650         define.
38651         (__getsockname): Do not define as weak alias.
38653 2014-12-22  Will Newton  <will.newton@linaro.org>
38655         * manual/install.texi: Document that we require bison 2.7
38656         or above.
38657         * INSTALL: Regenerate.
38658         * configure.ac: Use AC_CHECK_PROG_VER instead of
38659         AC_PATH_PROG when checking for bison and check for
38660         version 2.7 or above.
38661         * configure: Regenerate.
38663 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
38665         [BZ #17745]
38666         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38667         * sysdeps/tile/ffsll.c (ffsll): To here.
38669         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38671 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38673         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38674         if not defined.
38675         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38676         definition.
38677         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38678         hidden ___tls_get_addr.
38679         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38680         hidden __tls_get_addr.
38681         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38682         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
38683         Likewise.
38685 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38687         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
38688         _dl_init call.
38690 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38692         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
38693         from "call _dl_init@PLT".
38694         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
38696 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
38698         * manual/search.texi: (Array Sort Function): Clarify stable sorting
38699         guarantees.
38701 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
38703         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
38705 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38707         [BZ #17744]
38708         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
38709         strnlen.
38711 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38713         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
38714         of multu on MIPSr6.
38715         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
38716         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
38717         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
38718         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
38719         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
38721 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38723         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
38724         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
38725         (PTR_SUBU): Use subu for mips32r6/mips64r6.
38726         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
38727         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
38728         mips32r6/mips64r6.
38729         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
38731 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
38733         * string/strncat.c (STRNCAT): Simplify implementation.
38735 2014-12-19  David S. Miller  <davem@davemloft.net>
38737         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
38738         access the quad as both a long double and as a series of 4 words.
38740         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
38741         link_map->l_info array access.
38743 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38745         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
38747         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
38748         * math/atest-exp2.c (TIMEOUT): Likewise.
38749         * math/atest-sincos.c (TIMEOUT): Likewise.
38751 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38753         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
38754         -Wno-error with -fno-builtin-lround.
38756 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38758         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
38759         Contains futex constants and functions moved over from ...
38760         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
38761         <lowlevellock-futex.h>.
38762         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38763         (lll_timedwait_tid): Add comments and parentheses around macro
38764         arguments.
38766 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38768         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
38769         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
38770         (__lll_private_flag): Remove.
38771         (lll_futex_wait): Likewise.
38772         (lll_futex_timed_wait): Likewise.
38773         (lll_futex_wake): Likewise.
38774         (lll_futex_requeue): Likewise.
38775         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38776         (__lll_timedwait_tid): Spell out argument names.
38777         (lll_timedwait_tid): Add comments and parentheses around macro
38778         arguments.
38779         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
38780         LLL_SHARED and LLL_PRIVATE usable from assembly code.
38782 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38784         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
38785         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38786         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38787         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
38788         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
38789         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
38790         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
38791         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
38792         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
38793         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
38794         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
38795         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
38796         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
38797         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
38798         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
38799         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
38800         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
38801         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
38802         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38804 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38806         * sysdeps/x86_64/x32/Makefile: New file.
38808 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38810         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
38811         1L with (mp_limb_t) 1.
38813 2014-12-17  Roland McGrath  <roland@hack.frob.com>
38815         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
38816         * nptl/libc_pthread_init.c: ... here.
38817         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
38818         * nptl/register-atfork.c: ... here.
38820         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
38821         Use pthread_sigmask rather than INTERNAL_SYSCALL.
38822         Use assert_perror to check its return value.
38823         (__gai_create_helper_thread): Likewise.
38825         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
38827         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
38829 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
38831         [BZ #17725]
38832         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
38833         __profil_counter.
38834         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
38835         Likewise.
38836         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
38837         Likewise.
38838         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
38839         Likewise.
38840         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
38841         (profil_counter): Likewise.
38842         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
38843         (profil_counter): Likewise.
38844         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
38845         Likewise.
38846         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
38847         Likewise.
38848         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
38849         (profil_counter): Likewise.
38850         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
38851         Likewise.
38852         [!__profil_counter] (profil_counter): Define as weak alias of
38853         __profil_counter.
38854         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38855         (profil_counter): Rename to __profil_counter.
38856         [!__profil_counter] (profil_counter): Define as weak alias of
38857         __profil_counter.
38858         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
38859         (profil_counter): Rename to __profil_counter.
38860         [!__profil_counter] (profil_counter): Define as weak alias of
38861         __profil_counter.
38862         * sysdeps/posix/profil.c: Update comment referring to
38863         profil_counter.
38864         (__profil): Use __profil_counter instead of profil_counter.
38865         * sysdeps/posix/sprofil.c (profil_counter): Rename to
38866         __profil_counter.  Use __profil_counter_ushort and
38867         __profil_counter_uint in definitions.
38868         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
38869         instead of profil_counter_uint and profil_counter_ushort.
38871         [BZ #17722]
38872         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
38873         define as weak alias of __inet_makeaddr.
38874         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
38875         as weak alias of __inet_addr.
38876         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
38877         as weak alias of __inet_pton.  Use libc_hidden_weak.
38878         * include/arpa/inet.h (__inet_pton): Declare.  Use
38879         libc_hidden_proto.
38880         (inet_makeaddr): Don't use libc_hidden_proto.
38881         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
38882         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
38883         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
38884         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
38885         Remove variable.
38886         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38887         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38889 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
38891         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
38893 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38895         * stdio-common/bug-vfprintf-nargs.c (do_test):
38896         Cast value to intptr_t to avoid format warning
38897         for usage with PRIdPTR printing macro.
38899 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38901         * libio/tst-widetext.c (do_test):
38902         Use format type %td instead of %Zd for ptrdiff_t
38903         in order to avoid format warning.
38905 2014-12-17  Andreas Schwab  <schwab@suse.de>
38907         * nscd/mem.c (gc): Add size_t cast to match printf format.
38909 2014-12-16  Roland McGrath  <roland@hack.frob.com>
38911         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
38912         (init): Apply PTR_MANGLE to pointers before storing them.
38913         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
38914         before using them.
38916 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
38918         [BZ #17719]
38919         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38920         define as weak alias of __memrchr.
38921         (__memrchr): Do not define as strong alias of memrchr.
38922         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38923         Remove variable.
38924         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38925         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38926         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38928         [BZ #17717]
38929         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38930         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
38931         (if_indextoname): Rename to __if_indextoname and define as weak
38932         alias of __if_indextoname.  Use libc_hidden_weak.
38933         (if_freenameindex): Rename to __if_freenameindex and define as
38934         weak alias of __if_freenameindex.
38935         (if_nameindex): Rename to __if_nameindex and define as weak alias
38936         of __if_nameindex.
38937         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38938         __if_nametoindex and define as weak alias of __if_nametoindex.
38939         Use libc_hidden_weak.
38940         (if_freenameindex): Rename to __if_freenameindex and define as
38941         weak alias of __if_freenameindex.
38942         (if_nameindex): Rename to __if_nameindex and define as weak alias
38943         of __if_nameindex.
38944         (if_indextoname): Rename to __if_indextoname and define as weak
38945         alias of __if_indextoname.  Use libc_hidden_weak.
38946         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38947         __if_nametoindex and define as weak alias of __if_nametoindex.
38948         Use libc_hidden_weak.
38949         (if_freenameindex): Rename to __if_freenameindex and define as
38950         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38951         (if_nameindex_netlink): Use __if_freenameindex instead of
38952         if_freenameindex.
38953         (if_nameindex): Rename to __if_nameindex and define as weak alias
38954         of __if_nameindex.  Use libc_hidden_weak.
38955         (if_indextoname): Rename to __if_indextoname and define as weak
38956         alias of __if_indextoname.  Use libc_hidden_weak.
38957         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38958         libc_hidden_proto.
38959         [!_ISOMAC] (__if_freenameindex): Likewise.
38960         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38961         if_nametoindex.
38962         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38963         variable.
38964         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38965         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38966         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38967         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38968         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38969         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38970         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38972         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38973         Remove variable.
38974         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38975         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38977 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38979         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38980         subscript above bounds'
38982         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38983         bounds.
38985 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38987         * libio/tst-fopenloc.c: Use test-skeleton.c.
38989         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38990         (entry): Rename to ITEM.
38991         (do_test, comp): Adjust.
38993         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38995 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38997         * string/tester.c: Include <libc-internal.h>.
38998         (test_memset): Ignore -Wmemset-transposed-args.
39000 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39002         * misc/tst-mntent2.c (do_test): Fix warning.
39004 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39006         * elf/tst-unique4lib.cc(a): Mark as used.
39008 2014-12-16  Florian Weimer  <fweimer@redhat.com>
39010         [BZ #17630]
39011         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
39012         names.
39014 2014-12-16  Allan McRae  <allan@archlinux.org>
39016         * stdio-common/Makefile (tests): Re-add bug26.
39018 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
39020         [BZ #17657]
39021         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
39022         static array.
39024 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
39026         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
39027         (__lll_lock_wait): Likewise.
39028         (__lll_timedlock_wait): Likewise.
39029         (__lll_timedwait_tid): Likewise.
39030         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
39031         (__lll_robust_timedlock_wait): Likewise.
39032         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
39033         (lll_cond_trylock): Likewise.
39034         (__lll_lock): Likewise.
39035         (__lll_robust_lock): Likewise.
39036         (__lll_cond_lock): Likewise.
39037         (lll_robust_cond_lock): Likewise.
39038         (__lll_timedlock): Likewise.
39039         (__lll_robust_timedlock): Likewise.
39040         (__lll_unlock): Likewise.
39041         (__lll_robust_unlock): Likewise.
39042         (lll_wait_tid): Likewise.
39043         (lll_timedwait_tid): Likewise.
39045 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39047         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
39049 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39051         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39053 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39055         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
39056         * stdio-common/tst-sprintf.c: Likewise.
39058 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39060         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
39062 2014-12-15  Jeff Law  <law@redhat.com>
39064         [BZ #16617]
39065         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
39066         on the heap.  (CVE-2012-3406)
39067         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
39068         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
39069         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
39071 2014-12-15  Will Newton  <will.newton@linaro.org>
39073         * manual/install.texi: Bump required version of texinfo
39074         to 4.7 from 4.5.
39075         * INSTALL: Regenerated.
39076         * configure.ac: Check for makeinfo version 4.7 and above.
39077         * configure: Regenerated.
39079 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39081         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
39082         PREFIX, string constant to insert between directory and name.
39083         * sysdeps/posix/shm_open.c: Update caller.
39084         * sysdeps/posix/shm_unlink.c: Likewise.
39085         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
39086         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39087         (SEM_SHM_PREFIX): New macro.
39088         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
39089         [$(have-thread-library) = no].
39090         * nptl/Makefile (libpthread-routines): Add shm-directory.
39091         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
39092         * sysdeps/nptl/shm-directory.h: New file.
39093         * sysdeps/posix/shm-directory.c
39094         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
39095         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
39096         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
39097         INTERNAL_SYSCALL.
39098         (__where_is_shmfs): Function removed.
39099         (mountpoint, defaultmount, defaultdir, __namedsem_once):
39100         Variables removed.
39101         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
39102         Use SHM_GET_NAME.
39103         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
39105         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
39106         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
39107         unconditional for use inside libpthread.
39108         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
39110 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39112         * nptl/pthread_getaffinity.c: New file.
39113         * nptl/pthread_setaffinity.c: New file.
39114         * nptl/pthread_getname.c: New file.
39115         * nptl/pthread_setname.c: New file.
39117         * nptl/pthread_create.c (START_THREAD_DEFN)
39118         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
39120 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39121             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39123         * resolv/res_send.c (send_vc): Disable warning resplen may
39124         be used uninitialized.
39126 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39128         * nptl/tst-mutex6.c
39129         (ATTR_NULL): New define checks ATTR against NULL.
39130         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
39131         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
39133 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
39135         [BZ #17581]
39136         * malloc/hooks.c
39137         (mem2mem_check): Revert my previous change.
39138         (malloc_check_get_size): Revert my previous change.
39139         (mem2chunk_check): Revert my previous change.
39141 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39143         * sysdeps/posix/shm-directory.c: New file.
39144         * sysdeps/posix/shm-directory.h: New file.
39145         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
39146         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
39147         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
39148         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
39149         Transmute EPERM to EACCES.
39150         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
39151         from ...
39152         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
39153         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
39155 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39157         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39158         pointer and cast to uintptr_t.
39159         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
39160         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
39161         Add cast to avoid warning.
39162         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
39164 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39166         * nptl/semaphore.h: Move to ...
39167         * sysdeps/pthread/semaphore.h: ... here.
39168         * Makefile (installed-headers): Change nptl/semaphore.h to
39169         sysdeps/pthread/semaphore.h.
39171 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39173         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
39174         generated error format strings.
39176         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39177         -Wformat-extra-args warnings for scanf formats.
39178         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39179         test of zero-length format (duh).
39180         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39181         corner-case scanf format test.
39182         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39183         generated fprintf format string.
39184         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39185         corner-case sprintf format tests.
39186         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39187         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39188         -Wformat-extra-args warnings throughout.
39189         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39190         (CFLAGS-scanf4.c): Likewise.
39191         (CFLAGS-scanf7.c): Likewise.
39192         (CFLAGS-tst-sprintf.c): Likewise.
39193         (CFLAGS-tst-printf.c): Likewise.
39194         (CFLAGS-tst-printfsz.c): Likewise.
39196 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39198         * include/cpio.h: New file.
39199         * include/fmtmsg.h: Likewise.
39201         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
39202         corresponding format argument to size_t.
39203         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
39204         arguments.
39205         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
39206         corresponding format argument to size_t.
39207         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
39208         arguments.
39209         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
39210         corresponding format argument to size_t.
39211         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
39212         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
39213         (CFLAGS-tst-mbswcs2.c): Likewise.
39214         (CFLAGS-tst-mbswcs3.c): Likewise.
39215         (CFLAGS-tst-mbswcs4.c): Likewise.
39216         (CFLAGS-tst-mbswcs5.c): Likewise.
39217         (CFLAGS-tst-trans.c): Likewise.
39219 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39221         * posix/regexbug1.c (main): Use "%s" format with regerror results,
39222         rather than assuming they won't contain any '%'s.
39224 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
39226         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
39227         inhibit_loop_to_libcall to avoid recursive calls.
39228         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
39229         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
39231 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39233         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39234         prototype.
39236 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39238         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
39239         integer value instead of boolean.
39241 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39243         * malloc/malloc.c: Fix powerof2 check.
39245 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39247         * locale/programs/locfile.h (maybe_swap_uint32):
39248         Remove inline and add unused attribute.
39250 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39252         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39253         Truncating assembler expression to a .long expression.
39255 2014-12-11  Andreas Schwab  <schwab@suse.de>
39257         * elf/rtld.c (struct map_args): Constify str member.
39258         (do_preload): Constify fname argument.
39260 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39262         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
39263         constants definition.
39265 2014-12-11  Andreas Schwab  <schwab@suse.de>
39267         [BZ #16657]
39268         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
39269         FORCE_ELISION instead of DO_ELISION.
39270         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
39271         Remove.
39272         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
39273         Likewise.
39275         * iconvdata/gconv-modules: Remove duplicate entry.
39277 2014-12-11  Will Newton  <will.newton@linaro.org>
39279         Merge gettext 0.19.3 into intl/.
39281         This involves a number of cosmetic changes to comments
39282         and ANSI function definitions and prototypes throughout
39283         all the files. The gettext copyright header is used but
39284         with the date ranges taken from the glibc copy.
39286         * NEWS: Add gettext merge to 2.21.
39287         * intl/bindtextdom.c: Switch to gettext copyright.
39288         Use ANSI definitions and prototypes.
39289         Use gl_* locking primitives rather than __libc_* ones.
39290         Use __builtin_expect rather than __glibc_likely/unlikely.
39291         * intl/dcgettext.c: Switch to gettext copyright.
39292         Use ANSI definitions and prototypes.
39293         * intl/dcigettext.c: Switch to gettext copyright.
39294         Use ANSI definitions and prototypes.
39295         (INTDIV0_RAISES_SIGFPE): New define.
39296         Use gl_* locking primitives rather than __libc_* ones.
39297         Include eval-plural.h instead of plural-eval.c.
39298         Use __builtin_expect rather than __glibc_likely/unlikely.
39299         * intl/dcngettext.c: Switch to gettext copyright.
39300         Use ANSI definitions and prototypes.
39301         * intl/dgettext.c: Likewise.
39302         * intl/dngettext.c: Likewise.
39303         * intl/plural-eval.c: Renamed to...
39304         * intl/eval-plural.h: ...this.
39305         * intl/explodename.c: Switch to gettext copyright.
39306         Use ANSI definitions and prototypes.
39307         (_nl_explode_name): Use strchr instead of __rawmemchr.
39308         * intl/finddomain.c: Switch to gettext copyright.
39309         Use ANSI definitions and prototypes.
39310         Use gl_* locking primitives rather than __libc_* ones.
39311         (_nl_find_domain): Use malloc rather than alloca for
39312         allocation of temporary locale name.
39313         * intl/gettext.c: Switch to gettext copyright.
39314         Use ANSI definitions and prototypes.
39315         * intl/gettextP.h: Switch to gettext copyright.
39316         Use ANSI definitions and prototypes.
39317         Use gl_* locking primitives rather than __libc_* ones.
39318         * intl/gmo.h: Switch to gettext copyright.
39319         (struct sysdep_string): Move struct segment_pair outside of
39320         struct definition.
39321         * intl/hash-string.c: Use ANSI definitions and prototypes.
39322         * intl/hash-string.h: Switch to gettext copyright.
39323         Use ANSI definitions and prototypes.
39324         * intl/l10nflist.c: Switch to gettext copyright.
39325         Use ANSI definitions and prototypes.
39326         (_nl_normalize_codeset): Avoid integer overflow.
39327         * intl/loadinfo.h: Switch to gettext copyright.
39328         Use ANSI definitions and prototypes.
39329         (LIBINTL_DLL_EXPORTED): New define.
39330         (PATH_SEPARATOR): New define.
39331         * intl/loadmsgcat.c: Switch to gettext copyright.
39332         * intl/localealias.c: Switch to gettext copyright.
39333         Use ANSI definitions and prototypes.
39334         (_nl_expand_alias): Use PATH_SEPARATOR.
39335         * intl/ngettext.c: Switch to gettext copyright.
39336         Use ANSI definitions and prototypes.
39337         * intl/plural-exp.c: Likewise.
39338         * intl/plural-exp.h: Switch to gettext copyright.
39339         Use ANSI definitions and prototypes.
39340         (struct expression): Move definition of enum operator outside
39341         of struct definition.
39342         * intl/plural.c: Regenerate.
39343         * intl/plural.y: Switch to gettext copyright.
39344         Use ANSI definitions and prototypes.
39345         Port to bison 3.0.
39346         * intl/textdomain.c: Switch to gettext copyright.
39347         Use ANSI definitions and prototypes.
39348         Use gl_* locking primitives rather than __libc_* ones.
39350 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39352         * debug/warning-nop.c: Add used atrribute.
39354 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39356         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39358         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39359         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39360         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39362 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39363             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39365         [BZ #17634]
39366         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39367         Undefine after defining function.  Define as weak alias of
39368         __wcschr.  Use libc_hidden_weak.
39369         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39370         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39371         (libc_hidden_def): Also define __GI___wcschr alias.
39372         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39373         __wcschr and define as weak alias of __wcschr.
39374         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39375         __wcschr.
39376         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39377         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39378         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39379         libc_hidden_weak.  Do not use libc_hidden_def.
39380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39381         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39382         __GI___wcschr alias.
39383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39384         [IS_IN (libc)] (wcschr): Define as macro expanding to
39385         __redirect_wcschr.
39386         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39387         [IS_IN (libc)] (__wcschr_power6): Likewise.
39388         [IS_IN (libc)] (__wcschr_power7): Likewise.
39389         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39390         instead of wcschr.
39391         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39392         __libc_wcschr.
39393         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39394         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39395         __wcschr and define as weak alias of __wcschr.  Use
39396         libc_hidden_builtin_def.
39397         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39398         as weak alias of __wcschr.  Use libc_hidden_weak.
39399         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39400         wcschr.
39401         * time/era.c (_nl_init_era_entries): Likewise.
39402         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39403         variable.
39404         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39405         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39407 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39409         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39410         format for long int variable.
39412 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39414         [BZ #10672]
39415         * manual/search.texi: (Array Sort Function): Remove claim how to make
39416         qsort stable.
39418 2014-12-10  Andreas Schwab  <schwab@suse.de>
39420         [BZ #12847]
39421         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39422         user-controlled locks.
39424 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39426         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39427         register.
39429 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39431         * configure.ac (--disable-werror): New configure option.
39432         (enable_werror): New AC_SUBST.
39433         * configure: Regenerated.
39434         * config.make.in (enable-werror): New variable.
39435         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39436         -Wno-error=undef.
39437         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39438         * manual/install.texi (Configuring and compiling): Document
39439         --disable-werror.
39440         * INSTALL: Regenerated.
39441         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39442         (CFLAGS-tst-chk2.c): Likewise.
39443         (CFLAGS-tst-chk3.c): Likewise.
39444         (CFLAGS-tst-chk4.cc): Likewise.
39445         (CFLAGS-tst-chk5.cc): Likewise.
39446         (CFLAGS-tst-chk6.cc): Likewise.
39447         (CFLAGS-tst-lfschk1.c): Likewise.
39448         (CFLAGS-tst-lfschk2.c): Likewise.
39449         (CFLAGS-tst-lfschk3.c): Likewise.
39450         (CFLAGS-tst-lfschk4.cc): Likewise.
39451         (CFLAGS-tst-lfschk5.cc): Likewise.
39452         (CFLAGS-tst-lfschk6.cc): Likewise.
39454         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39455         (main): Disable -Wdeprecated-declarations around calls to
39456         register_printf_function.
39458         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39459         (do_test): Disable -Wdiv-by-zero around some calls to
39460         fwrite_unlocked and fread_unlocked.
39462         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39463         (DIAG_POP_NEEDS_COMMENT): Likewise.
39464         (_DIAG_STR1): Likewise.
39465         (_DIAG_STR): Likewise.
39466         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39467         * stdio-common/bug21.c: Include <libc-internal.h>.
39468         (do_test): Disable -Wformat around call to sscanf.
39469         * stdio-common/scanf14.c: Include <libc-internal.h>.
39470         (main): Disable -Wformat around some calls to scanf functions.
39472 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39474         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39476 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39478         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39479         stack variable alignment.
39481 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39483         [BZ #17682]
39484         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39485         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39486         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39487         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39488         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39489         __getrlimit instead of getrlimit.
39490         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39491         __gettimeofday instead of gettimeofday.
39492         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39493         Likewise.
39494         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39495         Likewise.
39496         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39497         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39498         Remove variable.
39499         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39500         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39502 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39504         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39505         for wide-character tests.
39507 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39509         * io/openat64.c: #include <libc-internal.h>
39510         (__openat64): Prototypify.  Use ignore_value on MODE.
39511         * io/openat.c: Likewise.
39512         * misc/reboot.c: #include <libc-internal.h>
39513         (reboot): Prototypify.  Use ignore_value on HOWTO.
39514         * misc/ptrace.c: #include <libc-internal.h>
39515         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39517 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39519         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39520         XPG4, UNIX98 and XOPEN2K.
39521         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39522         Remove variable.
39523         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39525 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39527         * libio/fileops.c: Use ISO C style for function definitions.
39528         * libio/iofopen.c: Likewise.
39529         * libio/wfileops.c: Likewise.
39531         [BZ #17653]
39532         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39533         offset on EOF.
39534         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39535         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39536         (fgets_func): Function pointer to fgets and fgetws.
39537         (do_ftell_test): Add test to verify ftell value after read
39538         EOF.
39539         (do_test): Set fgets_func.
39541         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39542         O_TRUNC flag for w and w+ modes.
39543         (do_rewind_test): Likewise.
39544         (do_ftell_test): Likewise.
39545         (do_write_test): Likewise.
39547         [BZ #17647]
39548         * libio/fileops.c (do_ftell): Seek only when there are
39549         unflushed writes.
39550         * libio/wfileops.c (do_ftell_wide): Likewise.
39551         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39552         test case.
39553         (do_one_test): Call it.
39555 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39557         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39558         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39559         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39560         Remove variable.
39561         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39562         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39563         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39565 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39567         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39568         Remove variable.
39569         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39571         [BZ #17668]
39572         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39573         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39574         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39575         __freeifaddrs.  Use libc_hidden_weak.
39576         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39577         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39578         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39579         __freeifaddrs.  Use libc_hidden_weak.
39580         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39581         __getifaddrs and define as weak alias of __getifaddrs.  Use
39582         libc_hidden_weak.
39583         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39584         __freeifaddrs.  Use libc_hidden_weak.
39585         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39586         Remove variable.
39587         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39588         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39590 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39592         [BZ #17601]
39593         * sysdeps/mips/start.S (__start): Use indirect jump to call
39594         __libc_start_main.
39596 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39598         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39600         * nptl/tst-mutex1.c: Include <stdbool.h>.
39601         [!ATTR] (ATTR_NULL): New macro.
39602         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39603         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39604         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39606         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39607         to char *.
39609         [BZ #17665]
39610         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39611         Change conditional to [__USE_MISC].
39613         [BZ #17664]
39614         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39615         fgets_unlocked.
39616         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39617         __fgets_unlocked.
39618         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39619         fgets_unlocked.
39620         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39621         Remove variable.
39622         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39623         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39624         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39625         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39626         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39627         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39628         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39629         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39630         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39632         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39634 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39636         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39637         Remove strpbrk objects.
39638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39639         (__libc_ifunc_impl_list): Remove strpbrk implementation.
39640         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39641         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39642         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39643         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39645         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39646         Remove strcspn objects.
39647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39648         (__libc_ifunc_impl_list): Remove strcspn implementation.
39649         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39650         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39651         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39652         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39654         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39655         Remove strspn objetcs.
39656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39657         (__libc_ifunc_impl_list): Remove strspn implementation.
39658         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39659         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39660         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39661         * sysdeps/powerpc/powerpc64/strspn.S: New file.
39663 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
39665         [BZ #17581]
39666         * malloc/hooks.c
39667         (mem2mem_check): Add a terminator to the chain of checking blocks.
39668         (malloc_check_get_size): Use it here.
39669         (mem2chunk_check): Ditto.
39671 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39673         * sysdeps/powerpc/powerpc64/strtok.S: New file.
39674         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39676 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
39678         * bits/ioctl-types.h: Indent preprocessor directives correctly.
39680         * nptl/nptl-init.c: Include libc-internal.h.
39681         (__pthread_initialize_minimal_internal): Use ROUND_UP.
39683         * elf/ldconfig.c (search_dir): Expand comment.
39685 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
39687         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
39688         variable.
39689         (linknamespace-symlist-stdlibs-tests): Likewise.
39690         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
39691         instead of $(objpfx)symlist-stdlibs.
39692         (linknamespace-libs-isoc): New variable.
39693         (linknamespace-libs): Use $(linknamespace-libs-isoc).
39694         (linknamespace-libs-ISO): New variable.
39695         (linknamespace-libs-ISO99): Likewise.
39696         (linknamespace-libs-ISO11): Likewise.
39697         (linknamespace-libs-XPG3): Likewise.
39698         (linknamespace-libs-XPG4): Likewise.
39699         (linknamespace-libs-POSIX): Likewise.
39700         (linknamespace-libs-UNIX98): Likewise.
39701         (linknamespace-libs-XOPEN2K): Likewise.
39702         (linknamespace-libs-POSIX2008): Likewise.
39703         (linknamespace-libs-XOPEN2K8): Likewise.
39704         ($(objpfx)symlist-stdlibs): Replace by
39705         $(linknamespace-symlist-stdlibs-tests).  Use
39706         $(linknamespace-libs-$*) as set of libraries.
39707         ($(linknamespace-header-tests)): Update dependencies.  Use
39708         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
39709         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
39710         * conform/linknamespace.pl: Remove comment about considering
39711         definitions of symbols from irrelevant libraries.
39713 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
39715         [BZ #13862]
39716         * elf/dl-tls.c: Include <atomic.h>.
39717         (oom): Remove #ifdef SHARED/#endif.
39718         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
39719         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
39720         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
39721         big enough.
39722         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
39723         * nptl/Makefile (tests): Add tst-stack4.
39724         (modules-names): Add tst-stack4mod.
39725         ($(objpfx)tst-stack4): New.
39726         (tst-stack4mod.sos): Likewise.
39727         ($(objpfx)tst-stack4.out): Likewise.
39728         ($(tst-stack4mod.sos)): Likewise.
39729         (clean): Likewise.
39730         * nptl/tst-stack4.c: New file.
39731         * nptl/tst-stack4mod.c: Likewise.
39733 2014-11-27  J. Brown  <jb999@gmx.de>
39735         * sysdeps/x86/bits/string.h: Add recent CPUs.
39737 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39739         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
39740         sigblock.
39742         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
39743         feof.
39745         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
39746         variable.
39748 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
39750         * nscd/connections.c: Include libc-internal.h because of macro
39751         usage ignore_value.
39753 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39755         * string/bits/string3.h (__warn_memset_zero_len): Don't
39756         declare for gcc newer than 5.0.
39757         (memset): Don't test for zero-length __LEN for gcc newer than
39758         5.0.
39760 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39762         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
39763         size_t for %zu format.
39765         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
39766         difference, not %ju.
39768 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39770         * include/libc-internal.h (ignore_value): New macro.
39771         * nscd/connections.c (restart): Wrap calls to setuid and setgid
39772         with ignore_value.
39774         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
39775         definition.
39777         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
39778         pthread_cleanup_push to void *.
39780         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
39781         Undefine.
39783         [BZ #16619]
39784         [BZ #16740]
39785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
39786         instead of 1L << 52.
39788         * libio/bug-rewind.c (do_test): Check fwscanf return values.
39789         * libio/bug-rewind2.c (do_test): Likewise.
39791         * debug/test-stpcpy_chk-ifunc.c: Remove file.
39792         * debug/test-strcpy_chk-ifunc.c: Likewise.
39793         * wcsmbs/test-wcschr-ifunc.c: Likewise.
39794         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39795         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39796         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39797         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39798         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39799         * Rules [$(multi-arch) = no] (tests): Do not filter out
39800         $(tests-ifunc).
39801         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
39802         * debug/Makefile (tests-ifunc): Remove variable.
39803         (tests): Do not add $(tests-ifunc).
39804         * wcsmbs/Makefile (tests-ifunc): Remove variable.
39805         (tests): Do not add $(tests-ifunc).
39806         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
39807         [TEST_IFUNC]: Remove conditionals.
39808         * string/test-string.h (TEST_IFUNC): Remove macro.
39809         [TEST_IFUNC]: Remove conditionals.
39811         * string/test-strchr.c [!WIDE] (L): New macro.
39812         [WIDE] (L): Likewise.
39813         (check1): Use CHAR instead of char.  Use L on string and character
39814         constants.
39816 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
39818         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
39819         tests.
39820         * sysdeps/powerpc/bits/atomic.h
39821         (__arch_atomic_exchange_and_add_32_acq): Add definition.
39822         (__arch_atomic_exchange_and_add_32_rel): Likewise.
39823         (atomic_exchange_and_add_acq): Likewise.
39824         (atomic_exchange_and_add_rel): Likewise.
39825         * sysdeps/powerpc/powerpc32/bits/atomic.h
39826         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39827         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39828         * sysdeps/powerpc/powerpc64/bits/atomic.h
39829         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39830         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39832 2014-11-26  Torvald Riegel  <triegel@redhat.com>
39834         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
39835         Change synchronization of __sched_fifo_min_prio and
39836         __sched_fifo_max_prio.
39837         * nptl/pthread_mutexattr_getprioceiling.c
39838         (pthread_mutexattr_getprioceiling): Likewise.
39839         * nptl/pthread_mutexattr_setprioceiling.c
39840         (pthread_mutexattr_setprioceiling): Likewise.
39841         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
39842         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
39843         Likewise.
39845 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39847         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
39848         void.
39850 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39852         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
39853         third argument const.
39855 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
39857         fnmatch: work around GCC compiler warning bug with uninit var
39858         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
39859         This works around a bug with x86-64 GCC 4.9.2 and earlier
39860         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
39861         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
39862         used uninitialized in this function [-Wmaybe-uninitialized]".
39864 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39866         * posix/bug-regex31.c (main): Return RES not 0.
39868 2014-11-25  Anton Blanchard <anton@samba.org>
39870         * sysdeps/powerpc/bits/atomic.h
39871         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
39873 2014-11-24  Sterling Augustine  <saugustine@google.com>
39875         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
39877 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
39879         [BZ #17608]
39880         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
39882 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
39884         [BZ #17633]
39885         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
39886         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
39887         variable.
39888         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39889         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39891 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39893         * string/strncpy.c (strncpy): Improve performance by using memset.
39895 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39897         * string/strcpy.c (strcpy):
39898         Improve performance by using strlen and memcpy.
39900 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
39902         * string/strcoll_l.c (get_next_seq): __always_inline.
39903         * string/strcoll_l.c (do_compare): __always_inline.
39905 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39907         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
39908         defined.
39909         * include/mqueue.h: Likewise.
39910         * include/stdlib.h: Likewise.
39912         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
39913         (get_null_defines): Adjust.
39914         * sunrpc/Makefile: Adjust comment.
39915         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
39916         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
39917         (CFLAGS-interp.c): Likewise.
39918         (CFLAGS-ldconfig.c): Likewise.
39919         (CPPFLAGS-.os): Likewise.
39920         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39921         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39922         * extra-modules.mk (extra-modules.mk): Likewise.
39923         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39924         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39925         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39926         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39927         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39928         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39929         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39930         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39931         * iconvdata/Makefile (CPPFLAGS): Likewise.
39932         (cpp-srcs-left): Add libof for all iconvdata routines.
39933         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39934         * include/assert.h: Likewise.
39935         * include/ctype.h: Likewise.
39936         * include/errno.h: Likewise.
39937         * include/libc-symbols.h: Likewise.
39938         * include/math.h: Likewise.
39939         * include/netdb.h: Likewise.
39940         * include/resolv.h: Likewise.
39941         * include/stdio.h: Likewise.
39942         * include/stdlib.h: Likewise.
39943         * include/string.h: Likewise.
39944         * include/sys/stat.h: Likewise.
39945         * include/wctype.h: Likewise.
39946         * intl/l10nflist.c: Likewise.
39947         * libidn/idn-stub.c: Likewise.
39948         * libio/libioP.h: Likewise.
39949         * nptl/libc_multiple_threads.c: Likewise.
39950         * nptl/pthreadP.h: Likewise.
39951         * posix/regex_internal.h: Likewise.
39952         * resolv/res_hconf.c: Likewise.
39953         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39954         * sysdeps/arm/memmove.S: Likewise.
39955         * sysdeps/arm/sysdep.h: Likewise.
39956         * sysdeps/generic/_itoa.h: Likewise.
39957         * sysdeps/generic/symbol-hacks.h: Likewise.
39958         * sysdeps/gnu/errlist.awk: Likewise.
39959         * sysdeps/gnu/errlist.c: Likewise.
39960         * sysdeps/i386/i586/memcpy.S: Likewise.
39961         * sysdeps/i386/i586/memset.S: Likewise.
39962         * sysdeps/i386/i686/memcpy.S: Likewise.
39963         * sysdeps/i386/i686/memmove.S: Likewise.
39964         * sysdeps/i386/i686/mempcpy.S: Likewise.
39965         * sysdeps/i386/i686/memset.S: Likewise.
39966         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39967         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39968         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39969         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39970         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39971         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39972         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39973         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39974         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39975         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39976         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39977         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39978         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39979         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39980         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39981         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39982         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39983         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39984         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39985         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39986         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39987         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39988         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39989         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39990         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39991         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39992         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39993         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39994         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39995         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39996         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39998         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39999         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40000         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40001         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40002         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40003         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40004         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40006         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40007         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40008         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40009         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40010         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40011         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40012         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
40013         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
40014         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40015         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40016         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40017         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
40018         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
40019         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40020         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40021         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
40022         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40023         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
40024         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
40025         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40026         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40027         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40028         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
40029         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40030         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40031         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
40032         * sysdeps/posix/closedir.c: Likewise.
40033         * sysdeps/posix/opendir.c: Likewise.
40034         * sysdeps/posix/readdir.c: Likewise.
40035         * sysdeps/posix/rewinddir.c: Likewise.
40036         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
40037         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
40038         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40039         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40040         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
40042         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
40043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
40044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
40045         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
40046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
40047         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
40048         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
40049         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
40050         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
40051         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
40052         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
40053         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
40054         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
40055         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
40056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
40057         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
40058         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
40059         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
40060         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
40061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
40062         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
40063         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
40064         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
40065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
40066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
40067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
40068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
40069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
40070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
40071         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
40072         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40073         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40074         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
40075         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
40076         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
40077         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
40078         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
40079         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
40080         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
40081         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
40082         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
40083         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
40084         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
40085         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
40086         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
40087         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
40088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
40089         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
40090         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
40091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
40092         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
40093         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
40094         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
40095         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
40096         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
40097         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
40098         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
40099         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
40100         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
40101         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
40102         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
40103         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
40104         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
40105         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
40106         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
40107         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
40108         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
40109         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40110         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
40111         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
40112         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
40113         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
40114         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40115         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
40116         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
40117         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40118         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
40119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
40120         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40121         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
40122         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
40123         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40124         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40125         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40126         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
40127         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
40128         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
40129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40130         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40131         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
40132         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40133         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40134         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
40135         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
40136         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40137         * sysdeps/unix/alpha/sysdep.S: Likewise.
40138         * sysdeps/unix/alpha/sysdep.h: Likewise.
40139         * sysdeps/unix/make-syscalls.sh: Likewise.
40140         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40141         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40142         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40143         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
40144         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40145         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
40146         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
40147         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40148         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40149         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
40150         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40151         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40152         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40153         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40154         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40155         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40156         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40157         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40158         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40159         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40160         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
40161         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40162         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40163         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40164         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40165         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40166         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40169         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
40170         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40171         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40172         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40173         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40174         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40177         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40178         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40179         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40180         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40181         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40182         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40183         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40184         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40185         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40187         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40188         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40190         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40191         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40192         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40193         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40196         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40198         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
40199         * sysdeps/x86_64/memcpy.S: Likewise.
40200         * sysdeps/x86_64/memmove.c: Likewise.
40201         * sysdeps/x86_64/memset.S: Likewise.
40202         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
40203         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40204         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40205         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
40206         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
40207         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40208         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40209         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40210         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40211         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40212         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40213         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40214         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
40215         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40216         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40217         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
40218         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40219         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40220         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40221         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40222         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
40223         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40224         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40225         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40226         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40227         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40228         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40229         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
40230         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40231         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40232         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
40233         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40234         * sysdeps/x86_64/strcmp.S: Likewise.
40236         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
40238         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
40239         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
40240         * elf/rtld-Rules: Likewise.
40241         * elf/setup-vdso.h: Likewise.
40242         * include/assert.h: Likewise.
40243         * include/bits/stdlib-float.h: Likewise.
40244         * include/errno.h: Likewise.
40245         * include/sys/stat.h: Likewise.
40246         * include/unistd.h: Likewise.
40247         * sysdeps/aarch64/setjmp.S: Likewise.
40248         * sysdeps/alpha/setjmp.S: Likewise.
40249         * sysdeps/arm/__longjmp.S: Likewise.
40250         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
40251         * sysdeps/arm/setjmp.S: Likewise.
40252         * sysdeps/arm/sysdep.h: Likewise.
40253         * sysdeps/generic/_itoa.h: Likewise.
40254         * sysdeps/generic/dl-sysdep.h: Likewise.
40255         * sysdeps/generic/ldsodefs.h: Likewise.
40256         * sysdeps/i386/dl-tls.h: Likewise.
40257         * sysdeps/i386/setjmp.S: Likewise.
40258         * sysdeps/m68k/setjmp.c: Likewise.
40259         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
40260         * sysdeps/mach/hurd/opendir.c: Likewise.
40261         * sysdeps/posix/getcwd.c: Likewise.
40262         * sysdeps/posix/opendir.c: Likewise.
40263         * sysdeps/posix/profil.c: Likewise.
40264         * sysdeps/powerpc/dl-procinfo.h: Likewise.
40265         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40266         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40267         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40268         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40269         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
40270         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40271         * sysdeps/s390/dl-tls.h: Likewise.
40272         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40273         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40274         * sysdeps/sh/sh3/setjmp.S: Likewise.
40275         * sysdeps/sh/sh4/setjmp.S: Likewise.
40276         * sysdeps/unix/alpha/sysdep.h: Likewise.
40277         * sysdeps/unix/arm/sysdep.S: Likewise.
40278         * sysdeps/unix/i386/sysdep.S: Likewise.
40279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40280         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40281         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40282         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40283         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40284         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40285         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40286         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40287         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40288         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40289         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40290         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40291         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40294         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40295         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40296         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40297         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40298         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40299         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40300         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40301         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40302         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40303         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40304         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40306         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40307         * sysdeps/x86_64/setjmp.S: Likewise.
40309         * include/math.h: Use IS_IN instead of IS_IN_libm.
40310         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40311         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40312         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40313         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40314         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40315         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40316         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40317         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40318         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40319         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40320         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40321         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40322         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40323         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40324         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40325         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40326         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40327         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40328         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40329         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40330         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40331         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40332         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40333         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40334         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40335         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40336         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40337         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40338         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40339         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40340         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40341         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40342         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40344         Likewise.
40345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40346         Likewise.
40347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40348         Likewise.
40349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40350         Likewise.
40351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40352         Likewise.
40353         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40354         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40355         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40356         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40357         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40358         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40364         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40365         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40366         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40367         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40368         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40369         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40370         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40371         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40372         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40373         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40374         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40375         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40376         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40377         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40379         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40381         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40382         * nptl/pthreadP.h: Likewise.
40383         * nptl_db/structs.def: Likewise.
40384         * sysdeps/arm/sysdep.h: Likewise.
40385         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40386         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40387         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40388         * sysdeps/unix/alpha/sysdep.h: Likewise.
40389         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40391         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40392         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40393         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40394         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40395         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40396         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40397         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40398         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40399         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40400         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40401         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40402         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40407         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40410         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40411         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40412         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40413         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40414         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40416         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40417         * nptl/pthreadP.h: Likewise.
40418         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40419         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40420         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40421         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40422         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40423         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40424         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40425         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40426         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40427         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40428         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40429         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40431         Likewise.
40432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40433         Likewise.
40434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40436         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40439         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40440         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40441         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40443         * dlfcn/dladdr.c: Use IS_IN.
40444         * dlfcn/dladdr1.c: Likewise.
40445         * dlfcn/dlclose.c: Likewise.
40446         * dlfcn/dlerror.c: Likewise.
40447         * dlfcn/dlinfo.c: Likewise.
40448         * dlfcn/dlmopen.c: Likewise.
40449         * dlfcn/dlopen.c: Likewise.
40450         * dlfcn/dlsym.c: Likewise.
40451         * dlfcn/dlvsym.c: Likewise.
40453         * include/ifaddrs.h: Use IS_IN.
40454         * inet/check_pf.c: Likewise.
40455         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40456         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40458         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40459         IS_IN_ldconfig.
40460         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40461         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40463         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40464         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40465         IS_IN (libc).
40467         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40469         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40470         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40471         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40472         * include/libc-symbols.h (IS_IN_LIB): New macro.
40473         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40474         * include/netdb.h: Likewise.
40475         * include/stap-probe.h: Remove all uses of IN_LIB.
40477         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40478         instead of IN_MODULE.
40479         * include/libc-symbols.h (IN_MODULE): Define using
40480         MODULE_NAME.
40481         (PASTE_NAME, PASTE_NAME1): New macros.
40482         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40483         of IN_LIB.
40484         (STAP_PROBE_ASM): Likewise.
40486 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40488         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40489         __mach_init in dlopened libc.
40491 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40493         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40494         * sysdeps/arm/preconfigure: Regenerate.
40496 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40498         * nptl/pthread_create.c (__pthread_create_2_1): Set
40499         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40500         when copying values from IATTR into PD.
40502 2014-11-21  Will Newton  <will.newton@linaro.org>
40503             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40505         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40506         Refactor inline-asm.  Also add comment.
40508         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40509         ElfW macro instead of hardcoded Elf64 types.
40510         (la_aarch64_gnu_pltenter): Likewise.
40511         * sysdeps/aarch64/dl-machine.h
40512         (elf_machine_runtime_setup): Use ElfW(Addr).
40514         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40515         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40516         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40517         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40518         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40519         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40520         (R_AARCH64_TLS_DTPMOD): This.
40521         (R_AARCH64_TLS_DTPREL64): Rename to ...
40522         (R_AARCH64_TLS_DTPREL): This.
40523         (R_AARCH64_TLS_TPREL64): Rename to ...
40524         (R_AARCH64_TLS_TPREL): This.
40525         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40526         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40527         R_AARCH64_TLS_TPREL64.
40528         (elf_machine_rela): Likewise.
40530 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40532         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40533         by setting it to 0.  64b atomics are not supported currently.
40535 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40537         [BZ #16469]
40538         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40539         search domain names.
40541 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40543         [BZ #16469]
40544         * NEWS: Update.
40545         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40546         trailing dot.
40547         * posix/tst-getaddrinfo5.c: New.
40548         * posix/Makefile (tests): Add it.
40550 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40552         [BZ #14498]
40553         * NEWS: Fixed.
40554         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40555         after parsing line but before break_if_match.
40556         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40557         if there is a protocol mismatch.
40559 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40561         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40562         because the potential race is on the user-supplied stream.
40564 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40566         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40567         string literal if not passed a buffer.
40568         * manual/job.texi (ctermid): Update reasoning, note deviation
40569         from posix, suggest mtasurace when not passed a buffer, for
40570         future non-preliminary safety notes.
40572 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40574         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40575         of not passing it a buffer.
40576         Reported by Peng Haitao.
40578 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40580         * manual/Makefile ($(objpfx)stamp-summary): Require
40581         check-safety.sh to pass.
40582         * manual/check-safety.sh: Wish for verification that every
40583         @deftypefn and @deftypefun is followed by a @safety remark.
40585 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40587         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40589         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40590         PTHREAD_CANCEL_ASYNCHRONOUS.
40591         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40592         send SIGCANCEL.
40594         * nptl/default-sched.h: New file.
40595         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40596         * nptl/pthread_create.c: Include it.
40597         (__pthread_create_2_1): Use collect_default_sched instead of making
40598         Linux syscalls here directly.
40600 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40602         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40603         __pthread_once): Use C11 atomics.
40605 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40607         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40609 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40611         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40612         atomic_thread_fence_acquire, atomic_thread_fence_release,
40613         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40614         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40615         atomic_compare_exchange_weak_relaxed,
40616         atomic_compare_exchange_weak_acquire,
40617         atomic_compare_exchange_weak_release,
40618         atomic_exchange_acquire, atomic_exchange_release,
40619         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40620         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40621         atomic_fetch_and_acquire,
40622         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40624 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40626         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40627         USE_ATOMIC_COMPILER_BUILTINS): Define.
40628         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40630         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40632         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40634         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40636         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40638         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40640         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40642         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40644         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40646         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40648         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40650         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40652         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40654         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40656         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40658         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40660         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40662         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40663         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40664         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40666         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40669 2014-11-19  Roland McGrath  <roland@hack.frob.com>
40671         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40672         the sched_priority value here.  It was already checked when the user
40673         called pthread_attr_setschedparam.
40675         * nptl/tst-bad-schedattr.c: New file.
40676         * nptl/Makefile (tests): Add it.
40678 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
40679             Florian Weimer  <fweimer@redhat.com>
40680             Joseph Myers  <joseph@codesourcery.com>
40681             Adam Conrad  <adconrad@0c3.net>
40682             Andreas Schwab  <schwab@suse.de>
40683             Brooks  <bmoses@google.com>
40685         [BZ #17625]
40686         * wordexp-test.c (__dso_handle): Add prototype.
40687         (__register_atfork): Likewise.
40688         (__app_register_atfork): New function.
40689         (registered_forks): New global.
40690         (register_fork): New function.
40691         (test_case): Add 3 new tests for WRDE_CMDSUB.
40692         (main): Call __app_register_atfork.
40693         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
40694         fork count is non-zero fail the test.
40695         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
40696         is set.
40697         (parse_dollars): Remove check for WRDE_NOCMD.
40698         (parse_dquote): Likewise.
40700 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40702         * Makeconfig (built-modules): List non-library modules to be
40703         built.
40704         (module-cppflags): Include libc-modules.h for
40705         everything except shlib-versions.v.i.
40706         (CPPFLAGS): Use it.
40707         (before-compile): Add libc-modules.h.
40708         ($(common-objpfx)libc-modules.h,
40709         $(common-objpfx)libc-modules.stmp): New targets.
40710         (common-generated): Add libc-modules.h and libc-modules.stmp.
40711         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
40712         * include/libc-symbols.h: Don't include libc-modules.h.
40713         * include/libc-modules.h: Remove file.
40714         * scripts/gen-libc-modules.awk: New script to generate
40715         libc-modules.h.
40716         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
40717         Depend on libc-modules.stmp.
40719         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
40721         * Makeconfig (in-module): Get value of libof set for the
40722         translation unit.
40723         (CPPFLAGS): Use $(in-module).
40724         * Makerules: Don't suffix routine names for nonlib.
40725         * include/libc-modules.h: New file.
40726         * include/libc-symbols.h: Include libc-modules.h
40727         (IS_IN): New macro to replace IS_IN_* macros.
40728         * elf/Makefile: Set libof-* for each routine.
40729         * elf/rtld-Rules: Likewise.
40730         * extra-modules.mk: Likewise.
40731         * iconv/Makefile: Likewise.
40732         * iconvdata/Makefile: Likewise.
40733         * locale/Makefile: Likewise.
40734         * malloc/Makefile: Likewise.
40735         * nss/Makefile: Likewise.
40736         * sysdeps/gnu/Makefile: Likewise.
40737         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
40738         * sysdeps/unix/sysv/linux/Makefile: Likewise.
40739         * sysdeps/s390/s390-64/Makefile: Likewise.
40740         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
40741         CPPFLAGS for nscd instead of nonlib.
40743 2014-11-18  Roland McGrath  <roland@hack.frob.com>
40745         * nptl/createthread.c: New file.
40747         * nptl/createthread.c: Moved ...
40748         * sysdeps/unix/sysv/linux/createthread.c: ... here.
40750         * nptl/createthread.c: Add proper top-line comment.
40751         (do_clone): Folded into ...
40752         (create_thread): ... here.  Take new arguments STOPPED_START and
40753         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
40754         increment __nptl_threads, do event-reporting logic, do
40755         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
40756         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
40757         resource cleanup if sched_setaffinity or sched_setscheduler fails,
40758         just send SIGCANCEL.
40759         * nptl/pthread_create.c: Forward-declare create_thread before
40760         including createthread.c.
40761         (start_thread): Use new macro START_THREAD_DEFN to replace defining
40762         declaration, and new macro START_THREAD_SELF to replace argument.
40763         Remove return statement.
40764         (report_thread_creation): New function.
40765         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
40766         synchronization logic, and __nptl_nthreads increment here, around
40767         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
40768         PD->parent_cancelhandling here, before create_thread.  When
40769         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
40770         __deallocate_stack, and ENOMEM translation here.
40772 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
40774         [BZ #17616]
40775         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
40776         (mptwo): Rename to __mptwo.
40777         (__inv): Use __mptwo instead of mptwo.
40778         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
40779         (mptwo): Rename to __mptwo.
40780         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
40781         of mpone and __mptwo instead of mptwo.
40782         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
40783         instead of mpone.
40784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40785         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
40786         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
40787         of mpone and __mptwo instead of mptwo.
40788         (__mpranred): Use __mpone instead of mpone.
40789         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
40790         variable.
40791         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40792         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40793         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40794         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40795         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40796         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40797         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40798         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40799         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40800         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40801         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40802         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40803         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40804         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40805         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40806         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40807         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40808         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40809         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40811 2014-11-18  Tom de Vries  <tom@codesoucery.com>
40813         * manual/signal.texi (Primitives Interrupted by Signals): In section,
40814         replace BSD Handler xref with BSD Signal Handling.
40816 2014-11-17  Richard Henderson  <rth@redhat.com>
40818         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
40819         (_FP_PACK_RAW_2): Remove.
40820         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
40821         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
40822         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
40823         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
40824         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
40825         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
40826         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
40827         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
40828         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
40829         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
40830         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
40831         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
40832         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
40833         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
40834         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
40835         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
40837 2014-11-14  Roland McGrath  <roland@hack.frob.com>
40839         * signal/signal.h [__USE_MISC]
40840         (struct sigvec): Remove type.
40841         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
40842         (sigvec): Remove declaration.
40843         * sysdeps/posix/sigvec.c: Moved ...
40844         * signal/sigvec.c: ... here, replacing old file.
40845         (struct sigvec): New type, copied from old signal.h definition.
40846         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
40847         (__sigvec): Convert definition to prototype.
40848         (sigvec): Replace weak_alias with compat_symbol.
40849         * signal/Versions (libc: GLIBC_2.21): New version set.
40850         * include/signal.h: Remove __sigvec declaration.
40851         * sysdeps/unix/bsd/sigvec.c: Remove file.
40852         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
40853         * manual/signal.texi (BSD Handler): Remove subsection.
40854         Move siginterrupt up to ...
40855         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
40856         (Blocking in BSD): Fold subsection into its parent.
40857         * NEWS: Mention sigvec removal.
40859 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40861         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
40862         (DLA_FMS): Make definition conditional only on [__FMA4__].
40863         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
40864         definition.
40866         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
40867         Make definition conditional only on [PROF].
40868         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
40869         definition.
40870         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
40871         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
40873         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
40874         !__GNUC__].
40875         * include/signal.h (__sigpause): Move declaration above call to
40876         libc_hidden_proto.
40877         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
40878         variable.
40879         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40880         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40882 2014-11-14  David S. Miller  <davem@davemloft.net>
40884         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
40885         Define before including <string/memcpy.c> and <string/mempcpy.c>.
40887 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40889         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
40890         * configure: Regenerated.
40891         * manual/install.texi (Tools for Compilation): Document a
40892         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
40893         compiler verified to work.
40894         * INSTALL: Regenerated.
40896         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
40897         redeclare with asm name.
40898         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
40899         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
40900         including <string.h>.
40901         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40902         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40903         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40904         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
40905         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
40907         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40909 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
40911         * stdlib/strtol.c (__strtol): Use prototype definition.
40913         [BZ #17594]
40914         * stdlib/strtol.c (SYM__): New macro.
40915         (SYM__1): Likewise.
40916         (__strtol): Likewise.
40917         (strtol): Rename to __strtol and define as weak alias of
40918         __strtol.  Use libc_hidden_weak.
40920 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40922         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40923         Use numbered labels in inline assembly.
40925 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40927         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40928         Add setjmp LIBC_PROBE.
40929         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40930         Likewise.
40931         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40932         Add longjmp, longjmp_target LIBC_PROBE.
40933         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40934         Likewise.
40936 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40938         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40939         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40940         to get rid of unused variable warning.
40942 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40944         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40945         Check for unwind_backtrace ==  NULL only in SHARED case.
40946         (__backchain_backtrace): Compile only in SHARED case.
40947         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40948         Likewise.
40949         (__backchain_backtrace): Declare as static.
40951 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40953         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40954         (__libc_multiple_threads_ptr): Variable moved ...
40955         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40957 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40959         * conform/GlibcConform.pm: New file.
40960         * conform/conformtest.pl: Use GlibcConform module.
40961         * conform/linknamespace.pl: New file.
40962         * conform/list-header-symbols.pl: Likewise.
40963         * conform/Makefile (linknamespace-symlists-base): New variable.
40964         (linknamespace-symlists-tests): Likewise.
40965         (linknamespace-header-base): Likewise.
40966         (linknamespace-header-tests): Likewise.
40967         (tests-special): Add new tests.
40968         ($(linknamespace-symlists-tests)): New rule.
40969         (linknamespace-libs): New variable.
40970         ($(objpfx)symlist-stdlibs): New rule.
40971         ($(linknamespace-header-tests)): Likewise.
40972         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40973         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40974         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40975         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40976         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40977         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40978         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40979         (test-xfail-ISO/math.h/linknamespace): Likewise.
40980         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40981         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40982         (test-xfail-ISO/time.h/linknamespace): Likewise.
40983         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40984         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40985         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40986         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40987         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40988         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40989         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40990         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40991         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40992         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40993         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40994         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40995         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40996         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40997         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40998         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40999         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
41000         (test-xfail-XPG3/search.h/linknamespace): Likewise.
41001         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
41002         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41003         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
41004         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
41005         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41006         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
41007         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
41008         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
41009         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
41010         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
41011         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41012         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
41013         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41014         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
41015         (test-xfail-XPG4/search.h/linknamespace): Likewise.
41016         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
41017         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
41018         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
41019         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
41020         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
41021         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41022         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
41023         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
41024         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
41025         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
41026         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
41027         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41028         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
41029         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
41030         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
41031         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41032         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
41033         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41034         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41035         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
41036         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
41037         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41038         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41039         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
41040         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
41041         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
41042         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41043         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41044         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41045         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
41046         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
41047         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41048         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41049         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
41050         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41051         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
41052         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
41053         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
41054         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
41055         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41056         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41057         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
41058         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41059         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
41060         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
41061         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
41062         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
41063         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41064         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
41065         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
41066         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
41067         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
41068         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
41069         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41070         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41071         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41072         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
41073         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
41074         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
41075         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41076         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
41077         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
41078         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41079         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
41080         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
41081         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
41082         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41083         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41084         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
41085         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
41086         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41087         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41088         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
41089         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
41090         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
41091         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
41092         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41093         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41094         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
41095         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41096         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
41097         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41098         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41099         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41100         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
41101         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41102         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
41103         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
41104         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
41105         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41106         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41107         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41108         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41109         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
41110         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41111         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41112         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
41113         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41114         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
41115         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
41116         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41117         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41118         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41119         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41120         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41121         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41122         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
41123         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
41124         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
41125         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41126         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
41127         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41128         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41129         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
41130         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41131         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41132         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
41134         [BZ #17589]
41135         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
41136         of fgets_unlocked.
41138         [BZ #17585]
41139         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
41140         (memmem): Rename to __memmem and define as weak alias of
41141         __memmem.  Use libc_hidden_weak.
41142         (__memmem): Use libc_hidden_def.
41143         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
41144         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
41145         memmem.
41147         [BZ #17582]
41148         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
41149         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
41150         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
41151         and define as weak alias of __fgets_unlocked.  Use
41152         libc_hidden_weak.
41153         (__fgets_unlocked): Use libc_hidden_def.
41154         * include/stdio.h (__fgets_unlocked): Declare.  Use
41155         libc_hidden_proto.
41156         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
41157         __fgets_unlocked instead of fgets_unlocked.
41158         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
41159         (GET_NPROCS_CONF_PARSER): Likewise.
41160         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
41161         (GET_NPROCS_CONF_PARSER): Likewise.
41163         [BZ #17574]
41164         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
41165         weak alias of __wmemset.  Use libc_hidden_weak.
41166         (__wmemset): Use libc_hidden_def.
41167         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
41168         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
41169         of wmemset.
41171         [BZ #17573]
41172         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
41173         with asm name __mempcpy.
41174         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41176         [BZ #17572]
41177         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41178         and define as weak alias of __rawmemchr.
41179         (__rawmemchr): Do not define as strong alias of rawmemchr.
41181         [BZ #17571]
41182         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41183         alias of __qsort_r.
41184         (qsort): Call __qsort_r instead of qsort_r.
41185         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41186         (__qsort_r): Declare.  Call libc_hidden_proto.
41187         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41188         instead of qsort_r.
41189         * nscd/gai.c (__qsort_r): Define to qsort_r.
41190         * posix/tst-rfc3484.c (__qsort_r): Likewise.
41191         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41192         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41194         [BZ #17570]
41195         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41196         define as weak alias of __malloc_info.
41198         [BZ #17584]
41199         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
41200         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41201         (__rewinddir): Use libc_hidden_def.
41202         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
41203         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41204         (__rewinddir): Use libc_hidden_def.
41205         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
41206         weak alias of __rewinddir.  Don't use libc_hidden_def.
41207         (__rewinddir): Use libc_hidden_def.
41208         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41209         (__rewinddir): Use libc_hidden_proto.
41210         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
41211         rewinddir.
41212         (__getcwd): Use __rewinddir instead of rewinddir.
41214         [BZ #17583]
41215         * libio/fileno.c (fileno): Rename to __fileno and define as weak
41216         alias of __fileno.  Use libc_hidden_weak.
41217         (__fileno): Use libc_hidden_def.
41218         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41219         * libio/ftello.c (ftello): Rename to __ftello and define as weak
41220         alias of __ftello.
41221         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
41222         __ftello.
41223         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
41224         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
41225         libc_hidden_def.
41226         (fread_unlocked): Don't use libc_hidden_ver.
41227         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
41228         and define as weak alias of __fread_unlocked.  Don't use
41229         libc_hidden_def.
41230         (__fread_unlocked): Use libc_hidden_def.
41231         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
41232         (ftello): Don't use libc_hidden_proto.
41233         (__ftello): Declare.  Use libc_hidden_proto.
41234         (fread_unlocked): Don't use libc_hidden_proto.
41235         (__fread_unlocked): Declare.  Use libc_hidden_proto.
41236         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
41237         and __ftello instead of fileno, fread_unlocked and ftello.
41239 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41241         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
41242         GOT12.
41243         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41244         Likewise.
41245         (_dl_start_user): Likewise.
41246         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
41248 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
41249             Siddhesh Poyarekar  <siddhesh@redhat.com>
41251         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
41252         Move argv and envp down instead of moving argc up.
41253         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
41255 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
41257         [BZ #17506]
41258         * test-skeleton.c (main): Return successful if one of
41259         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
41260         * string/tst-strcoll-overflow.c: Define expected status.
41262 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
41264         [BZ #17475]
41265         * locale/iso-639.def: Define Bhili and Tulu language codes.
41267 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
41269         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
41271 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
41273         [BZ #17555]
41274         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41276 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41278         * configure.ac: Updated check of minimal required version to
41279         2.22.
41280         * manual/install.texi (Tools for Compilation): Updated version
41281         number.
41282         * configure: Regenerated.
41283         * INSTALL: Likewise.
41285 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
41287         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41288         __tls_get_addr.
41290 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
41292         * include/sys/wait.h (__libc_waitpid): Remove declaration.
41293         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41294         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41295         libc_hidden_weak.
41296         (waitpid): Define as alias of __waitpid.
41297         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41298         __waitpid.
41299         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41300         libc_hidden_weak.
41301         (waitpid): Define as alias of __waitpid.
41302         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41303         __libc_waitpid alias.
41304         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41305         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41306         Likewise.
41307         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41308         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41309         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41310         alias.
41311         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41312         __waitpid.
41313         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41314         libc_hidden_weak.
41315         (waitpid): Define as alias of __waitpid.
41317 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
41319         * manual/llio.texi: Add comment that write safety has been
41320         fixed in Linux.
41322         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41323         (localplt-build-dso): Add elf/ld.so.
41324         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41325         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41326         and free for ld.so.
41327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41328         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41330         Likewise.
41331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41332         Likewise.
41333         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41334         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41335         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41336         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41337         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41338         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41339         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41340         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41341         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41342         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41343         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41345 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41347         [BZ #14132]
41348         * include/libc-symbols.h (INTUSE): Remove macro.
41349         (INTDEF): Likewise.
41350         (INTVARDEF): Likewise.
41351         (_INTVARDEF): Likewise.
41352         (INTDEF2): Likewise.
41353         (INTVARDEF2): Likewise.
41354         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41355         rtld_hidden_def instead of INTVARDEF.
41356         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41357         (_dl_starting_up_internal): Remove declaration.
41358         (_dl_starting_up): Use rtld_hidden_proto.
41359         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41360         declaration.
41361         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41362         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41363         _dl_starting_up.
41364         * elf/dl-writev.h (_dl_writev): Likewise.
41365         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41366         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41367         _dl_starting_up_internal.
41369 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41371         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41372         test-skeleton.c.
41374 2014-11-05  Will Newton  <will.newton@linaro.org>
41376         * benchtests/Makefile: (bench-malloc): Add malloc thread
41377         scalability benchmark.
41378         * benchtests/bench-malloc-threads.c: New file.
41380 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41382         * sysdeps/aarch64/strchrnul.S: New file.
41384 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41386         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41387         definition.
41388         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41389         Likewise.
41390         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41391         Likewise.
41392         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41393         Likewise.
41394         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41395         Likewise.
41396         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41397         Likewise.
41399 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41401         * catgets/test-gencat.c: Use test-skeleton.c.
41402         * catgets/tst-catgets.c: Likewise.
41403         * csu/tst-empty.c: Likewise.
41404         * elf/tst-audit2.c: Likewise.
41405         * elf/tst-global1.c: Likewise.
41406         * elf/tst-pathopt.c: Likewise.
41407         * elf/tst-piemod1.c: Likewise.
41408         * elf/tst-tls10.c: Likewise.
41409         * elf/tst-tls11.c: Likewise.
41410         * elf/tst-tls12.c: Likewise.
41411         * gnulib/tst-gcc.c: Likewise.
41412         * iconvdata/tst-e2big.c: Likewise.
41413         * iconvdata/tst-loading.c: Likewise.
41414         * iconv/tst-iconv1.c: Likewise.
41415         * iconv/tst-iconv2.c: Likewise.
41416         * inet/test-inet6_opt.c: Likewise.
41417         * inet/tst-gethnm.c: Likewise.
41418         * inet/tst-network.c: Likewise.
41419         * inet/tst-ntoa.c: Likewise.
41420         * intl/tst-codeset.c: Likewise.
41421         * intl/tst-gettext2.c: Likewise.
41422         * intl/tst-gettext3.c: Likewise.
41423         * intl/tst-ngettext.c: Likewise.
41424         * intl/tst-translit.c: Likewise.
41425         * io/test-stat.c: Likewise.
41426         * libio/test-fmemopen.c: Likewise.
41427         * libio/tst-freopen.c: Likewise.
41428         * libio/tst-sscanf.c: Likewise.
41429         * libio/tst-ungetwc1.c: Likewise.
41430         * libio/tst-ungetwc2.c: Likewise.
41431         * libio/tst-widetext.c: Likewise.
41432         * localedata/tst-ctype.c: Likewise.
41433         * localedata/tst-digits.c: Likewise.
41434         * localedata/tst-leaks.c: Likewise.
41435         * localedata/tst-mbswcs1.c: Likewise.
41436         * localedata/tst-mbswcs2.c: Likewise.
41437         * localedata/tst-mbswcs3.c: Likewise.
41438         * localedata/tst-mbswcs4.c: Likewise.
41439         * localedata/tst-mbswcs5.c: Likewise.
41440         * localedata/tst-setlocale.c: Likewise.
41441         * localedata/tst-trans.c: Likewise.
41442         * localedata/tst-wctype.c: Likewise.
41443         * localedata/tst-xlocale1.c: Likewise.
41444         * login/tst-grantpt.c: Likewise.
41445         * malloc/tst-calloc.c: Likewise.
41446         * malloc/tst-malloc.c: Likewise.
41447         * malloc/tst-mallocstate.c: Likewise.
41448         * malloc/tst-mcheck.c: Likewise.
41449         * malloc/tst-mtrace.c: Likewise.
41450         * malloc/tst-obstack.c: Likewise.
41451         * math/atest-exp2.c: Likewise.
41452         * math/atest-exp.c: Likewise.
41453         * math/atest-sincos.c: Likewise.
41454         * math/test-matherr.c: Likewise.
41455         * math/test-misc.c: Likewise.
41456         * math/test-powl.c: Likewise.
41457         * math/tst-definitions.c: Likewise.
41458         * misc/tst-dirname.c: Likewise.
41459         * misc/tst-efgcvt.c: Likewise.
41460         * misc/tst-fdset.c: Likewise.
41461         * misc/tst-hsearch.c: Likewise.
41462         * misc/tst-mntent2.c: Likewise.
41463         * nptl/tst-sem7.c: Likewise.
41464         * nptl/tst-sem8.c: Likewise.
41465         * nptl/tst-sem9.c: Likewise.
41466         * nss/test-netdb.c: Likewise.
41467         * posix/tst-fnmatch.c: Likewise.
41468         * posix/tst-getlogin.c: Likewise.
41469         * posix/tst-gnuglob.c: Likewise.
41470         * posix/tst-mmap.c: Likewise.
41471         * pwd/tst-getpw.c: Likewise.
41472         * resolv/tst-inet_ntop.c: Likewise.
41473         * rt/tst-timer.c: Likewise.
41474         * stdio-common/test-fseek.c: Likewise.
41475         * stdio-common/test-popen.c: Likewise.
41476         * stdio-common/test-vfprintf.c: Likewise.
41477         * stdio-common/tst-cookie.c: Likewise.
41478         * stdio-common/tst-fileno.c: Likewise.
41479         * stdio-common/tst-gets.c: Likewise.
41480         * stdio-common/tst-obprintf.c: Likewise.
41481         * stdio-common/tst-perror.c: Likewise.
41482         * stdio-common/tst-sprintf2.c: Likewise.
41483         * stdio-common/tst-sprintf3.c: Likewise.
41484         * stdio-common/tst-sprintf.c: Likewise.
41485         * stdio-common/tst-swprintf.c: Likewise.
41486         * stdio-common/tst-tmpnam.c: Likewise.
41487         * stdio-common/tst-unbputc.c: Likewise.
41488         * stdio-common/tst-wc-printf.c: Likewise.
41489         * stdlib/tst-environ.c: Likewise.
41490         * stdlib/tst-fmtmsg.c: Likewise.
41491         * stdlib/tst-limits.c: Likewise.
41492         * stdlib/tst-rand48-2.c: Likewise.
41493         * stdlib/tst-rand48.c: Likewise.
41494         * stdlib/tst-random2.c: Likewise.
41495         * stdlib/tst-random.c: Likewise.
41496         * stdlib/tst-strtol.c: Likewise.
41497         * stdlib/tst-strtoll.c: Likewise.
41498         * stdlib/tst-tls-atexit.c: Likewise.
41499         * stdlib/tst-xpg-basename.c: Likewise.
41500         * string/test-ffs.c: Likewise.
41501         * string/tst-bswap.c: Likewise.
41502         * string/tst-inlcall.c: Likewise.
41503         * string/tst-strtok.c: Likewise.
41504         * string/tst-strxfrm.c: Likewise.
41505         * sysdeps/x86_64/tst-audit10.c: Likewise.
41506         * sysdeps/x86_64/tst-audit3.c: Likewise.
41507         * sysdeps/x86_64/tst-audit4.c: Likewise.
41508         * sysdeps/x86_64/tst-audit5.c: Likewise.
41509         * time/tst-ftime_l.c: Likewise.
41510         * time/tst-getdate.c: Likewise.
41511         * time/tst-mktime3.c: Likewise.
41512         * time/tst-mktime.c: Likewise.
41513         * time/tst-posixtz.c: Likewise.
41514         * time/tst-strptime2.c: Likewise.
41515         * time/tst-strptime3.c: Likewise.
41516         * wcsmbs/tst-btowc.c: Likewise.
41517         * wcsmbs/tst-mbrtowc.c: Likewise.
41518         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41519         * wcsmbs/tst-wchar-h.c: Likewise.
41520         * wcsmbs/tst-wcpncpy.c: Likewise.
41521         * wcsmbs/tst-wcrtomb.c: Likewise.
41522         * wcsmbs/tst-wcsnlen.c: Likewise.
41523         * wcsmbs/tst-wcstof.c: Likewise.
41525 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41527         [BZ #14132]
41528         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41529         INTDEF.
41530         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41531         declaration.
41532         (_dl_mcount): Use rtld_hidden_proto.
41533         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41534         _dl_mcount.
41535         * elf/rtld.c (_rtld_global_ro): Likewise.
41537         [BZ #14132]
41538         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41539         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41540         of _dl_init_internal.
41541         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41542         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41543         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41544         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41545         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41546         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41547         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41548         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41549         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41550         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41551         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41552         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41553         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41554         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41555         * sysdeps/tile/dl-start.S (_start): Likewise.
41556         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41557         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41559         [BZ #14132]
41560         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41561         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41562         (rtld_progname): Make macro definition unconditional.
41563         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41564         INTDEF.
41565         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41566         (dl_main): Likewise.
41567         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41568         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41569         instead of _dl_argv_internal.
41570         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41571         __GI__dl_argv instead of INTUSE(_dl_argv).
41572         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41573         __GI__dl_argv instead of _dl_argv_internal.
41575         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41576         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41577         macro.
41578         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41579         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41580         New macro.
41581         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41582         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41583         macro.
41584         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41585         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41587 2014-11-04  Andreas Schwab  <schwab@suse.de>
41589         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41591 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41593         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41594         mtvsrd instruction in binary form.
41596 2014-11-03  Andreas Schwab  <schwab@suse.de>
41598         [BZ #17522]
41599         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41600         for less than MB_LEN_MAX use a local buffer of that size.
41601         * libio/tst-fputws.c: New file.
41602         * libio/Makefile (tests): Add tst-fputws.
41604 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41606         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41607         the size of the fpu_fr.fpu_dregs[] array.
41609 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41611         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41612         (__nanosleep): Do not define as alias.
41613         (nanosleep): Define as alias of __nanosleep.
41614         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41615         __libc_nanosleep name.
41617 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41619         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41620         install.texi in comment.
41622 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41624         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41625         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41626         ... add here and use lwsync or sync ...
41627         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41628         ... and add here using lwsync.
41630 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41632         * elf/dl-machine-reject-phdr.h: New file.
41633         * elf/dl-load.c: #include that.
41634         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41635         if that returned true.
41637 2014-10-31  Roland McGrath  <roland@hack.frob.com>
41639         [BZ #17496]
41640         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41641         gen-as-const-headers chunk.  Add a big scare comment after the last
41642         safe place to touch before-compile.
41644 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41646         * manual/install.texi (Tools for Compilation): Update autoconf
41647         version requirements.
41648         * INSTALL: Regenerated.
41650         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41651         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41652         (__libc_pselect): Likewise.
41654         [BZ #14138]
41655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41660 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41662         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41663         correct barrier instruction.
41664         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41665         Likewise.
41666         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41667         Likewise.
41669 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41671         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41672         after defining inlines.  Instead, just use parens to defeat macro
41673         expansion of __isctype in its declaration.
41675 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41677         * include/sys/uio.h (__libc_readv): Remove declaration.
41678         (__libc_writev): Likewise.
41679         * misc/readv.c (__libc_readv): Rename to __readv.
41680         (__readv): Do not define as alias.
41681         (readv): Define as alias of __readv.
41682         * misc/writev.c (__libc_writev): Rename to __writev.
41683         (__writev): Do not define as alias.
41684         (writev): Define as alias of __writev.
41685         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
41686         (__readv): Do not define as alias.
41687         (readv): Define unconditionally as alias of __readv.
41688         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
41689         (__writev): Do not define as alias.
41690         (writev): Define unconditionally as alias of __writev.
41691         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
41692         name.
41693         (writev): Do not define __libc_writev name.
41695 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41697         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
41698         (convert_charseq): New function, broken out of ...
41699         (use_from_charmap): ... here.  Call it.
41700         (use_to_charmap): Use convert_charseq and free instead of duplicating
41701         its code with a variable-length stack struct.
41703 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41705         * include/fcntl.h (__libc_creat): Remove declaration.
41706         * io/creat.c (__libc_creat): Rename to creat.
41707         (creat): Do not define as alias.
41708         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
41709         of creat instead of __libc_creat.
41710         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
41711         to creat.
41712         (creat): Do not define as alias.
41713         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
41714         __libc_creat.
41715         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
41716         __libc_creat name.
41717         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
41718         Likewise.
41720 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
41722         * manual/llio.texi: Add comments discussing why write() may be
41723         considered MT-unsafe on Linux.
41725 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
41727         * dl-load.c (local_strdup): Remove.
41728         (expand_dynamic_string_token): Use __strdup.
41729         (decompose_rpath): Likewise.
41730         (_dl_map_object): Likewise.
41732 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
41734         [BZ #14132]
41735         * sysdeps/generic/unwind-dw2-fde.c
41736         (__register_frame_info_bases_internal): Do not declare.
41737         (__register_frame_info_table_bases_internal): Likewise.
41738         (__deregister_frame_info_bases_internal): Likewise.
41739         (__register_frame_info_bases): Declare and use hidden_proto before
41740         definition.  Use hidden_def instead of INTDEF.
41741         (__register_frame_info_table_bases): Likewise.
41742         (__deregister_frame_info_bases): Likewise.
41743         (__register_frame_info): Do not use INTUSE.
41744         (__register_frame): Likewise.
41745         (__register_frame_info_table): Likewise.
41746         (__register_frame_table): Likewise.
41747         (__deregister_frame_info): Likewise.
41748         (__deregister_frame): Likewise.
41750 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
41752         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41753         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
41754         not undefine.
41755         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
41756         Likewise.
41757         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
41758         Likewise.
41760 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
41762         [BZ #14138]
41763         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
41764         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
41765         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
41766         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
41767         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
41768         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
41769         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
41770         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
41771         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
41772         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
41773         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
41774         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
41775         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
41776         syscall.
41777         (setfsuid): Likewise.
41778         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
41779         (setfsuid): Likewise.
41780         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
41781         (setfsuid): Likewise.
41782         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
41783         Likewise.
41784         (setfsuid): Likewise.
41785         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
41786         (setfsuid): Likewise.
41787         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
41788         Likewise.
41789         (setfsuid): Likewise.
41791 2014-10-27  Andreas Schwab  <schwab@suse.de>
41793         [BZ #17501]
41794         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
41795         check for Slow_SSE4_2 feature bit.
41796         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
41797         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41798         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
41799         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
41801 2014-10-24  Roland McGrath  <roland@hack.frob.com>
41803         * configure.ac: Validate compiler version with a empirical test of
41804         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
41805         $CC -v output.
41806         * configure: Regenerated.
41808         * inet/htons.c (htons): Prototypify.
41809         * inet/htonl.c (htonl): Likewise.
41811 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41813         * string/strncat.c (strncat): Improve performance by using strlen.
41815 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41817         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
41819 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41821         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
41822         Call libc_fetestexcept_aarch64.
41824 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41826         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
41827         Call libc_feholdexcept_aarch64.
41829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41831         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
41832         Call get_rounding_mode.
41834 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41836         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41837         Simplify logic.
41839 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41841         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
41842         Simplify logic.
41844 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
41846         [BZ #14138]
41847         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
41848         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
41849         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
41850         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
41851         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
41852         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
41853         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
41854         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
41855         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
41856         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
41857         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41858         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
41859         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
41860         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
41861         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
41862         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
41863         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
41864         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
41865         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
41866         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
41867         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
41868         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41869         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
41870         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
41871         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
41872         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
41873         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41874         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
41875         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
41876         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
41877         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
41878         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
41879         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
41880         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
41881         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
41882         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
41883         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
41884         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
41885         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
41886         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
41887         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
41888         syscall.
41889         (geteuid): Likewise.
41890         (getgid): Likewise.
41891         (getuid): Likewise.
41892         (getresgid): Likewise.
41893         (getresuid): Likewise.
41894         (getgroups): Likewise.
41895         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
41896         (geteuid): Likewise.
41897         (getgid): Likewise.
41898         (getuid): Likewise.
41899         (getresgid): Likewise.
41900         (getresuid): Likewise.
41901         (getgroups): Likewise.
41902         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
41903         (geteuid): Likewise.
41904         (getgid): Likewise.
41905         (getuid): Likewise.
41906         (getresgid): Likewise.
41907         (getresuid): Likewise.
41908         (getgroups): Likewise.
41909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
41910         Likewise.
41911         (geteuid): Likewise.
41912         (getgid): Likewise.
41913         (getuid): Likewise.
41914         (getresgid): Likewise.
41915         (getresuid): Likewise.
41916         (getgroups): Likewise.
41917         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41918         (geteuid): Likewise.
41919         (getgid): Likewise.
41920         (getuid): Likewise.
41921         (getresgid): Likewise.
41922         (getresuid): Likewise.
41923         (getgroups): Likewise.
41924         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41925         Likewise.
41926         (geteuid): Likewise.
41927         (getgid): Likewise.
41928         (getuid): Likewise.
41929         (getgroups): Likewise.
41931         [BZ #14138]
41932         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41933         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41934         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41935         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41936         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41937         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41938         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41939         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41940         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41941         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41942         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41943         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41944         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41945         __chown.
41946         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41947         (lchown): Likewise.
41948         (fchown): Likewise.
41949         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41950         Likewise.
41951         (lchown): Likewise.
41952         (fchown): Likewise.
41953         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41954         (lchown): Likewise.
41955         (fchown): Likewise.
41956         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41957         Likewise.
41958         (lchown): Likewise.
41959         (fchown): Likewise.
41961 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41963         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41964         Simplify logic.
41966 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41968         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41969         Cleanup logic.
41971 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41973         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41974         Remove unused include.
41976 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41978         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41979         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41980         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41981         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41983 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41984             Helge Deller <deller@gmx.de>
41986         [BZ #17508]
41987         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41988         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41989         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41991 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41993         [BZ #14132]
41994         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41995         Remove macro definition.
41996         (__ashrdi3_v_glibc20): Likewise.
41997         (__lshrdi3_v_glibc20): Likewise.
41998         (__cmpdi2_v_glibc20): Likewise.
41999         (__ucmpdi2_v_glibc20): Likewise.
42000         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
42001         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42002         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42003         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42004         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42005         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
42007 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42009         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
42010         old GNU extension [0] syntax.
42011         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
42012         alloca rather than an array member with variable length.
42013         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
42014         * nscd/nscd.c (invalidate_db): New function, broken out of ...
42015         (parse_opt): ... here.  Likewise use alloca there.
42016         Validate the -i argument before checking for rootness.
42017         (send_shutdown): New function, broken out of ...
42018         (parse_opt): ... here.
42020 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42022         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
42023         macro to get at the _rt_local_ro field.
42024         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
42025         ([PIC] case) or _dl_hwcap ([!PIC] case).
42026         * sysdeps/arm/setjmp.S: Likewise.
42028         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
42029         * sysdeps/arm/configure.ac: New check to define it.
42030         * sysdeps/arm/configure: Regenerated.
42031         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
42032         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
42033         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
42034         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
42035         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
42036         Use move/movt pair instead of a load.
42037         (LDST_GLOBAL): Macro removed.
42038         (LDR_GLOBAL): New macro replaces it.
42039         (LDR_HIDDEN): New macro.
42040         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
42041         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
42043         * setjmp/tst-setjmp-static.c: New file.
42044         * setjmp/Makefile (tests): Add it.
42045         (tests-static): New variable.
42047 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
42049         [BZ #17485]
42050         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
42052 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
42054         [BZ #14132]
42055         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
42057 2014-10-21  Roland McGrath  <roland@hack.frob.com>
42059         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42061 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42063         * io/fts.c (dirent_not_directory): New function.
42064         (fts_build): Call it.
42066 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42068         * nptl/version.c (__nptl_main): Use normal __write rather than
42069         INTERNAL_SYSCALL.
42070         (banner): Update copyright years.
42072         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
42073         gettimeofday.
42074         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42075         * nptl/pthread_cond_timedwait.c: Likewise.
42076         * nptl/pthread_mutex_timedlock.c: Likewise.
42077         * nptl/sem_timedwait.c: Likewise.
42079         * sysdeps/nptl/bits/libc-lock.h
42080         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42081         (__libc_lock_init_recursive): Return void, not 0.
42082         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
42083         (__libc_rwlock_init): Likewise.
42084         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
42086 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42088         [BZ #15215]
42089         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
42090         (__pthread_once_slow): ... here.
42091         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
42092         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
42094 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42096         [BZ #15215]
42097         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
42098         __PTHREAD_ONCE_FORK_GEN_INCR): New.
42099         * sysdeps/nptl/fork.c (__libc_fork): Use them.
42100         * nptl/pthread_once.c (__pthread_once): Likewise.
42101         Update comments.
42103 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
42105         [BZ #14138]
42106         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42107         name.
42108         (writev): Use __libc_writev as strong name.
42109         * sysdeps/unix/sysv/linux/readv.c: Remove file.
42110         * sysdeps/unix/sysv/linux/writev.c: Likewise.
42112 2014-10-17  Roland McGrath  <roland@hack.frob.com>
42114         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
42116         * sysdeps/i386/nptl/tls.h
42117         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42118         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
42119         New macros.
42120         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
42121         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
42122         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
42123         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
42124         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
42125         Call CHECK_THREAD_SYSINFO instead of doing an assert.
42127         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
42128         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
42129         on [__NR_futex].
42130         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
42131         broken out of ...
42132         (__pthread_mutex_init): ... here.  Call it.
42133         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
42134         Conditionalize PI cases on [__NR_futex].
42135         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
42136         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
42137         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
42139         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
42140         conditional on [SIGSETXID].
42141         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
42142         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
42143         is defined.  Likewise for SIGSETXID.
42144         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
42145         Conditionalize definitions on [SIGSETXID].
42146         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
42147         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
42148         unblocking on [SIGCANCEL].
42150         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
42151         [__NR_set_robust_list].
42153 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42155         * string/strcoll_l.c (get_next_seq): Fix up formatting.
42156         (do_compare): Likewise.
42158 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
42160         [BZ #15884]
42161         * string/strcoll_l.c: Don't include stdio.h.
42162         (coll_seq): Remove members idxarr and rulearr.
42163         (get_next_seq_cached): Remove function.
42164         (get_next_seq): Likewise.
42165         (get_next_seq_nocache): Rename to get_next_seq.
42166         (do_compare): Remove function.
42167         (do_compare_nocache): Rename to do_compare.
42168         (STRCOLL): Remove weight and rules cache.
42170 2014-10-16  Roland McGrath  <roland@hack.frob.com>
42172         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
42173         * sysdeps/arm/sfp-machine.h: ... to here.
42174         * sysdeps/arm/Implies: Remove arm/soft-fp.
42176 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
42178         * conform/data/sys/utsname.h-data (*_t): Allow.
42179         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42180         [POSIX] (WEXITED): Do not expect constant.
42181         [POSIX] (WSTOPPED): Likewise.
42182         [POSIX] (WNOHANG): Likewise.
42183         [POSIX] (WNOWAIT): Likewise.
42184         [POSIX] (siginfo_t): Do not expect type or elements.
42185         [POSIX] (pid_t): Do not expect type.
42186         [POSIX] (signal.h): Do not allow header.
42187         [POSIX] (sys/resource.h): Likewise.
42188         [POSIX] (si_*): Do not allow pattern.
42189         [POSIX] (W*): Likewise.
42190         [POSIX] (P_*): Likewise.
42191         [POSIX] (BUS_*): Likewise.
42192         [POSIX] (CLD_*): Likewise.
42193         [POSIX] (FPE_*): Likewise.
42194         [POSIX] (ILL_*): Likewise.
42195         [POSIX] (POLL_*): Likewise.
42196         [POSIX] (SEGV_*): Likewise.
42197         [POSIX] (SI_*): Likewise.
42198         [POSIX] (TRAP_*): Likewise.
42199         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
42200         variable.
42202 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
42204         [BZ #12926]
42205         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
42206         infinite loop when __recvmsg returns 0.
42208 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
42210         * CANCEL-FCT-WAIVE: Remove file.
42211         * CANCEL-FILE-WAIVE: Likewise.
42213         [BZ #14132]
42214         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
42215         instead of INTVARDEF.
42216         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42217         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
42218         rtld_hidden_data_def instead of INTVARDEF.
42219         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42220         * elf/dl-deps.c (expand_dst): Likewise.
42221         * elf/dl-load.c (_dl_dst_count): Likewise.
42222         (_dl_dst_substitute): Likewise.
42223         (decompose_rpath): Likewise.
42224         (_dl_init_paths): Likewise.
42225         (open_path): Likewise.
42226         (_dl_map_object): Likewise.
42227         * elf/rtld.c (dl_main): Likewise.
42228         (process_dl_audit): Likewise.
42229         (process_envvars): Likewise.
42230         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
42231         Remove declaration.
42232         (__libc_enable_secure): Use rtld_hidden_proto.
42234 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42236         * elf/dl-load.c
42237         (add_path): New function broken out of _dl_rtld_di_serinfo.
42238         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
42240 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42242         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
42243         parentheses around macro arguments.
42244         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
42245         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
42246         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
42247         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
42248         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42250         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
42252         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
42253         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
42254         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
42255         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
42256         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
42257         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
42258         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
42259         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
42260         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
42261         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
42262         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
42263         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
42264         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
42265         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
42266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
42267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42268         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
42270         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
42271         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
42272         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
42273         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
42274         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
42275         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42276         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42277         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42278         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42279         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42280         Likewise.
42281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42282         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42283         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42288         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42289         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42290         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42291         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42292         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42293         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42294         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42296         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42297         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42298         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42299         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42300         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42301         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42302         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42303         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42304         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42305         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42306         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42307         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42308         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42309         (_FP_FRAC_SRS_1): Likewise.
42310         (_FP_FRAC_CLZ_1): Likewise.
42311         (_FP_MUL_MEAT_1_imm): Likewise.
42312         (_FP_MUL_MEAT_1_wide): Likewise.
42313         (_FP_MUL_MEAT_1_hard): Likewise.
42314         (_FP_SQRT_MEAT_1): Likewise.
42315         (_FP_FRAC_ASSEMBLE_1): Likewise.
42316         (_FP_FRAC_DISASSEMBLE_1): Likewise.
42317         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42318         (__FP_CLZ_2): Likewise.
42319         (_FP_MUL_MEAT_2_wide): Likewise.
42320         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42321         (_FP_MUL_MEAT_2_gmp): Likewise.
42322         (_FP_MUL_MEAT_2_120_240_double): Likewise.
42323         (_FP_SQRT_MEAT_2): Likewise.
42324         (_FP_FRAC_ASSEMBLE_2): Likewise.
42325         (_FP_FRAC_DISASSEMBLE_2): Likewise.
42326         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42327         (_FP_FRAC_CLZ_4): Likewise.
42328         (_FP_MUL_MEAT_4_wide): Likewise.
42329         (_FP_MUL_MEAT_4_gmp): Likewise.
42330         (_FP_SQRT_MEAT_4): Likewise.
42331         (_FP_FRAC_ASSEMBLE_4): Likewise.
42332         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42333         * soft-fp/op-common.h (_FP_CMP): Likewise.
42334         (_FP_CMP_EQ): Likewise.
42335         (_FP_CMP_UNORD): Likewise.
42336         (_FP_TO_INT): Likewise.
42337         (_FP_FROM_INT): Likewise.
42338         [!__FP_CLZ] (__FP_CLZ): Likewise.
42339         (_FP_DIV_HELP_imm): Likewise.
42340         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42341         Likewise.
42342         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42344         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42345         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42346         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42347         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42348         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42350         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42353         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42354         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42355         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42356         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42357         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42358         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42359         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42360         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42362         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42365         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42366         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42368         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42369         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42371         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42372         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42373         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42374         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42375         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42376         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42377         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42378         (FP_UNPACK_RAW_SP): Likewise.
42379         (FP_PACK_RAW_S): Likewise.
42380         (FP_PACK_RAW_SP): Likewise.
42381         (FP_UNPACK_S): Likewise.
42382         (FP_UNPACK_SP): Likewise.
42383         (FP_UNPACK_SEMIRAW_S): Likewise.
42384         (FP_UNPACK_SEMIRAW_SP): Likewise.
42385         (FP_PACK_S): Likewise.
42386         (FP_PACK_SP): Likewise.
42387         (FP_PACK_SEMIRAW_S): Likewise.
42388         (FP_PACK_SEMIRAW_SP): Likewise.
42389         (_FP_SQRT_MEAT_S): Likewise.
42390         (FP_CMP_S): Likewise.
42391         (FP_CMP_EQ_S): Likewise.
42392         (FP_CMP_UNORD_S): Likewise.
42393         (FP_TO_INT_S): Likewise.
42394         (FP_FROM_INT_S): Likewise.
42396         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42398         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42399         (FP_EX_INVALID_IMZ): Likewise.
42400         (FP_EX_INVALID_IMZ_FMA): Likewise.
42401         (FP_EX_INVALID_ISI): Likewise.
42402         (FP_EX_INVALID_ZDZ): Likewise.
42403         (FP_EX_INVALID_IDI): Likewise.
42404         (FP_EX_INVALID_SQRT): Likewise.
42405         (FP_EX_INVALID_CVI): Likewise.
42406         (FP_EX_INVALID_VC): Likewise.
42407         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42408         "invalid" exceptions.
42409         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42410         (_FP_ADD_INTERNAL): Likewise.
42411         (_FP_MUL): Likewise.
42412         (_FP_FMA): Likewise.
42413         (_FP_DIV): Likewise.
42414         (_FP_CMP_CHECK_NAN): Likewise.
42415         (_FP_SQRT): Likewise.
42416         (_FP_TO_INT): Likewise.
42417         (FP_EXTEND): Likewise.
42419 2014-10-09  Allan McRae  <allan@archlinux.org>
42421         * po/fr.po: Update French translation from translation project.
42423 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42425         [BZ #14132]
42426         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42427         of INTDEF.
42428         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42429         (__cxa_atexit): Use libc_hidden_proto.
42430         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42432         [BZ #14132]
42433         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42434         declaration.
42435         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42436         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42437         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42438         [!_ISOMAC] (__iswctype_internal): Likewise.
42439         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42440         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42441         alias.
42442         (fcntl): Remove __fcntl_internal alias.
42443         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42444         __connect_internal alias.
42445         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42446         Likewise.
42448         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42449         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42450         FP_DENORM_ZERO.
42451         (_FP_CHECK_FLUSH_ZERO): New macro.
42452         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42453         (_FP_CMP): Likewise.
42454         (_FP_CMP_EQ): Likewise.
42455         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42456         FP_DENORM_ZERO.
42457         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42458         (FP_TRUNC): Likewise.
42460         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42461         treated as invalid conversion, not as normal exponent.
42463         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42464         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42465         (_FP_CMP_EQ): Likewise.
42466         (_FP_CMP_UNORD): Likewise.
42467         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42468         (FP_CMP_EQ_D): Likewise.
42469         (FP_CMP_UNORD_D): Likewise.
42470         * soft-fp/extended.h (FP_CMP_E): Likewise.
42471         (FP_CMP_EQ_E): Likewise.
42472         (FP_CMP_UNORD_E): Likewise.
42473         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42474         (FP_CMP_EQ_Q): Likewise.
42475         (FP_CMP_UNORD_Q): Likewise.
42476         * soft-fp/single.h (FP_CMP_S): Likewise.
42477         (FP_CMP_EQ_S): Likewise.
42478         (FP_CMP_UNORD_S): Likewise.
42479         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42480         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42481         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42482         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42483         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42484         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42485         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42486         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42487         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42488         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42489         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42490         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42491         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42492         to FP_CMP_Q.
42493         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42494         FP_CMP_Q.
42495         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42496         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42497         FP_CMP_EQ_Q.
42498         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42499         FP_CMP_Q.
42500         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42501         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42502         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42503         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42504         FP_CMP_EQ_Q.
42505         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42506         FP_CMP_Q.
42507         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42508         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42509         FP_CMP_EQ_Q.
42510         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42511         FP_CMP_Q.
42512         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42513         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42514         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42515         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42516         FP_CMP_EQ_Q.
42518         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42519         a subnormal result, set the underflow exception if trapping on
42520         underflow is enabled.
42521         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42522         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42523         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42524         redefine to 0.
42525         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42526         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42527         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42528         * soft-fp/extendxftf2.c (__extendxftf2): Use
42529         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42531         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42532         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42533         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42534         FP_HANDLE_EXCEPTIONS.
42535         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42536         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42537         FP_HANDLE_EXCEPTIONS.
42538         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42539         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42540         FP_HANDLE_EXCEPTIONS.
42541         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42542         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42543         FP_HANDLE_EXCEPTIONS.
42545 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42547         [BZ #14132]
42548         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42549         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42550         use INTUSE.
42551         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42552         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42553         Remove alias.
42554         (__adjtimex): Define using libc_hidden_ver.
42555         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42556         Remove declaration.
42557         (ntp_gettime): Call __adjtimex directly.
42558         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42559         Remove declaration.
42560         (ntp_gettimex): Call __adjtimex directly.
42561         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42562         __adjtimex_internal alias.
42564 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42566         [BZ #17460]
42567         * nscd/nscd.c (more_help): Rewrite list of tables collection
42568         using xstrdup and asprintf.
42570         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42572 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42573             Roland McGrath  <roland@hack.frob.com>
42575         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42576         (do_lookup_unique): ... local function 'enter' here; update callers.
42578 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42580         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42581         compat_symbol calls on [SHARED].
42582         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42583         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42584         Remove.
42585         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42586         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42587         (oldsetrlimit): Remove.
42588         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42590         (lchown): New syscall entry.
42591         (oldsetrlimit): Remove.
42592         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42593         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42594         (oldsetrlimit): Remove.
42595         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42597         [BZ #14138]
42598         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42599         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42600         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42601         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42602         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42603         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42604         (fchown): Likewise.
42605         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42606         (fchown): Likewise.
42607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42608         Likewise.
42610 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42612         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42613         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42614         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42615         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42616         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42617         Likewise.
42618         (__old_sem_post): Likewise.
42620 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
42622         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42623         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42624         HAVE_CLOCK_GETTIME_VSYSCALL macros.
42625         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42626         Use INLINE_VSYSCALL macro.
42627         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42628         __vdso_clock_gettime.
42629         * sysdeps/unix/sysv/linux/tile/init-first.c
42630         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42631         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42632         __vdso_clock_gettime.
42634         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42635         to set up frame more cleanly.
42637         * sysdeps/tile/memcmp.c: New file.
42639         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42641         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42642         * sysdeps/tile/tilegx/strcasestr.c: New file.
42643         * sysdeps/tile/tilegx/strnlen.c: New file.
42644         * sysdeps/tile/tilegx/strstr.c: New file.
42646         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42648 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
42650         * nptl/tst-setuid3.c: Write errors to stdout.
42652 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42654         * elf/dl-deps.c
42655         (preload): New functions broken out of _dl_map_object_deps.
42656         (_dl_map_object_deps):  Remove a nested function. Update call sites.
42658 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
42660         [BZ #14138]
42661         * sysdeps/unix/sysv/linux/execve.c: Remove file.
42662         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42664 2014-10-01  Steve Ellcey  <sellcey@mips.com>
42666         * sysdeps/mips/strcmp.S: New.
42668 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
42670         [BZ #14138]
42671         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42672         (linkat): Likewise.
42673         (mkdirat): Likewise.
42674         (readlinkat): Likewise.
42675         (renameat): Likewise.
42676         (symlinkat): Likewise.
42677         (unlinkat): Likewise.
42678         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42679         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42680         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42681         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
42682         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
42683         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
42684         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42686 2014-09-30  Will Newton  <will.newton@linaro.org>
42688         * math/math.h: Define long double math functions if
42689         _LIBC_TEST is defined.
42690         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
42692         * localedata/Makefile: Move assignment to tests-special
42693         into an ifdef testing run-built-tests.
42694         * timezone/Makefile: Likewise.
42696 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
42698         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
42699         with $(BASH) not $(SHELL).
42701 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
42702             Matthew LeGendre  <legendre1@llnl.gov>
42704         [BZ #17411]
42705         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
42706         l_reloc_result.
42708 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42710         * stdio-common/printf_fp.c
42711         (hack_digit): New function, broken out of ...
42712         (__printf_fp): ... local function here.  Update call sites.
42713         hack_digit now takes an additional parameter that is a pointer
42714         to a struct of the referenced locals.  Those locals moved inside
42715         the struct and references updated.
42717 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
42719         * aclocal.m4: Require autoconf 2.69.
42720         * configure: Regenerated.
42721         * sysdeps/aarch64/configure: Likewise.
42722         * sysdeps/alpha/configure: Likewise.
42723         * sysdeps/arm/armv7/configure: Likewise.
42724         * sysdeps/arm/configure: Likewise.
42725         * sysdeps/ia64/configure: Likewise.
42726         * sysdeps/mach/configure: Likewise.
42727         * sysdeps/mips/configure: Likewise.
42728         * sysdeps/s390/configure: Likewise.
42729         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
42730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
42732         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
42733         file.
42734         * sysdeps/ia64/configure.ac: Likewise.
42736 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
42738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
42739         specify symbol version for ld.so.  Do not include entry for
42740         libpthread.
42741         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42742         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42743         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42745         [BZ #14171]
42746         * Makeconfig [$(build-shared) = yes]
42747         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
42748         makefiles.
42749         [$(build-shared) = yes && $(soversions.mk-done) = t]
42750         ($(common-objpfx)gnu/lib-names.h): Remove rule.
42751         [$(build-shared) = yes && $(soversions.mk-done) = t]
42752         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
42753         to Makerules.
42754         [$(build-shared) = yes && $(soversions.mk-done) = t]
42755         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
42756         here.
42757         [$(build-shared) = yes && $(soversions.mk-done) = t]
42758         (common-generated): Don't append gnu/lib-names.h and
42759         gnu/lib-names.stmp here.
42760         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
42761         (lib-names-h-abi): New variable.
42762         [$(build-shared) = yes && $(soversions.mk-done) = t]
42763         (lib-names-stmp-abi): Likewise.
42764         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42765         abi-variants] (before-compile): Append
42766         $(common-objpfx)$(lib-names-h-abi).
42767         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42768         abi-variants] (common-generated): Append gnu/lib-names.h.
42769         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42770         abi-variants] (install-others-nosubdir): Depend on
42771         $(inst_includedir)/$(lib-names-h-abi).
42772         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42773         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
42774         [$(build-shared) = yes && $(soversions.mk-done) = t]
42775         ($(common-objpfx)$(lib-names-h-abi)): New rule.
42776         [$(build-shared) = yes && $(soversions.mk-done) = t]
42777         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
42778         [$(build-shared) = yes && $(soversions.mk-done) = t]
42779         (common-generated): Append $(lib-names-h-abi) and
42780         $(lib-names-stmp-abi).
42781         * scripts/lib-names.awk: Do not handle multi being set.
42782         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
42783         Remove variable.
42784         (abi-lp64_be-ld-soname): Likewise.
42785         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
42786         Likewise.
42787         (abi-hard-ld-soname): Likewise.
42788         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
42789         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
42790         Remove variable.
42791         (abi-o32_hard-ld-soname): Likewise.
42792         (abi-o32_soft_2008-ld-soname): Likewise.
42793         (abi-o32_hard_2008-ld-soname): Likewise.
42794         (abi-n32_soft-ld-soname): Likewise.
42795         (abi-n32_hard-ld-soname): Likewise.
42796         (abi-n32_soft_2008-ld-soname): Likewise.
42797         (abi-n32_hard_2008-ld-soname): Likewise.
42798         (abi-n64_soft-ld-soname): Likewise.
42799         (abi-n64_hard-ld-soname): Likewise.
42800         (abi-n64_soft_2008-ld-soname): Likewise.
42801         (abi-n64_hard_2008-ld-soname): Likewise.
42802         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
42803         Likewise.
42804         (abi-64-v2-ld-soname): Likewise.
42805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
42806         ld.so entries.
42807         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
42808         variable.
42809         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
42810         entry.
42811         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
42812         variable.
42813         (abi-64-ld-soname): Likewise.
42814         (abi-x32-ld-soname): Likewise.
42815         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
42816         entry.
42817         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42819 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
42821         [BZ #14138]
42822         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
42823         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
42824         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
42825         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
42826         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
42827         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
42828         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
42829         syscall entry for GLIBC_2.2 symbol version.
42830         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
42831         Likewise.
42832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42833         (setrlimit): Likewise.
42834         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
42835         Likewise.
42837 2014-09-23  Will Newton  <will.newton@linaro.org>
42839         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
42840         _LINUX_ARM_SYSDEP_H include guard too.
42841         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
42842         define.
42844 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42846         * sysdeps/unix/sysv/linux/eventfd.c:
42847         Make first argument unsigned.
42848         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
42849         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
42851 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
42853         [BZ #16852]
42854         * socket/recvmmsg.c (recvmmsg): Drop const argument.
42855         * socket/sys/socket.h: Likewise.
42856         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
42858 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42860         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42862 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
42864         * time/tst-ftime.c: New test.
42865         * time/Makefile (tests): Add tst-ftime.
42867 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
42869         * soft-fp/extended.h: Fix comment formatting.
42870         * soft-fp/op-1.h: Likewise.
42871         * soft-fp/op-2.h: Likewise.
42872         * soft-fp/op-4.h: Likewise.
42873         * soft-fp/op-8.h: Likewise.
42874         * soft-fp/op-common.h: Likewise.
42875         * soft-fp/soft-fp.h: Likewise.
42877         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
42879 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
42881         [BZ #6652]
42882         * Makeconfig (soversions-default-setname): Remove variable.
42883         ($(common-objpfx)soversions.i): Don't pass default_setname to
42884         soversions.awk.
42885         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42886         oldest_abi to abi-versions.awk.
42887         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
42888         * config.make.in (oldest-abi): Remove variable.
42889         * configure.ac (--enable-oldest-abi): Remove configure option.
42890         * configure: Regenerated.
42891         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
42892         text.
42893         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
42894         * scripts/soversions.awk: Do not handle default_setname variable.
42895         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
42896         variable.
42897         * sysdeps/mach/hurd/configure: Regenerated.
42898         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
42899         variable.
42900         * sysdeps/unix/sysv/linux/configure: Regenerated.
42902 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42904         * elf/Makefile (CFLAGS-interp.c): Remove.
42905         ($(elf-objpfx)runtime-linker.h): Generate header with linker
42906         path string.
42907         * elf/interp.c: Include generated runtime-linker.h
42909         * Makerules (lib%.so): Don't include $(+interp) in
42910         prerequisites.
42911         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
42912         * dlfcn/eval.c: Remove file.
42914         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
42915         macros.
42917         [BZ #17266]
42918         * misc/sys/cdefs.h: Define __extern_always_inline for clang
42919         4.2 and newer.
42921         [BZ #17370]
42922         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42924 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42925             Jakub Jelinek  <jakub@redhat.com>
42927         [BZ #17266]
42928         * libio/stdio.h: Check definition of __fortify_function
42929         instead of __extern_always_inline to include bits/stdio2.h.
42930         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42931         check if __extern_always_inline is defined.
42932         [__USE_MISC || __USE_XOPEN]: Likewise.
42933         [__USE_ISOC99] Likewise.
42934         * misc/sys/cdefs.h (__fortify_function): Define only if
42935         __extern_always_inline is defined.
42936         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42937         __extern_always_inline and __extern_inline only for g++-4.3
42938         and newer or a compatible gcc.
42940 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
42942         [BZ #17371]
42943         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42944         last change to handle zero prefix length.
42946 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42948         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42949         _SC_REGEX_VERSION.
42951         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42952         _POSIX_RAW_SOCKETS.
42954 2014-09-13  Allan McRae  <allan@archlinux.org>
42956         * po/ru.po: Update Russian translation from translation project.
42958 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42960         * locale/programs/locale.c (show_locale_vars): Inline local function
42961         into its sole call site.  Clean up some style nits.
42962         (print_item): New function, broken out of ...
42963         (show_info): ... local function here.  Clean up style nits.
42965         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42966         out of ...
42967         (set_class_defaults): ... local function set_default here.
42968         Define set_default as a macro locally to pass constant parameters.
42969         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42970         rather than a shared local.
42972         * stdlib/rpmatch.c (try): New function, broken out of ...
42973         (rpmatch): ... local function here.  Also, prototypify definition.
42975 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42977         * scripts/soversions.awk: Do not handle configuration names.
42978         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42979         vendor and os variables to soversions.awk.
42980         * configure.ac: Do not modify gnu-* host_os.
42981         * configure: Regenerated
42982         * shlib-versions: Remove first column with configuration names.
42983         * nptl/shlib-versions: Likewise.
42984         * nptl_db/shlib-versions: Likewise.
42985         * sysdeps/hppa/shlib-versions: Likewise.
42986         * sysdeps/m68k/shlib-versions: Likewise.
42987         * sysdeps/mach/hurd/shlib-versions: Likewise.
42988         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42989         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42990         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42991         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42992         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42993         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42994         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42995         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42997         Likewise.
42998         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42999         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43000         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43001         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43002         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43003         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
43004         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43005         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43008         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
43009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43010         Regenerated.
43011         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43013         Condition symbol version definitions on [HAVE_ELFV2_ABI].
43015         * shlib-versions: Remove OS-specific entries.  Moved to files in
43016         sysdeps.
43017         * sysdeps/mach/hurd/shlib-versions: New file.
43018         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43020         * nptl/shlib-versions: Remove architecture-specific entries.
43021         Moved to files in sysdeps.
43022         * shlib-versions: Likewise.
43023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
43024         file.
43025         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43026         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43027         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43028         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43030         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
43031         (UDP_NO_CHECK6_RX): Likewise.
43033 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43035         * sysdeps/posix/sysconf.c (__sysconf): Spell
43036         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
43038 2014-08-12  Florian Weimer  <fweimer@redhat.com>
43040         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
43041         loading.
43042         * iconv/Versions (__gconv_transliterate): Export for use from
43043         gconv modules.
43044         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
43045         (struct __gconv_trans_data, __gconv_trans_fct,
43046         __gconv_trans_context_fct, __gconv_trans_query_fct,
43047         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
43048         definitions.
43049         (struct __gconv_step_data): Remove __trans member.
43050         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
43051         longer hidden.  Remove unused trans_data argument.
43052         * iconv/gconv_int.h (struct trans_struct): Remove definition.
43053         (__gconv_translit_find): Remove declaration.
43054         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
43055         prototype.
43056         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
43057         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
43058         trans_data argument.  Add hidden definition.
43059         (__gconv_translit_find): Remove.
43060         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
43061         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
43062         * iconv/skeleton.c: Remove transliteration initialization.
43063         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
43064         __gconv_step_data initialization.
43065         * libio/iofwide.c (__libio_translit_): Remove.
43066         (_IO_fwide): Adjust struct __gconv_step_data initialization.
43067         * wcsmbs/btowc.c (__btowc): Likewise.
43068         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43069         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43070         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
43071         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
43072         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
43073         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
43074         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43075         * wcsmbs/wctob.c (wctob): Likewise.
43077 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43079         [BZ #16194]
43080         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
43081         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
43082         register usage.
43083         * sysdeps/x86/Makefile: Adjust.
43085 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43086             Roland McGrath  <roland@hack.frob.com>
43088         * locale/weight.h: Add include guard.
43089         (findidx): Make static rather than auto; take new parameters
43090         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
43091         * locale/weightwc.h: Likewise.
43092         * posix/fnmatch_loop.c
43093         (FCT): Change type of EXTRA from int32_t to wint_t.
43094         Don't include either header inside the function.
43095         Call FINDIDX rather than findidx, and pass new arguments.
43096         #undef FINDIDX at the end of the file.
43097         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
43098         FINDIDX before including fnmatch_loop.c for the non-wide version.
43099         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
43100         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
43101         for the wide version.
43102         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
43103         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
43104         Pass new arguments to findidx.
43105         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
43106         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
43107         Don't #include it inside the function.  Pass new arguments to findidx.
43108         * posix/regex_internal.h
43109         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
43110         (re_string_elem_size_at): Don't #include it inside the function.
43111         Pass new arguments to findidx.
43112         * string/strcoll_l.c: #include WEIGHT_H at top level.
43113         (get_next_seq): Don't #include it inside the function.
43114         Pass new arguments to findidx.
43115         (get_next_seq_nocache): Likewise.
43116         * string/strxfrm_l.c: #include WEIGHT_H at top level.
43117         (STRXFRM): Don't #include it inside the function.
43118         Pass new arguments to findidx.
43120 2014-09-11  Florian Weimer  <fweimer@redhat.com>
43122         [BZ #17344]
43123         * malloc/malloc.c (unlink): Turn asserts into a call to
43124         malloc_printerr.
43126 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
43128         [BZ #17370]
43129         * libio/wfileops (do_ftell_wide): Free OUT.
43131 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
43133         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
43135 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43137         [BZ #17363]
43138         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
43139         group if the current group is empty.
43141 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43143         * benchtests/bench-memset.c (test_main): Add more test from size
43144         from 32 to 512 bytes.
43145         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43146         Add POWER8 memset object.
43147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43148         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
43149         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
43150         implementation.
43151         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
43152         Likewise.
43153         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
43154         multiarch POWER8 memset optimization.
43155         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
43156         POWER8 memset optimization.
43158         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43159         Remove bzero multiarch objects.
43160         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
43161         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
43162         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
43163         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
43164         Remove define.
43165         [__bzero]: Redefine to specific name.
43166         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
43167         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
43168         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
43169         define.
43170         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43171         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43173 2014-09-10  Florian Weimer  <fweimer@redhat.com>
43175         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43176         warnings into errors.
43178         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43179         __cxa_thread_atexit_impl prototype.
43181 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43183         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43184         Fix capitalization of error message.
43186 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43188         * sysdeps/mips/preconfigure: Modify ABI tests.
43190 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
43192         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43194 2014-09-07  Roland McGrath  <roland@hack.frob.com>
43195             Carlos O'Donell  <carlos@systemhalted.org>
43197         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43198         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
43199         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
43200         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
43201         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
43202         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
43203         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
43204         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
43205         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
43206         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
43207         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
43208         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
43209         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
43210         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
43211         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
43212         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
43213         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
43214         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
43215         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
43216         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
43217         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
43218         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
43219         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
43220         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
43221         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
43222         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
43223         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
43224         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
43225         Deconditionalize the code that was previously under [RESET_PID].
43226         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
43227         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
43228         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
43229         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
43230         include sysdep.h.
43232 2014-09-08  Allan McRae  <allan@archlinux.org>
43234         * version.h (RELEASE): Set to "development".
43235         (VERSION): Set to "2.20.90"
43237 2014-09-07  Allan McRae  <allan@archlinux.org
43239         * version.h (RELEASE): Set to "stable".
43240         (VERSION): Set to "2.20"
43241         * include/features.h (__GLIBC_MINOR__): Set to 20.
43243         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
43244         Liebler.
43246         * po/ko.po: Update Korean translation from translation project.
43248 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
43250         [BZ #17354]
43251         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
43252         macro for handling signed relocations.
43254 2014-09-03  Florian Weimer  <fweimer@redhat.com>
43256         [BZ #17325]
43257         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
43258         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
43259         assert.
43260         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
43261         * iconvdata/ibm935.c (BODY): Likewise.
43262         * iconvdata/ibm937.c (BODY): Likewise.
43263         * iconvdata/ibm939.c (BODY): Likewise.
43264         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
43265         assert.
43266         * iconvdata/Makefile (iconv-test.out): Pass module list to test
43267         script.
43268         * iconvdata/run-iconv-test.sh: New test loop for checking for
43269         decoder crashers.
43271 2014-09-02  Khem Raj  <raj.khem@gmail.com>
43273         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43274         libm_hidden_ver.
43276 2014-09-01  Allan McRae  <allan@archlinux.org>
43278         * po/eo.po: Update Esperanto translation from translation project.
43280         * po/ca.po: Update Catalan translation from translation project.
43282 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43284         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43285         __proc_dostop call.
43287 2014-08-27  Mark Wielaard  <mjw@redhat.com>
43289         [BZ #17319]
43290         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43291         to call set_thread_area instead of hand written asm.
43292         (__NR_set_thread_area): Removed define.
43293         (TLS_FLAG_WRITABLE): Likewise.
43294         (__ASSUME_SET_THREAD_AREA): Remove check.
43295         (TLS_EBX_ARG): Remove define.
43296         (TLS_LOAD_EBX): Likewise.
43298 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43300         Simplify atomicity of socket creation in bind.
43302         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43303         looking up the name after linking the file.
43305 2014-08-27  Allan McRae  <allan@archlinux.org>
43307         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43309 2014-08-26  Florian Weimer  <fweimer@redhat.com>
43311         [BZ #17187]
43312         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43313         trans_compare, open_translit, __gconv_translit_find):
43314         Remove module loading code.
43316 2014-08-26  Allan McRae  <allan@archlinux.org>
43318         * po/vi.po: Update Vietnamese translation from translation project.
43320         * po/uk.po: Update Ukrainian translation from translation project.
43322         * po/fr.po: Update French translation from translation project.
43324         * po/ru.po: Update Russian translation from translation project.
43326         * po/pl.po: Update Polish translation from translation project.
43328         * po/cs.po: Update Czech translation from translation project.
43330         * po/de.po: Update German translation from translation project.
43332         * po/bg.po: Update Bulgarian translation from translation project.
43334         * po/sv.po: Update Sweedish translation from translation project.
43336         * po/nl.po: Update Dutch translation from translation project.
43338         * po/es.po: Update Spanish translation from translation project.
43340 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43342         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43344         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43345         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43346         (CPPFLAGS-iconvconfig): Likewise.
43347         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43349         * include/libc-symbols.h: Remove unnecessary check for
43350         NOT_IN_libc.
43351         * nptl/pthreadP.h: Likewise.
43352         * sysdeps/aarch64/setjmp.S: Likewise.
43353         * sysdeps/alpha/setjmp.S: Likewise.
43354         * sysdeps/arm/sysdep.h: Likewise.
43355         * sysdeps/i386/setjmp.S: Likewise.
43356         * sysdeps/m68k/setjmp.c: Likewise.
43357         * sysdeps/posix/getcwd.c: Likewise.
43358         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43359         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43360         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43361         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43362         * sysdeps/sh/sh3/setjmp.S: Likewise.
43363         * sysdeps/sh/sh4/setjmp.S: Likewise.
43364         * sysdeps/unix/alpha/sysdep.h: Likewise.
43365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43366         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43367         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43368         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43372         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43373         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43376         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43377         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43378         * sysdeps/x86_64/setjmp.S: Likewise.
43380 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43382         [BZ #17263]
43383         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43384         <stdint.h>.
43385         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43386         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43388 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43390         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43392         [BZ #17262]
43393         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43394         and __x86_64__ when disabling x87 inline functions.
43396 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43398         [BZ #17259]
43399         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43400         asm statement with __cpuid_count.
43402 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43404         * configure.ac: Change __ehdr_start code to dereference the struct.
43405         Run readelf on the output to look for relocations.
43406         * configure: Regenerated.
43408 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43410         [BZ #17261]
43411         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43412         value to 0.
43413         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43415 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43417         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43419 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43421         [BZ #16892]
43422         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43423         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43425 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43427         * malloc/malloc.c: Fix typo in comment.
43429 2014-08-09  Allan McRae  <allan@archlinux.org>
43431         * Regenerate libc.po.
43433 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43435         * intl/tst-gettext2.sh: Check every lang file for creation.
43437 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43439         * sysdeps/aarch64/fpu/math_private.h
43440         (libc_feholdsetround_noex_aarch64_ctx): New function.
43442 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43444         * sysdeps/arm/armv6/strcpy.S (strcpy):
43445         Fix performance issue in misaligned cases.
43447 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43449         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43450         Move definition from termios.h.
43451         (struct termio): Likewise.
43452         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43453         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43454         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43455         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43456         Likewise.
43457         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43458         Move definition to ioctl-types.h
43459         (struct termio): Likewise.
43460         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43461         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43462         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43463         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43464         Likewise.
43466 2014-08-05  Richard Henderson  <rth@redhat.com>
43468         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43469         exceptions.
43470         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43471         Add fraiseexcpt.
43472         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43473         Use __feraiseexcept.
43474         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43475         Protect libm symbols with IS_IN_libm.
43477         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43479 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43481         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43483 2014-08-04  Will Newton  <will.newton@linaro.org>
43485         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43486         file.
43488 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43490         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43491         variants for each function.
43493 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43495         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43496         appended ...
43497         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43498         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43499         appended ...
43500         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43501         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43502         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43503         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43504         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43505         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43506         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43507         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43508         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43509         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43510         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43511         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43512         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43513         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43514         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43515         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43516         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43517         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43518         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43519         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43520         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43521         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43522         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43523         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43524         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43525         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43526         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43527         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43528         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43529         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43530         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43531         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43532         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43533         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43534         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43535         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43536         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43537         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43538         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43539         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43540         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43541         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43542         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43543         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43544         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43545         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43546         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43547         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43548         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43549         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43550         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43551         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43552         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43553         Update #include.
43554         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43555         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43557 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43559         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43560         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43561         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43562         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43563         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43564         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43566 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43568         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43569         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43570         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43571         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43573 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43575         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43576         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43577         (__libc_vfork): Define function under this name.
43578         (__vfork): Define as an alias.
43579         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43580         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43582 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43584         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43585         that was previously under [RESET_PID].
43586         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43588 2014-08-04  Andreas Schwab  <schwab@suse.de>
43590         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43592 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43594         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43595         (main): Likewise.
43597 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43599         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43601 2014-08-01  Richard Henderon  <rth@redhat.com>
43603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43604         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43605         typo in exact zero test.
43606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43607         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43610 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43612         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43613         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43614         * sysdeps/arm/sysdep.h: ... here.
43615         [!__ASSEMBLER__]: Include <stdint.h>.
43617 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43619         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43620         (HAVE_WCTYPE_H): Likewise.
43621         (HAVE_ISWCTYPE): Likewise.
43622         (ENABLE_NLS): Likewise.
43623         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43624         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43626         * posix/regex_internal.c: Check if DEBUG is defined and is
43627         set.
43629         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43630         (HAVE_MBSRTOWCS): Likewise.
43631         * posix/fnmatch.c: Include string.h unconditionally.
43633 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43635         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43636         reversal.
43638 2014-07-31  Roland McGrath  <roland@hack.frob.com>
43640         * sysdeps/generic/safe-fatal.h: New file.
43641         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43642         * nptl/forward.c: Include it.
43643         (__pthread_unwind): Use __safe_fatal as default action, rather
43644         than a bogus use of INTERNAL_SYSCALL that could never work.
43646         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43647         * configure.ac (libc_cv_builtin_trap): New test.
43648         * configure: Regenerated.
43649         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43650         (ABORT_INSTRUCTION): Define using __builtin_trap.
43652         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43653         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43654         * sysdeps/nptl/nptl-signals.h: New file.
43655         * nptl/pthreadP.h: Include <nptl-signals.h>.
43657 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43659         * sysdeps/s390/s390-64/utf16-utf32-z9.c
43660         (ONE_DIRECTION): Define.
43661         * sysdeps/s390/s390-64/utf8-utf16-z9.c
43662         (ONE_DIRECTION): Define.
43663         * sysdeps/s390/s390-64/utf8-utf32-z9.c
43664         (ONE_DIRECTION): Define.
43666 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43668         * sysdeps/s390/Makefile: Delete file.
43669         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43670         * sysdeps/s390/__longjmp.c: Delete file.
43671         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43672         Remove fields __flags and __reserved.
43673         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43674         and add versioning.
43675         * sysdeps/s390/rtld-__longjmp.c: Delete file.
43676         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43677         * sysdeps/s390/rtld-setjmp.S: Likewise.
43678         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43679         * sysdeps/s390/s390-32/__longjmp.c: ... here.
43680         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43681         * sysdeps/s390/s390-32/setjmp.S: ... here.
43682         Add versioning.
43683         (__sigsetjmp): Remove setting __flags field.
43684         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
43685         * sysdeps/s390/s390-64/__longjmp.c: ... here.
43686         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
43687         * sysdeps/s390/s390-64/setjmp.S: ... here.
43688         Add versioning.
43689         (__sigsetjmp): Remove setting __flags field.
43690         * sysdeps/s390/setjmp.S: Delete file.
43691         * sysdeps/s390/sigjmp.c: Likewise.
43692         * sysdeps/s390/v1-longjmp.c: Likewise.
43693         * sysdeps/s390/v1-setjmp.h: Likewise.
43694         * sysdeps/s390/v1-sigjmp.c: Likewise.
43695         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
43696         Remove v1-longjmp_chk.
43697         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
43698         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
43699         Include debug/longjmp_chk.c and add versioning.
43700         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
43701         Include nptl/pt-longjmp.c and add versioning.
43702         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
43703         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
43704         Include __longjmp.c.
43705         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43706         Move to ...
43707         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
43708         (__getcontext): Remove setting __flags field.
43709         Add versioning.
43710         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43711         Don't restore upper high grps.
43712         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
43713         Likewise.
43714         (__swapcontext): Remove setting uc_flags field.
43715         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
43716         Delete file.
43717         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43718         Include __longjmp.c.
43719         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43720         Move to ...
43721         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
43722         (__getcontext): Remove setting __flags field.
43723         Add versioning.
43724         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
43725         (__swapcontext): Remove setting uc_flags field.
43726         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
43727         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
43728         Remove fields uc_high_gprs and __reserved.
43729         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
43730         New file with reverted content.
43731         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
43732         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
43733         Regenerated.
43734         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
43735         Regenerated.
43737 2014-07-31  Andreas Schwab  <schwab@suse.de>
43739         * config.h.in (HAVE_IFUNC): Define to 0.
43740         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
43741         definedness.
43743 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
43745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43746         memmove-avx-unaligned, memcpy-avx-unaligned and
43747         mempcpy-avx-unaligned.
43748         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43749         Add tests for AVX memcpy functions.
43750         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
43751         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
43752         memcpy_chk.
43753         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
43754         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
43755         memmove_chk.
43756         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
43757         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
43758         mempcpy_chk.
43759         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
43760         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
43761         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
43763 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43765         [BZ #17213]
43766         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
43767         powerpc64le.
43769 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
43771         [BZ #16839]
43772         * manual/llio.texi: Add section about open file description locks.
43773         * manual/examples/ofdlocks.c: Example of open file description
43774         lock usage.
43775         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
43776         F_OFD_SETLK, and F_OFD_SETLKW.
43778 2014-07-23  Allan McRae  <allan@archlinux.org>
43780         * po/es.po: Update Spanish translation from translation project.
43782 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
43784         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
43786 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
43788         [BZ #17078]
43789         * sysdeps/arm/dl-machine.h (elf_machine_rela)
43790         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
43791         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
43793 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
43795         [BZ #17088]
43796         * math/fesetenv.c (__fesetenv)
43797         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
43798         * math/feupdateenv.c (__feupdateenv)
43799         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
43801         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
43802         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43803         (__ASSUME_SOCKETCALL): Do not define.
43805         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
43806         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
43807         (__ASSUME_SOCKETCALL): Do not define.
43808         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
43809         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43810         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43811         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43812         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43813         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
43814         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43815         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43817         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
43818         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
43819         (__ASSUME_SOCKETCALL): Do not define.
43820         (__ASSUME_IPC64): Define unconditionally.
43821         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43822         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43823         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43825         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
43826         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43827         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43828         Likewise.
43830         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
43831         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
43832         (__ASSUME_SOCKETCALL): Do not define.
43833         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
43834         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43835         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43836         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43837         (__ASSUME_REQUEUE_PI): Define unconditionally.
43838         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
43839         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
43840         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43841         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
43842         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43843         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43845         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
43846         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
43847         (__ASSUME_SOCKETCALL): Do not define.
43848         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
43849         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43850         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43851         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
43852         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43853         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43855         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
43856         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
43857         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43858         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
43859         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43860         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
43861         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43862         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
43863         (__ASSUME_GETCPU_SYSCALL): Likewise.
43865         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
43866         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
43867         cases for individual architectures.
43868         * sysdeps/gnu/configure: Regenerated.
43869         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
43870         LIBC_SLIBDIR_RTLDDIR.
43871         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
43872         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
43873         LIBC_SLIBDIR_RTLDDIR.
43874         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
43876         LIBC_SLIBDIR_RTLDDIR.
43877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43878         Regenerated.
43879         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
43880         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
43881         file.
43882         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
43883         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
43884         file.
43885         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
43886         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
43887         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
43888         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
43890         * sysdeps/aarch64/shlib-versions: Move to ...
43891         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
43892         * sysdeps/alpha/shlib-versions: Move to ...
43893         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
43894         * sysdeps/arm/shlib-versions: Move to ...
43895         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
43896         * sysdeps/hppa/shlib-versions: Move all contents except for
43897         libgcc_s entry to ...
43898         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
43899         entry from ...
43900         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
43901         * sysdeps/ia64/shlib-versions: Move to ...
43902         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
43903         entry from ...
43904         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
43905         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
43906         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
43907         * sysdeps/microblaze/shlib-versions: Move to ...
43908         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
43909         * sysdeps/mips/shlib-versions: Move to ...
43910         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
43911         entry from ...
43912         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
43913         * sysdeps/tile/shlib-versions: Move to ...
43914         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
43915         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
43916         from ...
43917         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
43918         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43919         entry from ...
43920         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
43922 2014-07-17  Will Newton  <will.newton@linaro.org>
43924         * sysdeps/arm/bits/atomic.h
43925         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43926         (__arch_compare_and_exchange_bool_16_int): Likewise.
43927         (__arch_compare_and_exchange_bool_64_int): Likewise.
43929         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43930         into an #else block.
43932 2014-07-16  Roland McGrath  <roland@hack.frob.com>
43934         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43935         just Linux configurations.  Test empirically that the compiler sets
43936         __ARM_EABI__, rather than using the tuple to decide.
43937         * sysdeps/arm/preconfigure: Regenerated.
43938         * sysdeps/unix/sysv/linux/arm/configure: File removed.
43939         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43940         contents appended ...
43941         * sysdeps/arm/configure.ac: ... here.
43942         * sysdeps/arm/configure: Regenerated.
43944 2014-07-15  Roland McGrath  <roland@hack.frob.com>
43946         * nptl/pthread_kill.c: New file.
43947         * nptl/pthread_sigmask.c: New file.
43948         * nptl/pthread_sigqueue.c: New file.
43950         * sysdeps/nptl/lowlevellock.h: New file.
43951         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43952         * sysdeps/nptl/lowlevellock-futex.h: New file.
43954         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43955         Remove dead declarations.
43957 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43959         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43960         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43961         config-cflags-avx2.
43962         * sysdeps/x86_64/configure.ac: Likewise.
43963         * sysdeps/i386/configure: Regenerated.
43964         * sysdeps/x86_64/configure: Likewise.
43965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43966         memset-avx2 only if config-cflags-avx2 is yes.
43967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43968         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43969         defined.
43970         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43971         only if HAVE_AVX2_SUPPORT is defined.
43972         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43974 2014-07-14  Alan Modra  <amodra@gmail.com>
43976         [BZ #17153]
43977         * elf/elf.h (DT_PPC64_NUM): Correct value.
43978         * NEWS: Add to fixed bug list.
43980 2014-07-13  Jim Meyering  <meyering@fb.com>
43982         [BZ 17150]
43983         regex: don't deref NULL upon heap allocation failure
43984         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43985         failure in one more place.
43986         To trigger the segfault, configure grep -with-included-regex,
43987         build it, and run these commands:
43988         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43990 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43992         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43994 2014-07-11  Richard Henderson  <rth@redhat.com>
43996         * sysdeps/aarch64/libm-test-ulps: Update.
43998 2014-07-10  Florian Weimer  <fweimer@redhat.com>
44000         [BZ #17135]
44001         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
44002         * nptl/allocatestack.c (__nptl_setxid_error): New function.
44003         (__nptl_setxid): Initialize error member.  Call
44004         __nptl_setxid_error.
44005         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
44006         * nptl/descr.h (struct xid_command): Add error member.
44007         * nptl/tst-setuid3.c: New file.
44008         * nptl/Makefile (tests): Add it.
44010 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44012         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
44013         New define.
44014         (__lll_trylock): Use __lll_base_trylock.
44015         (__lll_cond_trylock): Likewise.
44017 2014-07-10  Roland McGrath  <roland@hack.frob.com>
44019         * nptl/pthread_create.c (start_thread): Use atomic_or and
44020         lll_futex_wake directly rather than lll_robust_dead.
44021         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44022         (lll_robust_dead): Macro removed.
44023         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
44024         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44025         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44026         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44027         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44028         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44029         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44030         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44031         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44032         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44033         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44034         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44035         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44036         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44037         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44039         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
44040         Use atomic_compare_and_exchange_val_acq directly rather than
44041         lll_robust_trylock.
44042         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44043         (__lll_robust_trylock, lll_robust_trylock): Removed.
44044         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44045         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44046         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44047         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44048         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44049         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44050         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44051         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44052         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44053         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44054         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44055         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44056         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44057         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44059 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44061         * manual/locale.texi (Locale Names): New section documenting
44062         locale name syntax.  Adjust menu and node chaining accordingly.
44063         (Choosing Locale): Reference Locale Names, Locale Categories.
44064         Mention setting LC_ALL=C.  Reflect that name syntax is now
44065         documented.
44066         (Locale Categories): New section title.  Reference Locale Names.
44067         LC_ALL is an environment variable, but not a category.
44068         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
44069         description, now in Locale Name.  Reference that section.  Locale
44070         name syntax is now documented.
44072 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44074         [BZ #17137]
44075         * locale/findlocale.c (name_present, valid_locale_name): New
44076         functions.
44077         (_nl_find_locale): Use the loc_name variable to store name
44078         candidates.  Call name_present and valid_locale_name to check and
44079         validate locale names.  Return an error if the locale is invalid.
44081 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44083         * locale/setlocale.c (setlocale): Use strdup for allocating
44084         composite name copy.
44086 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44088         Sync up with gnulib.
44089         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
44090         [!_LIBC && ENABLE_NLS]: Include gettext.h.
44091         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
44092         and _GL_ARG_NONNULL.
44093         [USE_UNLOCKED_IO]: Include unlocked-io.h.
44094         [!_LIBC]: Include code for Windows and Cygwin.
44095         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
44096         Include prototype for int strerror_r.
44097         [!_LIBC] (is_open): New function.
44098         (flush_stdout): New function.
44099         (print_errno_message): Use it.
44100         (error): Likewise.
44101         (error_at_line): Likewise.
44102         (error_tail) Add function attribute macros.  Use
44103         __builtin_expect.
44105         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
44107         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
44109         * io/ftw.c: Include sys/param.h unconditionally.
44111         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
44113         [BZ #17125]
44114         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
44115         libc_freeres_ptr.
44116         (freecache): New function to free CACHE on exit.
44118         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
44119         initialization.
44121 2014-07-09  David S. Miller  <davem@davemloft.net>
44123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44125         * sysdeps/sparc/nptl/internaltypes.h: Delete.
44126         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
44127         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
44128         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
44129         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
44130         * sysdeps/sparc/nptl/sem_init.c: Likewise.
44131         * sysdeps/sparc/nptl/sem_post.c: Likewise.
44132         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
44133         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
44134         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
44135         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
44136         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
44137         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
44139 2014-07-09  Andreas Schwab  <schwab@suse.de>
44141         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
44142         output.
44143         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44144         (do_test): Likewise.
44146         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44148 2014-07-09  Will Newton  <will.newton@linaro.org>
44150         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
44151         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44152         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
44153         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
44154         * sysdeps/hppa/start.S (_start): Likewise.
44156 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44158         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
44160         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
44161         defined.
44163 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44165         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
44166         after checking that it is non-NULL.
44168         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
44170 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44172         * sysdeps/powerpc/memmove.c: Remove file.
44173         * sysdeps/powerpc/powerpc32/power4/memcopy.h
44174         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
44175         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44176         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44177         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44178         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44179         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44180         string memmove instead of removed powerpc one.
44182         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44183         [weak_alias]: Fix compiler warning due trailing data.
44184         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44185         [weak_alias]: Likewise.
44186         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44187         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44190         (__libc_ifunc_impl_list): Add memmove functions.
44192 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44194         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44195         Remove code.
44196         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
44197         Likewise.
44198         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
44199         Likewise.
44200         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
44201         Likewise.
44202         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
44203         Likewise.
44204         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
44205         Likewise.
44206         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
44207         Likewise.
44208         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44209         Likewise.
44210         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
44211         Likewise.
44212         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
44213         Likewise.
44214         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
44215         Likewise.
44216         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
44217         Likewise.
44218         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
44219         Likewise.
44220         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
44221         Likewise.
44222         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44223         Likewise.
44224         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
44225         Likewise.
44226         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
44227         Likewise.
44229 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44231         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
44232         to avoid alignment traps in non-cacheable memory.
44233         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
44236         multiarch objects.
44237         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44238         file: multiarch power7 memmove.
44239         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
44240         multiarch default memmove.
44241         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
44242         multiarch memove for powerpc32/power4.
44244         * string/bcopy.c: Use full path to include memmove.c.
44245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
44246         multiarch objects.
44247         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
44248         bcopy for powerpc64.
44249         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44250         bcopy for powerpc64.
44251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
44252         and memmove implementations.
44253         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
44254         optimized multiarch memmove for POWER7/powerpc64.
44255         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
44256         default multiarch memmove for powerpc64.
44257         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
44258         multiarch for powerpc64.
44259         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
44260         for POWER7/powerpc64.
44261         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
44262         memmove for POWER7/powerpc64.
44264         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
44265         glibc default one.
44267         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
44268         __ELF_NATIVE_CLASS equal to 64.
44270 2014-07-07  Roland McGrath  <roland@hack.frob.com>
44272         * sysdeps/nptl/lowlevellock.h: File removed.
44274         * NEWS: NPTL is no longer an add-on!
44275         * nptl/internaltypes.h: Moved ...
44276         * sysdeps/nptl/internaltypes.h: ... here.
44277         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44278         * sysdeps/nptl/fork.c: Likewise.
44279         * sysdeps/nptl/gai_misc.h: Likewise.
44280         * sysdeps/nptl/librt-cancellation.c: Likewise.
44281         * sysdeps/nptl/jmp-unwind.c: Likewise.
44282         * sysdeps/nptl/setxid.h: Likewise.
44283         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44284         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44285         * sysdeps/unix/sysv/linux/arm/Implies: New file.
44286         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44287         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44288         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44289         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44290         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44291         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44292         * sysdeps/unix/sysv/linux/mips/Implies: New file.
44293         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44294         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44295         * sysdeps/unix/sysv/linux/sh/Implies: New file.
44296         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44297         * sysdeps/unix/sysv/linux/tile/Implies: New file.
44298         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44299         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44300         * nptl/Makeconfig: Moved ...
44301         * sysdeps/nptl/Makeconfig: ... here.
44302         * nptl/configure: File removed.
44303         * nptl/ANNOUNCE: File removed.
44304         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44305         * sysdeps/unix/sysv/linux/configure: Regenerated.
44307         * nptl/Makefile (routines): Add libc_pthread_init,
44308         libc_multiple_threads, register-atfork and unregister-atfork.
44309         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44310         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44311         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44312         pthread-pi-defines.sym, structsem.sym.
44313         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44314         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44315         [$(subdir) = nptl] (tests): Add tst-setgetname.
44316         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44317         * sysdeps/unix/sysv/linux/sigaction.c: Just include
44318         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44319         [!LIBC_SIGACTION]: Remove aliases.
44320         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44321         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44322         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44323         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44324         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44325         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44326         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44327         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44328         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44329         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44330         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44331         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44332         __libc_allocate_rtsig_private.
44333         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44334         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44335         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44336         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44337         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44338         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44339         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44340         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44341         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44342         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44343         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44344         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44345         * nptl/internaltypes.h: ... here.
44346         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44347         * sysdeps/nptl/jmp-unwind.c: ... here.
44348         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44349         * nptl/libc-lowlevellock.c: ... here.
44350         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44351         * nptl/libc_multiple_threads.c: ... here.
44352         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44353         * nptl/libc_pthread_init.c: ... here.
44354         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44355         * nptl/lowlevelbarrier.sym: ... here.
44356         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44357         * nptl/lowlevelcond.sym: ... here.
44358         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44359         * nptl/lowlevellock.c: ... here.
44360         * nptl/lowlevellock.h: Moved ...
44361         * sysdeps/nptl/lowlevellock.h: ... here.
44362         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44363         * nptl/lowlevelrobustlock.c: ... here.
44364         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44365         * nptl/lowlevelrobustlock.sym: ... here.
44366         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44367         * nptl/lowlevelrwlock.sym: ... here.
44368         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44369         * nptl/pt-fork.c: ... here.
44370         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44371         * nptl/pthread-pi-defines.sym: ... here.
44372         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44373         * nptl/pthread_attr_getaffinity.c: ... here.
44374         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44375         * nptl/pthread_attr_setaffinity.c: ... here.
44376         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44377         * nptl/pthread_mutex_cond_lock.c: ... here.
44378         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44379         Update #include.
44380         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44381         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44382         * nptl/pthread_once.c: ... here, replacing old file.
44383         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44384         * nptl/pthread_yield.c: ... here.
44385         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44386         * nptl/register-atfork.c: ... here.
44387         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44388         * nptl/sem_post.c: ... here.
44389         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44390         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44391         * nptl/sem_timedwait.c: ... here.
44392         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44393         * nptl/sem_trywait.c: ... here.
44394         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44395         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44396         * nptl/sem_wait.c: ... here.
44397         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44398         * nptl/structsem.sym: ... here.
44399         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44400         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44401         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44402         * nptl/unregister-atfork.c: ... here.
44403         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44404         * nptl/unwindbuf.sym: ... here.
44405         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44406         * sysdeps/nptl/fork.c: ... here.
44407         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44408         * sysdeps/nptl/fork.h: ... here.
44409         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44410         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44411         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44412         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44413         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44414         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44415         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44416         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44417         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44418         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44419         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44420         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44421         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44422         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44423         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44424         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44425         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44426         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44427         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44428         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44429         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44430         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44431         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44432         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44433         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44434         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44435         * sysdeps/unix/sysv/linux/raise.c: ... here.
44436         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44437         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44438         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44439         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44440         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44441         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44442         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44443         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44444         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44445         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44446         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44447         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44448         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44449         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44450         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44452 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44454         * sysdeps/generic/memcopy.h: Add comment for
44455         MEMCPY_OK_FOR_FWD_MEMMOVE.
44457 2014-07-04  Will Newton  <will.newton@linaro.org>
44459         * string/memchr.c: Merge from gnulib.
44460         [_LIBC]: Remove conditionals.
44461         (__ptr_t): Remove define.
44462         (LONG_MAX_32_BITS): Likewise.
44463         (LONG_MAX): Likewise.
44464         (MEMCHR): Use ANSI prototype and optimize algorithm.
44466         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44468 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44470         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44471         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44473         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44474         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44475         in a bare environment with no <stdlib.h> installed.
44476         * sysdeps/nptl/configure: Regenerated.
44478         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44480         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44481         AC_EGREP_CPP for kernel header checks, so they only succeed if
44482         including <linux/version.h> actually works right.
44483         * sysdeps/unix/sysv/linux/configure: Regenerated.
44485         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44486         value so it's not diagnosed as unused.
44488         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44489         thing) with "ifeq ($(subdir),rt)".
44491 2014-07-03  Richard Henderson  <rth@redhat.com>
44493         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44494         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44495         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44497         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44498         (math_force_eval): New.
44500         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44501         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44503         * sysdeps/alpha/fpu/s_round.c: Remove file.
44504         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44506         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44507         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44508         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44509         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44510         (_dl_start, print_statistics): Likewise.
44511         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44512         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44514         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44515         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44516         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44517         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44518         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44519         (HP_SMALL_TIMING_AVAIL): Define.
44520         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44521         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44522         (HP_SMALL_TIMING_AVAIL): Define.
44523         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44524         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44526         * sysdeps/aarch64/hp-timing.h: New file.
44528         * sysdeps/generic/hp-timing.h: Remove dead comment.
44529         * sysdeps/generic/hp-timing-common.h: New file.
44530         * sysdeps/alpha/hp-timing.h: Include it.
44531         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44532         * sysdeps/i386/i686/hp-timing.h: Likewise.
44533         * sysdeps/ia64/hp-timing.h: Likewise.
44534         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44535         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44536         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44537         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44538         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44539         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44540         (hp_timing_t): New.
44542         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44543         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44544         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44545         * elf/rtld.c (_dl_start_final): Likewise.
44546         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44547         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44548         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44549         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44550         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44551         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44552         (HP_TIMING_DIFF_INIT): Remove.
44553         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44554         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44555         (HP_TIMING_DIFF_INIT): Remove.
44556         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44557         * sysdeps/i386/i686/hp-timing.c: Remove file.
44558         * sysdeps/x86_64/hp-timing.c: Remove file.
44559         * sysdeps/ia64/hp-timing.c: Remove file.
44560         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44561         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44562         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44563         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44565         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44566         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44567         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44568         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44569         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44570         (HP_TIMING_ACCUM): Remove.
44571         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44572         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44573         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44575         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44576         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44577         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44578         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44579         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44580         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44581         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44582         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44584         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44586 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44588         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44590 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44592         Sync up with gettext.
44593         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44594         [_MSC_VER]: Include malloc.h
44595         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44596         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44597         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44598         TEMP_FAILURE_RETRY.  Cast return of alloca.
44599         [!_LIBC] Call gl_rwlock_init.
44600         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44602 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44604         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44605         before checking its value.
44607 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44609         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44611         * debug/memcpy_chk.c: Don't include pagecopy.h.
44612         * debug/mempcpy_chk.c: Likewise.
44613         * string/memcpy.c: Likewise.
44614         * string/memmove.c: Likewise.
44615         * sysdeps/powerpc/memmove.c: Likewise.
44616         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44617         definition of PAGE_COPY_FWD_MAYBE here...
44618         * sysdeps/generic/pagecopy.h: ... from here.
44619         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44621 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44622             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44624         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44626         optimizations.
44627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44628         (__libc_ifunc_impl_list): Likewise.
44629         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44630         multiarch strcat for PPC64.
44631         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44632         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44634 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44636         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44638 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44640         * intl/loadmsgcat.c: Remove declaration of
44641         get_sysdep_segment_value.
44642         (get_sysdep_segment_value): Use ISO C style.
44643         (_nl_load_domain): Use ISO C style.  Get rid of redundant
44644         semicolon.  Fix typo and formatting in comment.
44645         (_nl_unload_domain): Use ISO C style.
44647         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44649 2014-07-02  Will Newton  <will.newton@linaro.org>
44651         * malloc/obstack.c: Merge from gnulib master.
44652         [HAVE_CONFIG_H]: Remove conditional code.
44653         [!_LIBC]: Include config.h.
44654         [!ELIDE_CODE]: Don't include inttypes.h, include
44655         stdint.h unconditionally.
44656         (print_and_abort): Mark as _Noreturn.
44657         (_obstack_allocated_p): Mark as __attribute_pure__.
44658         (obstack_free): Rename to __obstack_free.
44659         [!__attribute__]: Remove conditional code.
44660         * malloc/obstack.h: Merge from gnulib master.
44661         [__cplusplus]: Move conditional down.
44662         [!__attribute_pure__]: Define __attribute_pure__ here
44663         if it is not already defined.
44664         (_obstack_memory_used): Mark as __attribute_pure__.
44665         [!__obstack_free]: Define as obstack_free.
44666         [__GNUC__]: Remove check for ancient NeXT gcc.
44668 2014-07-02  Will Newton  <will.newton@linaro.org>
44669             Paul Eggert  <eggert@cs.ucla.edu>
44671         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44673 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44675         * resolv/gethnamaddr.c: Add comment warning that the file is
44676         not maintained.
44678 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
44680         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44681         entries.
44683         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
44684         entry for aio_cancel and aio_cancel64.
44685         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
44686         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
44687         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44688         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
44689         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
44690         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
44691         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
44692         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
44693         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
44694         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
44695         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
44696         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
44697         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
44699 2014-07-01  Roland McGrath  <roland@hack.frob.com>
44701         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
44702         * nptl/pthread_mutex_lock.c: Likewise.
44703         * nptl/pthread_mutex_timedlock.c: Likewise.
44704         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
44706 2014-07-01  Richard henderson  <rth@redhat.com>
44708         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
44709         (__isnan, __isnanl): Remove.
44710         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
44712         * sysdeps/alpha/fpu/libm-test-ulps: Update.
44714 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44716         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44718 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44720         * resolv/nss_dns/dns-host.c (getanswer_r)
44721         [MULTI_PTRS_ARE_ALIASES]: Remove code.
44723 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
44725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44726         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
44727         undefine.
44728         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
44729         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
44731 2014-07-01  Roland McGrath <roland@hack.frob.com>
44733         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
44734         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
44736         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
44737         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
44739         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
44740         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
44741         ... here.
44742         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
44743         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
44745         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
44746         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
44747         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
44748         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
44750         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
44751         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
44752         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44753         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
44754         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
44755         Moved ...
44756         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
44757         ... here.
44758         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
44759         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
44760         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
44761         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
44762         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
44763         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
44764         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
44765         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44766         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
44767         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
44768         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
44769         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
44770         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
44771         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
44772         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
44773         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
44774         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
44775         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
44776         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
44777         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
44778         ... here.
44779         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
44780         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
44781         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
44782         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
44783         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
44784         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
44785         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
44786         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
44788 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
44790         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
44791         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
44792         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
44793         Add sysdep.
44795 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44799 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44801         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
44802         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44804         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44806         * sysdeps/arm/libm-test-ulps: Regenerated.
44808 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44809             Roland McGrath <roland@hack.frob.com>
44811         * test-skeleton.c (signal_handler): Kill the whole process group
44812         before killing the child individually.
44813         (main): Report any failure on `setpgid'.
44815 2014-06-30  Roland McGrath  <roland@hack.frob.com>
44817         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
44818         from _TLS_H to _ARM_NPTL_TLS_H.
44819         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
44820         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
44822 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44824         [BZ #16539]
44825         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
44826         (__expm1l): Return argument unchanged when small but not
44827         subnormal.
44829         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44830         include macro name.
44831         (_FP_UNPACK_RAW_1_P): Likewise.
44832         (_FP_PACK_RAW_1): Likewise.
44833         (_FP_PACK_RAW_1_P): Likewise.
44834         (_FP_MUL_MEAT_1_wide): Likewise.
44835         (_FP_MUL_MEAT_DW_1_hard): Likewise.
44836         (_FP_MUL_MEAT_1_hard): Likewise.
44837         (_FP_DIV_MEAT_1_imm): Likewise.
44838         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
44839         (_FP_DIV_MEAT_1_udiv): Likewise.
44840         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
44841         (_FP_UNPACK_RAW_2): Likewise.
44842         (_FP_UNPACK_RAW_2_P): Likewise.
44843         (_FP_PACK_RAW_2): Likewise.
44844         (_FP_PACK_RAW_2_P): Likewise.
44845         (_FP_MUL_MEAT_DW_2_wide): Likewise.
44846         (_FP_MUL_MEAT_2_wide): Likewise.
44847         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
44848         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44849         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
44850         (_FP_MUL_MEAT_2_gmp): Likewise.
44851         (_FP_DIV_MEAT_2_udiv): Likewise.
44852         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
44853         (_FP_FRAC_SRL_4): Likewise.
44854         (_FP_FRAC_SRST_4): Likewise.
44855         (_FP_FRAC_SRS_4): Likewise.
44856         (_FP_UNPACK_RAW_4): Likewise.
44857         (_FP_UNPACK_RAW_4_P): Likewise.
44858         (_FP_PACK_RAW_4): Likewise.
44859         (_FP_PACK_RAW_4_P): Likewise.
44860         (_FP_MUL_MEAT_DW_4_wide): Likewise.
44861         (_FP_MUL_MEAT_4_wide): Likewise.
44862         (_FP_MUL_MEAT_4_gmp): Likewise.
44863         (umul_ppppmnnn): Likewise.
44864         (_FP_DIV_MEAT_4_udiv): Likewise.
44865         (__FP_FRAC_ADD_4): Likewise.
44866         (__FP_FRAC_SUB_3): Likewise.
44867         (__FP_FRAC_SUB_4): Likewise.
44868         (__FP_FRAC_DEC_3): Likewise.
44869         (__FP_FRAC_DEC_4): Likewise.
44870         (__FP_FRAC_ADDI_4): Likewise.
44871         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
44872         (_FP_FRAC_SRL_8): Likewise.
44873         (_FP_FRAC_SRS_8): Likewise.
44875         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
44876         include macro name.
44877         (FP_UNPACK_RAW_EP): Likewise.
44878         (FP_PACK_RAW_E): Likewise.
44879         (FP_PACK_RAW_EP): Likewise.
44880         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
44881         (_FP_ISSIGNAN): Likewise.
44882         (_FP_ADD_INTERNAL): Likewise.
44883         (_FP_FMA): Likewise.
44884         (_FP_CMP): Likewise.
44885         (_FP_SQRT): Likewise.
44886         (_FP_TO_INT): Likewise.
44887         (_FP_FROM_INT): Likewise.
44888         (FP_EXTEND): Likewise.
44889         (_FP_DIV_MEAT_N_loop): Likewise.
44891 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44893         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
44894         throughout.
44896 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
44898         [BZ #17097]
44899         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
44900         result with correct sign in case of exponents that produce
44901         overflow except for X very close to 1.
44903 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
44905         mktime: merge #if/#ifdef usage from glibc
44906         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
44907         as that works with both Glibc's and Gnulib's style.
44908         See thread starting at Siddhesh Poyarekar's bug report at:
44909         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
44911 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44913         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
44914         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
44915         * sysdeps/tile/tilegx/memmove.c: Remove file.
44917 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44919         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44920         abi-name definition.
44921         * scripts/soversions.awk: Do not handle or generate ABI lines.
44922         * shlib-versions: Remove ABI entries.
44923         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44924         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44926 2014-06-27  Roland McGrath  <roland@hack.frob.com>
44928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44929         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44930         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44931         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44933         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44934         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44935         Moved ...
44936         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44937         ... here.
44938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44939         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44941         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44943         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44945         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44947         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44948         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44949         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44950         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44951         Moved ...
44952         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44954         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44956         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44958         Moved ...
44959         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44961         Moved ...
44962         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44964         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44966         Moved ...
44967         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44969         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44971         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44973         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44975         Moved ...
44976         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44978         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44979         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44980         Moved ...
44981         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44982         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44983         Moved ...
44984         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44985         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44986         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44987         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44988         Moved ...
44989         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44990         ... here.
44991         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44992         Identical file removed.
44993         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44994         Moved ...
44995         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44996         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44997         Identical file removed.
44998         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44999         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
45000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
45001         Moved ...
45002         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
45003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
45004         Identical file removed.
45005         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
45006         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
45007         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
45008         Identical file removed.
45009         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
45010         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
45011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
45012         Identical file removed.
45013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
45014         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
45015         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
45016         Identical file removed.
45017         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
45018         Moved ...
45019         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
45020         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
45021         Identical file removed.
45022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
45023         Moved ...
45024         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
45025         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
45026         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
45027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
45028         Identical file removed.
45029         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
45030         Moved ...
45031         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
45032         ... here.
45033         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
45034         Identical file removed.
45035         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
45036         Moved ...
45037         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
45038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
45039         Identical file removed.
45040         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
45041         Moved ...
45042         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
45043         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
45044         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
45045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
45046         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
45047         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
45048         Moved ...
45049         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
45050         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
45051         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
45053         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
45054         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
45055         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
45056         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
45057         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
45059 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
45061         [BZ #17092]
45062         * nscd/nscd.c (monitor_child): Return exit status of child
45063         instead of return value from wait syscall.
45065 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45067         * configure.ac (libc_commonpagesize): Remove variable.
45068         (libc_relro_required): Likewise.
45069         (libc_cv_z_relro): Remove configure test.
45070         * configure: Regenerated.
45071         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
45072         variable.
45073         (libc_relro_required): Likewise.
45074         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
45075         (libc_relro_required): Likewise.
45076         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
45077         (libc_relro_required): Likewise.
45078         * sysdeps/arm/preconfigure: Regenerated.
45079         * sysdeps/ia64/preconfigure: Remove file.
45080         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
45081         variable.
45082         (libc_relro_required): Likewise.
45084         [BZ #16561]
45085         [BZ #16562]
45086         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
45087         (__ieee754_yn): Set FE_TONEAREST mode internally and then
45088         recompute overflowing results in original rounding mode.
45089         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
45090         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
45091         recompute overflowing results in original rounding mode.
45092         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
45093         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45094         recompute overflowing results in original rounding mode.
45095         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
45096         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45097         recompute overflowing results in original rounding mode.
45098         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
45099         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45100         recompute overflowing results in original rounding mode.
45101         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
45102         (libc_feholdsetround_ctx): New macro.
45103         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
45104         * sysdeps/i386/fpu/libm-test-ulps: Update.
45105         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
45107 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45109         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
45110         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
45111         corresponding .cpsetup call.
45113 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45115         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
45116         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
45117         * sysdeps/arm/Makefile [$(subdir) = csu]
45118         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
45119         (static-only-routines): Add aeabi_read_tp here.
45120         (shared-only-routines): Add libc-aeabi_read_tp here.
45121         (CFLAGS-libc-start.c): Add -fexceptions here.
45122         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
45123         (sysdep_routines, static-only-routines, shared-only-routines):
45124         Don't add to these here.
45125         (CFLAGS-libc-start.c): Likewise.
45127         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
45128         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45129         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
45130         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45131         * sysdeps/arm/Makefile [$(subdir) = rt]
45132         (librt-sysdep_routines, librt-shared-only-routines):
45133         Append rt-aeabi_unwind_cpp_pr1 here.
45134         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
45135         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
45136         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
45137         (libpthread-sysdep_routines, libpthread-shared-only-routines):
45138         Append nptl-aeabi_unwind_cpp_pr1 here.
45139         (tests): Filter out tst-cleanupx4 here.
45140         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
45141         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
45142         Don't do those here.
45144 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45146         * scripts/list-sources.sh: Do not handle ports specially.
45148 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45150         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45151         * sysdeps/arm/feupdateenv.c: Likewise.
45153         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
45155 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45157         * manual/texinfo.tex: Update to version 2014-05-05.10 with
45158         trailing whitespace removed.
45159         * scripts/config.guess: Update to version 2014-03-23.
45160         * scripts/config.sub: Update to version 2014-05-01
45161         * scripts/install-sh: Update to version 2013-12-25.23.
45162         * scripts/move-if-change: Update from gnulib.
45164 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45166         * debug/memmove_chk.c: Remove pagecopy.h include.
45168 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
45170         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
45171         identical to gnulib mktime.
45173 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45175         * configure.ac: Do not test for machine being rs6000.  Do not test
45176         for powerpc*-*soft.
45177         * configure: Regenerated.
45179         [BZ #11505]
45180         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45181         test.
45182         * configure: Regenerated.
45183         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45184         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45185         Remove configure test.
45186         * sysdeps/arm/configure: Regenerated.
45187         * sysdeps/nptl/configure.ac: Do not check
45188         libc_cv_asm_cfi_directives.
45189         * sysdeps/nptl/configure: Regenerated.
45190         * sysdeps/x86_64/nptl/configure.ac: Remove file.
45191         * sysdeps/x86_64/nptl/configure: Remove generated file.
45192         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45193         unconditional.
45194         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45196 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45198         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
45199         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
45200         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
45201         it is defined.
45203         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
45204         instead of whether it is defined.
45205         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
45206         * sysdeps/hppa/dl-machine.h: Likewise.
45207         * sysdeps/ia64/dl-machine.h: Likewise.
45208         * sysdeps/m68k/dl-machine.h: Likewise.
45209         * sysdeps/microblaze/dl-machine.h: Likewise.
45210         * sysdeps/mips/dl-machine.: Likewise.
45211         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45212         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45213         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45214         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45215         * sysdeps/sh/dl-machine.h: Likewise.
45216         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45217         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45218         * sysdeps/tile/dl-machine.h: Likewise.
45219         * sysdeps/x86_64/dl-machine.h: Likewise.
45221         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
45222         code.
45223         (verify_persistent_db): Likewise.
45225 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
45228         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
45229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
45230         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
45231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45232         Moved ...
45233         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
45234         ... here.
45235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
45236         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
45237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
45238         Identical file removed.
45239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45240         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
45241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
45242         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
45243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
45244         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
45246         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
45247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
45248         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
45249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45250         Moved ...
45251         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
45252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
45253         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
45254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
45255         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
45256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45257         Moved ...
45258         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
45259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
45260         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
45261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
45262         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
45263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45264         Identical file removed.
45265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
45266         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
45267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
45268         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45270         Moved ...
45271         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
45272         ... here.
45273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
45274         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
45275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45276         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45278         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45280         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45282         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45284         Moved ...
45285         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45287         Moved ...
45288         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45290         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45292         Moved ...
45293         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45295         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45297         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45298         folded into ...
45299         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45300         * sysdeps/unix/sysv/linux/s390/Versions
45301         (libpthread: GLIBC_2.19): New version set.
45302         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45303         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45304         (librt: GLIBC_2.3.3): New version set.
45305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45306         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45307         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45308         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45309         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45310         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45311         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45312         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45313         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45314         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45315         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45316         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45317         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45318         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45319         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45320         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45321         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45322         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45323         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45324         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45325         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45326         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45327         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45328         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45329         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45330         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45331         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45332         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45333         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45334         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45335         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45336         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45338         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45341         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45343         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45345         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45347         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45349         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45351         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45352         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45353         (__libc_vfork): Define the function under this name.
45354         [!NOT_IN_libc] (__vfork): Make this an alias.
45355         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45357         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45358         (__libc_vfork): Define the function under this name.
45359         [!NOT_IN_libc] (__vfork): Make this an alias.
45360         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45361         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45362         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45363         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45365         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45367         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45368         code that was previously under [RESET_PID].
45369         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45370         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45373         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45374         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45375         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45376         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45377         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45378         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45379         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45380         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45381         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45382         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45383         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45384         Moved ...
45385         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45386         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45387         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45388         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45389         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45390         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45391         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45392         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45393         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45394         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45395         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45396         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45397         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45398         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45399         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45400         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45401         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45402         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45403         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45404         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45405         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45406         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45407         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45408         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45409         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45410         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45411         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45412         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45413         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45415 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45417         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45418         that was previously under [RESET_PID].
45419         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45421 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45423         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45424         not undefine and redefine.
45425         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45426         [O_CLOEXEC]: Make code unconditional.
45427         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45428         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45429         <kernel-features.h>.
45430         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45431         conditional variable definition.
45432         (shm_open) [O_CLOEXEC]: Make code unconditional.
45433         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45434         code.
45436         * configure.ac (USE_REGPARMS): Don't define here.
45437         * configure: Regenerated.
45438         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45439         * sysdeps/i386/configure: Regenerated.
45441         * nptl/createthread.c: Don't include kernel-features.h.
45442         * nptl/pthread_cancel.c: Likewise.
45443         * nptl/pthread_condattr_setclock.c: Likewise.
45444         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45445         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45446         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45447         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45448         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45449         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45450         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45452         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45453         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45454         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45455         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45456         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45457         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45458         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45459         * nscd/gai.c: Likewise.
45460         * nss/nss_db/db-open.c: Likewise.
45461         * sysdeps/generic/ldsodefs.h: Likewise.
45462         * sysdeps/sh/nptl/tls.h: Likewise.
45463         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45464         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45465         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45466         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45467         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45468         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45469         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45470         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45471         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45472         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45473         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45474         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45475         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45476         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45477         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45478         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45479         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45480         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45481         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45482         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45485         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45486         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45487         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45490         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45491         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45492         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45493         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45494         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45495         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45496         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45497         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45498         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45499         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45500         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45501         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45502         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45503         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45504         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45505         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45506         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45507         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45508         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45509         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45510         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45511         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45512         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45513         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45514         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45515         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45516         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45517         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45518         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45519         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45520         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45543         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45544         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45545         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45546         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45547         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45548         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45549         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45550         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45551         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45552         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45553         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45554         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45555         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45556         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45557         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45558         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45559         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45560         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45561         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45562         * sysdeps/unix/sysv/linux/system.c: Likewise.
45563         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45564         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45565         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45566         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45567         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45568         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45569         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45571         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45572         * configure: Regenerated.
45573         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45575         * configure.ac (base_machine): Do not set specially for particular
45576         machines here.
45577         * configure: Regenerated.
45578         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45579         settings from configure.ac.
45580         * sysdeps/i386/preconfigure: New file.
45581         * sysdeps/s390/preconfigure: Likewise.
45582         * sysdeps/sh/preconfigure: Likewise.
45583         * sysdeps/sparc/preconfigure: Likewise.
45585 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45587         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45588         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45589         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45590         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45591         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45592         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45593         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45594         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45595         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45596         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45597         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45598         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45599         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45600         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45601         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45602         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45603         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45604         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45605         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45607         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45608         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45609         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45610         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45611         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45612         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45613         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45614         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45615         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45616         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45617         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45618         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45619         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45620         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45621         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45622         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45623         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45624         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45625         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45626         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45628         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45629         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45630         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45631         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45632         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45633         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45634         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45635         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45636         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45637         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45638         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45639         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45640         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45641         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45642         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45643         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45644         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45647         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45649         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45651         Moved ...
45652         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45653         ... here.
45654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45655         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45657         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45659         Moved ...
45660         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45662         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45664         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45666         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45668         Moved ...
45669         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45671         Moved ...
45672         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45674         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45676         Moved ...
45677         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45679         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45681         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
45682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
45683         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
45684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
45685         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
45686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45687         Moved ...
45688         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
45689         ... here.
45690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
45691         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
45692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
45693         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
45694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
45695         Moved ...
45696         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
45697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
45698         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
45699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
45700         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
45701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
45702         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
45703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45704         Moved ...
45705         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
45706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45707         Moved ...
45708         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
45709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
45710         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
45711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45712         Moved ...
45713         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
45714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
45715         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
45716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
45717         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
45719 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45721         * timezone/checktab.awk: Update from tzcode 2014e.
45722         * timezone/private.h: Likewise.
45723         * timezone/tzfile.h: Likewise.
45724         * timezone/zdump.c: Likewise.
45725         * timezone/zic.c: Likewise.
45727         * sysdeps/unix/sysv/linux/kernel-features.h
45728         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
45729         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
45730         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
45731         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45732         Remove conditional code.
45734 2014-06-25  Will Newton  <will.newton@linaro.org>
45736         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
45737         (_dl_arm_cap_flags): Add HWCAP2 values.
45738         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
45739         (_DL_HWCAP_COUNT): Increase to 37.
45740         (_DL_HWCAP_LAST): New define.
45741         (_DL_HWCAP2_LAST): New define.
45742         (_dl_procinfo): Add support for printing
45743         AT_HWCAP2 entries.
45744         (_dl_string_hwcap): Use _dl_hwcap_string.
45746 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45750 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45752         * README: Do not mention ports directory.
45754         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
45755         Remove macro.
45756         * sysdeps/unix/sysv/linux/futimes.c: Do not include
45757         <kernel-features.h>.
45758         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
45759         conditional variable definition.
45760         (__futimes): Update comment.
45761         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
45762         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
45764         [BZ #16560]
45765         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
45766         arguments close to 0.
45767         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
45768         Likewise.
45769         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
45770         Likewise.
45771         * math/auto-libm-test-in: Add more tests of exp10.
45772         * math/auto-libm-test-out: Regenerated.
45773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45775         * sysdeps/unix/sysv/linux/kernel-features.h
45776         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
45777         * sysdeps/unix/sysv/linux/readv.c: Do not include
45778         <kernel-features.h>.
45779         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45780         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45781         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45782         unconditional.
45783         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45784         conditional code.
45785         * sysdeps/unix/sysv/linux/writev.c: Do not include
45786         <kernel-features.h>.
45787         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45788         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45789         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45790         unconditional.
45791         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45792         conditional code.
45794 2014-06-25  Will Newton  <will.newton@linaro.org>
45796         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
45797         comment changes throughout the file.  Remove checks
45798         for HAVE_*_H definitions that are not required.
45799         (__gen_tempname): Call abort if an unknown kind value is
45800         passed.
45802 2014-06-25  Andreas Schwab  <schwab@suse.de>
45804         [BZ #17086]
45805         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
45806         scalbln, scalblnf, scalblnl in libc.
45808 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45810         [BZ #17086]
45811         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
45812         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45813         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45815 2014-06-24  Roland McGrath  <roland@hack.frob.com>
45817         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
45818         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
45819         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
45820         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
45821         Update #include.
45822         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
45823         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
45824         Update #include.
45825         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
45826         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
45827         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
45828         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
45829         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
45830         * sysdeps/x86/bits/pthreadtypes.h: ... here.
45831         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
45832         * sysdeps/x86/bits/semaphore.h: ... here.
45833         * sysdeps/x86/nptl/elide.h: Moved ...
45834         * sysdeps/x86/elide.h: ... here.
45835         * sysdeps/x86_64/nptl/Implies: File removed.
45836         * sysdeps/i386/nptl/Implies: File removed.
45838 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
45840         [BZ #16539]
45841         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
45842         return the argument for normal arguments with exponent below -64.
45843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45844         Likewise.
45845         * math/auto-libm-test-in: Add another test of expm1.
45846         * math/auto-libm-test-out: Regenerated.
45848         [BZ #16287]
45849         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
45850         calling __erfcl for arguments at least 16.
45851         * math/auto-libm-test-in: Add more tests of erf.
45852         * math/auto-libm-test-out: Regenerated.
45854         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
45855         individual architectures.
45856         * sysdeps/unix/sysv/linux/configure: Regenerated.
45857         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
45858         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45859         * sysdeps/unix/sysv/linux/powerpc/configure.ac
45860         (ldd_rewrite_script): Define variable.
45861         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
45863         file.
45864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
45865         generated file.
45866         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
45867         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
45868         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
45869         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
45870         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
45871         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
45872         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
45873         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
45875 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45877         [BZ #17084]
45878         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
45879         Rename member __data.d to __data.__elision_data.
45881 2014-06-24  Wilco  <wdijkstr@arm.com>
45883         * NEWS: Add 16918 to fixed bug list.
45885 2014-06-24  Wilco  <wdijkstr@arm.com>
45887         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
45889 2014-06-24  Wilco  <wdijkstr@arm.com>
45891         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
45892         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
45893         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
45894         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
45895         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45896         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
45897         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
45898         Use _FPU_MASK_RM.
45900 2014-06-24  Wilco  <wdijkstr@arm.com>
45902         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
45904 2014-06-24  Wilco  <wdijkstr@arm.com>
45906         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
45907         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
45908         * sysdeps/arm/fesetround.c (fesetround): Remove space.
45909         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
45911 2014-06-24  Wilco  <wdijkstr@arm.com>
45913         [BZ #16918]
45914         * sysdeps/arm/feupdateenv.c (feupdateenv):
45915         Rewrite to reduce FPSCR accesses and fix return value.
45917 2014-06-24  Wilco  <wdijkstr@arm.com>
45919         * sysdeps/arm/fclrexcpt.c (feclearexcept):
45920         Optimize to avoid unnecessary FPSCR writes.
45921         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45922         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45923         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45924         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45926 2014-06-24  Wilco  <wdijkstr@arm.com>
45928         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45929         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45930         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45931         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45932         Call libc_fetestexcept_vfp.
45933         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45934         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45935         __SOFTFP__ ifdef so that they can be built for softfp.
45937 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45939         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45940         argument type signed char.
45942         * Makerules (check-abi): Dump diff of symlist if the test
45943         fails.
45945 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45947         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45948         using abort.
45950         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45951         Remove unused variable ST.
45953 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45955         [BZ #16354]
45956         [BZ #17061]
45957         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45958         small arguments before calling __expm1.
45959         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45960         small arguments before calling __expm1f.
45961         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45962         small arguments before calling __expm1l.
45963         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45964         Likewise.
45965         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45966         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45967         spurious underflow for some cosh tests.
45968         * math/auto-libm-test-out: Regenerated.
45969         * sysdeps/i386/fpu/libm-test-ulps: Update.
45971         [BZ #17050]
45972         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45973         (__ieee754_y1): Set errno if return value overflows.
45974         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45975         (__ieee754_y1f): Set errno if return value overflows.
45976         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45977         (__ieee754_y1l): Set errno if return value overflows.
45978         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45979         (__ieee754_y1l): Set errno if return value overflows.
45980         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45981         * math/auto-libm-test-out: Regenerated.
45983         * math/gen-auto-libm-tests.c: Document use of
45984         ignore-zero-inf-sign.
45985         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45986         (input_flags): Add ignore-zero-inf-sign.
45987         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45988         * math/gen-libm-test.pl (generate_testfile): Handle
45989         ignore-zero-inf-sign.
45990         * math/auto-libm-test-in: Mark some cpow tests with
45991         ignore-zero-inf-sign and some with xfail-rounding.
45992         * math/auto-libm-test-out: Regenerated.
45993         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45994         * sysdeps/i386/fpu/libm-test-ulps: Update.
45995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45997         [BZ #16315]
45998         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45999         overflowing or underflowing operations take place with sign of
46000         result.
46001         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46002         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46003         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
46004         (__ieee754_pow): Recompute overflowing and underflowing results in
46005         original rounding mode.
46006         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
46007         (__powl_helper): Allow negative argument X and scale negated value
46008         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
46009         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
46010         overflowing or underflowing operations take place with sign of
46011         result.
46012         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
46013         Include <math.h>.
46014         * math/auto-libm-test-in: Add more tests of pow.
46015         * math/auto-libm-test-out: Regenerated.
46016         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
46017         (pow_tonearest_test_data): Remove.
46018         (pow_test_tonearest): Likewise.
46019         (pow_towardzero_test_data): Likewise.
46020         (pow_test_towardzero): Likewise.
46021         (pow_downward_test_data): Likewise.
46022         (pow_test_downward): Likewise.
46023         (pow_upward_test_data): Likewise.
46024         (pow_test_upward): Likewise.
46025         (main): Don't call removed functions.
46026         * sysdeps/i386/fpu/libm-test-ulps: Update.
46027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46029 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
46032         Moved ...
46033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
46034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46035         Moved ...
46036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
46037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46038         Moved ...
46039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
46040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46041         Moved ...
46042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
46043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46044         File removed.
46045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46046         File removed.
46047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
46048         File removed.
46049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
46050         File removed.
46051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
46052         File removed.
46053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
46054         File removed.
46055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
46056         File removed.
46057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46058         File removed.
46059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
46060         File removed.
46061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46062         File removed.
46063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
46064         File removed.
46065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
46066         File removed.
46067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
46068         Moved ...
46069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
46070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
46071         Moved ...
46072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46073         ... here.
46074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
46075         Moved ...
46076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
46077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
46078         Moved ...
46079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
46080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
46081         Moved ...
46082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
46083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
46084         Moved ...
46085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
46086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
46087         Moved ...
46088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
46089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
46090         Moved ...
46091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
46092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
46093         Moved ...
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
46095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
46096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
46097         ... here.
46098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
46099         Moved ...
46100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
46101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46102         Moved ...
46103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
46104         ... here.
46105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
46106         Moved ...
46107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
46108         ... here.
46109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46110         Moved ...
46111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
46112         ... here.
46113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46114         Moved ...
46115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
46116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46117         Moved ...
46118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
46119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
46120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
46121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46122         Moved ...
46123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
46124         ... here.
46125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46126         Moved ...
46127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
46128         ... here.
46129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46130         Moved ...
46131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
46132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46133         Moved ...
46134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
46135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46136         Moved ...
46137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
46138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46139         Moved ...
46140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
46141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46142         Moved ...
46143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
46144         ... here.
46145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46146         Moved ...
46147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
46148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46149         Moved ...
46150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
46151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46152         Moved ...
46153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
46154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46155         Moved ...
46156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
46157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
46158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
46159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46160         Moved ...
46161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
46162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46163         Moved ...
46164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
46165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46166         Moved ...
46167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
46168         ... here.
46169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46170         Moved ...
46171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
46172         ... here.
46173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46174         Moved ...
46175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46176         ... here.
46177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46178         Moved ...
46179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46181         Moved ...
46182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46184         Moved ...
46185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46187         Moved ...
46188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46189         ... here.
46190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46191         Moved ...
46192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46193         ... here.
46194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46195         Moved ...
46196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
46197         ... here.
46198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46199         Moved ...
46200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
46201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46202         Moved ...
46203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
46205 2014-06-23  Will Newton  <will.newton@linaro.org>
46206             Wilco  <wdijkstr@arm.com>
46208         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
46209         implementation.  Include get-rounding-mode.h.
46210         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
46211         [!libc_feholdsetround_noex_ctx]: Define
46212         libc_feholdsetround_noex_ctx.
46213         [!libc_feholdsetround_noexf_ctx]: Define
46214         libc_feholdsetround_noexf_ctx.
46215         [!libc_feholdsetround_noexl_ctx]: Define
46216         libc_feholdsetround_noexl_ctx.
46217         (libc_feholdsetround_ctx): New function.
46218         (libc_feresetround_ctx): New function.
46219         (libc_feholdsetround_noex_ctx): New function.
46220         (libc_feresetround_noex_ctx): New function.
46222 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46224         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
46225         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
46226         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
46227         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
46228         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
46229         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
46231         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
46232         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
46233         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
46234         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
46235         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
46236         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
46237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
46238         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
46239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
46240         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
46241         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
46242         Moved ...
46243         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
46244         ... here.
46245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
46246         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
46247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
46248         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
46249         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
46250         Moved ...
46251         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
46252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
46253         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
46254         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
46255         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
46256         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
46257         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
46258         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
46259         Moved ...
46260         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
46261         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
46262         Moved ...
46263         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
46264         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
46265         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
46266         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
46267         Moved ...
46268         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
46269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
46270         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
46271         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
46272         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
46273         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46274         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
46275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46276         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46277         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46278         Moved ...
46279         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46280         ... here.
46281         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46282         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46283         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46284         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46285         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46286         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46287         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46288         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46289         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46290         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46291         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46292         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46293         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46294         Moved ...
46295         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46296         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46297         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46299         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46300         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46301         Moved ...
46302         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46303         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46304         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46305         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46306         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46308         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46309         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46310         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46311         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46312         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46313         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46314         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46315         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46316         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46317         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46318         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46319         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46320         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46321         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46322         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46323         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46324         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46325         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46326         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46327         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46328         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46329         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46330         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46331         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46332         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46333         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46334         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46335         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46337 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46339         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46340         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46341         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46342         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46343         (IPV6_PMTUDISC_INTERFACE): Likewise.
46344         (IPV6_PMTUDISC_OMIT): Likewise.
46346 2014-06-23  Andreas Schwab  <schwab@suse.de>
46348         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46349         Remove unused errout label.
46351 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46353         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46354         macro: hardware supports Vector Crypto instructions.
46356 2014-06-23  Will Newton  <will.newton@linaro.org>
46358         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46359         rather than __builtin_expect.
46361         * elf/dl-lookup.c (undefined_msg): Remove variable.
46362         (_dl_lookup_symbol_x): Replace undefined_msg with string
46363         literal.
46365         * elf/dl-lookup.c (do_lookup_unique): New function.
46366         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46367         to a separate function.
46369 2014-06-23  Andreas Schwab  <schwab@suse.de>
46371         [BZ #17079]
46372         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46373         before reading the next line.
46375 2014-06-23  Will Newton  <will.newton@linaro.org>
46377         * test-skeleton.c (signal_handler): Use printf and %m
46378         rather than perror.  Use printf rather than fprintf to
46379         stderr.  Use puts rather than fputs to stderr.
46380         (main): Likewise.
46382 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46384         * nscd/nscd.c (thread_info_t): Remove typedef.
46385         (thread_info): Remove variable.
46387 2014-06-21  Allan McRae  <allan@archlinux.org>
46389         * NEWS: Mention CVE-2014-4043.
46391 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46393         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46394         * nptl/smp.h: ... here.
46396         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46398         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46399         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46400         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46401         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46403         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46404         * nptl/stack-aliasing.h: New file.
46405         * sysdeps/i386/i686/stack-aliasing.h: New file.
46406         * sysdeps/i386/i686/nptl/Makefile: File removed.
46407         * sysdeps/x86_64/stack-aliasing.h: New file.
46408         * sysdeps/x86_64/nptl/Makefile
46409         (CFLAGS-pthread_create.c): Variable removed.
46411         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46412         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46413         old file.
46414         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46415         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46416         old file.
46418 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46420         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46421         (__ASSUME_SIGFRAME_V2): Remove macro.
46422         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46423         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46424         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46425         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46426         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46427         Declare as function.  Remove conditional macro definitions.
46428         (__default_rt_sa_restorer): Likewise.
46429         (__default_sa_restorer_v1): Remove declaration.
46430         (__default_sa_restorer_v2): Likewise.
46431         (__default_rt_sa_restorer_v1): Likewise.
46432         (__default_rt_sa_restorer_v2): Likewise.
46433         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46434         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46435         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46437 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46439         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46440         (libpthread-routines): Add sysdep.
46441         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46442         * sysdeps/unix/sysv/linux/sparc/Versions
46443         (libpthread: GLIBC_2.3.3): New version set.
46444         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46445         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46446         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46447         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46448         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46449         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46450         Moved ...
46451         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46452         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46453         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46454         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46455         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46456         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46457         * sysdeps/sparc/nptl/sem_init.c: ... here.
46458         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46459         * sysdeps/sparc/nptl/sem_post.c: ... here.
46460         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46461         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46462         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46463         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46464         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46465         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46466         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46467         (libpthread-routines): Add cpu_relax.
46468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46469         File removed.
46470         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46471         (librt: GLIBC_2.3.3): New version set.
46472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46473         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46474         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46475         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46478         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46480         Moved ...
46481         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46483         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46485         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46487         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46489         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46491         Moved ...
46492         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46493         Update #include.
46494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46495         Moved ...
46496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46497         Update #include.
46498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46499         Moved ...
46500         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46501         Update #include.
46502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46503         Moved ...
46504         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46505         Update #include.
46506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46507         Moved ...
46508         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46509         Update #include.
46510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46511         Moved ...
46512         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46513         Update #include.
46514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46515         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46521         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46523         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46525         Moved ...
46526         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46528         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46530         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46532 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46534         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46535         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46536         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46537         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46538         * nscd/nscd.c: Likewise.
46539         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46540         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46541         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46542         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46544         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46545         <kernel-features.h>.
46546         (init_mq_netlink): Remove conditional have_sock_cloexec
46547         definitions.  Remove code conditional on have_sock_cloexec < 0.
46548         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46549         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46550         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46551         <kernel-features.h>.
46552         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46553         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46555 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46558         Add tests for memset_chk and memset.
46560         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46561         with AVX2_Usable.
46563 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46565         [BZ #16046]
46566         * elf/tst-dl-iter-static.c: New file.
46567         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46569         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46570         error.
46572 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46574         * sysdeps/unix/sysv/linux/kernel-features.h
46575         (__ASSUME_F_GETOWN_EX): Remove macro.
46576         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46577         <kernel-features.h>.
46578         (miss_F_GETOWN_EX): Remove variable or macro.
46579         (do_fcntl): Do not check miss_F_GETOWN_EX.
46580         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46583         Remove macro.
46584         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46585         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46586         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46588         * sysdeps/unix/sysv/linux/kernel-features.h
46589         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46590         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46591         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46592         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46594 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46596         [BZ #17075]
46597         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46598         Fix calculation of the symbol's value.
46599         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46600         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46601         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46602         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46603         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46604         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46605         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46606         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46607         (modules-names): Add `tst-armtlsdescmod',
46608         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46609         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46610         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46611         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46612         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46613         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46614         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46615         ($(objpfx)tst-armtlsdescloc): New dependency.
46616         ($(objpfx)tst-armtlsdescextnow): Likewise.
46617         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46618         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46619         TLS scheme support.
46620         * sysdeps/arm/configure: Regenerate.
46622 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46624         * include/fcntl.h (__atfct_seterrno): Remove prototype.
46625         (__atfct_seterrno_2): Likewise.
46626         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46627         <kernel-features.h>.
46628         (__ASSUME_ATFCTS): Do not undefine and redefine.
46629         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46630         (__have_atfcts): Remove conditional definition.
46631         (__fxstatat([__NR_fstatat64]: Make code unconditional.
46632         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46633         unreachable if [__ASSUME_ATFCTS].
46634         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46635         not undefine and redefine.
46636         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46637         <kernel-features.h>.
46638         (faccessat) [__NR_faccessat]: Make code unconditional.
46639         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46640         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46641         <kernel-features.h>.
46642         (fchmodat) [__NR_fchmodat]: Make code unconditional.
46643         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46644         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46645         <kernel-features.h>.
46646         (fchownat) [__NR_fchownat]: Make code unconditional.
46647         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46648         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46649         <kernel-features.h>.
46650         (futimesat) [__NR_futimesat]: Make code unconditional.
46651         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46652         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46653         <kernel-features.h>.
46654         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46655         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46656         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46657         <kernel-features.h>.
46658         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46659         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46660         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46661         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46662         <kernel-features.h>.
46663         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46664         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46665         * sysdeps/unix/sysv/linux/linkat.c: Do not include
46666         <kernel-features.h>.
46667         (linkat) [__NR_linkat]: Make code unconditional.
46668         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46669         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46670         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46671         <kernel-features.h>.
46672         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46673         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46674         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46675         <kernel-features.h>.
46676         (mkdirat) [__NR_mkdirat]: Make code unconditional.
46677         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46678         * sysdeps/unix/sysv/linux/openat.c: Do not include
46679         <kernel-features.h>.
46680         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46681         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
46682         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
46683         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
46684         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
46685         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
46686         <kernel-features.h>.
46687         (readlinkat) [__NR_readlinkat]: Make code unconditional.
46688         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
46689         result of INLINE_SYSCALL directly, not via int variable.
46690         * sysdeps/unix/sysv/linux/renameat.c: Do not include
46691         <kernel-features.h>.
46692         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
46693         (renameat) [__NR_renameat]: Make code unconditional.
46694         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
46695         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
46696         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
46697         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
46698         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
46699         (__ASSUME_ATFCTS): Do not undefine and redefine.
46700         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
46701         <kernel-features.h>.
46702         (symlinkat) [__NR_symlinkat]: Make code unconditional.
46703         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46704         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
46705         <kernel-features.h>.
46706         (unlinkat) [__NR_unlinkat]: Make code unconditional.
46707         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46708         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
46709         (__ASSUME_ATFCTS): Do not undefine and redefine.
46710         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46711         <kernel-features.h>.
46712         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46713         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46714         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46715         <kernel-features.h>.
46716         (__xmknodat) [__NR_mknodat]: Make code unconditional.
46717         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46719 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46721         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
46723 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
46725         [BZ #17069]
46726         * posix/regcomp.c (parse_reg_exp): Deallocate partially
46727         constructed tree before returning error.
46728         * posix/bug-regexp36.c: Expand test case.
46730 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
46732         [BZ #6803]
46733         * math/libm-test.inc (scalbln_test_date):
46734         Add errno expectations.
46735         * math/w_scalblnf.c: New File.
46736         Add wrapper which checks for setting errno to ERANGE.
46737         Add weak_alias for corresponding scalbln function.
46738         * math/w_scalbln.c: Likewise.
46739         * math/w_scalblnl.c: Likewise.
46740         * math/Makefile (libm-calls): Add w_scalbln.
46741         * sysdeps/ieee754/flt-32/s_scalblnf.c:
46742         Remove weak_alias for corresponding scalbln function.
46743         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46744         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46745         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46746         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46747         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
46748         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46749         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
46750         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46751         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
46752         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
46753         Remove long_double_symbol for scalblnl function in libm, libc.
46754         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
46755         Add wrapper which checks for setting errno to ERANGE.
46756         Add long_double_symbol for scalblnl function in libm, libc.
46757         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
46758         Remove long_double_symbol for scalblnl in libm.
46759         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
46760         Add wrapper which checks for setting errno to ERANGE.
46761         Add long_double_symbol for scalblnl function in libm.
46762         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
46763         Do not use wrapper because of own implementation.
46765 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
46767         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
46768         3 bytes for __pad1 for x32.
46769         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
46771 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
46772             H.J. Lu  <hongjiu.lu@intel.com>
46774         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
46775         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
46776         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46777         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46778         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
46780 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
46782         [BZ #17069]
46783         * posix/regcomp.c (parse_expression): Deallocate partially
46784         constructed tree before returning error.
46785         * posix/Makefile.c (tests): Add bug-regex36.
46786         (generated): Add bug-regex36.mtrace.
46787         (tests-special): Add $(objpfx)bug-regex36-mem.out
46788         (bug-regex36-ENV): New variable.
46789         ($(objpfx)bug-regex36-mem.out): New rule.
46790         * posix/bug-regex36.c: New file.
46792 2014-06-19  Will Newton  <will.newton@linaro.org>
46794         * malloc/malloc.c (systrim): If extra is zero then return
46795         early.
46797 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46799         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
46801 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
46803         * sysdeps/aarch64/strchr.S: New file.
46805 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46807         [BZ #17022]
46808         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
46809         from arguments -2 or below.
46810         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46811         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
46813 2014-06-18  Andreas Schwab  <schwab@suse.de>
46815         [BZ #17062]
46816         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
46817         of a bracket expr not to run off the end of the string.
46818         * posix/Makefile (tests): Add tst-fnmatch3.
46819         * posix/tst-fnmatch3.c: New file.
46821 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46823         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
46824         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46825         [$(cross-compiling) = no]: Likewise.
46826         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46827         [$(cross-compiling) = no]: Likewise.
46829 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46831         [BZ #17031]
46832         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
46833         double, adjusted for any remainder from the high double.
46834         * math/libm-test.inc (nearbyint): Add tests.
46835         (rint): Likewise.
46837 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46839         * nptl/sysdeps/powerpc/Makefile: Moved ...
46840         * sysdeps/powerpc/nptl/Makefile: ... here.
46841         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46842         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
46843         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
46844         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
46845         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46846         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
46847         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
46848         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
46849         * nptl/sysdeps/powerpc/tls.h: Moved ...
46850         * sysdeps/powerpc/nptl/tls.h: ... here.
46852 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
46854         [BZ #16681]
46855         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
46856         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
46857         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46858         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
46859         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
46860         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
46861         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
46862         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
46863         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
46865 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
46867         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46869 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
46871         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
46872         defined operator.
46874         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
46875         $TIMEOUTFACTOR.
46877 2014-06-16  Florian Weimer  <fweimer@redhat.com>
46879         [BZ #17058]
46880         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
46881         non-executed part of the test.
46883 2014-06-16  Andreas Schwab  <schwab@suse.de>
46885         * string/bits/string2.h (strdup, strndup): Update feature guard.
46887 2014-06-14  David S. Miller  <davem@davemloft.net>
46889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46891 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
46893         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
46894         that was previously under [RESET_PID].
46895         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
46897         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
46898         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
46899         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
46900         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46901         (__libc_vfork): New strong alias.
46902         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
46904 2014-06-14 Andi Kleen  <ak@linux.intel.com>
46906         * sysdeps/generic/elide.h: New file.
46908 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
46910         * Makefile (installed-headers): Adjust path of pthread.h header.
46912 2014-06-13  Roland McGrath  <roland@hack.frob.com>
46914         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
46915         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
46916         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46917         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46919         * nptl/sysdeps/s390/Makefile: Moved ...
46920         * sysdeps/s390/nptl/Makefile: ... here.
46921         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46922         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46923         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46924         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46925         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46926         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46927         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46928         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46929         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46930         * sysdeps/s390/nptl/pthreaddef.h: ... here.
46931         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46932         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46933         * nptl/sysdeps/s390/tls.h: Moved ...
46934         * sysdeps/s390/nptl/tls.h: ... here.
46936         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46937         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46939 2014-06-13  David S. Miller  <davem@davemloft.net>
46941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46944         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46948         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46949         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46950         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46951         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46952         Remove RESET_PID cpp guards.
46953         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46954         Remove RESET_PID cpp guards.
46955         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46957 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46959         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46960         __sp to uintptr_t.
46962 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46964         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46966         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46967         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46968         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46970         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46971         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46972         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46973         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46974         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46975         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46976         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46977         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46978         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46979         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46980         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46981         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46982         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46983         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46985         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46986         (pthread_rwlock_rdlock): Add elision.
46987         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46988         (pthread_rwlock_wrlock): Add elision.
46989         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46990         (pthread_rwlock_trywrlock): Add elision.
46991         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46992         (pthread_rwlock_tryrdlock): Add elision.
46993         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46994         (pthread_rwlock_tryrdlock): Add elision unlock.
46995         * nptl/sysdeps/pthread/pthread.h:
46996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46997         (PTHREAD_RWLOCK_INITIALIZER,
46998         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46999         Handle new elision field.
47000         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
47001         * sysdeps/arm/nptl/bits/pthreadtypes.h
47002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47003         * sysdeps/sh/nptl/bits/pthreadtypes.h
47004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47005         * sysdeps/tile/nptl/bits/pthreadtypes.h
47006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47007         * sysdeps/a/nptl/bits/pthreadtypes.h
47008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47009         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47011         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47013         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
47014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47015         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47016         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47017         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47019         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47020         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47021         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47022         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47023         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
47024         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47025         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
47026         (elision_init): Set try_xbegin to zero when no RTM.
47027         * sysdeps/x86/nptl/bits/pthreadtypes.h
47028         (pthread_rwlock_t): Change __pad1 to __rwelision.
47029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47031 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47033         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
47034         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
47035         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
47036         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
47038 2014-06-13  Meador Inge  <meadori@codesourcery.com>
47040         [BZ #16996]
47041         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
47042         that the cached result has been set before returning it.
47044 2014-06-12  Roland McGrath  <roland@hack.frob.com>
47046         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
47047         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
47048         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
47049         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
47050         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
47051         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
47053         * nptl/sysdeps/sparc/Makefile: Moved ...
47054         * sysdeps/sparc/nptl/Makefile: ... here.
47055         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
47056         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
47057         * nptl/sysdeps/sparc/tls.h: Moved ...
47058         * sysdeps/sparc/nptl/tls.h: ... here.
47059         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
47060         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
47061         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
47062         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
47063         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
47064         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
47065         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
47066         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
47067         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
47068         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
47069         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
47070         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
47071         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
47072         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
47073         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
47074         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
47075         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
47076         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
47077         Update #include.
47078         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
47079         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
47080         Update #include.
47081         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
47082         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
47083         Update #include.
47084         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
47085         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
47086         Update #include.
47088         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47090         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
47091         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
47093         * sysdeps/pthread/posix-timer.h: Include <list.h>.
47094         (struct list_links): Type removed.
47095         (struct thread_node, struct timer_node): Replace struct list_links
47096         with struct list_head.
47097         (list_unlink_ip): Likewise.
47098         * sysdeps/pthread/timer_routines.c
47099         (timer_free_list, thread_free_list, thread_active_list): Likewise.
47100         (list_append, list_insbefore): Likewise.
47101         (list_init): Function removed.
47102         (thread_init, init_module): Use INIT_LIST_HEAD instead.
47103         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
47104         * sysdeps/pthread/Makefile: ... here, new file.
47106         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
47107         * sysdeps/nptl/Implies: ... here.
47108         * sysdeps/unix/sysv/linux/Implies: Add nptl.
47109         * nptl/sysdeps/pthread/list.h: Moved ...
47110         * include/list.h: ... here.
47111         * nptl/sysdeps/pthread/createthread.c: Moved ...
47112         * nptl/createthread.c: ... here.
47113         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
47114         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
47115         * nptl/pt-longjmp.c: ... here.
47116         * nptl/sysdeps/pthread/Makefile: Moved ...
47117         * sysdeps/nptl/Makefile: ... here.
47118         * nptl/sysdeps/pthread/Subdirs: Moved ...
47119         * sysdeps/nptl/Subdirs: ... here.
47120         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
47121         * sysdeps/nptl/aio_misc.h: ... here.
47122         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
47123         * sysdeps/nptl/bits/libc-lock.h: ... here.
47124         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
47125         * sysdeps/nptl/bits/libc-lockP.h: ... here.
47126         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
47127         * sysdeps/nptl/bits/stdio-lock.h: ... here.
47128         * nptl/sysdeps/pthread/configure: Moved ...
47129         * sysdeps/nptl/configure: ... here.
47130         * nptl/sysdeps/pthread/configure.ac: Moved ...
47131         * sysdeps/nptl/configure.ac: ... here.
47132         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
47133         * sysdeps/nptl/gai_misc.h: ... here.
47134         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
47135         * sysdeps/nptl/librt-cancellation.c: ... here.
47136         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47137         * sysdeps/nptl/malloc-machine.h: ... here.
47138         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
47139         * sysdeps/nptl/pthread-functions.h: ... here.
47140         * nptl/sysdeps/pthread/pthread.h: Moved ...
47141         * sysdeps/nptl/pthread.h: ... here.
47142         * nptl/sysdeps/pthread/setxid.h: Moved ...
47143         * sysdeps/nptl/setxid.h: ... here.
47144         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
47145         * sysdeps/nptl/sigfillset.c: ... here.
47146         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
47147         * sysdeps/nptl/tcb-offsets.h: ... here.
47148         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
47149         * sysdeps/nptl/tst-mqueue8x.c: ... here.
47150         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
47151         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
47152         * nptl/sysdeps/pthread/allocalim.h: Moved ...
47153         * sysdeps/pthread/allocalim.h: ... here.
47154         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
47155         * sysdeps/pthread/bits/sigthread.h: ... here.
47156         * nptl/sysdeps/pthread/flockfile.c: Moved ...
47157         * sysdeps/pthread/flockfile.c: ... here.
47158         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
47159         * sysdeps/pthread/ftrylockfile.c: ... here.
47160         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
47161         * sysdeps/pthread/funlockfile.c: ... here.
47162         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
47163         * sysdeps/pthread/posix-timer.h: ... here.
47164         * nptl/sysdeps/pthread/timer_create.c: Moved ...
47165         * sysdeps/pthread/timer_create.c: ... here.
47166         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
47167         * sysdeps/pthread/timer_delete.c: ... here.
47168         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
47169         * sysdeps/pthread/timer_getoverr.c: ... here.
47170         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
47171         * sysdeps/pthread/timer_gettime.c: ... here.
47172         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
47173         * sysdeps/pthread/timer_routines.c: ... here.
47174         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
47175         * sysdeps/pthread/timer_settime.c: ... here.
47176         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47177         * sysdeps/pthread/tst-timer.c: ... here.
47178         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47179         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47181         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47182         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47184         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47185         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47186         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47187         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47188         Update #include target.
47189         * nptl/sysdeps/i386/i686/Makefile: Moved ...
47190         * sysdeps/i386/i686/nptl/Makefile: ... here.
47191         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47192         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47193         Update #include target.
47194         * nptl/sysdeps/i386/i686/tls.h: Moved ...
47195         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
47196         * nptl/sysdeps/i386/Makefile: Moved ...
47197         * sysdeps/i386/nptl/Makefile: ... here.
47198         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
47199         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
47200         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
47201         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
47202         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
47203         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
47204         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
47205         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
47206         * sysdeps/i386/nptl/pthreaddef.h: ... here.
47207         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
47208         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
47209         * nptl/sysdeps/i386/tls.h: Moved ...
47210         * sysdeps/i386/nptl/tls.h: ... here.
47212         * sysdeps/sh/Makefile [$(subdir) = csu]
47213         (gen-as-const-headers): Add tcb-offsets.sym.
47214         * nptl/sysdeps/sh/Makefile: File removed.
47215         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
47216         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
47217         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
47218         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
47219         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
47220         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
47221         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
47222         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
47223         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
47224         * sysdeps/sh/nptl/pthreaddef.h: ... here.
47225         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
47226         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
47227         * nptl/sysdeps/sh/tls.h: Moved ...
47228         * sysdeps/sh/nptl/tls.h: ... here.
47229         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
47230         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
47231         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
47232         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
47233         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
47234         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
47235         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
47236         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
47237         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
47238         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
47239         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
47240         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
47241         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
47242         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
47243         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
47244         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
47245         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
47246         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
47247         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
47248         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
47249         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
47250         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
47251         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
47252         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
47253         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
47254         Moved ...
47255         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
47256         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
47257         Moved ...
47258         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
47259         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
47260         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
47261         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
47262         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
47263         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
47264         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
47265         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
47266         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
47267         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
47268         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
47269         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
47270         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
47271         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
47272         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
47273         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
47274         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
47275         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47276         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47278 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
47280         * posix/spawn_faction_addopen.c: Include string.h.
47282 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47284         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47285         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47286         * nptl/sysdeps/x86_64/Makefile: Moved ...
47287         * sysdeps/x86_64/nptl/Makefile: ... here.
47288         * nptl/sysdeps/x86_64/configure: Moved ...
47289         * sysdeps/x86_64/nptl/configure: ... here.
47290         * nptl/sysdeps/x86_64/configure.ac: Moved ...
47291         * sysdeps/x86_64/nptl/configure.ac: ... here.
47292         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47293         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47294         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47295         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47296         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47297         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47298         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47299         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47300         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47301         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47302         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47303         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47304         * nptl/sysdeps/x86_64/tls.h: Moved ...
47305         * sysdeps/x86_64/nptl/tls.h: ... here.
47306         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47307         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47308         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47309         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47311         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47313 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47317 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
47319         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47320         type.
47321         [POSIX] (off_t): Likewise.
47322         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47323         [POSIX] (S_ISBLK): Require macro.
47324         [POSIX] (S_ISCHR): Likewise.
47325         [POSIX] (S_ISDIR): Likewise.
47326         [POSIX] (S_ISFIFO): Likewise.
47327         [POSIX] (S_ISREG): Likewise.
47328         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47329         optional-macro.
47330         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47331         type.
47332         [POSIX] (time_t): Likewise.
47333         [POSIX] (timer_t): Likewise.
47335 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47337         [BZ #17048]
47338         * posix/spawn_int.h (struct __spawn_action): Make the path string
47339         non-const to support deallocation.
47340         * posix/spawn_faction_addopen.c
47341         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47342         * posix/spawn_faction_destroy.c
47343         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47344         path in all spawn_do_open actions.
47345         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47346         posix_spawn_file_actions_addopen.
47348 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47350         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47351         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47352         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47353         conditional code always true.
47354         (__libc_vfork): New alias.
47356 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47358         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47359         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47361         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47363         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47364         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47366         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47367         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47369         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47370         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47372 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47374         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47375         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47376         multiarch strcmp for PPC64.
47377         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47378         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47380         multiarch optimizations.
47381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47382         (__libc_ifunc_impl_list): Likewise.
47384 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47386         * benchtests/scripts/validate_benchout.py: New script.
47387         * benchtests/Makefile (bench-func): Call it.
47388         * benchtests/scripts/benchout.schema.json: New file.
47390 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47392         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47393         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47394         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47395         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47396         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47397         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47398         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47399         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47400         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47401         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47402         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47403         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47404         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47405         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47406         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47407         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47409         Moved ...
47410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47411         ... here.
47412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47413         Moved ...
47414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47416         Moved ...
47417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47418         ... here.
47419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47420         Moved ...
47421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47422         ... here.
47423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47424         Moved ...
47425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47427         Moved ...
47428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47429         ... here.
47430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47431         Moved ...
47432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47433         ... here.
47434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47435         Moved ...
47436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47438         Moved ...
47439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47440         ... here.
47441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47442         Moved ...
47443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47444         ... here.
47445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47446         Moved ...
47447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47448         ... here.
47449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47450         Moved ...
47451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47453         Moved ...
47454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47455         ... here.
47456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47457         Moved ...
47458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47459         ... here.
47460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47461         Moved ...
47462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47463         ... here.
47464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47465         Moved ...
47466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47468         Moved ...
47469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47470         ... here.
47471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47472         Moved ...
47473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47474         ... here.
47475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47476         Moved ...
47477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47479         Moved ...
47480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47481         ... here.
47482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47483         Moved ...
47484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47486         Moved ...
47487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47489         Moved ...
47490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47491         ... here.
47492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47493         Moved ...
47494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47495         ... here.
47496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47497         Moved ...
47498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47499         ... here.
47500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47501         Moved ...
47502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47504         Moved ...
47505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47506         ... here.
47507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47508         Moved ...
47509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47510         ... here.
47511         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47512         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47513         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47514         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47516         Moved ...
47517         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47518         ... here.
47519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47520         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47522         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47524         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47525         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47526         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47527         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47528         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47529         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47530         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47531         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47532         Moved ...
47533         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47534         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47535         Moved ...
47536         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47538         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47540         Moved ...
47541         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47543         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47544         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47545         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47546         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47547         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47549 2014-06-10  Wilco  <wdijkstr@arm.com>
47551         * math/test-fenv-return.c: New file.
47552         * math/Makefile: Add new test test-fenv-return.
47554 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47556         [BZ #17042]
47557         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47558         when x - 1 is zero.
47559         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47560         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47561         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47562         0.0L for an argument of 1.0L.
47563         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47564         Likewise.
47565         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47566         value when x - 1 is zero.
47567         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47568         * sysdeps/i386/fpu/libm-test-ulps: Update.
47569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47571 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47573         [BZ #15119]
47574         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47576 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47578         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47579         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47581 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47583         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47584         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47586         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47587         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47589         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47590         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47592         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47593         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47595         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47596         if not already defined.
47597         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47598         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47599         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47600         (TLS_INIT_TP): Use it.
47601         (TLS_DEFINE_INIT_TP): New macro.
47602         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47604 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47606         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47607         constant.
47608         [POSIX] (IXANY): Likewise.
47609         [POSIX] (OLCUC): Likewise.
47610         [POSIX || POSIX2008] (CBAUD): Do not allow.
47611         [POSIX || POSIX2008] (DEFECHO): Likewise.
47612         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47613         [POSIX || POSIX2008] (ECHOKE): Likewise.
47614         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47615         [POSIX || POSIX2008] (EXTA): Likewise.
47616         [POSIX || POSIX2008] (EXTB): Likewise.
47617         [POSIX || POSIX2008] (FLUSHO): Likewise.
47618         [POSIX || POSIX2008] (LOBLK): Likewise.
47619         [POSIX || POSIX2008] (PENDIN): Likewise.
47620         [POSIX || POSIX2008] (SWTCH): Likewise.
47621         [POSIX || POSIX2008] (VDISCARD): Likewise.
47622         [POSIX || POSIX2008] (VDSUSP): Likewise.
47623         [POSIX || POSIX2008] (VLNEXT): Likewise.
47624         [POSIX || POSIX2008] (VREPRINT): Likewise.
47625         [POSIX || POSIX2008] (VSTATUS): Likewise.
47626         [POSIX || POSIX2008] (VWERASE): Likewise.
47627         (B*): Change to B[0123456789]*.
47628         * conform/data/time.h-data [POSIX || UNIX98]
47629         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47630         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47631         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47632         [POSIX] (tm_*): Do not allow.
47634 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
47636         * Makefile (install): Don't set LANGUAGE.
47637         * Makefile.in (install): Likewise.
47638         * assert/Makefile (test-assert-ENV): Remove variable.
47639         (test-assert-perr-ENV): Likewise.
47640         * elf/Makefile (neededtest4-ENV): Likewise.
47641         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47642         [$(cross-compiling) = no]: Don't set LANGUAGE.
47643         * io/ftwtest-sh (LANG): Remove variable.
47644         * libio/Makefile (tst-widetext-ENV): Likewise.
47645         * manual/install.texi (Running make install): Don't refer to
47646         environment settings for make install.
47647         * INSTALL: Regenerated.
47648         * nptl/tst-tls6.sh: Don't set LANG.
47649         * posix/globtest.sh (LANG): Remove variable.
47650         * string/Makefile (tester-ENV): Likewise.
47651         (inl-tester-ENV): Likewise.
47652         (noinl-tester-ENV): Likewise.
47653         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47654         [$(cross-compiling) = no]: Don't set LANGUAGE.
47655         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47656         without explicit environment settings.
47658 2014-06-06  Roland McGrath  <roland@hack.frob.com>
47660         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47661         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47662         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47663         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47665 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
47667         * crypt/crypt-private.h [DOS]: Add some includes taken from the
47668         other files in the crypt directory.
47669         * crypt/crypt.c: Remove duplicate includes.
47670         * crypt/crypt-entry.c: Likewise.
47671         * crypt/crypt_util.c: Likewise.
47673 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
47675         * Makeconfig (run-program-env): New variable.
47676         (run-program-prefix-before-env): Likewise.
47677         (run-program-prefix-after-env): Likewise.
47678         (run-program-prefix): Define in terms of new variables.
47679         (built-program-cmd-before-env): New variable.
47680         (built-program-cmd-after-env): Likewise.
47681         (built-program-cmd): Define in terms of new variables.
47682         (test-program-prefix-before-env): New variable.
47683         (test-program-prefix-after-env): Likewise.
47684         (test-program-prefix): Define in terms of new variables.
47685         (test-program-cmd-before-env): New variable.
47686         (test-program-cmd-after-env): Likewise.
47687         (test-program-cmd): Define in terms of new variables.
47688         * Rules (make-test-out): Use $(run-program-env).
47689         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
47690         (help): Do not mention environment variables.  Mention
47691         --timeoutfactor option.
47692         (timeoutfactor): New variable.
47693         (blacklist_exports): Remove function.
47694         (exports): Remove variable.
47695         (command): Do not include ${exports}.
47696         * manual/install.texi (Configuring and compiling): Do not mention
47697         test wrappers preserving environment variables.  Mention that last
47698         assignment to a variable must take precedence.
47699         * INSTALL: Regenerated.
47700         * benchtests/Makefile (run-bench): Use $(run-program-env).
47701         * catgets/Makefile ($(objpfx)test1.cat): Use
47702         $(built-program-cmd-before-env), $(run-program-env) and
47703         $(built-program-cmd-after-env).
47704         ($(objpfx)test2.cat): Do not specify environment variables
47705         explicitly.
47706         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
47707         $(run-program-env) and $(built-program-cmd-after-env).
47708         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
47709         $(run-program-env) and $(test-program-cmd-after-env).
47710         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
47711         explicitly.
47712         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
47713         run_program_env and test_program_cmd_after_env arguments.
47714         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
47715         * elf/tst-pathopt.sh: Use run_program_env argument.
47716         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
47717         $(test-wrapper-env) and $(run-program-env).
47718         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
47719         run_program_env arguments.
47720         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
47721         * intl/Makefile ($(objpfx)tst-gettext.out): Use
47722         $(test-program-prefix-before-env), $(run-program-env) and
47723         $(test-program-prefix-after-env).
47724         ($(objpfx)tst-gettext2.out): Likewise.
47725         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
47726         run_program_env and test_program_prefix_after_env arguments.
47727         * intl/tst-gettext2.sh: Likewise.
47728         * intl/tst-gettext4.sh: Do not set environment variables
47729         explicitly.
47730         * intl/tst-gettext6.sh: Likewise.
47731         * intl/tst-translit.sh: Likewise.
47732         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
47733         $(test-program-prefix-before-env), $(run-program-env) and
47734         $(test-program-prefix-after-env).
47735         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
47736         run_program_env and test_program_prefix_after_env arguments.
47737         * math/Makefile (run-regen-ulps): Use $(run-program-env).
47738         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
47739         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
47740         explicitly with each use of ${test_wrapper_env}.
47741         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
47742         $(test-program-prefix-before-env), $(run-program-env) and
47743         $(test-program-prefix-after-env).
47744         * posix/tst-getconf.sh: Do not set environment variables
47745         explicitly.
47746         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
47747         run_program_env and test_program_prefix_after_env arguments.
47748         * stdio-common/tst-printf.sh: Do not set environment variables
47749         explicitly.
47750         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
47751         $(test-program-prefix-before-env), $(run-program-env) and
47752         $(test-program-prefix-after-env).
47753         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
47754         run_program_env and test_program_prefix_after_env arguments.
47755         Split $test calls into $test_pre and $test.
47756         * timezone/Makefile (build-testdata): Use
47757         $(built-program-cmd-before-env), $(run-program-env) and
47758         $(built-program-cmd-after-env).
47760 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47762         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
47763         strlen for non SHARED builds.
47765 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47767         * nptl/allocatestack.c (check_list): Inlined function...
47768         (__reclaim_stacks): ... here.
47770 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47772         [BZ #15698]
47773         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
47774         memory overrun.
47776 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
47778         * Rules (make-test-out): Include
47779         LOCPATH=$(common-objpfx)localedata in default environment.
47780         * debug/Makefile (tst-chk1-ENV): Remove variable.
47781         (tst-chk2-ENV): Likewise.
47782         (tst-chk3-ENV): Likewise.
47783         (tst-chk4-ENV): Likewise.
47784         (tst-chk5-ENV): Likewise.
47785         (tst-chk6-ENV): Likewise.
47786         (tst-lfschk1-ENV): Likewise.
47787         (tst-lfschk2-ENV): Likewise.
47788         (tst-lfschk3-ENV): Likewise.
47789         (tst-lfschk4-ENV): Likewise.
47790         (tst-lfschk5-ENV): Likewise.
47791         (tst-lfschk6-ENV): Likewise.
47792         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
47793         (tst-iconv7-ENV): Likewise.
47794         * intl/Makefile (LOCPATH-ENV): Likewise.
47795         (tst-codeset-ENV): Likewise.
47796         (tst-gettext3-ENV): Likewise.
47797         (tst-gettext5-ENV): Likewise.
47798         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
47799         (tst-fopenloc-ENV): Likewise.
47800         (tst-fgetws-ENV): Remove variable.
47801         (tst-ungetwc1-ENV): Likewise.
47802         (tst-ungetwc2-ENV): Likewise.
47803         (bug-ungetwc2-ENV): Likewise.
47804         (tst-swscanf-ENV): Likewise.
47805         (bug-ftell-ENV): Likewise.
47806         (tst-fgetwc-ENV): Likewise.
47807         (tst-fseek-ENV): Likewise.
47808         (tst-ftell-partial-wide-ENV): Likewise.
47809         (tst-ftell-active-handler-ENV): Likewise.
47810         (tst-ftell-append-ENV): Likewise.
47811         * posix/Makefile (tst-fnmatch-ENV): Likewise.
47812         (tst-regexloc-ENV): Likewise.
47813         (bug-regex1-ENV): Likewise.
47814         (tst-regex-ENV): Likewise.
47815         (tst-regex2-ENV): Likewise.
47816         (bug-regex5-ENV): Likewise.
47817         (bug-regex6-ENV): Likewise.
47818         (bug-regex17-ENV): Likewise.
47819         (bug-regex18-ENV): Likewise.
47820         (bug-regex19-ENV): Likewise.
47821         (bug-regex20-ENV): Likewise.
47822         (bug-regex22-ENV): Likewise.
47823         (bug-regex23-ENV): Likewise.
47824         (bug-regex25-ENV): Likewise.
47825         (bug-regex26-ENV): Likewise.
47826         (bug-regex30-ENV): Likewise.
47827         (bug-regex32-ENV): Likewise.
47828         (bug-regex33-ENV): Likewise.
47829         (bug-regex34-ENV): Likewise.
47830         (bug-regex35-ENV): Likewise.
47831         (tst-rxspencer-ENV): Likewise.
47832         (tst-rxspencer-no-utf8-ENV): Likewise.
47833         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
47834         (tst-sscanf-ENV): Likewise.
47835         (tst-swprintf-ENV): Likewise.
47836         (tst-swscanf-ENV): Likewise.
47837         (test-vfprintf-ENV): Likewise.
47838         (scanf13-ENV): Likewise.
47839         (bug14-ENV): Likewise.
47840         (tst-grouping-ENV): Likewise.
47841         * stdlib/Makefile (tst-strtod-ENV): Likewise.
47842         (tst-strtod3-ENV): Likewise.
47843         (tst-strtod4-ENV): Likewise.
47844         (tst-strtod5-ENV): Likewise.
47845         (testmb2-ENV): Likewise./
47846         * string/Makefile (tst-strxfrm-ENV): Likewise.
47847         (tst-strxfrm2-ENV): Likewise.
47848         (bug-strcoll1-ENV): Likewise.
47849         (test-strcasecmp-ENV): Likewise.
47850         (test-strncasecmp-ENV): Likewise.
47851         * time/Makefile (tst-strptime-ENV): Likewise.
47852         (tst-ftime_l-ENV): Likewise.
47853         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
47854         (tst-mbrtowc-ENV): Likewise.
47855         (tst-wcrtomb-ENV): Likewise.
47856         (tst-mbrtowc2-ENV): Likewise.
47857         (tst-c16c32-1-ENV): Likewise.
47858         (tst-mbsnrtowcs-ENV): Likewise.
47860 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47862         * manual/resource.texi (How to get information about the memory
47863         subsystem?): Fix typo.
47864         Reported by Peon de la Parra Ivan <peon@keba.com>
47866 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
47868         [BZ #16882]
47869         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
47870         (pthread_spin_lock): Branch out of spin loop to proper location.
47871         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
47872         (pthread_spin_lock): Likewise.
47874         * nptl/tst-spin4.c: New test.
47875         * nptl/Makefile (tests): Add tst-spin4.
47877 2014-06-03  Andreas Schwab  <schwab@suse.de>
47879         [BZ #15946]
47880         * resolv/res_send.c (send_dg): Reload file descriptor after
47881         calling reopen.
47883 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
47885         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47887 2014-06-03  Richard Henderson  <rth@redhat.com>
47889         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
47890         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
47891         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
47892         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
47893         in the SAVE_PID block.
47894         (__libc_vfork): New alias.
47895         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
47897         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
47898         child in registers, not on the stack.  Remove RESET_PID conditionals.
47899         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
47901 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47903         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47905 2014-06-03  Wilco  <wdijkstr@arm.com>
47907         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
47908         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
47909         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47910         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
47911         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
47912         Likewise.
47914 2014-06-03  Wilco  <wdijkstr@arm.com>
47916         * sysdeps/aarch64/fpu/math_private.h
47917         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47918         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47919         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47920         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47921         Fix declarations.
47923 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47925         * crypt/crypt-private.h: Include ufc-crypt.h.
47926         (__b64_from_24bit): Declare extern.
47927         * crypt/crypt_util.c(__b64_from_24bit): New function.
47928         (b64t): New static const variable.
47929         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47930         (b64t): Remove variable.
47931         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47932         * crypt/sha256-crypt.c: Include crypt-private.h.
47933         (b64t): Remove variable.
47934         (__sha256_crypt_r): Remove b64_from_24bit and replace
47935         with __b64_from_24bit.
47936         * crypt/sha512-crypt.c: Likewise.
47938 2014-06-02  Roland McGrath  <roland@hack.frob.com>
47940         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47941         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47942         Label the code __libc_vfork rather than __vfork.
47943         [!NOT_IN_libc] (vfork): Define as weak alias.
47944         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47945         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47946         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47948 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47950         * malloc/malloc.c (malloc_info): Fix format specifier for
47951         n_mmaps.
47953 2014-06-02  Wilco  <wdijkstr@arm.com>
47955         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47956         FPCR write.
47958 2014-06-02  Wilco  <wdijkstr@arm.com>
47960         [BZ #17009]
47961         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47962         Rewrite to reduce FPCR/FPSR accesses.
47964 2014-06-01  David S. Miller  <davem@davemloft.net>
47966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47968 2014-05-31  David S. Miller  <davem@davemloft.net>
47970         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47971         to occur in round to nearest mode when |x| >= 2.0
47973 2014-05-30  Richard Henderson  <rth@twiddle.net>
47975         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47976         (PSEUDO_RET_NOERRNO): Remove.
47977         (ret): Don't redefine.
47978         (ret_NOERRNO): Define in terms of ret.
47979         (ret_ERRVAL): Likewise.
47981         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47982         use of PSEUDO_RET; perform the error check directly.
47984 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47986         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47987         with __int128_t.
47989 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47991         * malloc/malloc (malloc_info): Fix formatting.
47993 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47994             Roland McGrath  <roland@hack.frob.com>
47996         * malloc/malloc (malloc_info): Also print mmapped statistics.
47998 2014-05-30  Roland McGrath  <roland@hack.frob.com>
48000         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
48001         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
48003 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
48005         * malloc/malloc.c (malloc_info): Inline mi_arena.
48007 2014-05-29  Richard Henderson  <rth@twiddle.net>
48009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
48010         Remove comma before expanding ASM_ARGS_##nr.
48011         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
48012         Make _x0 a strict output; make _x8 a strict input; adjust expansion
48013         of ASM_ARGS_##nr.
48014         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48015         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
48016         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
48017         (ASM_ARGS_1): Add leading comma.
48019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48020         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
48021         to __errno_location.
48022         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
48023         Remove the expected plt for __errno_location.
48025         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48026         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
48027         call to __read_tp.
48029         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48030         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
48031         it and break it down.
48032         (DOCARGS_0, DOCARGS_1): Do nothing.
48033         (DOCARGS_2): Update to store into the new stack frame.
48034         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
48035         (UNDOCARGS_1): Update to restore from the new stack frame.
48036         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
48037         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
48039         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48040         (SINGLE_THREAD_P): New parameter for result regno.
48041         (PSEUDO): Update to match; use cbz instead of beq.
48043         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48044         Use ENTRY to define the _nocancel entry point.  Share the syscall
48045         and syscall error check paths with the cancel path.
48046         (PSEUDO_END): New.
48048         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
48049         whitespace; tabs before and after asm mnemonics.
48051 2014-05-29  Eric Wong  <normalperson@yhbt.net>
48053         [BZ #15132]
48054         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48055         Call fstat64 or stat64 internally, depending on arguments passed.
48056         Replace stat buffer argument with file descriptor argument.
48057         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
48058         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48059         Pass fd to __internal_statvfs instead of calling fstat64.
48060         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
48061         Pass fd to __internal_statvfs64 instead of calling fstat64.
48062         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
48063         Pass -1 to __internal_statvfs instead of calling stat64.
48064         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
48065         Pass -1 to __internal_statvfs64 instead of calling stat64.
48067 2014-05-28  Roland McGrath  <roland@hack.frob.com>
48069         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
48070         that was previously under [RESET_PID].
48071         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
48073         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48074         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
48076 2014-05-27  Roland McGrath  <roland@hack.frob.com>
48078         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
48080         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
48081         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
48083 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
48085         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
48087 2014-05-27  Andreas Schwab  <schwab@suse.de>
48089         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
48090         TLS_INIT_TP macro.
48091         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
48092         * elf/rtld.c (init_tls, dl_main): Likewise.
48093         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
48094         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
48095         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
48096         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
48097         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48098         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
48099         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
48100         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
48101         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
48102         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
48103         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
48104         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
48105         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
48106         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
48107         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
48108         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
48109         * sysdeps/generic/tls.h: Update description.
48111 2014-05-27  Will Newton  <will.newton@linaro.org>
48113         [BZ #16990]
48114         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
48115         and restore r2 rather than just restoring.
48117 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48119         [BZ #16724]
48120         * libio/tst-ftell-append.c: New test case.
48121         * libio/Makefile (tests): Add test case.
48122         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
48123         append mode.
48124         * libio/wfileops.c (do_ftell_wide): Likewise.
48126 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48130         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
48131         ...
48132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
48133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48134         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
48135         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
48136         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
48137         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
48138         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
48139         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
48140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
48141         Moved ...
48142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
48143         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
48144         Moved ...
48145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
48146         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
48147         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
48148         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
48149         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
48150         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
48151         ...
48152         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
48153         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
48154         Moved ...
48155         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
48156         here.
48157         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
48158         ...
48159         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
48160         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
48161         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
48163         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
48164         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
48165         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
48166         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
48168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
48169         merge into ...
48170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
48171         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
48172         ...
48173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
48174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48175         ...
48176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48178         Moved ...
48179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48180         here.
48181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48182         Moved ...
48183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48185         Moved ...
48186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48189         conditional [RESET_PID].
48190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48192         removed.
48193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48194         removed.
48196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
48197         <tcb-offsets.h>.
48198         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48199         (__libc_vfork): New strong alias.
48200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
48201         removed.
48202         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
48203         Removed.
48205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
48206         <tcb-offsets.h>.
48207         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48208         (__libc_vfork): New strong alias.
48209         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
48210         removed.
48211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
48212         removed.
48214 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
48216         * malloc/malloc.c (mi_arena): New function.
48217         (malloc_info): Remove nested function mi_arena. Call non-nosted
48218         function mi_arena.
48220 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48222         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
48223         by insrwi.
48224         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
48225         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
48226         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
48227         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
48228         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
48229         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
48230         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
48232 2014-05-26  Andreas Schwab  <schwab@suse.de>
48234         [BZ #16984]
48235         * locale/programs/repertoire.c (repertoire_read): Add slash
48236         between I18NPATH element and file name.
48237         * locale/programs/locfile.c (locfile_read): Likewise.
48239 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48241         * nptl/pthread_mutexattr_settype.c
48242         (__pthread_mutexattr_settype):
48243         Disable lock elision for PTHREAD_MUTEX_NORMAL.
48245 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48247         * nptl/tst-mutex5 (do_test):
48248         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
48250 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48252         * benchtests/README: Document 'init' directive.
48253         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
48254         BENCH_INIT.
48255         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
48256         (parse_file): Recognize 'init' directive.
48258 2014-05-26  Kyle McMartin  <kyle@redhat.com>
48260         [BZ #16796]
48261         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
48262         alignment of struct pthread.
48264 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48266         [BZ #16878]
48267         * nscd/netgroupcache.c (addgetnetgrentX): Look for
48268         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48269         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
48270         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48272 2014-05-25  Richard Henderson  <rth@twiddle.net>
48274         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48275         (SINGLE_THREAD_P_PIC): Remove.
48276         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48277         (SINGLE_THREAD_P_PIC): Remove.
48279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48280         branch to syscall error ...
48281         (PSEUDO): ... here.
48282         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48283         from __local_syscall_error to .Lsyscall_error.
48284         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48285         (SYSCALL_ERROR): Update label name.
48287         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48288         Do not use DOARGS/UNDOARGS.
48289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48290         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48291         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48292         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48293         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48296         block comment.
48298         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48299         define if !NOT_IN_libc.
48300         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48301         define with non-default symbol versions.
48303 2014-05-23  Richard Henderson  <rth@twiddle.net>
48305         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48306         (vfork, __vfork): Define via compat_symbol.
48308         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48309         [!HAVE_IFUNC] (vfork_compat): Remove.
48310         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48312 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48314         [BZ #16978]
48315         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48316         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48317         variable.
48319 2014-05-23  Richard Henderson  <rth@twiddle.net>
48321         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48322         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48323         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48324         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48326         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48327         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48328         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48329         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48330         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48331         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48332         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48333         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48334         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48335         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48336         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48337         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48338         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48339         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48340         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48341         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48342         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48343         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48344         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48345         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48346         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48347         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48348         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48349         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48350         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48351         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48352         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48353         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48354         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48355         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48356         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48357         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48358         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48359         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48360         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48361         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48362         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48363         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48364         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48365         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48366         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48367         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48368         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48369         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48370         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48371         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48372         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48373         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48374         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48375         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48376         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48377         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48378         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48379         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48380         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48381         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48383         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48384         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48385         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48386         before exiting on error.
48387         (__libc_vfork): New strong alias.
48388         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48389         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48391         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48392         that was previously under [RESET_PID].
48393         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48395         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48397 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48399         [BZ #16977]
48400         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48401         value when x - 1 is zero.
48402         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48403         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48404         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48405         0.0L for an argument of 1.0L.
48406         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48407         Likewise.
48408         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48409         value when x - 1 is zero.
48410         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48411         * sysdeps/i386/fpu/libm-test-ulps: Update.
48412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48414 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48416         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48417         alphasort and versionsort.
48419 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48421         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48422         macro.
48423         [copysignf]: Likewise.
48425 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48427         * crypt/md5-crypt.c: Fix formatting.
48429 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48431         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48432         (b64_from_24bit): New function.
48434 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48436         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48437         libc_hidden_builtin_def to ifunc.
48438         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48439         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48441 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48443         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48444         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48446 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48448         * nscd/Depend (linuxthreads): Remove.
48449         (nptl): Add.
48450         * resolv/Depend (linuxthreads): Remove.
48451         * rt/Depend (linuxthreads): Remove.
48453         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48454         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48455         $(common-objpfx)elf/.
48456         (link-libc-before-gnulib): Likewise.
48457         (elfobjdir): Remove variable.
48458         * Makefile (install): Use $(elf-objpfx) instead of
48459         $(common-objpfx)elf/.
48460         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48461         $(elfobjdir)/.
48462         (link-libc-deps): Likewise.
48463         ($(common-objpfx)libc.so): Likewise.
48464         ($(common-objpfx)linkobj/libc.so): Likewise.
48465         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48466         instead of $(common-objpfx)elf/.
48467         (symbolic-link-list): Likewise.
48468         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48469         [$(cross-compiling) = no]: Likewise.
48470         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48471         $(elfobjdir)/.
48472         (static-gnulib-arch): Likewise.
48473         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48474         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48475         $(common-objpfx)elf/.
48477 2014-05-21  Richard Henderson  <rth@redhat.com>
48479         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48480         (SINGLE_THREAD_P): Use the correct width load.  Fold
48481         into the ldr offset.
48483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48484         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48486 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48488         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48489         (libgcc_s_resume): Use __attribute_used__.
48490         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48491         Likewise.
48493 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48495         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48496         optimization when used with float constants.
48498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48500 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48502         [BZ #16915]
48503         * locale/nl_langinfo_l.c: Make direct reference to every
48504         _nl_current_CATEGORY symbol.
48505         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48506         (tests-static): Add tst-langinfo-static.
48507         (tests-special): Add tst-langinfo-static.out.
48508         ($(objpfx)tst-langinfo.out): Redirect output.
48509         ($(objpfx)tst-langinfo-static.out): New.
48510         * localedata/tst-langinfo.sh: Send output to stdout.
48511         * localedata/tst-langinfo-static.c: New file.
48513         [BZ #16965]
48514         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48515         when the shift amount is modulo the limb size.
48517 2014-05-20  Richard Henderson  <rth@redhat.com>
48519         [BZ #16967]
48520         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48521         Change type of sa_flags from unsigned int to int.
48523         [BZ #16966]
48524         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48526         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48528 2014-05-20  Will Newton  <will.newton@linaro.org>
48530         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48531         Test the return value of the system call in the nocancel case.
48533 2014-05-20  Will Newton  <will.newton@linaro.org>
48534             Yvan Roux  <yvan.roux@linaro.org>
48536         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48537         #include of asm/ptrace.h.
48538         (PTRACE_GET_THREAD_AREA): Remove #undef.
48539         (PTRACE_GETHBPREGS): Likewise.
48540         (PTRACE_SETHBPREGS): Likewise.
48541         (struct user_regs_struct): New structure.
48542         (struct user_fpsimd_struct): New structure.
48543         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48544         #include of asm/ptrace.h and second #include of sys/user.h.
48545         (PTRACE_GET_THREAD_AREA): Remove #undef.
48546         (PTRACE_GETHBPREGS): Likewise.
48547         (PTRACE_SETHBPREGS): Likewise.
48548         (ELF_NGREG): Use new struct user_regs_struct.
48549         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48551 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48553         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48554         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48556 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48558         [BZ #16958]
48559         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48560         membar to avoid block loads/stores to overlap previous stores.
48562 2014-05-17  Richard Henderson  <rth@redhat.com>
48564         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48565         Create the __##syscall_name##_nocancel entry point.
48566         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48567         Remove; let the sysdep-cancel.h code create it.
48569 2014-05-17  David S. Miller  <davem@davemloft.net>
48571         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48572         Protect with __USE_GNU.
48573         (TIOCSET_TEMPT): Likewise.
48574         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48575         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48576         these are already provided in bits/ioctl-types.h
48578 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48580         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48581         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48583         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48584         Use wait4 regardless of [__NR_waitpid].
48586 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48588         PR libgcc/60166
48589         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48590         (_FP_NANSIGN_Q): Set the quiet bit.
48592 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48594         * benchtests/Makefile
48595         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48596         not $(common-objpfx)math/libm.so.
48597         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48598         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48599         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48600         $(common-objpfx)dlfcn/libdl.so.
48601         ($(objpfx)tst-audit8): Depend on $(libm), not
48602         $(common-objpfx)math/libm.so.
48603         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48604         not $(common-objpfx)dlfcn/libdl.so.
48605         * math/Makefile
48606         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48607         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48608         [$(build-shared) = yes].
48609         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48610         $(common-objpfx)nptl/libpthread.so.
48611         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48612         $(common-objpfx)math/libm.so$(libm.so-version) or
48613         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48614         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48615         $(common-objpfx)dlfcn/libdl.so.
48616         * setjmp/Makefile (link-libm): Remove variable.
48617         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48618         * stdio-common/Makefile (link-libm): Remove variable.
48619         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48620         * stdlib/Makefile (link-libm): Remove variable.
48621         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48622         ($(objpfx)tst-strtod-round): Likewise.
48623         ($(objpfx)tst-tininess): Likewise.
48624         ($(objpfx)tst-strtod-underflow): Likewise.
48625         ($(objpfx)tst-strtod6): Likewise.
48626         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48627         $(libdl), not $(common-objpfx)nptl/libpthread.so and
48628         $(common-objpfx)dlfcn/libdl.so.
48630 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48632         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48633         BSD terminal modes definitions.
48635 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48637         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48638         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48640         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48641         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48642         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48643         Don't do #include_next.
48644         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48645         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48646         Don't do #include_next.
48647         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48648         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48649         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48650         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48652 2014-05-16  Allan McRae  <allan@archlinux.org>
48654         * po/sv.po: Update Swedish translation from translation project.
48656         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48657         in sed expression.
48659 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
48661         [BZ #16917]
48662         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48663         errno if the TIOCGPTN ioctl fails with an error different than
48664         EINVAL.
48665         * login/tst-ptsname.c: New file.
48666         * login/Makefile (tests): Add tst-ptsname.
48668         [BZ #16943]
48669         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48670         and prlimit64.
48672 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48674         [BZ #16849]
48675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48676         herrno to return EAI_AGAIN.
48678 2014-05-14  Roland McGrath  <roland@hack.frob.com>
48680         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48681         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48682         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
48683         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
48684         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48685         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48686         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
48687         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
48688         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
48689         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
48690         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
48691         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
48692         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
48693         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
48694         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
48695         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
48696         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
48697         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
48698         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
48699         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
48700         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48701         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
48702         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
48703         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
48704         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
48705         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
48706         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
48707         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
48708         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
48709         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
48710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
48711         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
48712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
48713         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
48714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48715         Moved ...
48716         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
48717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
48718         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
48719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
48720         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
48721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
48722         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
48723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
48724         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
48725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
48726         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
48727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
48728         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
48729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
48730         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
48731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
48732         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
48733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
48734         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
48735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
48736         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
48737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
48738         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
48739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
48740         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
48741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
48742         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
48743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48744         Moved ...
48745         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
48746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
48747         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
48748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
48749         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
48750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
48751         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
48752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
48753         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
48754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
48755         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
48756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
48757         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
48758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
48759         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
48760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
48761         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
48762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
48763         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
48764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48765         Moved ...
48766         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
48767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
48768         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
48770         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
48771         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
48772         (libpthread-sysdep_routines): Add elision-related stuff here instead.
48773         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
48774         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
48775         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
48776         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
48777         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
48778         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
48779         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
48780         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
48781         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
48782         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
48783         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
48784         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
48785         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
48786         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
48787         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
48788         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
48789         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
48790         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
48791         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
48792         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
48793         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
48794         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
48795         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
48796         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
48797         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
48798         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
48799         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
48800         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
48802         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
48803         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
48805         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
48806         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
48807         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
48808         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
48809         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
48810         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
48811         Moved ...
48812         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
48813         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
48814         Moved ...
48815         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
48816         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
48817         Moved ...
48818         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
48819         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
48820         Moved ...
48821         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
48822         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
48823         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
48824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
48825         Moved ...
48826         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
48827         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
48828         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
48829         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
48830         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
48831         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
48832         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
48833         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
48834         Moved ...
48835         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
48836         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48837         Moved ...
48838         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48839         ... here.
48840         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
48841         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
48842         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
48843         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
48844         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48845         Moved ...
48846         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48847         ... here.
48848         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
48849         Moved ...
48850         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
48851         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
48852         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
48853         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
48854         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
48855         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
48856         Moved ...
48857         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
48858         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
48859         Moved ...
48860         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
48861         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
48862         Moved ...
48863         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
48864         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
48865         Moved ...
48866         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
48867         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
48868         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
48869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
48870         Moved ...
48871         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
48872         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
48873         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
48874         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
48875         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
48876         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
48877         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
48878         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
48879         Moved ...
48880         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
48881         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48882         Moved ...
48883         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48884         ... here.
48885         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
48886         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
48887         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
48888         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
48889         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48890         Moved ...
48891         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48892         ... here.
48893         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
48894         Moved ...
48895         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
48896         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
48897         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
48898         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
48899         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
48900         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
48901         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
48902         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
48903         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
48904         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
48905         Moved ...
48906         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
48907         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
48908         Moved ...
48909         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
48910         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
48911         Moved ...
48912         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
48913         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
48914         Moved ...
48915         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
48916         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
48917         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48918         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48919         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48920         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48921         Moved ...
48922         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48923         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48924         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48925         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48926         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48927         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48928         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48929         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48930         Moved ...
48931         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48932         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48933         Moved ...
48934         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48935         ... here.
48936         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48937         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48938         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48939         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48940         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48941         Moved ...
48942         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48943         ... here.
48944         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48945         Moved ...
48946         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48947         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48948         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48949         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48950         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48951         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48952         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48953         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48954         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48955         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48956         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48958         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48959         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48961         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48962         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48964         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48965         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48966         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48967         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48968         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48969         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48970         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48971         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48972         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48973         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48974         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48975         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48976         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48977         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48978         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48980         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48981         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48982         Moved ...
48983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48985         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48986         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48987         Moved ...
48988         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48990         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48992         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48993         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48994         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48995         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48996         Moved ...
48997         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48998         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48999         Moved ...
49000         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
49001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
49002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
49003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
49004         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
49005         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
49006         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
49007         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
49008         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
49009         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
49010         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
49011         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
49012         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
49013         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
49014         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
49015         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
49016         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
49018         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
49019         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
49020         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
49021         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
49022         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
49024         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
49025         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
49026         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
49027         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
49028         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
49029         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
49030         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
49031         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
49032         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
49033         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
49035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
49036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
49038         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
49039         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
49040         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
49041         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
49042         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
49043         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
49044         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
49045         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
49046         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
49047         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
49048         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
49049         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
49050         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
49051         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
49052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
49053         Update #include.
49054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
49055         Likewise.
49056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49057         Likewise.
49058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49059         Likewise.
49060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49061         Likewise.
49062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
49063         Likewise.
49064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
49065         Likewise.
49066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49067         Likewise.
49068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49069         Likewise.
49070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
49071         Likewise.
49072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
49073         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
49074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
49075         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
49076         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
49077         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
49078         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
49079         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
49080         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
49081         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
49082         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
49083         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
49084         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
49085         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
49086         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
49088         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
49089         that was previously under [RESET_PID].
49090         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49091         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
49092         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
49094         * sysdeps/i386/nptl/Implies: New file.
49095         * sysdeps/x86_64/nptl/Implies: New file.
49096         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
49097         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
49098         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49099         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49101         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
49102         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49103         (__libc_vfork): New strong alias.
49104         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
49105         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
49107         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
49108         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49109         (__libc_vfork): New strong alias.
49110         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
49111         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
49113         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
49114         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49115         (__libc_vfork): New strong alias.
49116         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
49117         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
49118         * nptl/pt-vfork.c: New file.
49119         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
49120         (libpthread: GLIBC_2.20): New version set (empty).
49122 2014-05-14  Will Newton  <will.newton@linaro.org>
49124         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
49125         rather than #if.
49127 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49129         [BZ #16564]
49130         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
49131         arguments with exponent 65 or above.
49132         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
49133         arguments 0x1p113L or above.
49134         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
49135         to arguments 0x1p107L or above.
49136         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
49137         positive arguments with exponent 65 or above.
49138         * math/auto-libm-test-in: Add more tests of log1p.
49139         * math/auto-libm-test-out: Regenerated.
49141         [BZ #16928]
49142         * math/s_cacos.c (__cacos): Ensure zero real part of result from
49143         non-finite arguments is +0.
49144         * math/s_cacosf.c (__cacosf): Likewise.
49145         * math/s_cacosl.c (__cacosl): Likewise.
49146         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
49147         * sysdeps/i386/fpu/libm-test-ulps: Update.
49148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49150         [BZ #16927]
49151         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
49152         value.
49153         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
49154         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
49155         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
49156         for explicit high bit of mantissa when testing for argument equal
49157         to 1.
49158         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
49159         * sysdeps/i386/fpu/libm-test-ulps: Update.
49160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49162         [BZ #16516]
49163         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
49164         (__erf): Scale by 16 instead of 8 in potentially underflowing
49165         case.  Ensure exception if result actually underflows.
49166         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
49167         (__erff): Scale by 16 instead of 8 in potentially underflowing
49168         case.  Ensure exception if result actually underflows.
49169         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
49170         (efx8): Remove variable.
49171         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49172         case.  Ensure exception if result actually underflows.
49173         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
49174         (efx8): Remove variable.
49175         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49176         case.  Ensure exception if result actually underflows.
49177         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49178         (efx8): Remove variable.
49179         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49180         case.  Ensure exception if result actually underflows.
49181         * math/auto-libm-test-in: Add more tests of erf.
49182         * math/auto-libm-test-out: Regenerated.
49184 2014-05-14  Andreas Schwab  <schwab@suse.de>
49186         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49187         Remove code conditionalized on USE___THREAD.
49189         * config.h.in (HAVE_PT_CHOWN): Define as 0.
49190         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49191         not definedness.
49193 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49195         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49196         Define unconditionally.
49197         (__ASSUME_O_CLOEXEC): Likewise.
49198         (__ASSUME_SOCK_CLOEXEC): Likewise.
49199         (__ASSUME_IN_NONBLOCK): Likewise.
49200         (__ASSUME_PIPE2): Likewise.
49201         (__ASSUME_EVENTFD2): Likewise.
49202         (__ASSUME_SIGNALFD4): Likewise.
49203         (__ASSUME_DUP3): Likewise.
49204         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49205         (__ASSUME_DUP3): Do not define.
49206         (__ASSUME_EVENTFD2): Likewise.
49207         (__ASSUME_IN_NONBLOCK): Likewise.
49208         (__ASSUME_O_CLOEXEC): Likewise.
49209         (__ASSUME_PIPE2): Likewise.
49210         (__ASSUME_SIGNALFD4): Likewise.
49211         (__ASSUME_SOCK_CLOEXEC): Likewise.
49212         (__ASSUME_UTIMES): Undefine.
49213         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49214         (__ASSUME_UTIMES): Do not define.
49215         (__ASSUME_O_CLOEXEC): Likewise.
49216         (__ASSUME_SOCK_CLOEXEC): Likewise.
49217         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
49218         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
49219         0x020621].
49220         (__ASSUME_PIPE2): Likewise.
49221         (__ASSUME_EVENTFD2): Likewise.
49222         (__ASSUME_SIGNALFD4): Likewise.
49223         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
49224         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
49225         Do not define.
49226         (__ASSUME_EVENTFD2): Likewise.
49227         (__ASSUME_SIGNALFD4): Likewise.
49228         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49229         (__ASSUME_32BITUIDS): Likewise.
49230         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49231         (__ASSUME_IPC64): Likewise.
49232         (__ASSUME_ST_INO_64_BIT): Likewise.
49233         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
49234         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49235         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49236         (__ASSUME_UTIMES): Do not define.
49237         (__ASSUME_PSELECT): Likewise.
49238         (__ASSUME_PPOLL): Likewise.
49239         (__ASSUME_O_CLOEXEC): Likewise.
49240         (__ASSUME_SOCK_CLOEXEC): Likewise.
49241         (__ASSUME_IN_NONBLOCK): Likewise.
49242         (__ASSUME_PIPE2): Likewise.
49243         (__ASSUME_EVENTFD2): Likewise.
49244         (__ASSUME_SIGNALFD4): Likewise.
49245         (__ASSUME_DUP3): Likewise.
49246         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49247         (__ASSUME_UTIMES): Likewise.
49248         (__ASSUME_O_CLOEXEC): Likewise.
49249         (__ASSUME_SOCK_CLOEXEC): Likewise.
49250         (__ASSUME_IN_NONBLOCK): Likewise.
49251         (__ASSUME_PIPE2): Likewise.
49252         (__ASSUME_EVENTFD2): Likewise.
49253         (__ASSUME_SIGNALFD4): Likewise.
49254         (__ASSUME_DUP3): Likewise.
49255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49256         (__ASSUME_UTIMES): Likewise.
49257         (__ASSUME_O_CLOEXEC): Likewise.
49258         (__ASSUME_SOCK_CLOEXEC): Likewise.
49259         (__ASSUME_IN_NONBLOCK): Likewise.
49260         (__ASSUME_PIPE2): Likewise.
49261         (__ASSUME_EVENTFD2): Likewise.
49262         (__ASSUME_SIGNALFD4): Likewise.
49263         (__ASSUME_DUP3): Likewise.
49264         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
49265         Likewise.
49266         (__ASSUME_UTIMES): Likewise.
49267         (__ASSUME_EVENTFD2): Likewise.
49268         (__ASSUME_SIGNALFD4): Likewise.
49269         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49270         (__ASSUME_O_CLOEXEC): Likewise.
49271         (__ASSUME_SOCK_CLOEXEC): Likewise.
49272         (__ASSUME_IN_NONBLOCK): Likewise.
49273         (__ASSUME_PIPE2): Likewise.
49274         (__ASSUME_EVENTFD2): Likewise.
49275         (__ASSUME_SIGNALFD4): Likewise.
49276         (__ASSUME_DUP3): Likewise.
49277         (__ASSUME_UTIMES): Undefine.
49279         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49280         feclearexcept.  Remove symbol versioning code.
49281         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
49282         symbol versioning code.
49283         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
49284         symbol versioning code.
49285         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49286         feupdateenv.  Remove symbol versioning code.
49287         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49288         fegetexceptflag.  Remove symbol versioning code.
49289         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49290         fesetexceptflag.  Remove symbol versioning code.
49291         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49292         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
49293         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49294         (__posix_fadvise64_l32): Remove prototype.
49295         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49296         code.
49298 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49300         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49301         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49302         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49303         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49305 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
49307         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49308         current working directory
49310 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49312         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49313         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49314         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49315         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49316         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49317         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49318         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49319         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49320         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49321         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49322         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49323         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49324         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49325         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49326         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49327         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49328         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49329         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49330         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49331         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49332         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49333         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49334         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49335         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49336         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49337         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49338         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49339         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49340         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49341         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49342         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49343         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49344         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49345         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49346         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49347         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49348         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49349         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49350         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49351         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49352         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49353         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49355         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49356         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49358         * sysdeps/unix/sysv/linux/arm/Makefile
49359         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49360         Add rt-aeabi_unwind_cpp_pr1.
49361         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49362         Add nptl-aeabi_unwind_cpp_pr1.
49363         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49364         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49365         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49366         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49367         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49368         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49370         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49371         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49372         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49373         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49375         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49376         Deconditionalize the code that was previously under [RESET_PID].
49377         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49379         * sysdeps/generic/exit-thread.h: New file.
49380         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49381         * include/unistd.h (__exit_thread): Remove declaration.
49382         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49383         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49384         * csu/libc-start.c: Include <exit-thread.h>.
49385         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49386         * nptl/pthread_create.c: Include <exit-thread.h>.
49387         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49388         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49389         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49390         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49391         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49392         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49393         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49394         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49395         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49396         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49397         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49398         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49399         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49400         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49401         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49402         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49403         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49405 2014-05-13  Andreas Schwab  <schwab@suse.de>
49407         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49409 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49411         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49412         (__ASSUME_UTIMES): Do not condition on kernel version.
49413         (__ASSUME_PSELECT): Define unconditionally.
49414         (__ASSUME_PPOLL): Likewise.
49415         (__ASSUME_ATFCTS): Likewise.
49416         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49417         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49418         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49419         (__ASSUME_UTIMENSAT): Define unconditionally.
49420         (__ASSUME_PRIVATE_FUTEX): Likewise.
49421         (__ASSUME_FALLOCATE): Likewise.
49422         (__ASSUME_O_CLOEXEC): Likewise.
49423         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49424         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49425         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49426         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49427         (__ASSUME_IN_NONBLOCK): Likewise.
49428         (__ASSUME_PIPE2): Likewise.
49429         (__ASSUME_EVENTFD2): Likewise.
49430         (__ASSUME_SIGNALFD4): Likewise.
49431         (__ASSUME_DUP3): Likewise.
49432         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49433         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49434         (__ASSUME_AT_RANDOM): Likewise.
49435         (__ASSUME_PREADV): Likewise.
49436         (__ASSUME_PWRITEV): Likewise.
49437         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49438         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49439         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49440         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49441         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49442         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49443         (__ASSUME_O_CLOEXEC): Define unconditionally.
49444         (__ASSUME_PSELECT): Do not undefine conditionally.
49445         (__ASSUME_PPOLL): Likewise.
49446         (__ASSUME_ATFCTS): Likewise.
49447         (__ASSUME_SET_ROBUST_LIST): Likewise.
49448         (__ASSUME_UTIMENSAT): Likewise.
49449         (__ASSUME_FDATASYNC): Define unconditionally.
49450         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49451         (__ASSUME_SIGFRAME_V2): Likewise.
49452         )__ASSUME_EVENTFD2): Likewise.
49453         (__ASSUME_SIGNALFD4): Likewise.
49454         (__ASSUME_PSELECT): Do not undefine conditionally.
49455         (__ASSUME_PPOLL): Likewise.
49456         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49457         (__ASSUME_PSELECT): Define unconditionally.
49458         (__ASSUME_PPOLL): Likewise.
49459         (__ASSUME_O_CLOEXEC): Likewise.
49460         (__ASSUME_SOCK_CLOEXEC): Likewise.
49461         (__ASSUME_IN_NONBLOCK): Likewise.
49462         (__ASSUME_PIPE2): Likewise.
49463         (__ASSUME_EVENTFD2): Likewise.
49464         (__ASSUME_SIGNALFD4): Likewise.
49465         (__ASSUME_DUP3): Likewise.
49466         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49467         (__ASSUME_O_CLOEXEC): Likewise.
49468         (__ASSUME_SOCK_CLOEXEC): Likewise.
49469         (__ASSUME_IN_NONBLOCK): Likewise.
49470         (__ASSUME_PIPE2): Likewise.
49471         (__ASSUME_EVENTFD2): Likewise.
49472         (__ASSUME_SIGNALFD4): Likewise.
49473         (__ASSUME_DUP3): Likewise.
49474         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49475         (__ASSUME_EVENTFD2): Likewise.
49476         (__ASSUME_SIGNALFD4): Likewise.
49477         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49479 2014-05-12  Andreas Schwab  <schwab@suse.de>
49481         [BZ #16932]
49482         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49483         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49484         than maximum RPC packet size.
49485         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49486         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49487         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49488         (_nss_nis_getservbyport_r): Likewise.
49490 2014-05-12  Will Newton  <will.newton@linaro.org>
49492         * malloc/Makefile (tests): Add tst-mallopt.
49493         * malloc/tst-mallopt.c: New file.
49495 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49497         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49498         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49500 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49502         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49503         (tst-tlsmod6.so): Likewise.
49505 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49507         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49509 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49511         [BZ #16064]
49512         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49513         and <dl-procinfo.h>.
49514         (__fegetenv): Save SSE state in envp->__eip if supported.
49515         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49516         envp->__eip if supported.
49517         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49518         and <dl-procinfo.h>.
49519         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49520         __data_offset and __data_selector in environment to 0.  Set SSE
49521         state if supported.
49522         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49523         test-fenv-sse.
49524         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49525         -mfpmath=sse.
49526         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49528 2014-05-09  Will Newton  <will.newton@linaro.org>
49530         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49531         and libc_relro_required for ARM.
49532         * sysdeps/arm/preconfigure: Regenerate.
49534 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49535             Stefan Liebler  <stli@linux.vnet.ibm.com>
49537         * config.make.in (enable-lock-elision): New Makefile variable.
49538         * configure.ac: Likewise.
49539         * configure: Regenerate.
49540         * sysdeps/s390/configure.ac:
49541         Add check for gcc transactions support.
49542         * sysdeps/s390/configure: Regenerate.
49543         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49544         Build elision files if enabled.
49545         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49546         Add lock elision support for s390.
49547         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49548         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49549         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49550         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49551         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49552         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49553         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49554         Likewise.
49555         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49556         Likewise.
49557         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49558         Likewise.
49559         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49560         Likewise.
49561         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49562         (__lll_timedlock_elision, __lll_lock_elision)
49563         (__lll_unlock_elision, __lll_trylock_elision)
49564         (lll_timedlock_elision, lll_lock_elision)
49565         (lll_unlock_elision, lll_trylock_elision): Add.
49566         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49567         (pthread_mutex_t): Add lock elision support for s390.
49569 2014-05-14  Wilco  <wdijkstr@arm.com>
49571         * sysdeps/arm/fclrexcpt.c: Cleanup.
49572         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49573         * sysdeps/arm/feenablxcpt.c: Cleanup.
49574         * sysdeps/arm/fegetenv.c: Cleanup.
49575         * sysdeps/arm/fegetexcept.c: Cleanup.
49576         * sysdeps/arm/fegetround.c: Cleanup.
49577         * sysdeps/arm/feholdexcpt.c: Cleanup.
49578         * sysdeps/arm/fesetenv.c: Cleanup.
49579         * sysdeps/arm/fesetround.c: Cleanup.
49580         * sysdeps/arm/feupdateenv.c: Cleanup.
49581         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49582         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49583         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49584         * sysdeps/arm/ftestexcept.c: Cleanup.
49585         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49586         * sysdeps/arm/setfpucw.c: Cleanup.
49588 2014-05-09  Will Newton  <will.newton@linaro.org>
49590         * sysdeps/arm/armv7/strcmp.S: New file.
49591         * NEWS: Mention addition of ARMv7 optimized strcmp.
49593 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49595         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49596         look for %.ac rather than %.in.
49598         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49599         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49600         * sysdeps/mach/hurd/configure: Regenerated.
49601         * sysdeps/unix/sysv/linux/configure: Regenerated.
49603         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49605 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49607         [BZ #16922]
49608         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49609         (LONG_SUB): Ditto.
49610         (PTR_SUB): Ditto.
49612 2014-05-07  Andreas Schwab  <schwab@suse.de>
49614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49615         when skipping over non-matching result from nscd.
49617 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49619         [BZ #16876]
49620         * nptl/sockperf.c (client): Check socket return value.
49622         [BZ #16877]
49623         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49624         nscd security class.
49626 2014-05-06  Roland McGrath  <roland@hack.frob.com>
49628         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49629         * sysdeps/arm/unwind.h: ... here.
49631 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
49633         [BZ #16916]
49634         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49635         Define.
49637 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49639         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49640         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49641         multiarch strncpy for PPC64.
49642         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49643         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49645         multiarch optimizations.
49646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49647         (__libc_ifunc_impl_list): Likewise.
49648         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49649         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49650         multiarch stpncpy for PPC64.
49651         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49652         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49654 2014-05-06  Andreas Schwab  <schwab@suse.de>
49656         [BZ #16912]
49657         * gmon/mcount.c (_MCOUNT_DECL): Use
49658         atomic_compare_and_exchange_bool_acq instead of
49659         catomic_compare_and_exchange_bool_acq.
49661 2014-05-05  Roland McGrath  <roland@hack.frob.com>
49663         * elf/Makefile (others, install-bin): Remove pldd.
49664         (pldd-modules): Variable removed.
49665         ($(objpfx)pldd): Target removed.
49666         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49667         (others, install-bin): Append pldd here.
49668         ($(objpfx)pldd): New target.
49670         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49671         to 0, so the first #if test emitted later doesn't see it undefined.
49672         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49673         * sysdeps/gnu/errlist.c: Regenerated.
49675 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49677         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49678         [libc_hidden_builtin_def]: Define to empty value.
49679         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49680         [libc_hidden_builtin_def]: Likewise.
49681         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
49682         [libc_hidden_builtin_def]: Likewise.
49683         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
49684         [libc_hidden_builtin_def]: Likewise.
49685         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
49686         __redirect_memcpy and define ifunc as default hidden symbol.
49687         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
49688         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
49690 2014-05-04  Adam Conrad  <adconrad@0c3.net>
49692         * locale/iso-4217.def: Reintroduce XDR currency.
49694 2014-05-04  Allan McRae  <allan@archlinux.org>
49696         * po/eo.po: Update Esperanto translation from translation project.
49698 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
49700         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
49701         and FEATURE_INDEX_MAX to 1.
49702         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
49704 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49706         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
49707         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
49708         * iconvdata/big5.c (ONE_DIRECTION): Define.
49709         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
49710         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
49711         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
49712         * iconvdata/cp932.c (ONE_DIRECTION): Define.
49713         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
49714         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
49715         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
49716         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
49717         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
49718         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
49719         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
49720         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
49721         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
49722         * iconvdata/gbk.c (ONE_DIRECTION): Define.
49723         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
49724         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
49725         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
49726         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
49727         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
49728         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
49729         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
49730         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
49731         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
49732         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
49733         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
49734         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
49735         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
49736         * iconvdata/iso646.c (ONE_DIRECTION): Define.
49737         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
49738         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
49739         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
49740         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
49741         * iconvdata/johab.c (ONE_DIRECTION): Define.
49742         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
49743         * iconvdata/sjis.c (ONE_DIRECTION): Define.
49744         * iconvdata/t.61.c (ONE_DIRECTION): Define.
49745         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
49746         * iconvdata/tscii.c (ONE_DIRECTION): Define.
49747         * iconvdata/uhc.c (ONE_DIRECTION): Define.
49748         * iconvdata/unicode.c (ONE_DIRECTION): Define.
49749         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
49750         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
49751         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
49753 2014-05-01  Roland McGrath  <roland@hack.frob.com>
49755         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
49756         (_IO_JUMPS_OFFSET): Define to 0.
49758         * nptl/sysdeps/pthread/bits/libc-lock.h
49759         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
49760         (__libc_lock_define_initialized_recursive): Always define using
49761         initializer.  Modern compilers treat uninitialized (implicit zero) and
49762         explicit zero initializers the same (i.e. put the datum in bss).
49764 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49766         * nscd/nscd-client.h: Include <string.h>.
49768 2014-05-01  David S. Miller  <davem@davemloft.net>
49770         [BZ #16885]
49771         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
49772         multiple zero bytes exist at the end of a string.
49773         Reported by Aurelien Jarno <aurelien@aurel32.net>
49775         * string/test-strcmp.c (check): Add explicit test for situations where
49776         there are multiple zero bytes after the first.
49778 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49780         [BZ #16890]
49781         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
49782         when compiling wprintf.
49783         * stdio-common/tstdiomisc.c (t3): New function.
49784         (main): Call it.
49786 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49788         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
49789         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
49790         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
49791         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
49793 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49795         * stdlib/longlong.h: Updated from GCC.
49797 2014-05-01  Will Newton  <will.newton@linaro.org>
49798             Bernard Ogden  <bernie.ogden@linaro.org>
49800         * NEWS: Update fixed bug list.
49802         [BZ #15119]
49803         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
49805 2014-04-30  David S. Miller  <davem@davemloft.net>
49807         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
49808         (libc_feholdexcept_setround_sparc_ctx): New function.
49809         (libc_fesetenv_sparc_ctx): Likewise.
49810         (libc_feupdateenv_sparc_ctx): Likewise.
49811         (libc_feholdsetround_sparc_ctx): Likewise.
49812         (libc_feholdexcept_setround_ctx): Define.
49813         (libc_feholdexcept_setroundf_ctx): Likewise.
49814         (libc_feholdexcept_setroundl_ctx): Likewise.
49815         (libc_fesetenv_ctx): Likewise.
49816         (libc_fesetenvf_ctx): Likewise.
49817         (libc_fesetenvl_ctx): Likewise.
49818         (libc_feupdateenv_ctx): Likewise.
49819         (libc_feupdateenvf_ctx): Likewise.
49820         (libc_feupdateenvl_ctx): Likewise.
49821         (libc_feresetround_ctx): Likewise.
49822         (libc_feresetroundf_ctx): Likewise.
49823         (libc_feresetroundl_ctx): Likewise.
49824         (libc_feholdsetround_ctx): Likewise.
49825         (libc_feholdsetroundf_ctx): Likewise.
49826         (libc_feholdsetroundl_ctx): Likewise.
49828         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49829         with __USE_GNU instead of XOPEN cpp guards.
49831         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
49832         0.
49834         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49835         with XOPEN cpp guards.
49837 2014-04-30  Julian Brown  <julian@codesourcery.com>
49839         [BZ #16888]
49840         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
49841         handling.
49843 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
49845         [BZ #9894]
49846         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
49847         Change to 2.6.32.
49848         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
49849         * sysdeps/unix/sysv/linux/configure: Regenerated.
49850         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
49851         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
49852         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
49853         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
49854         * README: Update reference to required Linux kernel version.
49855         * manual/install.texi (Linux): Update reference to required Linux
49856         kernel headers version.
49857         * INSTALL: Regenerated.
49859         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
49860         header inclusion.
49861         [POSIX] (limits.h): Likewise.
49862         [POSIX] (math.h): Likewise.
49863         [POSIX] (sys/wait.h): Likewise.
49864         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
49865         function.
49866         [POSIX] (stddef.h): Do not allow header inclusion.
49868 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49870         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
49872 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
49874         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
49875         Return immediately after lll_futex_wake.
49877 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49879         [BZ #16791]
49880         * nscd/nscd-client.h (datahead_init_common): Initialize entire
49881         structure.
49882         (datahead_init_pos): Call datahead_init_common early.
49883         (datahead_init_neg): Likewise.
49885         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
49886         datahead_init_neg): New functions.
49887         * nscd/aicache.c (addhstaiX): Use them.
49888         * nscd/grpcache.c (cache_addgr): Likewise.
49889         * nscd/hstcache.c (cache_addhst): Likewise.
49890         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49891         * nscd/netgroupcache.c (do_notfound): Likewise.
49892         (addgetnetgrentX): Likewise.
49893         (addinnetgrX): Likewise.
49894         * nscd/pwdcache.c (cache_addpw): Likewise.
49895         * nscd/servicescache.c (cache_addserv): Likewise.
49897 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49898             Atsushi Onoe  <atsushi@onoe.org>
49900         [BZ #14308]
49901         [BZ #12994]
49902         [BZ #13651]
49903         * resolv/res_query.c (__libc_res_nsearch): Return if at least
49904         one response is valid.
49905         * resolv/res_send.c (send_dg): Check for validity of other
49906         response if the current response is a referral.
49908 2014-04-29  Steve Ellcey  <sellcey@mips.com>
49910         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
49912 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
49914         [BZ #16823]
49915         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49916         Always divide by positive zero when computing -Inf result.
49917         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49918         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49920 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49922         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49923         FPSCR if value do not change.
49924         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49925         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49926         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49927         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49928         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49929         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49930         function.
49932 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
49934         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49935         * sysdeps/unix/sysv/linux/hppa: Move directory from
49936         ports/systeps/unix/sysv/linux/hppa.
49937         * README: Update listing for hppa-*-linux-gnu.
49939 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
49941         [BZ #16754]
49942         * manual/stdio.texi (Hook functions): Fix types of stream hook
49943         functions.
49944         [BZ #16854]
49945         * socket/sys/socket.h: Fix typo in comment.
49947 2014-04-28  Wilco  <wdijkstr@arm.com>
49949         * sysdeps/arm/fenv_private.h: New file.
49950         * sysdeps/arm/math_private.h: New file.
49951         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49953 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49955         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49956         with __int128_t.
49957         (La_x86_64_retval): Likewise.
49959 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49961         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49962         fpsr if value didn't change.
49963         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49964         to fpcr if value didn't change.
49965         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49966         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49967         fpsr or fpcr if value didn't change.
49968         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49969         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49970         fpcr if value didn't change.
49971         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49972         to fpsr if value didn't change.
49974 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49976         * nptl/tst-sem3.c: Use test-skeleton.c
49977         (main): Rename to do_test.  Use return instead of
49978         exit.
49979         * nptl/tst-sem4.c: Use test-skeleton.c
49980         (main): Rename to do_test.
49982 2014-04-22  David S. Miller  <davem@davemloft.net>
49984         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49985         (struct sigaction): New struct member __glibc_reserved0, change
49986         type of sa_flags to int.
49988 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49990         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49991         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49993 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49995         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49996         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49998 2014-04-22  Will Newton  <will.newton@linaro.org>
49999             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
50001         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
50002         (__longjmp): Add longjmp and longjmp_target SystemTap
50003         probes.
50004         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
50005         (__sigsetjmp): Add setjmp SystemTap probe.
50007 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
50009         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
50010         match manual order.
50012 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50014         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
50016         * sysdeps/powerpc/fpu/fenv_private.h
50017         (libc_feholdexcept_setroundl_ctx): Define to
50018         libc_feholdexcept_setround_ppc_ctx.
50019         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
50020         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50021         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
50022         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
50024 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50026         * sysdeps/aarch64/math-tests.h: New file.
50028 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
50030         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
50031         New.
50032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50033         Check and set bit_AVX2_Usable.
50034         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
50035         macro.
50036         (bit_AVX2): Likewise.
50037         (index_AVX2_Usable): Likewise.
50038         (CPUID_AVX2): Likewise.
50039         (HAS_AVX2): Likewise.
50041 2014-04-17  Will Newton  <will.newton@linaro.org>
50043         * manual/setjmp.texi (System V contexts): Add note that
50044         calling setcontext on a context created by a call to a
50045         signal handler is undefined.  Update text to note that
50046         setcontext from a signal handler is possible but not
50047         recommended.
50049         [BZ #16629]
50050         * stdlib/tst-setcontext.c: Include signal.h.
50051         (main): Check that the signal stack before and
50052         after swapcontext is the same.
50054         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
50055         Re-implement to restore registers in user code and avoid
50056         rt_sigreturn system call.
50058 2014-04-17  Wilco  <wdijkstr@arm.com>
50060         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
50061         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
50062         * math/test-fenv.c: Skip exception trap tests on targets which only
50063         support non-stop mode.
50065 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50066             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50068         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
50069         (libc_feholdsetround_aarch64_ctx)
50070         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
50071         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
50072         (libc_feresetround_ctx, libc_feresetroundf_ctx)
50073         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
50074         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
50075         (libc_feresetround_noexl_ctx): Define.
50077 2014-04-16  Richard Henderson  <rth@redhat.com>
50079         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
50081         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
50082         unwind tables.
50084         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
50085         const from the non-libc, non-ldso copy.
50087         * sysdeps/alpha/libm-test-ulps: Regenerate.
50089 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
50090             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50092         * sysdeps/aarch64/fpu/math_private.h: New file.
50094 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50096         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50098 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
50100         [BZ #16275]
50101         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
50102         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
50103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
50104         Intel MPX bound registers before _dl_profile_fixup.
50105         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
50106         registers after _dl_profile_fixup.  Save and restore bound
50107         registers bnd0/bnd1 when calling _dl_call_pltexit.
50108         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
50109         (LR_BND_OFFSET): Likewise.
50110         (LRV_BND0_OFFSET): Likewise.
50111         (LRV_BND1_OFFSET): Likewise.
50113 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50115         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
50116         to...
50117         * sysdeps/mach/hurd/i386/tls.h: ... here.
50118         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
50119         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
50120         fields.
50122 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50124         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
50126 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50128         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50130 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50132         [BZ #14770]
50133         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
50134         * sysdeps/s390/configure: Regenerate.
50136         [BZ #16824]
50137         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
50138         Set round-to-nearest internally to reduce error accumulation.
50140 2014-04-16  Alan Modra  <amodra@gmail.com>
50142         [BZ #16740]
50143         [BZ #16619]
50144         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
50145         * math/libm-test.inc (frexp_test_data): Add tests.
50146         * NEWS: Update fixed bug list.
50148 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50150         * benchtests/Makefile: Depend on libraries in build directory.
50151         (bench-math): Separate out math tests.
50152         (bench-pthread): Separate out pthread tests.
50153         (bench): Include math and pthread tests.
50155 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
50157         [BZ #16831]
50158         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
50159         _dl_debug_initialize.
50161         * configure.ac: Remove SELinux header check.
50162         * configure: Regenerate.
50163         * nscd/selinux.c (perms): Array of const char* to permission names.
50164         (nscd_request_avc_has_perm): Call security_deny_unknown to find
50165         default policy. Call string_to_security_class and string_to_av_perm to
50166         translate strings. Enforce default policy and call avs_has_perm with
50167         results of translated strings.
50169 2014-04-13  David S. Miller  <davem@davemloft.net>
50171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50173 2014-04-12  Allan McRae  <allan@archlinux.org>
50175         [BZ #16838]
50176         * manual/string.texi (Collation Functions): Fix qsort argument
50177         order in example.
50178         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50180 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
50182         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50183         Make the test a no-op if there are no exceptions defined.
50185 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
50187         * elf/Makefile (tests): make tst-dlopen-aout conditional on
50188         enable-hardcoded-path-in-tests
50190 2014-04-11  Will Newton  <will.newton@linaro.org>
50192         * benchtests/Makefile (extra-objs): Add json-lib.o.
50193         (bench-func): Tidy up JSON output.
50194         * benchtests/bench-skeleton.c: Include json-lib.h.
50195         (main): Use JSON library functions to do output of
50196         benchmark results.
50197         * benchtests/bench-timing-type.c (main): Output the
50198         timing type simply, leaving formatting to the user.
50199         * benchtests/json-lib.c: New file.
50200         * benchtests/json-lib.h: Likewise.
50202 2014-04-11  Torvald Riegel  <triegel@redhat.com>
50204         [BZ #15215]
50205         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
50206         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
50207         memory barriers.  Add comments.
50208         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
50209         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
50210         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
50211         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
50212         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
50213         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
50215 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50217         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50218         * sysdeps/s390/s390-64/configure.ac: ... this ...
50219         * sysdeps/s390/configure.ac: ... to here.
50220         * sysdeps/s390/s390-32/configure: Delete file.
50221         * sysdeps/s390/s390-64/configure: Delete file.
50222         * sysdeps/s390/configure: Regenerate.
50224 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
50226         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
50228 2014-04-11  Will Newton  <will.newton@linaro.org>
50230         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
50231         to zero if it is not defined elsewhere.  (mtrim): Test
50232         the value of MALLOC_DEBUG with #if rather than #ifdef.
50234 2014-04-10 Torvald Riegel  <triegel@redhat.com>
50236         * benchtests/pthread_once-inputs: New file.
50237         * benchtests/pthread_once-source.c: New file.
50238         * benchtests/README: Update documentation.
50240 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
50241             H.J. Lu  <hongjiu.lu@intel.com>
50243         [BZ #16275]
50244         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
50245         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
50246         * sysdeps/x86_64/configure: Regenerated.
50247         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
50248         macro.
50249         (REGISTER_SAVE_RAX): Likewise.
50250         (REGISTER_SAVE_RCX): Likewise.
50251         (REGISTER_SAVE_RDX): Likewise.
50252         (REGISTER_SAVE_RSI): Likewise.
50253         (REGISTER_SAVE_RDI): Likewise.
50254         (REGISTER_SAVE_R8): Likewise.
50255         (REGISTER_SAVE_R9): Likewise.
50256         (REGISTER_SAVE_BND0): Likewise.
50257         (REGISTER_SAVE_BND1): Likewise.
50258         (REGISTER_SAVE_BND2): Likewise.
50259         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
50260         bound registers when calling _dl_fixup.
50262 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50264         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
50265         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
50266         of its definition.
50267         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
50268         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
50269         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
50270         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
50271         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
50272         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
50273         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
50275 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
50277         [BZ #15514]
50278         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50279         pathconf(_PC_NAME_MAX).
50281 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50283         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50284         Remove macro usage.
50285         (__PTHREAD_SPINS): Move definition to ...
50286         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50287         (__PTHREAD_SPINS): ... here.
50288         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50289         (__PTHREAD_SPIN): Likewise.
50290         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50291         (__PTHREAD_SPIN): Likewise.
50292         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50293         (__PTHREAD_SPIN): Likewise.
50294         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50295         (__PTHREAD_SPIN): Likewise.
50296         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50297         (__PTHREAD_SPIN): Likewise.
50298         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50299         (__PTHREAD_SPIN): Likewise.
50300         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50301         (__PTHREAD_SPIN): Likewise.
50302         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50303         (__PTHREAD_SPIN): Likewise.
50304         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50305         (__PTHREAD_SPIN): Likewise.
50306         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50307         (__PTHREAD_SPIN): Likewise.
50308         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50309         (__PTHREAD_SPIN): Likewise.
50310         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50311         (__PTHREAD_SPIN): Likewise.
50313         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50314         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50315         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50316         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50317         imply folder.
50318         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50319         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50320         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50321         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50322         correct imply path.
50323         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50324         strlen symbol for non multi-arch builds.
50325         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50326         missing hidden_def and weak_alias.
50328 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50330         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50332 2014-04-07  Will Newton  <will.newton@linaro.org>
50334         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50335         and contents.  [!_LIBC] Remove #ifndef and contents.
50336         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50337         * string/memccpy.c (__memccpy): Use ANSI prototype.
50338         * string/memfrob.c (memfrob): Likewise.
50339         * string/strcoll.c (STRCOLL): Likewise.
50340         * string/strlen.c (strlen): Likewise.
50341         * string/strtok.c (STRTOK): Likewise.
50342         * string/strcat.c: Remove unused #include of memcopy.h.
50343         (strcat): Use ANSI prototype.
50344         * string/strchr.c: Remove unused #include of memcopy.h.
50345         (strchr): Use ANSI prototype.
50346         * string/strcmp.c: Remove unused #include of memcopy.h.
50347         (strcmp): Use ANSI prototype.
50348         * string/strcpy.c: Remove unused #include of memcopy.h.
50349         (strcpy): Use ANSI prototype.
50351 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50353         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50354         * config.make.in (config-extra-cppflags): Set it from
50355         libc_extra_cppflags.
50356         * configure.ac (libc_extra_cflags): Make it accumulate over
50357         configure fragments.
50358         (libc_extra_cppflags): New flag.
50359         * configure. Regenerate.
50360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50361         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50362         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50365         [BZ #16815]
50366         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50367         result for FE_DOWNWARD rounding mode.
50368         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50369         Likewise.
50370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50372 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50374         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50375         in function argument name.
50377 2014-04-03  David Svoboda  <svoboda@cert.org>
50379         [BZ #5666]
50380         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50381         explicitly.
50383 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50385         * elf/dl-unmap-segments.h: New file.
50386         * sysdeps/generic/ldsodefs.h
50387         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50388         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50389         * elf/dl-fptr.c: Likewise.
50390         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50391         * sysdeps/aarch64/tlsdesc.c: Likewise.
50392         * sysdeps/arm/tlsdesc.c: Likewise.
50393         * sysdeps/i386/tlsdesc.c: Likewise.
50394         * sysdeps/tile/dl-runtime.c: Likewise.
50395         * sysdeps/x86_64/tlsdesc.c: Likewise.
50396         * elf/dl-load.h: New file.
50397         * elf/dl-load.c: Include it.
50398         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50399         Macros moved to dl-load.h.
50400         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50401         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50402         Use _dl_unmap_segments in place of __munmap.
50403         Break out segment-mapping loop into ...
50404         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50406 2014-04-03  Will Newton  <will.newton@linaro.org>
50408         * elf/dl-lookup.c (do_lookup_x): Remove comment
50409         referring to nested function and move variable
50410         declarations down to before first use.
50412 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50414         [BZ #16799]
50415         [BZ #16800]
50416         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50417         with 0 numerator.
50418         * math/s_catanf.c (__catanf): Likewise.
50419         * math/s_catanh.c (__catanh): Likewise.
50420         * math/s_catanhf.c (__catanhf): Likewise.
50421         * math/s_catanhl.c (__catanhl): Likewise.
50422         * math/s_catanl.c (__catanl): Likewise.
50423         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50424         by positive zero when computing -Inf result.
50425         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50426         (catanh_test): Likewise.
50427         * sysdeps/i386/fpu/libm-test-ulps: Update.
50428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50430         [BZ #16789]
50431         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50432         instead of using underflowing value in computing result.
50433         * math/s_clog10.c (__clog10): Likewise.
50434         * math/s_clog10f.c (__clog10f): Likewise.
50435         * math/s_clog10l.c (__clog10l): Likewise.
50436         * math/s_clogf.c (__clogf): Likewise.
50437         * math/s_clogl.c (__clogl): Likewise.
50438         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50439         (clog10_test): Likewise.
50440         * sysdeps/i386/fpu/libm-test-ulps: Update.
50441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50443 2014-04-02  Alan Modra  <amodra@gmail.com>
50445         [BZ #16739]
50446         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50447         output when value is near a power of two.  Use int64_t for lx and
50448         remove casts.  Use decimal rather than hex exponent constants.
50449         Don't use long double multiplication when double will suffice.
50450         * math/libm-test.inc (nextafter_test_data): Add tests.
50451         * NEWS: Add 16739 and 16786 to bug list.
50453         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50455         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50457 2014-04-01  Will Newton  <will.newton@linaro.org>
50459         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50460         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50462 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50464         [BZ #13347]
50465         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50466         * nptl/tst-setuid2.c: New file.
50467         * nptl/Makefile (xtests): Add tst-setuid2.
50469 2014-04-01  Alan Modra  <amodra@gmail.com>
50471         [BZ #16786]
50472         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50474 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50476         [BZ #6803]
50477         [BZ #6804]
50478         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50479         set errno as appropriate.
50480         * math/w_scalbf.c (__scalbf): Likewise.
50481         * math/w_scalbl.c (__scalbl): Likewise.
50482         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50483         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50484         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50485         Add more NaN tests.
50487         [BZ #16349]
50488         * math/w_atan2.c: Include <errno.h>.
50489         (__atan2): Set errno for result underflowing to zero.
50490         * math/w_atan2f.c: Include <errno.h>.
50491         (__atan2f): Set errno for result underflowing to zero.
50492         * math/w_atan2l.c: Include <errno.h>.
50493         (__atan2l): Set errno for result underflowing to zero.
50494         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50495         tests.
50496         * math/auto-libm-test-out: Regenerated.
50498 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50500         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50501         Encode instruction correctly in little endian.
50502         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50503         Likewise.
50504         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50505         Likewise.
50506         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50507         Likewise.
50508         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50509         Likewise.
50511 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50513         [BZ #9894]
50514         * sysdeps/unix/sysv/linux/kernel-features.h
50515         [__sparc__ && !__arch64__ && !__sparc_v9__]
50516         (__ASSUME_SET_ROBUST_LIST): Do not define.
50517         [__sparc__ && !__arch64__ && !__sparc_v9__]
50518         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50519         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50520         Likewise.
50521         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50522         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50523         (__ASSUME_REQUEUE_PI): Likewise.
50524         (__ASSUME_SET_ROBUST_LIST): Likewise.
50525         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50526         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50527         Undefine.
50528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50529         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50530         Likewise.
50531         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50532         Likewise.
50533         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50534         Likewise.
50535         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50536         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50537         Undefine.
50538         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50539         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50540         Likewise.
50542         [BZ #16648]
50543         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50544         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50545         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50547 2014-03-31  Will Newton  <will.newton@linaro.org>
50549         * benchtests/Makefile (bench): Add ffs and ffsll to list
50550         of tests.
50551         * benchtests/ffs-inputs: New file.
50552         * benchtests/ffsll-inputs: Likewise.
50554 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50556         [BZ #16770]
50557         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50558         too large before casting to int.
50559         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50560         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50561         * math/libm-test.inc (scalb_test_data): Add more tests.
50563 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50565         * benchtests/Makefile (DETAILED_OPT): New make option.
50566         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50567         set.
50568         * benchtests/bench-skeleton.c: Include stdbool.h.
50569         (main): Store and print timings per input.
50570         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50571         member to each argument value.
50572         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50573         (_print_arg_data): Initialize per-input timing to 0.
50575         * benchtests/Makefile (timing-type): New binary.
50576         (bench-clean): Also remove bench-timing-type.
50577         (bench): New target for timing-type.
50578         (bench-func): Print output in JSON format.
50579         * benchtests/bench-skeleton.c (main): Print output in JSON
50580         format.
50581         * benchtests/bench-timing-type.c: New file.
50582         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50583         (TIMING_PRINT_STATS): Remove.
50584         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50585         name separately.
50587         * benchtests/bench-modf.c: Remove.
50588         * benchtests/modf-inputs: New inputs file.
50590 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50592         [BZ #16362]
50593         * math/s_clog10.c (M_PI_LOG10E): New macro.
50594         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50595         imaginary parts are 0.
50596         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50597         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50598         imaginary parts are 0.
50599         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50600         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50601         imaginary parts are 0.
50602         * math/libm-test.inc (clog10_test_data): Update expected results
50603         for when real and imaginary parts are 0.
50605 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50607         * elf/dl-load.c: Finish conversion of __builtin_expect into
50608         __glibc_{un}likely.
50610 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50612         [BZ #16348]
50613         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50614         1+x for argument with exponent below -67.
50615         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50616         Likewise.
50617         * math/auto-libm-test-in: Add more tests of exp.
50618         * math/auto-libm-test-out: Regenerated.
50620 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50622         [BZ #16759]
50623         * inet/getnetgrent_r.c (get_nonempty_val): New function.
50624         (nscd_getnetgrent): Use it.
50626         [BZ #16760]
50627         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50628         of stpcpy.
50630 2014-03-27  Andi Kleen  <ak@linux.intel.com>
50632         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50633         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50634         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50635         (lll_robust_unlock): Remove out of line section. Use cfi
50636         intrinsics.
50637         (LLL_STUB_UNWIND_INFO*): Remove.
50638         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50639         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50640         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50641         (lll_robust_unlock): Remove out of line section. Use cfi
50642         intrinsics.
50643         (LLL_STUB_UNWIND_INFO*): Remove.
50645 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50647         [BZ #16758]
50648         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50649         blank values.
50651 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
50653         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50655 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
50657         [BZ #16198]
50658         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50659         fnstenv.
50660         * math/test-fenv-preserve.c: New file.
50661         * math/Makefile (tests): Add test-fenv-preserve.
50663 2014-03-26  Will Newton <will.newton@linaro.org>
50665         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50667 2014-03-25  Roland McGrath  <roland@hack.frob.com>
50669         * scripts/versionlist.awk: Partition the version sets and emit all
50670         GLIBC_* (sorted) before all others (sorted).
50672 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50674         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50675         GLIBC_2.2.5 version.
50677 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50679         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50680         calls.
50682         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
50683         previous change.
50685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50687 2014-03-25  Andreas Schwab  <schwab@suse.de>
50689         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
50690         label to be used after in6ailist is initialized.
50692 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50694         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50695         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50697 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50699         [BZ #16357]
50700         [BZ #16599]
50701         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
50702         min_plus_half.
50703         (fp_formats): Update initializers.
50704         (init_fp_formats): Initialize new field.
50705         (output_for_one_input_case): Allow underflow for results up to
50706         min_plus_half.
50707         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
50708         * math/auto-libm-test-in: Don't mark some underflows from asin and
50709         atanh as spurious.
50710         * math/auto-libm-test-out: Regenerated.
50711         * sysdeps/i386/fpu/libm-test-ulps: Update.
50712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50714 2014-03-25  Andreas Schwab  <schwab@suse.de>
50716         * libio/Makefile (tst-ftell-partial-wide-ENV)
50717         (tst-ftell-active-handler-ENV): Define.
50719 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
50721         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
50723 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50725         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
50727 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50729         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
50730         * sysdeps/x86_64/fpu/multiarch/e_exp.c
50731         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
50733 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50735         [BZ #16634]
50736         * elf/dl-load.c (open_verify): Add mode parameter.
50737         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
50738         (open_path): Change from boolean 'secure' to complete flag 'mode'
50739         (_dl_map_object): Adjust.
50740         * elf/Makefile (tests): Add tst-dlopen-aout.
50741         * elf/tst-dlopen-aout.c: New test.
50743 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
50745         [BZ #16714]
50746         * sysdeps/unix/sysv/linux/s390/bits/stat.h
50747         (struct stat): Rename member pad0 to __glibc_reserved0.
50749         [BZ #16712]
50750         * sysdeps/s390/s390-32/bits/wordsize.h
50751         (__WORDSIZE32_SIZE_ULONG): New define.
50752         * sysdeps/s390/s390-64/bits/wordsize.h
50753         (__WORDSIZE32_SIZE_ULONG): Likewise.
50754         * sysdeps/generic/stdint.h (SIZE_MAX):
50755         Define as UL if __WORDSIZE32_SIZE_ULONG.
50757         [BZ #16713]
50758         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
50759         (__glibc_reserved0): New variable.
50760         (sa_flags): Change type to int.
50762         * posix/Makefile (before-compile): Use += before-compile instead
50763         of a :=.
50765         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50766         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50768 2014-03-20  Andreas Schwab  <schwab@suse.de>
50770         [BZ #16743]
50771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
50772         non-matching result from nscd.
50774 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50776         * scripts/bench.py: Moved to ...
50777         * benchtests/scripts/bench.py: ... here.
50778         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
50780 2014-03-24  Andreas Schwab  <schwab@suse.de>
50782         [BZ #16002]
50783         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
50784         alloca_account and account alloca use for struct in6ailist.
50786 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50788         [BZ #16284]
50789         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
50790         rounding mode to recompute results that overflow to infinity or
50791         underflow to zero.
50792         * math/auto-libm-test-in: Don't mark tests as expected to fail for
50793         bug 16284.
50794         * math/auto-libm-test-out: Regenerated.
50795         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
50796         (ccosh_test): Likewise.
50797         (csin_test_data): Use plus_oflow.
50798         (csin_test): Use ALL_RM_TEST.
50799         (csinh_test_data): Use plus_oflow.
50800         (csinh_test): Use ALL_RM_TEST.
50801         * sysdeps/i386/fpu/libm-test-ulps: Update.
50802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50804 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
50806         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
50807         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
50808         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
50810         [BZ #16731]
50811         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
50812         when x - 1 is zero.
50813         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
50814         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
50815         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50816         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
50817         argument is 1.
50818         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
50819         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
50820         zero.
50821         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
50822         * sysdeps/i386/fpu/libm-test-ulps: Update.
50823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50825 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50827         * scripts/bench.pl: Remove file.
50828         * scripts/bench.py: New benchmark script.
50829         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
50830         * benchtests/README: Mention python dependency.
50831         * scripts/pylintrc: New file.
50832         * scripts/pylint: New file.
50834         * bits/mathdef.h: Use #ifdef instead of #if.
50835         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
50836         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50837         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
50838         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50839         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
50840         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50842 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50843             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50845         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
50847         and strpbrk-ppc64 objects.
50848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50849         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
50850         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
50851         multiarch strpbrk for POWER7.
50852         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
50853         multiarch strpbrk for PPC64.
50854         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
50855         ifunc selector.
50856         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
50857         strpbrk for POWER7.
50859 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50861         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
50862         (atan_test): Likewise.
50863         (atanh_test_data): Use NO_TEST_INLINE for two tests.
50864         (atanh_test): Use ALL_RM_TEST.
50865         (atan2_test_data): Likewise.
50866         (cabs_test): Likewise.
50867         (cacosh_test): Likewise.
50868         (carg_test): Likewise.
50869         (casin_test): Likewise.
50870         (casinh_test): Likewise.
50871         (cbrt_test): Likewise.
50872         (csqrt_test): Likewise.
50873         (erf_test): Likewise.
50874         (erfc_test): Likewise.
50875         (pow10_test): Likewise.
50876         (exp2_test): Likewise.
50877         (hypot_test): Likewise.
50878         (j0_test): Likewise.
50879         (j1_test): Likewise.
50880         (lgamma_test): Likewise.
50881         (gamma_test): Likewise.
50882         (sincos_test): Likewise.
50883         (tanh_test): Likewise.
50884         (y0_test): Likewise.
50885         (y1_test): Likewise.
50886         * sysdeps/i386/fpu/libm-test-ulps: Update.
50887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50889 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50891         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
50892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
50893         and strcspn-ppc64 objects.
50894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50895         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
50896         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
50897         multiarch strcspn for POWER7.
50898         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
50899         multiarch strcspn for PPC64.
50900         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
50901         ifunc selector.
50902         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
50903         strcspn for POWER7.
50905 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50907         * math/gen-libm-test.pl (generate_testfile): Expect only function
50908         name as argument to AUTO_TESTS_* and pass results for all rounding
50909         modes to parse_args.
50910         (parse_auto_input): Separate inputs of automatic tests from
50911         outputs before storing in %auto_tests.
50912         * math/libm-test.inc (acos_test_data): Update call to
50913         AUTO_TESTS_f_f.
50914         (acos_test): Use ALL_RM_TEST.
50915         (acos_tonearest_test_data): Remove.
50916         (acos_test_tonearest): Likewise.
50917         (acos_towardzero_test_data): Likewise.
50918         (acos_test_towardzero): Likewise.
50919         (acos_downward_test_data): Likewise.
50920         (acos_test_downward): Likewise.
50921         (acos_upward_test_data): Likewise.
50922         (acos_test_upward): Likewise.
50923         (acosh_test_data): Update call to AUTO_TESTS_f_f.
50924         (asin_test_data): Likewise.
50925         (asin_test): Use ALL_RM_TEST.
50926         (asin_tonearest_test_data): Remove.
50927         (asin_test_tonearest): Likewise.
50928         (asin_towardzero_test_data): Likewise.
50929         (asin_test_towardzero): Likewise.
50930         (asin_downward_test_data): Likewise.
50931         (asin_test_downward): Likewise.
50932         (asin_upward_test_data): Likewise.
50933         (asin_test_upward): Likewise.
50934         (asinh_test_data): Update call to AUTO_TESTS_f_f.
50935         (atan_test_data): Likewise.
50936         (atanh_test_data): Likewise.
50937         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50938         (cabs_test_data): Update call to AUTO_TESTS_c_f.
50939         (carg_test_data): Likewise.
50940         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50941         (ccos_test_data): Update call to AUTO_TESTS_c_c.
50942         (ccosh_test_data): Likewise.
50943         (cexp_test_data): Likewise.
50944         (clog_test_data): Likewise.
50945         (clog10_test_data): Likewise.
50946         (cos_test_data): Update call to AUTO_TESTS_f_f.
50947         (cos_test): Use ALL_RM_TEST.
50948         (cos_tonearest_test_data): Remove.
50949         (cos_test_tonearest): Likewise.
50950         (cos_towardzero_test_data): Likewise.
50951         (cos_test_towardzero): Likewise.
50952         (cos_downward_test_data): Likewise.
50953         (cos_test_downward): Likewise.
50954         (cos_upward_test_data): Likewise.
50955         (cos_test_upward): Likewise.
50956         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50957         (cosh_test): Use ALL_RM_TEST.
50958         (cosh_tonearest_test_data): Remove.
50959         (cosh_test_tonearest): Likewise.
50960         (cosh_towardzero_test_data): Likewise.
50961         (cosh_test_towardzero): Likewise.
50962         (cosh_downward_test_data): Likewise.
50963         (cosh_test_downward): Likewise.
50964         (cosh_upward_test_data): Likewise.
50965         (cosh_test_upward): Likewise.
50966         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50967         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50968         (ctan_test_data): Likewise.
50969         (ctan_test): Use ALL_RM_TEST.
50970         (ctan_tonearest_test_data): Remove.
50971         (ctan_test_tonearest): Likewise.
50972         (ctan_towardzero_test_data): Likewise.
50973         (ctan_test_towardzero): Likewise.
50974         (ctan_downward_test_data): Likewise.
50975         (ctan_test_downward): Likewise.
50976         (ctan_upward_test_data): Likewise.
50977         (ctan_test_upward): Likewise.
50978         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50979         (ctanh_test): Use ALL_RM_TEST.
50980         (ctanh_tonearest_test_data): Remove.
50981         (ctanh_test_tonearest): Likewise.
50982         (ctanh_towardzero_test_data): Likewise.
50983         (ctanh_test_towardzero): Likewise.
50984         (ctanh_downward_test_data): Likewise.
50985         (ctanh_test_downward): Likewise.
50986         (ctanh_upward_test_data): Likewise.
50987         (ctanh_test_upward): Likewise.
50988         (erf_test_data): Update call to AUTO_TESTS_f_f.
50989         (erfc_test_data): Likewise.
50990         (exp_test_data): Likewise.
50991         (exp_test): Use ALL_RM_TEST.
50992         (exp_tonearest_test_data): Remove.
50993         (exp_test_tonearest): Likewise.
50994         (exp_towardzero_test_data): Likewise.
50995         (exp_test_towardzero): Likewise.
50996         (exp_downward_test_data): Likewise.
50997         (exp_test_downward): Likewise.
50998         (exp_upward_test_data): Likewise.
50999         (exp_test_upward): Likewise.
51000         (exp10_test_data): Update call to AUTO_TESTS_f_f.
51001         (exp10_test): Use ALL_RM_TEST.
51002         (exp10_tonearest_test_data): Remove.
51003         (exp10_test_tonearest): Likewise.
51004         (exp10_towardzero_test_data): Likewise.
51005         (exp10_test_towardzero): Likewise.
51006         (exp10_downward_test_data): Likewise.
51007         (exp10_test_downward): Likewise.
51008         (exp10_upward_test_data): Likewise.
51009         (exp10_test_upward): Likewise.
51010         (exp2_test_data): Update call to AUTO_TESTS_f_f.
51011         (expm1_test_data): Likewise.
51012         (expm1_test): Use ALL_RM_TEST.
51013         (expm1_tonearest_test_data): Remove.
51014         (expm1_test_tonearest): Likewise.
51015         (expm1_towardzero_test_data): Likewise.
51016         (expm1_test_towardzero): Likewise.
51017         (expm1_downward_test_data): Likewise.
51018         (expm1_test_downward): Likewise.
51019         (expm1_upward_test_data): Likewise.
51020         (expm1_test_upward): Likewise.
51021         (fma_test_data): Update call to AUTO_TESTS_fff_f.
51022         (fma_test): Use ALL_RM_TEST.
51023         (fma_towardzero_test_data): Remove.
51024         (fma_test_towardzero): Likewise.
51025         (fma_downward_test_data): Likewise.
51026         (fma_test_downward): Likewise.
51027         (fma_upward_test_data): Likewise.
51028         (fma_test_upward): Likewise.
51029         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
51030         (j0_test_data): Update call to AUTO_TESTS_f_f.
51031         (j1_test_data): Likewise.
51032         (jn_test_data): Update call to AUTO_TESTS_if_f.
51033         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
51034         (log_test_data): Update call to AUTO_TESTS_f_f.
51035         (log10_test_data): Likewise.
51036         (log1p_test_data): Likewise.
51037         (log2_test_data): Likewise.
51038         (pow_test_data): Update call to AUTO_TESTS_ff_f.
51039         (pow_tonearest_test_data): Likewise.
51040         (sin_test_data): Update call to AUTO_TESTS_f_f.
51041         (sin_test): Use ALL_RM_TEST.
51042         (sin_tonearest_test_data): Remove.
51043         (sin_test_tonearest): Likewise.
51044         (sin_towardzero_test_data): Likewise.
51045         (sin_test_towardzero): Likewise.
51046         (sin_downward_test_data): Likewise.
51047         (sin_test_downward): Likewise.
51048         (sin_upward_test_data): Likewise.
51049         (sin_test_upward): Likewise.
51050         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
51051         (sinh_test_data): Update call to AUTO_TESTS_f_f.
51052         (sinh_test): Use ALL_RM_TEST.
51053         (sinh_tonearest_test_data): Remove.
51054         (sinh_test_tonearest): Likewise.
51055         (sinh_towardzero_test_data): Likewise.
51056         (sinh_test_towardzero): Likewise.
51057         (sinh_downward_test_data): Likewise.
51058         (sinh_test_downward): Likewise.
51059         (sinh_upward_test_data): Likewise.
51060         (sinh_test_upward): Likewise.
51061         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
51062         (sqrt_test): Use ALL_RM_TEST.
51063         (sqrt_tonearest_test_data): Remove.
51064         (sqrt_test_tonearest): Likewise.
51065         (sqrt_towardzero_test_data): Likewise.
51066         (sqrt_test_towardzero): Likewise.
51067         (sqrt_downward_test_data): Likewise.
51068         (sqrt_test_downward): Likewise.
51069         (sqrt_upward_test_data): Likewise.
51070         (sqrt_test_upward): Likewise.
51071         (tan_test_data): Update call to AUTO_TESTS_f_f.
51072         (tan_test): Use ALL_RM_TEST.
51073         (tan_tonearest_test_data): Remove.
51074         (tan_test_tonearest): Likewise.
51075         (tan_towardzero_test_data): Likewise.
51076         (tan_test_towardzero): Likewise.
51077         (tan_downward_test_data): Likewise.
51078         (tan_test_downward): Likewise.
51079         (tan_upward_test_data): Likewise.
51080         (tan_test_upward): Likewise.
51081         (tanh_test_data): Update call to AUTO_TESTS_f_f.
51082         (tgamma_test_data): Likewise.
51083         (y0_test_data): Likewise.
51084         (y1_test_data): Likewise.
51085         (yn_test_data): Update call to AUTO_TESTS_if_f.
51086         (main): Do not call removed functions.
51088 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51090         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
51091         (ldexp_test_data): Remove.
51092         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
51093         scalbn_test_data.
51094         (scalb_test): Use ALL_RM_TEST.
51096 2014-03-19  Andreas Schwab  <schwab@suse.de>
51098         * nscd/nscd.service: Also invalidate netgroup cache on reload.
51100 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51102         [BZ #16649]
51103         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51104         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
51105         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
51106         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51107         (__ASSUME_PREADV): Undefine.
51108         (__ASSUME_PWRITEV): Likewise.
51110 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51112         * bits/mman-linux.h: Add comment about non-Linux use.
51113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
51114         bits/mman-linux.h resting place.
51116         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
51117         * bits/mman-linux.h: ... here.
51119 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51121         * conform/conformtest.pl: Add standard definition when calling C
51122         preprocessor on data files.
51123         (checknamespace): Remove unused variable.
51125 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51127         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
51128         minus_oflow, plus_uflow and minus_uflow in expected results.
51129         * math/libm-test.inc (scalbn_test_data): Add more tests of
51130         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
51131         minus_uflow.
51132         (scalbn_test): Use ALL_RM_TEST.
51133         (scalbln_test_data): Add more tests of negative arguments.  Use
51134         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
51135         (scalbln_test): Use ALL_RM_TEST.
51137 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51139         * scripts/abilist.awk: Ignore symbols marked with .hidden.
51141 2014-03-18  Will Newton  <will.newton@linaro.org>
51143         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
51144         inaccurate comment.
51146 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51148         * Makerules [!subdir] (check-abi): Exit with error status if a
51149         test failed.
51151 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51153         * math/libm-test.inc (nearbyint_test_data): Include all tests used
51154         for rint.  Include results for all rounding modes.
51155         (nearbyint_test): Use ALL_RM_TEST.
51156         (rint_test_data): Include all tests used for nearbyint.
51158 2014-03-17  Will Newton  <will.newton@linaro.org>
51160         * nptl/sysdeps/pthread/pthread.h: Revert previous
51161         change.
51163         * sysdeps/generic/ldsodefs.h: Revert previous
51164         change.
51166         * libio/genops.c: Revert previous change.
51167         * libio/libioP.h: Likewise.
51168         * stdio-common/vfprintf.c: Likewise.
51170         * sysdeps/generic/math_private.h: Revert previous
51171         change.
51173         * sysdeps/generic/math_private.h: Check whether
51174         HAVE_RM_CTX is defined with #ifdef rather
51175         than #if.
51177         * argp/argp-fmtstream.h: Check whether
51178         __STRICT_ANSI__ is defined with #ifdef rather
51179         than #if.
51180         * argp/argp.h: Likewise.
51182         * libio/genops.c: Check whether
51183         _IO_JUMPS_OFFSET is defined with #ifdef rather
51184         than #if.
51185         * libio/libioP.h: Likewise.
51186         * stdio-common/vfprintf.c: Likewise.
51188         * sysdeps/generic/ldsodefs.h: Check whether
51189         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51190         than #if.
51192         * nptl/sysdeps/pthread/pthread.h: Check
51193         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51194         its value.
51196 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51198         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
51199         setting O_APPEND.
51200         * libio/tst-ftell-active-handler.c (do_append_test): Add a
51201         test case.
51203         [BZ #16680]
51204         * libio/fileops.c (_IO_file_open): Seek to end of file but
51205         don't cache the offset.
51206         (get_file_offset): Remove function.
51207         (do_ftell): Use cached offset when available.
51208         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
51209         don't cache the offset.
51210         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
51211         case.
51212         (do_one_test): Call it.
51213         (do_ftell_test): Fix up expected old offset for a+ mode.
51214         * libio/wfileops.c (do_ftell_wide): Used cached offset when
51215         available.
51217         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
51218         up test status with function return status.
51219         (do_write_test): Likewise.
51220         (do_append_test): Likewise.
51222         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
51223         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
51224         Remove.
51226 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51228         * math/gen-libm-test.pl (parse_args): Handle results specified for
51229         each rounding mode separately.
51230         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
51231         tests and results from lrint_tonearest_test_data,
51232         lrint_towardzero_test_data, lrint_downward_test_data and
51233         lrint_upward_test_data.
51234         (lrint_test): Use ALL_RM_TEST.
51235         (lrint_tonearest_test_data): Remove.
51236         (lrint_test_tonearest): Likewise.
51237         (lrint_towardzero_test_data): Likewise.
51238         (lrint_test_towardzero): Likewise.
51239         (lrint_downward_test_data): Likewise.
51240         (lrint_test_downward): Likewise.
51241         (lrint_upward_test_data): Likewise.
51242         (lrint_test_upward): Likewise.
51243         (llrint_test_data): Merge in per-rounding-mode tests and results
51244         from llrint_tonearest_test_data, llrint_towardzero_test_data,
51245         llrint_downward_test_data and llrint_upward_test_data.
51246         (llrint_test): Use ALL_RM_TEST.
51247         (llrint_tonearest_test_data): Remove.
51248         (llrint_test_tonearest): Likewise.
51249         (llrint_towardzero_test_data): Likewise.
51250         (llrint_test_towardzero): Likewise.
51251         (llrint_downward_test_data): Likewise.
51252         (llrint_test_downward): Likewise.
51253         (llrint_upward_test_data): Likewise.
51254         (llrint_test_upward): Likewise.
51255         (rint_test_data): Merge in per-rounding-mode tests and results
51256         from rint_tonearest_test_data, rint_towardzero_test_data,
51257         rint_downward_test_data and rint_upward_test_data.  Add
51258         per-rounding-mode results for tests not in those arrays.
51259         (rint_test): Use ALL_RM_TEST.
51260         (rint_tonearest_test_data): Remove.
51261         (rint_test_tonearest): Likewise.
51262         (rint_towardzero_test_data): Likewise.
51263         (rint_test_towardzero): Likewise.
51264         (rint_downward_test_data): Likewise.
51265         (rint_test_downward): Likewise.
51266         (rint_upward_test_data): Likewise.
51267         (rint_test_upward): Likewise.
51268         (main): Don't call removed functions.
51270 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51272         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
51273         "Compiled on ..." crapola.  It is anti-useful.
51275 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
51277         * scripts/evaluate-test.sh: Handle fourth argument to determine
51278         whether test run should stop on failure.
51279         * Makeconfig (stop-on-test-failure): New variable.
51280         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51281         $(stop-on-test-failure).
51282         * Makefile (tests): Give a summary of results from testing and
51283         exit with failure status if they include an ERROR or FAIL.
51284         (xtests): Likewise.
51285         * manual/install.texi (Configuring and compiling): Mention
51286         stop-on-test-failure=y.
51287         * INSTALL: Regenerated.
51289 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51291         * scripts/versionlist.awk: New file.
51292         * Makerules [$(build-shared) = yes]
51293         (postclean-generated): Add Versions.def, not Versions.def.v and
51294         Versions.def.v.i.
51295         ($(common-objpfx)Versions.def.v.i): Target removed.
51296         ($(common-objpfx)Versions.def): New target.
51297         ($(common-objpfx)Versions.all): Depend on that rather that
51298         $(common-objpfx)Versions.def.v.
51299         * Versions.def: File removed.
51301         * Makeconfig (+gccwarn): Add -Wundef.
51302         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51303         a dl-sysdep.h breaking its contract.
51304         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51305         * include/stackinfo.h: New file.
51306         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51307         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51308         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51309         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51310         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51311         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51312         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51313         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51314         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51315         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51316         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51317         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51318         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51319         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51320         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51322 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51324         [BZ #16707]
51325         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51326         implementation.
51327         * math/libm-test.inc (round_test_data): Add more tests.
51329         [BZ #16706]
51330         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51331         implementation.
51332         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51334         [BZ #16701]
51335         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51336         implementation.
51337         * math/libm-test.inc (ceil_test_data): Add more tests.
51339         * math/libm-test.inc (trunc_test_data): Add more tests related to
51340         BZ#16414.
51342 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51344         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51345         with #if rather than #ifdef.
51346         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51348 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51350         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51351         first.  Disable AVX-512 GCC support if assembler doesn't support
51352         it.
51353         * sysdeps/x86_64/configure: Regenerated.
51355 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51357         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51358         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51359         (__old_pthread_attr_setstack): Likewise.
51360         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51361         [!_STACK_GROWS_DOWN]: Likewise.
51363 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51365         * config.make.in (have-bash2): Delete.
51366         * configure.ac (libc_cv_have_bash2): Delete.
51367         * configure: Regenerate.
51368         * elf/Makefile (common-ldd-rewrite): Rename to ...
51369         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51370         (sh-ldd-rewrite): Delete.
51371         (bash-ldd-rewrite): Delete.
51372         (have-bash2): Delete checks.
51373         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51374         ldd-rewrite.
51376         * config.make.in (have-ksh): Delete.
51377         (KSH): Delete.
51378         * configure.ac (libc_cv_have_ksh): Delete.
51379         * configure: Regenerate.
51381         * elf/Makefile: Delete $(have-ksh) check.
51382         ($(objpfx)sotruss): Change KSH to BASH.
51383         * elf/sotruss.ksh: Rename to ...
51384         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51385         function style to match POSIX.  Drop ksh vim mode setting.
51387         * manual/time.texi (Specifying the Time Zone with TZ): Change
51388         Tuesday to Thursday.
51390         * debug/tst-longjmp_chk2.c: Update header comment.
51391         (stackoverflow_handler): Add comment.  Call assert on pass value.
51393 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51395         [BZ #16194]
51396         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51397         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51398         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51399         (La_x86_64_vector): Add zmm.
51400         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51401         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51402         ($(objpfx)tst-audit10): New target.
51403         ($(objpfx)tst-audit10.out): Likewise.
51404         (tst-audit10-ENV): New.
51405         (AVX512-CFLAGS): Likewise.
51406         (CFLAGS-tst-audit10.c): Likewise.
51407         (CFLAGS-tst-auditmod10a.c): Likewise.
51408         (CFLAGS-tst-auditmod10b.c): Likewise.
51409         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51410         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51411         * sysdeps/x86_64/configure: Regenerated.
51412         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51413         AVX-512 zmm register support.
51414         (_dl_x86_64_save_sse): Likewise.
51415         (_dl_x86_64_restore_sse): Likewise.
51416         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51417         size vector registers.
51418         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51419         (ZMM_SIZE): Likewise.
51420         * sysdeps/x86_64/tst-audit10.c: New file.
51421         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51422         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51424 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51426         * configure.ac (HAVE_EHDR_START): New check.
51427         * configure: Regenerated.
51428         * config.h.in (HAVE_EHDR_START): New #undef.
51429         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51430         assuming the lowest-addressed segment maps the start of the file.
51432 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51434         * INSTALL: Regenerated.
51436 2014-03-13  Will Newton  <will.newton@linaro.org>
51438         * manual/setjmp.texi (System V contexts): Improve
51439         clarity and grammar of documentation.
51441 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51443         [BZ #16381]
51444         * elf/Makefile (tests): Add tst-pie2.
51445         (tests-pie): Add tst-pie2.
51446         * elf/tst-pie2.c: New file.
51447         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51448         for ET_EXEC.
51449         * elf/rtld.c (map_doit): Load executable as lt_executable.
51450         (dl_main): Likewise.
51452 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51454         [BZ #16642]
51455         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51456         (__ASSUME_PSELECT): Undefine.
51458 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51460         [BZ #16689]
51461         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51462         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51463         static build.
51464         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51465         selector for static builds.
51467 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51469         [BZ #16695]
51470         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51471         key in the buffer.
51473 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51475         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51476         IFUNC selector for static builds.
51478 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51480         * sysdeps/mips/math_private.h [__mips_hard_float]
51481         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51482         libc_feresetround_mips_ctx.
51483         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51484         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51485         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51487         [BZ #16677]
51488         * math/s_nextafter.c (__nextafter): Do not return value from
51489         overflowing computation.
51490         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51491         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51492         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51493         Likewise.
51494         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51495         Likewise.
51496         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51497         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51499 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51501         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51502         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51503         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51504         the new mov targetting sp.
51506 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51508         [BZ #16683]
51509         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51510         Define it for static builds as well.
51511         (NO_BZERO_IMPL): Likewise.
51513 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51515         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51516         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51517         multiarch strspn for PPC64.
51518         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51519         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51521         (__libc_ifunc_impl_list): Likewise.
51522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51523         multiarch optimizations
51524         * string/strspn.c (strspn): Using macro to redefine symbol name.
51526 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51527             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51529         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51530         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51531         multiarch strncat for PPC64.
51532         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51533         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51535         (__libc_ifunc_impl_list): Likewise.
51536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51537         multiarch optimizations
51539 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51541         [BZ #16639]
51542         * nscd/nscd.service: Make service type forking.
51544 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51546         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51547         sign in non default rounding modes.
51548         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51550 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51552         * math/libm-test.inc (ALL_RM_TEST): New macro.
51553         (ceil_test): Use ALL_RM_TEST.
51554         (cimag_test): Likewise.
51555         (conj_test): Likewise.
51556         (copysign_test): Likewise.
51557         (cproj_test): Likewise.
51558         (creal_test): Likewise.
51559         (fabs_test): Likewise.
51560         (floor_test): Likewise.
51561         (fmax_test): Likewise.
51562         (fmin_test): Likewise.
51563         (fmod_test): Likewise.
51564         (fpclassify_test): Likewise.
51565         (frexp_test): Likewise.
51566         (ilogb_test): Likewise.
51567         (isfinite_test): Likewise.
51568         (finite_test): Likewise.
51569         (isgreater_test): Likewise.
51570         (isgreaterequal_test): Likewise.
51571         (isinf_test): Likewise.
51572         (isless_test): Likewise.
51573         (islessequal_test): Likewise.
51574         (islessgreater_test): Likewise.
51575         (isnan_test): Likewise.
51576         (isnormal_test): Likewise.
51577         (issignaling_test): Likewise.
51578         (isunordered_test): Likewise.
51579         (logb_test): Likewise.
51580         (logb_downward_test_data): Remove.
51581         (logb_test_downward): Likewise.
51582         (lround_test): Use ALL_RM_TEST.
51583         (llround_test): Likewise.
51584         (modf_test): Likewise.
51585         (nexttoward_test): Likewise.
51586         (remainder_test): Likewise.
51587         (drem_test): Likewise.
51588         (remainder_tonearest_test_data): Likewise.
51589         (remainder_test_tonearest): Likewise.
51590         (drem_test_tonearest): Likewise.
51591         (remainder_towardzero_test_data): Likewise.
51592         (remainder_test_towardzero): Likewise.
51593         (drem_test_towardzero): Likewise.
51594         (remainder_downward_test_data): Likewise.
51595         (remainder_test_downward): Likewise.
51596         (drem_test_downward): Likewise.
51597         (remainder_upward_test_data): Likewise.
51598         (remainder_test_upward): Likewise.
51599         (drem_test_upward): Likewise.
51600         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51601         (round_test): Use ALL_RM_TEST.
51602         (signbit_test): Likewise.
51603         (trunc_test): Likewise.
51604         (significand_test): Likewise.
51605         (main): Don't call removed functions.
51607 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51609         [BZ #16674]
51610         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51611         || __USE_XOPEN2K8].
51612         (ILL_ILLOPN): Likewise.
51613         (ILL_ILLADR): Likewise.
51614         (ILL_ILLTRP): Likewise.
51615         (ILL_PRVOPC): Likewise.
51616         (ILL_PRVREG): Likewise.
51617         (ILL_COPROC): Likewise.
51618         (ILL_BADSTK): Likewise.
51619         (FPE_INTDIV): Likewise.
51620         (FPE_INTOVF): Likewise.
51621         (FPE_FLTDIV): Likewise.
51622         (FPE_FLTOVF): Likewise.
51623         (FPE_FLTUND): Likewise.
51624         (FPE_FLTRES): Likewise.
51625         (FPE_FLTINV): Likewise.
51626         (FPE_FLTSUB): Likewise.
51627         (SEGV_MAPERR): Likewise.
51628         (SEGV_ACCERR): Likewise.
51629         (BUS_ADRALN): Likewise.
51630         (BUS_ADRERR): Likewise.
51631         (BUS_OBJERR): Likewise.
51632         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51633         (TRAP_TRACE): Likewise.
51634         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51635         __USE_XOPEN2K8].
51636         (CLD_KILLED): Likewise.
51637         (CLD_DUMPED): Likewise.
51638         (CLD_TRAPPED): Likewise.
51639         (CLD_STOPPED): Likewise.
51640         (CLD_CONTINUED): Likewise.
51641         (POLL_IN): Likewise.
51642         (POLL_OUT): Likewise.
51643         (POLL_MSG): Likewise.
51644         (POLL_ERR): Likewise.
51645         (POLL_PRI): Likewise.
51646         (POLL_HUP): Likewise.
51647         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51648         Likewise.
51649         (ILL_ILLOPN): Likewise.
51650         (ILL_ILLADR): Likewise.
51651         (ILL_ILLTRP): Likewise.
51652         (ILL_PRVOPC): Likewise.
51653         (ILL_PRVREG): Likewise.
51654         (ILL_COPROC): Likewise.
51655         (ILL_BADSTK): Likewise.
51656         (FPE_INTDIV): Likewise.
51657         (FPE_INTOVF): Likewise.
51658         (FPE_FLTDIV): Likewise.
51659         (FPE_FLTOVF): Likewise.
51660         (FPE_FLTUND): Likewise.
51661         (FPE_FLTRES): Likewise.
51662         (FPE_FLTINV): Likewise.
51663         (FPE_FLTSUB): Likewise.
51664         (SEGV_MAPERR): Likewise.
51665         (SEGV_ACCERR): Likewise.
51666         (BUS_ADRALN): Likewise.
51667         (BUS_ADRERR): Likewise.
51668         (BUS_OBJERR): Likewise.
51669         (BUS_MCEERR_AR): Likewise.
51670         (BUS_MCEERR_AO): Likewise.
51671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51672         (TRAP_TRACE): Likewise.
51673         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51674         __USE_XOPEN2K8].
51675         (CLD_KILLED): Likewise.
51676         (CLD_DUMPED): Likewise.
51677         (CLD_TRAPPED): Likewise.
51678         (CLD_STOPPED): Likewise.
51679         (CLD_CONTINUED): Likewise.
51680         (POLL_IN): Likewise.
51681         (POLL_OUT): Likewise.
51682         (POLL_MSG): Likewise.
51683         (POLL_ERR): Likewise.
51684         (POLL_PRI): Likewise.
51685         (POLL_HUP): Likewise.
51686         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
51687         (ILL_ILLOPN): Likewise.
51688         (ILL_ILLADR): Likewise.
51689         (ILL_ILLTRP): Likewise.
51690         (ILL_PRVOPC): Likewise.
51691         (ILL_PRVREG): Likewise.
51692         (ILL_COPROC): Likewise.
51693         (ILL_BADSTK): Likewise.
51694         (FPE_INTDIV): Likewise.
51695         (FPE_INTOVF): Likewise.
51696         (FPE_FLTDIV): Likewise.
51697         (FPE_FLTOVF): Likewise.
51698         (FPE_FLTUND): Likewise.
51699         (FPE_FLTRES): Likewise.
51700         (FPE_FLTINV): Likewise.
51701         (FPE_FLTSUB): Likewise.
51702         (SEGV_MAPERR): Likewise.
51703         (SEGV_ACCERR): Likewise.
51704         (BUS_ADRALN): Likewise.
51705         (BUS_ADRERR): Likewise.
51706         (BUS_OBJERR): Likewise.
51707         (BUS_MCEERR_AR): Likewise.
51708         (BUS_MCEERR_AO): Likewise.
51709         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51710         (TRAP_TRACE): Likewise.
51711         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51712         __USE_XOPEN2K8].
51713         (CLD_KILLED): Likewise.
51714         (CLD_DUMPED): Likewise.
51715         (CLD_TRAPPED): Likewise.
51716         (CLD_STOPPED): Likewise.
51717         (CLD_CONTINUED): Likewise.
51718         (POLL_IN): Likewise.
51719         (POLL_OUT): Likewise.
51720         (POLL_MSG): Likewise.
51721         (POLL_ERR): Likewise.
51722         (POLL_PRI): Likewise.
51723         (POLL_HUP): Likewise.
51724         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
51725         Likewise.
51726         (ILL_ILLOPN): Likewise.
51727         (ILL_ILLADR): Likewise.
51728         (ILL_ILLTRP): Likewise.
51729         (ILL_PRVOPC): Likewise.
51730         (ILL_PRVREG): Likewise.
51731         (ILL_COPROC): Likewise.
51732         (ILL_BADSTK): Likewise.
51733         (ILL_BADIADDR): Likewise.
51734         (ILL_BREAK): Likewise.
51735         (FPE_INTDIV): Likewise.
51736         (FPE_INTOVF): Likewise.
51737         (FPE_FLTDIV): Likewise.
51738         (FPE_FLTOVF): Likewise.
51739         (FPE_FLTUND): Likewise.
51740         (FPE_FLTRES): Likewise.
51741         (FPE_FLTINV): Likewise.
51742         (FPE_FLTSUB): Likewise.
51743         (FPE_DECOVF): Likewise.
51744         (FPE_DECDIV): Likewise.
51745         (FPE_DECERR): Likewise.
51746         (FPE_INVASC): Likewise.
51747         (FPE_INVDEC): Likewise.
51748         (SEGV_MAPERR): Likewise.
51749         (SEGV_ACCERR): Likewise.
51750         (SEGV_PSTKOVF): Likewise.
51751         (BUS_ADRALN): Likewise.
51752         (BUS_ADRERR): Likewise.
51753         (BUS_OBJERR): Likewise.
51754         (BUS_MCEERR_AR): Likewise.
51755         (BUS_MCEERR_AO): Likewise.
51756         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51757         (TRAP_TRACE): Likewise.
51758         (TRAP_BRANCH): Likewise.
51759         (TRAP_HWBKPT): Likewise.
51760         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51761         __USE_XOPEN2K8].
51762         (CLD_KILLED): Likewise.
51763         (CLD_DUMPED): Likewise.
51764         (CLD_TRAPPED): Likewise.
51765         (CLD_STOPPED): Likewise.
51766         (CLD_CONTINUED): Likewise.
51767         (POLL_IN): Likewise.
51768         (POLL_OUT): Likewise.
51769         (POLL_MSG): Likewise.
51770         (POLL_ERR): Likewise.
51771         (POLL_PRI): Likewise.
51772         (POLL_HUP): Likewise.
51773         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
51774         (ILL_ILLOPN): Likewise.
51775         (ILL_ILLADR): Likewise.
51776         (ILL_ILLTRP): Likewise.
51777         (ILL_PRVOPC): Likewise.
51778         (ILL_PRVREG): Likewise.
51779         (ILL_COPROC): Likewise.
51780         (ILL_BADSTK): Likewise.
51781         (FPE_INTDIV): Likewise.
51782         (FPE_INTOVF): Likewise.
51783         (FPE_FLTDIV): Likewise.
51784         (FPE_FLTOVF): Likewise.
51785         (FPE_FLTUND): Likewise.
51786         (FPE_FLTRES): Likewise.
51787         (FPE_FLTINV): Likewise.
51788         (FPE_FLTSUB): Likewise.
51789         (SEGV_MAPERR): Likewise.
51790         (SEGV_ACCERR): Likewise.
51791         (BUS_ADRALN): Likewise.
51792         (BUS_ADRERR): Likewise.
51793         (BUS_OBJERR): Likewise.
51794         (BUS_MCEERR_AR): Likewise.
51795         (BUS_MCEERR_AO): Likewise.
51796         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51797         (TRAP_TRACE): Likewise.
51798         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51799         __USE_XOPEN2K8].
51800         (CLD_KILLED): Likewise.
51801         (CLD_DUMPED): Likewise.
51802         (CLD_TRAPPED): Likewise.
51803         (CLD_STOPPED): Likewise.
51804         (CLD_CONTINUED): Likewise.
51805         (POLL_IN): Likewise.
51806         (POLL_OUT): Likewise.
51807         (POLL_MSG): Likewise.
51808         (POLL_ERR): Likewise.
51809         (POLL_PRI): Likewise.
51810         (POLL_HUP): Likewise.
51811         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
51812         (ILL_ILLOPN): Likewise.
51813         (ILL_ILLADR): Likewise.
51814         (ILL_ILLTRP): Likewise.
51815         (ILL_PRVOPC): Likewise.
51816         (ILL_PRVREG): Likewise.
51817         (ILL_COPROC): Likewise.
51818         (ILL_BADSTK): Likewise.
51819         (FPE_INTDIV): Likewise.
51820         (FPE_INTOVF): Likewise.
51821         (FPE_FLTDIV): Likewise.
51822         (FPE_FLTOVF): Likewise.
51823         (FPE_FLTUND): Likewise.
51824         (FPE_FLTRES): Likewise.
51825         (FPE_FLTINV): Likewise.
51826         (FPE_FLTSUB): Likewise.
51827         (SEGV_MAPERR): Likewise.
51828         (SEGV_ACCERR): Likewise.
51829         (BUS_ADRALN): Likewise.
51830         (BUS_ADRERR): Likewise.
51831         (BUS_OBJERR): Likewise.
51832         (BUS_MCEERR_AR): Likewise.
51833         (BUS_MCEERR_AO): Likewise.
51834         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51835         (TRAP_TRACE): Likewise.
51836         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51837         __USE_XOPEN2K8].
51838         (CLD_KILLED): Likewise.
51839         (CLD_DUMPED): Likewise.
51840         (CLD_TRAPPED): Likewise.
51841         (CLD_STOPPED): Likewise.
51842         (CLD_CONTINUED): Likewise.
51843         (POLL_IN): Likewise.
51844         (POLL_OUT): Likewise.
51845         (POLL_MSG): Likewise.
51846         (POLL_ERR): Likewise.
51847         (POLL_PRI): Likewise.
51848         (POLL_HUP): Likewise.
51849         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
51850         (ILL_ILLOPN): Likewise.
51851         (ILL_ILLADR): Likewise.
51852         (ILL_ILLTRP): Likewise.
51853         (ILL_PRVOPC): Likewise.
51854         (ILL_PRVREG): Likewise.
51855         (ILL_COPROC): Likewise.
51856         (ILL_BADSTK): Likewise.
51857         (FPE_INTDIV): Likewise.
51858         (FPE_INTOVF): Likewise.
51859         (FPE_FLTDIV): Likewise.
51860         (FPE_FLTOVF): Likewise.
51861         (FPE_FLTUND): Likewise.
51862         (FPE_FLTRES): Likewise.
51863         (FPE_FLTINV): Likewise.
51864         (FPE_FLTSUB): Likewise.
51865         (SEGV_MAPERR): Likewise.
51866         (SEGV_ACCERR): Likewise.
51867         (BUS_ADRALN): Likewise.
51868         (BUS_ADRERR): Likewise.
51869         (BUS_OBJERR): Likewise.
51870         (BUS_MCEERR_AR): Likewise.
51871         (BUS_MCEERR_AO): Likewise.
51872         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51873         (TRAP_TRACE): Likewise.
51874         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51875         __USE_XOPEN2K8].
51876         (CLD_KILLED): Likewise.
51877         (CLD_DUMPED): Likewise.
51878         (CLD_TRAPPED): Likewise.
51879         (CLD_STOPPED): Likewise.
51880         (CLD_CONTINUED): Likewise.
51881         (POLL_IN): Likewise.
51882         (POLL_OUT): Likewise.
51883         (POLL_MSG): Likewise.
51884         (POLL_ERR): Likewise.
51885         (POLL_PRI): Likewise.
51886         (POLL_HUP): Likewise.
51887         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
51888         (ILL_ILLOPN): Likewise.
51889         (ILL_ILLADR): Likewise.
51890         (ILL_ILLTRP): Likewise.
51891         (ILL_PRVOPC): Likewise.
51892         (ILL_PRVREG): Likewise.
51893         (ILL_COPROC): Likewise.
51894         (ILL_BADSTK): Likewise.
51895         (ILL_DBLFLT): Likewise.
51896         (ILL_HARDWALL): Likewise.
51897         (FPE_INTDIV): Likewise.
51898         (FPE_INTOVF): Likewise.
51899         (FPE_FLTDIV): Likewise.
51900         (FPE_FLTOVF): Likewise.
51901         (FPE_FLTUND): Likewise.
51902         (FPE_FLTRES): Likewise.
51903         (FPE_FLTINV): Likewise.
51904         (FPE_FLTSUB): Likewise.
51905         (SEGV_MAPERR): Likewise.
51906         (SEGV_ACCERR): Likewise.
51907         (BUS_ADRALN): Likewise.
51908         (BUS_ADRERR): Likewise.
51909         (BUS_OBJERR): Likewise.
51910         (BUS_MCEERR_AR): Likewise.
51911         (BUS_MCEERR_AO): Likewise.
51912         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51913         (TRAP_TRACE): Likewise.
51914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51915         __USE_XOPEN2K8].
51916         (CLD_KILLED): Likewise.
51917         (CLD_DUMPED): Likewise.
51918         (CLD_TRAPPED): Likewise.
51919         (CLD_STOPPED): Likewise.
51920         (CLD_CONTINUED): Likewise.
51921         (POLL_IN): Likewise.
51922         (POLL_OUT): Likewise.
51923         (POLL_MSG): Likewise.
51924         (POLL_ERR): Likewise.
51925         (POLL_PRI): Likewise.
51926         (POLL_HUP): Likewise.
51927         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51928         (ILL_ILLOPN): Likewise.
51929         (ILL_ILLADR): Likewise.
51930         (ILL_ILLTRP): Likewise.
51931         (ILL_PRVOPC): Likewise.
51932         (ILL_PRVREG): Likewise.
51933         (ILL_COPROC): Likewise.
51934         (ILL_BADSTK): Likewise.
51935         (FPE_INTDIV): Likewise.
51936         (FPE_INTOVF): Likewise.
51937         (FPE_FLTDIV): Likewise.
51938         (FPE_FLTOVF): Likewise.
51939         (FPE_FLTUND): Likewise.
51940         (FPE_FLTRES): Likewise.
51941         (FPE_FLTINV): Likewise.
51942         (FPE_FLTSUB): Likewise.
51943         (SEGV_MAPERR): Likewise.
51944         (SEGV_ACCERR): Likewise.
51945         (BUS_ADRALN): Likewise.
51946         (BUS_ADRERR): Likewise.
51947         (BUS_OBJERR): Likewise.
51948         (BUS_MCEERR_AR): Likewise.
51949         (BUS_MCEERR_AO): Likewise.
51950         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51951         (TRAP_TRACE): Likewise.
51952         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51953         __USE_XOPEN2K8].
51954         (CLD_KILLED): Likewise.
51955         (CLD_DUMPED): Likewise.
51956         (CLD_TRAPPED): Likewise.
51957         (CLD_STOPPED): Likewise.
51958         (CLD_CONTINUED): Likewise.
51959         (POLL_IN): Likewise.
51960         (POLL_OUT): Likewise.
51961         (POLL_MSG): Likewise.
51962         (POLL_ERR): Likewise.
51963         (POLL_PRI): Likewise.
51964         (POLL_HUP): Likewise.
51965         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51966         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51968         [BZ #16670]
51969         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51970         before #include of <time.h>.
51971         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51972         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51973         (test-xfail-UNIX98/sched.h/conform): Likewise.
51975 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51977         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51978         error absence of trapping exception support.
51979         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51981 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51983         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51984         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51985         * timezone/Makefile (testdata): Move definition above include of
51986         Rules.
51987         (test-zones): New variable.
51988         (tests-special): Add zone files.
51989         (build-testdata): Use $(evaluate-test).
51991         * elf/Makefile (tests-special): Rename tests to end with .out.
51992         ($(objpfx)noload-mem): Likewise.
51993         ($(objpfx)tst-leaks1-mem): Likewise.
51994         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51995         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51996         $(objpfx)test-iconvconfig.out.
51997         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51998         set -e inside subshell and redirect output to file.
51999         * iconvdata/Makefile (generated): Rename tests to end with .out.
52000         Correct type.
52001         (tests-special): Rename tests to end with .out.
52002         ($(objpfx)mtrace-tst-loading): Likewise.
52003         * intl/Makefile (generated): Likewise.
52004         (tests-special): Likewise.
52005         ($(objpfx)mtrace-tst-gettext): Likewise.
52006         * misc/Makefile (generated): Likewise.
52007         (tests-special): Likewise.
52008         ($(objpfx)tst-error1-mem): Likewise.
52009         * nptl/Makefile (tests-special): Likewise.
52010         ($(objpfx)tst-stack3-mem): Likewise.
52011         (generated): Likewise.
52012         * posix/Makefile (generated): Likewise.
52013         (tests-special): Likewise.
52014         (xtests-special): Likewise.
52015         ($(objpfx)tst-fnmatch-mem): Likewise.
52016         ($(objpfx)bug-regex2-mem): Likewise.
52017         ($(objpfx)bug-regex14-mem): Likewise.
52018         ($(objpfx)bug-regex21-mem): Likewise.
52019         ($(objpfx)bug-regex31-mem): Likewise.
52020         ($(objpfx)tst-vfork3-mem): Likewise.
52021         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52022         ($(objpfx)tst-pcre-mem): Likewise.
52023         ($(objpfx)tst-boost-mem): Likewise.
52024         ($(objpfx)bug-ga2-mem): Likewise.
52025         ($(objpfx)bug-glob2-mem): Likewise.
52026         * resolv/Makefile (generate): Likewise.
52027         (tests-special): Likewise.
52028         (xtests-special): Likewise.
52029         (generated): Likewise.
52030         ($(objpfx)mtrace-tst-leaks): Likewise.
52031         ($(objpfx)mtrace-tst-leaks2): Likewise.
52033         * scripts/merge-test-results.sh: New file.
52034         * Makefile (tests-special-notdir): New variable.
52035         (tests): Run merge-test-results.sh.
52036         (xtests): Likewise.
52037         * Rules (tests-special-notdir): New variable.
52038         (xtests-special-notdir): Likewise.
52039         (tests): Run merge-test-results.sh
52040         (xtests): Likewise.
52042         * Makeconfig (test-xfail-name): New variable.
52043         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
52044         compute variable name for expected failures.
52045         * conform/Makefile (conformtest-headers-data): New variable.
52046         (conformtest-standards): Likewise.
52047         (conformtest-headers-ISO): Likewise.
52048         (conformtest-headers-ISO99): Likewise.
52049         (conformtest-headers-ISO11): Likewise.
52050         (conformtest-headers-POSIX): Likewise.
52051         (conformtest-headers-XPG3): Likewise.
52052         (conformtest-headers-XPG4): Likewise.
52053         (conformtest-headers-UNIX98): Likewise.
52054         (conformtest-headers-XOPEN2K): Likewise.
52055         (conformtest-headers-POSIX2008): Likewise.
52056         (conformtest-headers-XOPEN2K8): Likewise.
52057         (conformtest-header-list-base): Likewise.
52058         (conformtest-header-list-tests): Likewise.
52059         (conformtest-header-base): Likewise.
52060         (conformtest-header-tests): Likewise.
52061         (tests-special): Add $(conformtest-header-list-tests).  If
52062         [$(fast-check) && !$(cross-compiling)], add
52063         $(conformtest-header-tests) instead of
52064         $(objpfx)run-conformtest.out.
52065         (generated): Add $(conformtest-header-list-base).  If
52066         [$(fast-check) && !$(cross-compiling)], add
52067         $(conformtest-header-base).  Remove previous setting.
52068         ($(conformtest-header-list-tests)): New target.
52069         (test-xfail-run-conformtest): Remove variable.
52070         ($(objpfx)run-conformtest.out): Remove target.
52071         (test-xfail-ISO11/complex.h/conform): New variable.
52072         (test-xfail-ISO11/stdalign.h/conform): Likewise.
52073         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
52074         (test-xfail-XPG3/varargs.h/conform): Likewise.
52075         (test-xfail-XPG4/varargs.h/conform): Likewise.
52076         (test-xfail-UNIX98/varargs.h/conform): Likewise.
52077         (test-xfail-XPG4/ndbm.h/conform): Likewise.
52078         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
52079         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
52080         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
52081         (test-xfail-XPG3/fcntl.h/conform): Likewise.
52082         (test-xfail-XPG3/ftw.h/conform): Likewise.
52083         (test-xfail-XPG3/grp.h/conform): Likewise.
52084         (test-xfail-XPG3/langinfo.h/conform): Likewise.
52085         (test-xfail-XPG3/limits.h/conform): Likewise.
52086         (test-xfail-XPG3/pwd.h/conform): Likewise.
52087         (test-xfail-XPG3/search.h/conform): Likewise.
52088         (test-xfail-XPG3/signal.h/conform): Likewise.
52089         (test-xfail-XPG3/stdio.h/conform): Likewise.
52090         (test-xfail-XPG3/stdlib.h/conform): Likewise.
52091         (test-xfail-XPG3/string.h/conform): Likewise.
52092         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
52093         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
52094         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
52095         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
52096         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
52097         (test-xfail-XPG3/sys/types.h/conform): Likewise.
52098         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
52099         (test-xfail-XPG3/termios.h/conform): Likewise.
52100         (test-xfail-XPG3/time.h/conform): Likewise.
52101         (test-xfail-XPG3/unistd.h/conform): Likewise.
52102         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
52103         (test-xfail-XPG4/fcntl.h/conform): Likewise.
52104         (test-xfail-XPG4/langinfo.h/conform): Likewise.
52105         (test-xfail-XPG4/netdb.h/conform): Likewise.
52106         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
52107         (test-xfail-XPG4/signal.h/conform): Likewise.
52108         (test-xfail-XPG4/stdio.h/conform): Likewise.
52109         (test-xfail-XPG4/stdlib.h/conform): Likewise.
52110         (test-xfail-XPG4/stropts.h/conform): Likewise.
52111         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
52112         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
52113         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
52114         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
52115         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
52116         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
52117         (test-xfail-XPG4/sys/time.h/conform): Likewise.
52118         (test-xfail-XPG4/sys/types.h/conform): Likewise.
52119         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
52120         (test-xfail-XPG4/termios.h/conform): Likewise.
52121         (test-xfail-XPG4/ucontext.h/conform): Likewise.
52122         (test-xfail-XPG4/unistd.h/conform): Likewise.
52123         (test-xfail-XPG4/utmpx.h/conform): Likewise.
52124         (test-xfail-POSIX/sched.h/conform): Likewise.
52125         (test-xfail-POSIX/signal.h/conform): Likewise.
52126         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52127         (test-xfail-POSIX/tar.h/conform): Likewise.
52128         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
52129         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
52130         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
52131         (test-xfail-UNIX98/netdb.h/conform): Likewise.
52132         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
52133         (test-xfail-UNIX98/sched.h/conform): Likewise.
52134         (test-xfail-UNIX98/signal.h/conform): Likewise.
52135         (test-xfail-UNIX98/stdio.h/conform): Likewise.
52136         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
52137         (test-xfail-UNIX98/stropts.h/conform): Likewise.
52138         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
52139         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
52140         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
52141         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
52142         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
52143         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
52144         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
52145         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
52146         (test-xfail-UNIX98/unistd.h/conform): Likewise.
52147         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
52148         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
52149         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
52150         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
52151         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
52152         (test-xfail-XOPEN2K/math.h/conform): Likewise.
52153         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
52154         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
52155         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
52156         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
52157         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
52158         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
52159         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
52160         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
52161         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52162         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
52163         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
52164         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
52165         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
52166         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
52167         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
52168         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
52169         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
52170         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
52171         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
52172         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
52173         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
52174         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
52175         (test-xfail-POSIX2008/signal.h/conform): Likewise.
52176         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52177         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52178         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52179         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52180         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52181         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52182         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52183         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52184         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52185         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52186         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52187         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52188         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52189         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52190         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52191         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52192         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52193         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52194         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52195         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52196         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
52197         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
52198         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
52199         (conformtest-cc-flags): Likewise.
52200         ($(conformtest-header-tests): New target.
52201         * conform/check-header-lists.sh: New file.
52202         * conform/run-conformtest.sh: Remove.
52204         * conform/conformtest.pl: Allow ' and \ in values given for
52205         constants.
52206         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
52207         inclusion.
52208         [POSIX] (sys/types.h): Likewise.
52209         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
52210         inclusion.
52211         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
52212         inclusion.
52213         * conform/data/signal.h-data (SIGIO): Remove expectation.
52214         [XPG3] (SIGBUS): Do not expect.
52215         [POSIX || XPG3] (SIGPOLL): Likewise.
52216         [POSIX || XPG3] (SIGPROF): Likewise.
52217         [POSIX || XPG3] (SIGSYS): Likewise.
52218         [XPG3] (SIGTRAP): Likewise.
52219         [POSIX || XPG3] (SIGURG): Likewise.
52220         [POSIX || XPG3] (SIGVTALRM): Likewise.
52221         [POSIX || XPG3] (SIGXCPU): Likewise.
52222         [POSIX || XPG3] (SIGXFSZ): Likewise.
52223         [POSIX] (SA_SIGINFO): Expect.
52224         [XPG3] (siginfo_t): Do not expect type or contents.
52225         [POSIX] (si_pid): Do not expect element.
52226         [POSIX] (si_uid): Likewise.
52227         [POSIX] (si_addr): Likewise.
52228         [POSIX] (si_status): Likewise.
52229         [POSIX] (si_band): Likewise.
52230         [XPG4] (si_value): Likewise.
52231         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
52232         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
52233         [POSIX || XPG3] (ILL_ILLADR): Likewise.
52234         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
52235         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
52236         [POSIX || XPG3] (ILL_PRVREG): Likewise.
52237         [POSIX || XPG3] (ILL_COPROC): Likewise.
52238         [POSIX || XPG3] (ILL_BADSTK): Likewise.
52239         [POSIX || XPG3] (FPE_INTDIV): Likewise.
52240         [POSIX || XPG3] (FPE_INTOVF): Likewise.
52241         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
52242         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
52243         [POSIX || XPG3] (FPE_FLTUND): Likewise.
52244         [POSIX || XPG3] (FPE_FLTRES): Likewise.
52245         [POSIX || XPG3] (FPE_FLTINV): Likewise.
52246         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
52247         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
52248         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
52249         [POSIX || XPG3] (BUS_ADRALN): Likewise.
52250         [POSIX || XPG3] (BUS_ADRERR): Likewise.
52251         [POSIX || XPG3] (BUS_OBJERR): Likewise.
52252         [POSIX || XPG3] (CLD_EXITED): Likewise.
52253         [POSIX || XPG3] (CLD_KILLED): Likewise.
52254         [POSIX || XPG3] (CLD_DUMPED): Likewise.
52255         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
52256         [POSIX || XPG3] (CLD_STOPPED): Likewise.
52257         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
52258         [POSIX || XPG3] (POLL_IN): Likewise.
52259         [POSIX || XPG3] (POLL_OUT): Likewise.
52260         [POSIX || XPG3] (POLL_MSG): Likewise.
52261         [POSIX || XPG3] (POLL_ERR): Likewise.
52262         [POSIX || XPG3] (POLL_PRI): Likewise.
52263         [POSIX || XPG3] (POLL_HUP): Likewise.
52264         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
52265         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
52266         (SIG*): Do not allow.
52267         [XPG3] (si_*): Likewise.
52268         [XPG3] (SI_*): Likewise.
52269         [XPG3 || XPG4] (sigev_*): Likewise.
52270         [XPG3 || XPG4] (SIGEV_*): Likewise.
52271         [XPG3 || XPG4] (sival_*): Likewise.
52272         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
52273         [POSIX || XPG3] (BUS_*): Likewise.
52274         [POSIX || XPG3] (CLD_*): Likewise.
52275         [POSIX || XPG3] (FPE_*): Likewise.
52276         [POSIX || XPG3] (ILL_*): Likewise.
52277         [POSIX || XPG3] (POLL_*): Likewise.
52278         [POSIX || XPG3] (SEGV_*): Likewise.
52279         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52280         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52281         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52282         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52283         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52284         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52285         Specify type and value.
52286         (TVERSLEN): Likewise.
52287         (REGTYPE): Likewise.
52288         (AREGTYPE): Likewise.
52289         (LNKTYPE): Likewise.
52290         (SYMTYPE): Likewise.
52291         (CHRTYPE): Likewise.
52292         (BLKTYPE): Likewise.
52293         (DIRTYPE): Likewise.
52294         (FIFOTYPE): Likewise.
52295         (CONTTYPE): Likewise.
52296         (TSUID): Likewise.
52297         (TSGID): Likewise.
52298         (TSVTX): Likewise.
52299         (TUREAD): Likewise.
52300         (TUWRITE): Likewise.
52301         (TUEXEC): Likewise.
52302         (TGREAD): Likewise.
52303         (TGWRITE): Likewise.
52304         (TGEXEC): Likewise.
52305         (TOREAD): Likewise.
52306         (TOWRITE): Likewise.
52307         (TOEXEC): Likewise.
52308         [POSIX] (TSVTX): Expect constant.
52310 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
52312         * Makefile (tests): Change dependencies to ....
52313         (tests-special): ... additions to this variable.
52314         (tests): Depend on $(tests-special).
52315         * Makerules (check-abi-list): New variable.
52316         (check-abi): Depend on $(check-abi-list).
52317         [$(subdir) = elf] (tests-special): Add
52318         $(objpfx)check-abi-libc.out.
52319         [$(build-shared) = yes && subdir] (tests-special): Add
52320         $(check-abi-list).
52321         [$(build-shared) = yes && subdir] (tests): Do not depend on
52322         check-abi.
52323         * Rules (tests): Depend on $(tests-special).
52324         (xtests): Depend on $(xtests-special).
52325         * catgets/Makefile (tests): Change dependencies to ....
52326         (tests-special): ... additions to this variable.
52327         * conform/Makefile (tests): Change dependencies to ....
52328         (tests-special): ... additions to this variable.
52329         * elf/Makefile (tests): Change dependencies to ....
52330         (tests-special): ... additions to this variable.
52331         * grp/Makefile (tests): Change dependencies to ....
52332         (tests-special): ... additions to this variable.
52333         * iconv/Makefile (xtests): Change dependencies to ....
52334         (xtests-special): ... additions to this variable.
52335         * iconvdata/Makefile (tests): Change dependencies to ....
52336         (tests-special): ... additions to this variable.
52337         * intl/Makefile (tests): Change dependencies to ....
52338         (tests-special): ... additions to this variable.  Also add
52339         $(objpfx)tst-gettext.out.
52340         * io/Makefile (tests): Change dependencies to ....
52341         (tests-special): ... additions to this variable.
52342         * libio/Makefile (tests): Change dependencies to ....
52343         (tests-special): ... additions to this variable.
52344         * malloc/Makefile (tests): Change dependencies to ....
52345         (tests-special): ... additions to this variable.
52346         * misc/Makefile (tests): Change dependencies to ....
52347         (tests-special): ... additions to this variable.
52348         * nptl/Makefile (tests): Change dependencies to ....
52349         (tests-special): ... additions to this variable.
52350         * nptl_db/Makefile (tests): Change dependencies to ....
52351         (tests-special): ... additions to this variable.
52352         * posix/Makefile (tests): Change dependencies to ....
52353         (tests-special): ... additions to this variable.
52354         (xtests): Change dependencies to ....
52355         (xtests-special): ... additions to this variable.
52356         * resolv/Makefile (tests): Change dependencies to ....
52357         (tests-special): ... additions to this variable.
52358         (xtests): Change dependencies to ....
52359         (xtests-special): ... additions to this variable.
52360         * stdio-common/Makefile (tests): Change dependencies to ....
52361         (tests-special): ... additions to this variable.
52362         (do-tst-unbputc): Remove target.
52363         (do-tst-printf): Likewise.
52364         * stdlib/Makefile (tests): Change dependencies to ....
52365         (tests-special): ... additions to this variable.
52366         * string/Makefile (tests): Change dependencies to ....
52367         (tests-special): ... additions to this variable.
52368         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52369         (tests-special): ... additions to this variable.
52371         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52372         whole file.
52373         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52374         whole file.
52375         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52376         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52378         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52379         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52380         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52381         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52382         * conform/data/libgen.h-data [XPG3]: Likewise.
52383         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52384         * conform/data/ndbm.h-data [XPG3]: Likewise.
52385         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52386         * conform/data/netdb.h-data [XPG3]: Likewise.
52387         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52388         * conform/data/poll.h-data [XPG3]: Likewise.
52389         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52390         * conform/data/strings.h-data [XPG3]: Likewise.
52391         * conform/data/stropts.h-data [XPG3]: Likewise.
52392         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52393         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52394         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52395         Likewise.
52396         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52397         * conform/data/sys/time.h-data [XPG3]: Likewise.
52398         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52399         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52400         * conform/data/sys/un.h-data [XPG3]: Likewise.
52401         * conform/data/syslog.h-data [XPG3]: Likewise.
52402         * conform/data/ucontext.h-data [XPG3]: Likewise.
52403         * conform/data/utmpx.h-data [XPG3]: Likewise.
52404         * conform/data/varargs.h-data [UNIX98]: Enable file.
52406         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52408         * math/libm-test.inc (struct test_f_f_data): Move expected results
52409         into structure for each rounding mode.
52410         (struct test_ff_f_data): Likewise.
52411         (struct test_ff_f_data_nexttoward): Likewise.
52412         (struct test_fi_f_data): Likewise.
52413         (struct test_fl_f_data): Likewise.
52414         (struct test_if_f_data): Likewise.
52415         (struct test_fff_f_data): Likewise.
52416         (struct test_c_f_data): Likewise.
52417         (struct test_f_f1_data): Likewise.
52418         (struct test_fF_f1_data): Likewise.
52419         (struct test_ffI_f1_data): Likewise.
52420         (struct test_c_c_data): Likewise.
52421         (struct test_cc_c_data): Likewise.
52422         (struct test_f_i_data): Likewise.
52423         (struct test_ff_i_data): Likewise.
52424         (struct test_f_l_data): Likewise.
52425         (struct test_f_L_data): Likewise.
52426         (struct test_fFF_11_data): Likewise.
52427         (RM_): New macro.
52428         (RM_FE_DOWNWARD): Likewise.
52429         (RM_FE_TONEAREST): Likewise.
52430         (RM_FE_TOWARDZERO): Likewise.
52431         (RM_FE_UPWARD): Likewise.
52432         (RUN_TEST_LOOP_f_f): Update references to expected results.
52433         (RUN_TEST_LOOP_2_f): Likewise.
52434         (RUN_TEST_LOOP_fff_f): Likewise.
52435         (RUN_TEST_LOOP_c_f): Likewise.
52436         (RUN_TEST_LOOP_f_f1): Likewise.
52437         (RUN_TEST_LOOP_fF_f1): Likewise.
52438         (RUN_TEST_LOOP_fI_f1): Likewise.
52439         (RUN_TEST_LOOP_ffI_f1): Likewise.
52440         (RUN_TEST_LOOP_c_c): Likewise.
52441         (RUN_TEST_LOOP_cc_c): Likewise.
52442         (RUN_TEST_LOOP_f_i): Likewise.
52443         (RUN_TEST_LOOP_f_i_tg): Likewise.
52444         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52445         (RUN_TEST_LOOP_f_b): Likewise.
52446         (RUN_TEST_LOOP_f_b_tg): Likewise.
52447         (RUN_TEST_LOOP_f_l): Likewise.
52448         (RUN_TEST_LOOP_f_L): Likewise.
52449         (RUN_TEST_LOOP_fFF_11): Likewise.
52450         * math/gen-libm-test.pl (parse_args): Output four copies of
52451         expected results for each test.
52453         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52454         (__ASSUME_UTIMES): Remove.
52455         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52456         (__ASSUME_UTIMES): Likewise.
52458         * math/gen-auto-libm-tests.c: Update comment on output format.
52459         (output_for_one_input_case): Generate before-rounding and
52460         after-rounding information as conditions on output flags not
52461         floating-point format.
52462         * math/auto-libm-test-out: Regenerated.
52463         * math/gen-libm-test.pl (cond_value): New function.
52464         (or_cond_value): Use cond_value.
52465         (generate_testfile): Handle conditional exceptions.
52467 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52469         * math/libm-test.inc (max_valid_error): New variable.
52470         (init_max_error): Take new argument specifying whether function
52471         results are exactly determined.  Set max_valid_error and bound
52472         other variables for errors based on this argument.
52473         (set_max_error): Do not record results above max_valid_error.
52474         (check_float_internal): Only accept errors of up to 0.5ulps if
52475         also at most max_valid_error.
52476         (START): Take new argument EXACT and pass it to init_max_error.
52477         (acos_test): Update call to START.
52478         (acos_test_tonearest): Likewise.
52479         (acos_test_towardzero): Likewise.
52480         (acos_test_downward): Likewise.
52481         (acos_test_upward): Likewise.
52482         (acosh_test): Likewise.
52483         (asin_test): Likewise.
52484         (asin_test_tonearest): Likewise.
52485         (asin_test_towardzero): Likewise.
52486         (asin_test_downward): Likewise.
52487         (asin_test_upward): Likewise.
52488         (asinh_test): Likewise.
52489         (atan_test): Likewise.
52490         (atanh_test): Likewise.
52491         (atan2_test): Likewise.
52492         (cabs_test): Likewise.
52493         (cacos_test): Likewise.
52494         (cacosh_test): Likewise.
52495         (carg_test): Likewise.
52496         (casin_test): Likewise.
52497         (casinh_test): Likewise.
52498         (catan_test): Likewise.
52499         (catanh_test): Likewise.
52500         (cbrt_test): Likewise.
52501         (ccos_test): Likewise.
52502         (ccosh_test): Likewise.
52503         (ceil_test): Likewise.
52504         (cexp_test): Likewise.
52505         (cimag_test): Likewise.
52506         (clog_test): Likewise.
52507         (clog10_test): Likewise.
52508         (conj_test): Likewise.
52509         (copysign_test): Likewise.
52510         (cos_test): Likewise.
52511         (cos_test_tonearest): Likewise.
52512         (cos_test_towardzero): Likewise.
52513         (cos_test_downward): Likewise.
52514         (cos_test_upward): Likewise.
52515         (cosh_test): Likewise.
52516         (cosh_test_tonearest): Likewise.
52517         (cosh_test_towardzero): Likewise.
52518         (cosh_test_downward): Likewise.
52519         (cosh_test_upward): Likewise.
52520         (cpow_test): Likewise.
52521         (cproj_test): Likewise.
52522         (creal_test): Likewise.
52523         (csin_test): Likewise.
52524         (csinh_test): Likewise.
52525         (csqrt_test): Likewise.
52526         (ctan_test): Likewise.
52527         (ctan_test_tonearest): Likewise.
52528         (ctan_test_towardzero): Likewise.
52529         (ctan_test_downward): Likewise.
52530         (ctan_test_upward): Likewise.
52531         (ctanh_test): Likewise.
52532         (ctanh_test_tonearest): Likewise.
52533         (ctanh_test_towardzero): Likewise.
52534         (ctanh_test_downward): Likewise.
52535         (ctanh_test_upward): Likewise.
52536         (erf_test): Likewise.
52537         (erfc_test): Likewise.
52538         (exp_test): Likewise.
52539         (exp_test_tonearest): Likewise.
52540         (exp_test_towardzero): Likewise.
52541         (exp_test_downward): Likewise.
52542         (exp_test_upward): Likewise.
52543         (exp10_test): Likewise.
52544         (exp10_test_tonearest): Likewise.
52545         (exp10_test_towardzero): Likewise.
52546         (exp10_test_downward): Likewise.
52547         (exp10_test_upward): Likewise.
52548         (pow10_test): Likewise.
52549         (exp2_test): Likewise.
52550         (expm1_test): Likewise.
52551         (expm1_test_tonearest): Likewise.
52552         (expm1_test_towardzero): Likewise.
52553         (expm1_test_downward): Likewise.
52554         (expm1_test_upward): Likewise.
52555         (fabs_test): Likewise.
52556         (fdim_test): Likewise.
52557         (floor_test): Likewise.
52558         (fma_test): Likewise.
52559         (fma_test_towardzero): Likewise.
52560         (fma_test_downward): Likewise.
52561         (fma_test_upward): Likewise.
52562         (fmax_test): Likewise.
52563         (fmin_test): Likewise.
52564         (fmod_test): Likewise.
52565         (fpclassify_test): Likewise.
52566         (frexp_test): Likewise.
52567         (hypot_test): Likewise.
52568         (ilogb_test): Likewise.
52569         (isfinite_test): Likewise.
52570         (finite_test): Likewise.
52571         (isgreater_test): Likewise.
52572         (isgreaterequal_test): Likewise.
52573         (isinf_test): Likewise.
52574         (isless_test): Likewise.
52575         (islessequal_test): Likewise.
52576         (islessgreater_test): Likewise.
52577         (isnan_test): Likewise.
52578         (isnormal_test): Likewise.
52579         (issignaling_test): Likewise.
52580         (isunordered_test): Likewise.
52581         (j0_test): Likewise.
52582         (j1_test): Likewise.
52583         (jn_test): Likewise.
52584         (ldexp_test): Likewise.
52585         (lgamma_test): Likewise.
52586         (gamma_test): Likewise.
52587         (lrint_test): Likewise.
52588         (lrint_test_tonearest): Likewise.
52589         (lrint_test_towardzero): Likewise.
52590         (lrint_test_downward): Likewise.
52591         (lrint_test_upward): Likewise.
52592         (llrint_test): Likewise.
52593         (llrint_test_tonearest): Likewise.
52594         (llrint_test_towardzero): Likewise.
52595         (llrint_test_downward): Likewise.
52596         (llrint_test_upward): Likewise.
52597         (log_test): Likewise.
52598         (log10_test): Likewise.
52599         (log1p_test): Likewise.
52600         (log2_test): Likewise.
52601         (logb_test): Likewise.
52602         (logb_test_downward): Likewise.
52603         (lround_test): Likewise.
52604         (llround_test): Likewise.
52605         (modf_test): Likewise.
52606         (nearbyint_test): Likewise.
52607         (nextafter_test): Likewise.
52608         (nexttoward_test): Likewise.
52609         (pow_test): Likewise.
52610         (pow_test_tonearest): Likewise.
52611         (pow_test_towardzero): Likewise.
52612         (pow_test_downward): Likewise.
52613         (pow_test_upward): Likewise.
52614         (remainder_test): Likewise.
52615         (drem_test): Likewise.
52616         (remainder_test_tonearest): Likewise.
52617         (drem_test_tonearest): Likewise.
52618         (remainder_test_towardzero): Likewise.
52619         (drem_test_towardzero): Likewise.
52620         (remainder_test_downward): Likewise.
52621         (drem_test_downward): Likewise.
52622         (remainder_test_upward): Likewise.
52623         (drem_test_upward): Likewise.
52624         (remquo_test): Likewise.
52625         (rint_test): Likewise.
52626         (rint_test_tonearest): Likewise.
52627         (rint_test_towardzero): Likewise.
52628         (rint_test_downward): Likewise.
52629         (rint_test_upward): Likewise.
52630         (round_test): Likewise.
52631         (scalb_test): Likewise.
52632         (scalbn_test): Likewise.
52633         (scalbln_test): Likewise.
52634         (signbit_test): Likewise.
52635         (sin_test): Likewise.
52636         (sin_test_tonearest): Likewise.
52637         (sin_test_towardzero): Likewise.
52638         (sin_test_downward): Likewise.
52639         (sin_test_upward): Likewise.
52640         (sincos_test): Likewise.
52641         (sinh_test): Likewise.
52642         (sinh_test_tonearest): Likewise.
52643         (sinh_test_towardzero): Likewise.
52644         (sinh_test_downward): Likewise.
52645         (sinh_test_upward): Likewise.
52646         (sqrt_test): Likewise.
52647         (sqrt_test_tonearest): Likewise.
52648         (sqrt_test_towardzero): Likewise.
52649         (sqrt_test_downward): Likewise.
52650         (sqrt_test_upward): Likewise.
52651         (tan_test): Likewise.
52652         (tan_test_tonearest): Likewise.
52653         (tan_test_towardzero): Likewise.
52654         (tan_test_downward): Likewise.
52655         (tan_test_upward): Likewise.
52656         (tanh_test): Likewise.
52657         (tgamma_test): Likewise.
52658         (trunc_test): Likewise.
52659         (y0_test): Likewise.
52660         (y1_test): Likewise.
52661         (yn_test): Likewise.
52662         (significand_test): Likewise.
52664         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52665         individual tests in comment.
52666         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52667         (prev_max_error): New variable.
52668         (prev_real_max_error): Likewise.
52669         (prev_imag_max_error): Likewise.
52670         (compare_ulp_data): Don't refer to test names in comment.
52671         (find_test_ulps): Remove function.
52672         (find_function_ulps): Likewise.
52673         (find_complex_function_ulps): Likewise.
52674         (init_max_error): Take function name as argument.  Look up ulps
52675         for that function.
52676         (print_ulps): Remove function.
52677         (print_max_error): Use prev_max_error instead of calling
52678         find_function_ulps.
52679         (print_complex_max_error): Use prev_real_max_error and
52680         prev_imag_max_error instead of calling find_complex_function_ulps.
52681         (check_float_internal): Take max_ulp parameter instead of calling
52682         find_test_ulps.  Don't call print_ulps.
52683         (check_float): Update call to check_float_internal.
52684         (check_complex): Update calls to check_float_internal.
52685         (START): Pass argument to init_max_error.
52686         * math/gen-libm-test.pl (%results): Don't include "kind"
52687         information.
52688         (parse_ulps): Don't handle ulps of individual tests.
52689         (print_ulps_file): Likewise.
52690         (output_ulps): Likewise.
52691         * math/README.libm-test: Update.
52692         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
52693         individual tests.
52694         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
52695         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
52696         * sysdeps/arm/libm-test-ulps: Likewise.
52697         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
52698         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
52699         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
52700         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
52701         * sysdeps/microblaze/libm-test-ulps: Likewise.
52702         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
52703         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
52704         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52705         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
52706         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52707         * sysdeps/sh/libm-test-ulps: Likewise.
52708         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52709         * sysdeps/tile/libm-test-ulps: Likewise.
52710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52712 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
52714         * math/libm-test.inc (print_complex_max_error): Check separately
52715         whether real and imaginary errors are within allowed range and
52716         pass 0 to print_complex_function_ulps instead of value within
52717         allowed range.
52719 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52721         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
52722         formatting.
52723         (get_handles_fopen): Likewise.
52724         (do_write_test): Likewise.
52726         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
52728         * libio/fileops.c (do_ftell): Use cached offset when
52729         available.
52730         * libio/iofwide.c (do_ftell_wide): Likewise.
52731         * libio/iofdopen.c (_IO_new_fdopen): Don't use
52732         _IO_file_attach.
52733         * libio/wfileops.c (_IO_fwide): Don't cache offset.
52735         [BZ #16532]
52736         * libio/libioP.h (get_file_offset): New function.
52737         * libio/fileops.c (get_file_offset): Likewise.
52738         (do_ftell): Likewise.
52739         (_IO_new_file_seekoff): Split out ftell logic.
52740         * libio/wfileops.c (do_ftell_wide): Likewise.
52741         (_IO_wfile_seekoff): Split out ftell logic.
52742         * libio/tst-ftell-active-handler.c: New test case.
52743         * libio/Makefile (tests): Add it.
52745 2014-03-03  Roland McGrath  <roland@hack.frob.com>
52747         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
52748         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
52750 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52752         [BZ #16639]
52753         * nscd/connections.c (nscd_init): Call do_exit.
52754         (start_threads): Call do_exit and notify_parent.
52755         (begin_drop_privileges): Call do_exit.
52756         (finish_drop_privileges): Likewise.
52757         * nscd/selinux.c (preserve_capabilities): Likewise.
52758         (install_real_capabilities): Likewise.
52759         (nscd_selinux_enabled): Likewise.
52760         (avc_create_thread): Likewise.
52761         (avc_alloc_lock): Likewise.
52762         (nscd_avc_init): Likewise.
52763         * nscd/nscd.c (parent_fd): New static variable.
52764         (main): Create a pipe between parent and child processes.
52765         Skip closing parent_fd.
52766         (monitor_child): New function.
52767         (do_exit): Likewise.
52768         (notify_parent): Likewise.
52769         * nscd/nscd.h (notify_parent): Likewise.
52770         (do_exit): Likewise.
52772 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
52774         * malloc/malloc.c (__libc_calloc): Revert last change.
52776 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52780 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52782         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
52783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
52784         implementation.
52785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52786         (__libc_ifunc_impl_list): Likewise.
52787         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
52788         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
52789         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
52790         * string/strrchr.c: Define STRRCHR.
52792 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
52794         * benchtest/bench-strtok.c (simple_strtok): Delete.
52795         (strtok_string): Use as benchmark.
52796         * string/strtok (STRTOK): New macro.
52798 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
52800         * manual/threads.texi: Add header and standard comments to all
52801         functions.
52803         * elf/dl-lookup.c (check_match): New function.
52804         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
52805         (do_lookup_x): Remove nested function check_match. Use non-nested
52806         function check_match.
52808 2014-02-28  Roland McGrath  <roland@hack.frob.com>
52810         * csu/Makefile (generated, before-compile): Use += rather than =.
52811         * catgets/Makefile (generated, generated-dirs): Likewise.
52812         * debug/Makefile (generated): Likewise.
52813         * dlfcn/Makefile (generated): Likewise.
52814         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
52815         * iconvdata/Makefile (before-compile, generated): Likewise.
52816         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
52817         * libio/Makefile (generated): Likewise.
52818         * malloc/Makefile (generated): Likewise.
52819         * manual/Makefile (generated, generated-dirs): Likewise.
52820         * misc/Makefile (generated): Likewise.
52821         * posix/Makefile (generated): Likewise.
52822         * resolv/Makefile (generated): Likewise.
52823         * sunrpc/Makefile (generated, generated-dirs): Likewise.
52824         * timezone/Makefile (generated, generated-dirs): Likewise.
52826         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
52828 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52831         power8 implementation.
52832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
52833         file: POWER8 llround ifunc implementation.
52834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
52835         (__lllround): Add POWER8 implementation.
52836         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
52837         POWER8 llround implementation.
52839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
52840         power8 implementation.
52841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
52842         file: POWER8 llrint ifunc implementation.
52843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
52844         Add POWER8 implementation.
52845         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
52846         POWER8 llrint implementation.
52848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
52849         power8 implementation.
52850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
52851         file: POWER8 finite ifunc implementation.
52852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
52853         Add POWER8 implementation.
52854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52855         Likewise.
52856         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
52857         POWER8 finite implementation.
52858         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
52860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
52861         power8 implementation.
52862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
52863         file: POWER8 isinf ifunc implementation.
52864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
52865         POWER8 implementation.
52866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
52867         Likewise.
52868         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
52869         isinf implementation.
52870         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
52872         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
52873         (INIT_ARCH): Add hwcap2 initialization.
52874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52875         power8 implementation.
52876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
52877         file: POWER8 isnan ifunc implementation.
52878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
52879         POWER8 implementation.
52880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
52881         Likewise.
52882         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
52883         isnan implementation.
52884         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
52886 2014-02-27  Joey Ye  <joey.ye@arm.com>
52888         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52889         (_FP_NANFRAC_Q): Set to zero.
52891 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52893         [BZ #16623]
52894         * math/auto-libm-test-in: New test inputs.
52895         * math/auto-libm-test-out: Regenerate.
52896         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
52897         and DA.
52898         (__cos): Likewise.
52899         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52901 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
52903         * scripts/evaluate-test.sh: Take new argument indicating whether
52904         failure is expected.
52905         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
52906         indicating whether failure is expected.
52907         * conform/Makefile (test-xfail-run-conformtest): New variable.
52908         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
52909         level.
52910         * posix/Makefile (test-xfail-annexc): New variable.
52911         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
52913 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
52915         * argp/Makefile: Include Makeconfig immediately after defining
52916         subdir.
52917         * assert/Makefile: Likewise.
52918         * benchtests/Makefile: Likewise.
52919         * catgets/Makefile: Likewise.
52920         * conform/Makefile: Likewise.
52921         * crypt/Makefile: Likewise.
52922         * csu/Makefile: Likewise.
52923         (all): Remove target.
52924         * ctype/Makefile: Include Makeconfig immediately after defining
52925         subdir.
52926         * debug/Makefile: Likewise.
52927         * dirent/Makefile: Likewise.
52928         * dlfcn/Makefile: Likewise.
52929         * gmon/Makefile: Likewise.
52930         * gnulib/Makefile: Likewise.
52931         * grp/Makefile: Likewise.
52932         * gshadow/Makefile: Likewise.
52933         * hesiod/Makefile: Likewise.
52934         * hurd/Makefile: Likewise.
52935         (all): Remove target.
52936         * iconvdata/Makefile: Include Makeconfig immediately after
52937         defining subdir.
52938         * inet/Makefile: Likewise.
52939         * intl/Makefile: Likewise.
52940         * io/Makefile: Likewise.
52941         * libio/Makefile: Likewise.
52942         (all): Remove target.
52943         * locale/Makefile: Include Makeconfig immediately after defining
52944         subdir.
52945         * login/Makefile: Likewise.
52946         * mach/Makefile: Likewise.
52947         (all): Remove target.
52948         * malloc/Makefile: Include Makeconfig immediately after defining
52949         subdir.
52950         (all): Remove target.
52951         * manual/Makefile: Include Makeconfig immediately after defining
52952         subdir.
52953         * math/Makefile: Likewise.
52954         * misc/Makefile: Likewise.
52955         * nis/Makefile: Likewise.
52956         * nss/Makefile: Likewise.
52957         * po/Makefile: Likewise.
52958         (all): Remove target.
52959         * posix/Makefile: Include Makeconfig immediately after defining
52960         subdir.
52961         * pwd/Makefile: Likewise.
52962         * resolv/Makefile: Likewise.
52963         * resource/Makefile: Likewise.
52964         * rt/Makefile: Likewise.
52965         * setjmp/Makefile: Likewise.
52966         * shadow/Makefile: Likewise.
52967         * signal/Makefile: Likewise.
52968         * socket/Makefile: Likewise.
52969         * soft-fp/Makefile: Likewise.
52970         * stdio-common/Makefile: Likewise.
52971         * stdlib/Makefile: Likewise.
52972         * streams/Makefile: Likewise.
52973         * string/Makefile: Likewise.
52974         * sunrpc/Makefile: Likewise.
52975         (all): Remove target.
52976         * sysvipc/Makefile: Include Makeconfig immediately after defining
52977         subdir.
52978         * termios/Makefile: Likewise.
52979         * time/Makefile: Likewise.
52980         * timezone/Makefile: Likewise.
52981         (all): Remove target.
52982         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52983         subdir.
52984         * wctype/Makefile: Likewise.
52986 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52988         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52989         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52990         (libc_feholdexcept_setround_mips): Ditto.
52991         (libc_feholdsetround): New.
52992         (libc_feholdsetroundf): New.
52993         (libc_feholdsetroundl): New.
52994         (libc_feupdateenv_test_mips): New.
52995         (libc_feupdateenv_test): New.
52996         (libc_feupdateenv_testf): New.
52997         (libc_feupdateenv_testl): New.
52998         (libc_feresetround): New.
52999         (libc_feresetroundf): New.
53000         (libc_feresetroundl): New.
53001         (libc_fetestexcept_mips): New.
53002         (libc_fetestexcept): New.
53003         (libc_fetestexceptf): New.
53004         (libc_fetestexceptl): New.
53005         (HAVE_RM_CTX): New.
53006         (libc_feholdexcept_setround_mips_ctx): New.
53007         (libc_feholdexcept_setround_ctx): New.
53008         (libc_feholdexcept_setroundf_ctx): New.
53009         (libc_feholdexcept_setroundl_ctx): New.
53010         (libc_fesetenv_mips_ctx): New.
53011         (libc_fesetenv_ctx): New.
53012         (libc_fesetenv_ctxf): New.
53013         (libc_fesetenv_ctxl): New.
53014         (libc_feupdateenv_mips_ctx): New.
53015         (libc_feupdateenv_ctx): New.
53016         (libc_feupdateenvf_ctx): New.
53017         (libc_feupdateenvl_ctx): New.
53018         (libc_feholdsetround_mips_ctx): New.
53019         (libc_feholdsetround_ctx): New.
53020         (libc_feholdsetroundf_ctx): New.
53021         (libc_feholdsetroundl_ctx): New.
53022         (libc_feresetround_mips_ctx): New.
53023         (libc_feresetround_ctx): New.
53024         (libc_feresetroundf_ctx): New.
53025         (libc_feresetroundl_ctx): New.
53027 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
53029         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
53031         * manual/ipc.texi: New file.
53032         * manual/Makefile (chapters): Add ipc.
53033         * manual/job.texi: Add "Inter-Process Communication" to next.
53034         * manual/process.texi: Add "Inter-Process Communication" to prev.
53036 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53040 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
53042         * malloc/malloc.c (__libc_calloc): Simplify implementation.
53044         * manual/arith.texi: Fix spaces after sentences.
53045         * manual/charset.texi: Likewise.
53046         * manual/errno.texi: Likewise.
53047         * manual/install.texi: Likewise.
53048         * manual/llio.texi: Likewise.
53049         * manual/locale.texi: Likewise.
53050         * manual/maint.texi: Likewise.
53051         * manual/math.texi: Likewise.
53052         * manual/memory.texi: Likewise.
53053         * manual/message.texi: Likewise.
53054         * manual/probes.texi: Likewise.
53055         * manual/resource.texi: Likewise.
53056         * manual/signal.texi: Likewise.
53057         * manual/socket.texi: Likewise.
53058         * manual/stdio.texi: Likewise.
53059         * manual/string.texi: Likewise.
53060         * manual/time.texi: Likewise.
53061         * manual/users.texi: Likewise.
53063 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
53065         [BZ #16632]
53066         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
53067         _DEFAULT_SOURCE is defined.
53069 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
53070             Carlos O'Donell  <carlos@redhat.com>
53072         [BZ #16613]
53073         * elf/dl-tls.c (_dl_count_modids): New function.
53074         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
53075         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
53076         audit library and increment generation counter.
53077         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
53078         * elf/tst-audit9.c: New file.
53079         * elf/tst-auditmod9a.c: New file.
53080         * elf/tst-auditmod9b.c: New file.
53081         * elf/Makefile: Add rules to build and run tst-audit9.
53083 2014-02-25  Florian Weimer  <fweimer@redhat.com>
53085         [BZ #15347]
53086         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
53088 2014-02-25  Will Newton  <will.newton@linaro.org>
53090         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
53091         (__longjmp): Restore sp and lr before restoring callee
53092         saved registers.  Add longjmp and longjmp_target
53093         SystemTap probe point.
53094         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
53095         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
53096         Define to zero to match jmpbuf layout.
53097         * sysdeps/arm/setjmp.S: Include stap-probe.h.
53098         (__sigsetjmp): Save sp and lr before saving callee
53099         saved registers.  Add setjmp SystemTap probe point.
53101 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
53103         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53105 2014-02-24  Andreas Schwab  <schwab@suse.de>
53107         [BZ #15804]
53108         * elf/pldd.c (wait_for_ptrace_stop): New function.
53109         (main): Call it after attaching.
53111 2014-02-22  Roland McGrath  <roland@hack.frob.com>
53113         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
53114         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53115         Versions files is now verboten.
53116         * hurd/Versions (libc: GLIBC_2.0):
53117         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
53118         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
53119         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
53120         * mach/Versions: Likewise.
53122         * csu/Versions: Remove unused %include.
53123         * resolv/Versions: Likewise.
53125 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
53127         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
53128         ($(objpfx)check-local-headers.out): Likewise.
53129         ($(objpfx)begin-end-check.out): Likewise.
53130         * Makerules (check-abi-%.out): Likewise.
53131         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
53132         ($(objpfx)test2.cat): Likewise.
53133         ($(objpfx)de/libc.cat): Likewise.
53134         ($(objpfx)test-gencat.out): Likewise.
53135         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
53136         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
53137         ($(objpfx)noload-mem): Likewise.
53138         ($(objpfx)tst-pathopt.out): Likewise.
53139         ($(objpfx)tst-rtld-load-self.out): Likewise.
53140         ($(objpfx)tst-array1-cmp.out): Likewise.
53141         ($(objpfx)tst-array1-static-cmp.out): Likewise.
53142         ($(objpfx)tst-array2-cmp.out): Likewise.
53143         ($(objpfx)tst-array3-cmp.out): Likewise.
53144         ($(objpfx)tst-array4-cmp.out): Likewise.
53145         ($(objpfx)tst-array5-cmp.out): Likewise.
53146         ($(objpfx)tst-array5-static-cmp.out): Likewise.
53147         ($(objpfx)check-textrel.out): Likewise.
53148         ($(objpfx)check-execstack.out): Likewise.
53149         ($(objpfx)check-localplt.out): Likewise.
53150         ($(objpfx)order2-cmp.out): Likewise.
53151         ($(objpfx)tst-leaks1-mem): Likewise.
53152         ($(objpfx)tst-leaks1-static-mem): Likewise.
53153         ($(objpfx)tst-initorder-cmp.out): Likewise.
53154         ($(objpfx)tst-initorder2-cmp.out): Likewise.
53155         ($(objpfx)tst-unused-dep.out): Likewise.
53156         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
53157         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
53158         * iconv/Makefile (test-iconvconfig): Likewise.
53159         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
53160         ($(objpfx)iconv-test.out): Likewise.
53161         ($(objpfx)tst-tables.out): Likewise.
53162         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53163         ($(objpfx)tst-gettext.out): Likewise.
53164         ($(objpfx)tst-translit.out): Likewise.
53165         ($(objpfx)tst-gettext2.out): Likewise.
53166         ($(objpfx)tst-gettext4.out): Likewise.
53167         ($(objpfx)tst-gettext6.out): Likewise.
53168         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
53169         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
53170         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
53171         ($(objpfx)tst-fopenloc-mem.out): Likewise.
53172         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
53173         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
53174         * posix/Makefile ($(objpfx)globtest.out): Likewise.
53175         ($(objpfx)wordexp-tst.out): Likewise.
53176         ($(objpfx)annexc.out): Likewise.
53177         ($(objpfx)tst-fnmatch-mem): Likewise.
53178         ($(objpfx)bug-regex2-mem): Likewise.
53179         ($(objpfx)bug-regex14-mem): Likewise.
53180         ($(objpfx)bug-regex21-mem): Likewise.
53181         ($(objpfx)bug-regex31-mem): Likewise.
53182         ($(objpfx)tst-vfork3-mem): Likewise.
53183         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53184         ($(objpfx)tst-pcre-mem): Likewise.
53185         ($(objpfx)tst-boost-mem): Likewise.
53186         ($(objpfx)tst-getconf.out): Likewise.
53187         ($(objpfx)bug-ga2-mem): Likewise.
53188         ($(objpfx)bug-glob2-mem): Likewise.
53189         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53190         ($(objpfx)mtrace-tst-leaks2): Likewise.
53191         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53192         ($(objpfx)tst-printf.out): Likewise.
53193         ($(objpfx)tst-setvbuf1.out): Likewise.
53194         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53195         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53196         ($(objpfx)tst-fmtmsg.out): Likewise.
53197         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
53198         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
53200         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
53201         * bits/sigaction.h [__USE_MISC]: Likewise.
53202         * bits/waitstatus.h: Update #endif comments.
53203         * ctype/ctype.h: Likewise.
53204         * dirent/dirent.h: Likewise.
53205         [__USE_MISC]: Remove redundant conditionals.
53206         * grp/grp.h: Update #endif comments.
53207         [__USE_GNU]: Remove redundant conditionals.
53208         [__USE_MISC]: Likewise.
53209         * inet/netinet/in.h [__USE_GNU]: Likewise.
53210         * io/sys/stat.h [__USE_MISC]: Likewise.
53211         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
53212         * libio/bits/stdio.h: Update #endif comments.
53213         [__USE_MISC]: Remove redundant conditionals.
53214         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
53215         * libio/stdio.h: Update #endif comments.
53216         [__USE_MISC]: Remove redundant conditionals.
53217         * math/bits/math-finite.h [__USE_MISC]: Likewise.
53218         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
53219         * math/math.h: Update #else and #endif comments.
53220         [__USE_MISC]: Remove redundant conditionals.
53221         * misc/sys/uio.h: Update #endif comments.
53222         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
53223         * posix/glob.h [__USE_MISC]: Likewise.
53224         * posix/sys/types.h: Update #endif comments.
53225         [__USE_MISC]: Remove redundant conditionals.
53226         * posix/sys/wait.h: Update #endif comments.
53227         [__USE_MISC]: Remove redundant conditionals.
53228         * posix/unistd.h: Update #endif comments.
53229         [__USE_MISC]: Remove redundant conditionals.
53230         * pwd/pwd.h [__USE_GNU]: Likewise.
53231         [__USE_MISC]: Likewise.
53232         * resolv/netdb.h [__USE_GNU]: Likewise.
53233         * signal/signal.h: Update #endif comments.
53234         [__USE_MISC]: Remove redundant conditionals.
53235         * stdlib/stdlib.h: Update #else and #endif comments.
53236         [__USE_MISC]: Remove redundant conditionals.
53237         [__USE_GNU]: Likewise.
53238         * string/bits/string2.h [__USE_MISC]: Likewise.
53239         * string/string.h: Update #endif comments.
53240         [__USE_MISC]: Remove redundant conditionals.
53241         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
53242         Likewise.
53243         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
53244         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
53245         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
53246         Likewise.
53247         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
53248         Likewise.
53249         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53250         comments.
53251         [__USE_MISC]: Remove redundant conditionals.
53252         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
53253         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
53254         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
53255         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
53256         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
53257         Likewise.
53258         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
53259         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
53260         Likewise.
53261         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
53262         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
53263         Likewise.
53264         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
53265         Likewise.
53266         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
53267         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
53268         Likewise.
53269         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
53270         Likewise.
53271         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
53272         * sysdeps/x86/bits/string.h: Update #endif comments.
53273         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
53274         conditionals.
53275         * time/sys/time.h: Update #endif comments.
53276         * time/time.h: Likewise.
53277         [__USE_MISC]: Remove redundant conditionals.
53279 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
53281         [BZ #16600]
53282         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53284 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
53286         * Versions.def (librt): Add GLIBC_2.17.
53288 2014-02-21  Adam Conrad  <adconrad@0c3.net>
53290         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53291         synonym for _SYS_AUXV_H to allow direct inclusion.
53292         * sysdeps/sparc/bits/hwcap.h: Likewise.
53293         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53294         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53295         * sysdeps/sparc/sysdep.h: Likewise.
53297 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53299         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53301 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53303         * benchtests/bench-strrchr.c: Print length instead of position.
53305 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
53307         [BZ #16611]
53308         * sysdeps/unix/sysv/linux/kernel-features.h
53309         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53310         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53311         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53312         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53313         Likewise.
53314         [__i386__ || __powerpc__ || __sh__ || __sparc__]
53315         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53316         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53317         (__ASSUME_SENDMMSG): Define instead of using previous
53318         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53319         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53320         (__ASSUME_SENDMMSG_SYSCALL): Define.
53321         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53322         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53323         Likewise.
53324         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53325         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53326         Likewise.
53327         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53328         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53329         Likewise.
53330         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53331         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53332         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53333         [__ASSUME_SENDMMSG]: Change conditionals to
53334         [__ASSUME_SENDMMSG_SOCKETCALL].
53335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53336         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53337         Define.
53338         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53339         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53340         Likewise.
53341         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53342         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53343         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53344         [!__ASSUME_SENDMMSG]: Change conditional to
53345         [!__ASSUME_SENDMMSG_SOCKETCALL].
53346         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53347         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53348         Define.
53350         [BZ #16610]
53351         * sysdeps/unix/sysv/linux/kernel-features.h
53352         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53353         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53354         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53355         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53356         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53357         [__i386__ || __sparc__]
53358         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53359         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53360         (__ASSUME_RECVMMSG): Define instead of using previous
53361         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53362         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53363         (__ASSUME_RECVMMSG_SYSCALL): Define.
53364         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53365         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53366         Likewise.
53367         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53368         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53369         Likewise.
53370         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53371         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53372         Likewise.
53373         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53374         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53375         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53376         [__ASSUME_RECVMMSG]: Change condition to
53377         [__ASSUME_RECVMMSG_SOCKETCALL].
53378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53379         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53380         Define.
53381         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53382         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53383         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53384         Likewise.
53385         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53386         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53387         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53388         [!__ASSUME_RECVMMSG]: Change condition to
53389         [!__ASSUME_RECVMMSG_SOCKETCALL].
53390         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53391         (__ASSUME_RECVMMSG_SYSCALL): Define.
53393         [BZ #16609]
53394         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53395         __powerpc__ || __s390__ || __sh__ || __sparc__]
53396         (__ASSUME_SOCKETCALL): Define.
53397         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53398         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53399         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53400         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53401         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53402         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53403         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53404         (__ASSUME_ACCEPT4): Define instead of using previous
53405         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53406         __powerpc__ || __sparc__ || __s390__)] condition.
53407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53408         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53409         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53410         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53411         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53412         [!__ASSUME_ACCEPT4]: Change condition to
53413         [!__ASSUME_ACCEPT4_SOCKETCALL].
53414         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53415         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53416         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53417         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53418         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53419         __ASSUME_ACCEPT4_SYSCALL.
53420         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53421         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53422         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53423         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53424         __ASSUME_ACCEPT4_SYSCALL.
53425         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53426         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53427         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53428         [__ASSUME_ACCEPT4]: Change condition to
53429         [__ASSUME_ACCEPT4_SOCKETCALL].
53430         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53431         (__ASSUME_SOCKETCALL): Define.
53432         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53433         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53434         (__ASSUME_SOCKETCALL): Define.
53435         (__ASSUME_ACCEPT4): Remove.
53436         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53437         Define.
53438         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53439         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53440         Likewise.
53441         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53442         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53444         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53445         macro.
53446         (HWCAP_ARM_LPAE): Likewise.
53447         (HWCAP_ARM_EVTSTRM): Likewise.
53448         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53449         Add vpfd32, lpae and evtstrm.
53450         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53451         Increase to 22.
53453 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53455         * math/auto-libm-test-in: Add tests of clog10.
53456         * math/auto-libm-test-out: Regenerated.
53457         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53458         * sysdeps/i386/fpu/libm-test-ulps: Update.
53459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53461 2014-02-18  Andreas Schwab  <schwab@suse.de>
53463         [BZ #16574]
53464         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53465         Store non-zero if the second buffer was newly allocated.
53466         (send_dg): Likewise.
53467         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53468         to send_vc and send_dg.
53469         (res_nsend): Pass NULL for ansp2_malloced.
53470         * resolv/res_query.c (__libc_res_nquery): Add parameter
53471         answerp2_malloced and pass it down to __libc_res_nsend.
53472         (res_nquery): Pass additional NULL to __libc_res_nquery.
53473         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53474         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53475         second answer buffer if answerp2_malloced was set.
53476         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53477         (__libc_res_nquerydomain): Add parameter
53478         answerp2_malloced and pass it down to __libc_res_nquery.
53479         (res_nquerydomain): Pass additional NULL to
53480         __libc_res_nquerydomain.
53481         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53482         additional NULL to __libc_res_nsend and __libc_res_nquery.
53483         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53484         additional NULL to __libc_res_nsearch.
53485         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53486         parameter of __libc_res_nsearch to check for separately allocated
53487         second buffer.
53488         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53489         __libc_res_nquery.
53490         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53491         additional NULL to __libc_res_nquery.
53492         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53493         __libc_res_nsearch.
53494         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53495         * include/resolv.h: Update prototypes of __libc_res_nquery,
53496         __libc_res_nsearch, __libc_res_nsend.
53498 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53500         * math/auto-libm-test-in: Add tests of fma.
53501         * math/auto-libm-test-out: Regenerated.
53502         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53503         (fma_towardzero_test_data): Likewise.
53504         (fma_downward_test_data): Likewise.
53505         (fma_upward_test_data): Likewise.
53506         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53507         mpc_mode.
53508         (rounding_modes): Add values for new field.
53509         (func_calc_method): Add value mpfr_fff_f.
53510         (func_calc_desc): Add mpfr_fff_f union field.
53511         (test_function): Add field exact_args.
53512         (FUNC): Add macro argument EXACT_ARGS.
53513         (FUNC_mpfr_f_f): Update call to FUNC.
53514         (FUNC_mpfr_f_f): Likewise.
53515         (FUNC_mpfr_ff_f): Likewise.
53516         (FUNC_mpfr_if_f): Likewise.
53517         (FUNC_mpc_c_f): Likewise.
53518         (FUNC_mpc_c_c): Likewise.
53519         (test_functions): Add fma.  Update calls to FUNC.
53520         (handle_input_arg): Add argument exact_args.
53521         (add_test): Update call to handle_input_arg.
53522         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53523         (output_for_one_input_case): Update call to calc_generic_results.
53524         Recalculate exact zero results in each rounding mode.
53526         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53527         non-negative before setting low bit.
53528         * math/auto-libm-test-in: Mark one asin test possibly having
53529         spurious underflow.
53530         * math/auto-libm-test-out: Regenerated.
53531         * sysdeps/i386/fpu/libm-test-ulps: Update.
53532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53534 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53536         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53537         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53538         ports/sysdeps/unix/sysv/linux/microblaze.
53539         * README: Add missing listing for microblaze*-*-linux-gnu.
53541 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53543         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53544         duplicate code
53546 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53548         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53549         * sysdeps/unix/sysv/linux/ia64: Move directory from
53550         ports/sysdeps/unix/sysv/linux/ia64.
53551         * README: Update listing for ia64-*-linux-gnu.
53553 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53554             Joseph Myers  <joseph@codesourcery.com>
53556         * Makeconfig (test-name): New variable.
53557         (evaluate-test): Likewise.
53558         * Makerules (do-test-clean): Remove .test-result files.
53559         (common-mostlyclean): Likewise.
53560         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53561         * scripts/evaluate-test.sh: New file.
53563 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53565         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53566         separate $(objpfx)tst-fopenloc-cmp.out and
53567         $(objpfx)tst-fopenloc-mem.out targets.
53568         (tests): Update dependencies.
53569         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53570         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53571         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53572         (tst-rxspencer-no-utf8-ARGS): New variable.
53573         (tst-rxspencer-no-utf8-ENV): Likewise.
53574         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53575         instead of $(objpfx)tst-rxspencer-mem.
53576         ($(objpfx)tst-rxspencer-mem): Change target to
53577         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53578         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53579         * posix/tst-rxspencer-no-utf8.c: New file.
53581         * elf/Makefile ($(objpfx)order.out): Remove rule.
53582         [$(run-built-tests) = yes] (tests): Depend on
53583         $(objpfx)order-cmp.out.
53584         ($(objpfx)order-cmp.out): New rule.
53585         [$(run-built-tests) = yes] (tests): Depend on
53586         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53587         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53588         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53589         $(objpfx)tst-array5-static-cmp.out.
53590         ($(objpfx)tst-array1.out): Remove rule.
53591         ($(objpfx)tst-array1-cmp.out): New rule.
53592         ($(objpfx)tst-array1-static.out): Remove rule.
53593         ($(objpfx)tst-array1-static-cmp.out): New rule.
53594         ($(objpfx)tst-array2.out): Remove rule.
53595         ($(objpfx)tst-array2-cmp.out): New rule.
53596         ($(objpfx)tst-array3.out): Remove rule.
53597         ($(objpfx)tst-array3-cmp.out): New rule.
53598         ($(objpfx)tst-array4.out): Remove rule.
53599         ($(objpfx)tst-array4-cmp.out): New rule.
53600         ($(objpfx)tst-array5.out): Remove rule.
53601         ($(objpfx)tst-array5-cmp.out): New rule.
53602         ($(objpfx)tst-array5-static.out): Remove rule.
53603         ($(objpfx)tst-array5-static-cmp.out): New rule.
53604         [$(run-built-tests) = yes] (tests): Depend on
53605         $(objpfx)order2-cmp.out.
53606         ($(objpfx)order2.out): Remove rule.
53607         ($(objpfx)order2-cmp.out): New rule.
53608         ($(objpfx)tst-initorder.out): Remove rule.
53609         [$(run-built-tests) = yes] (tests): Depend on
53610         $(objpfx)tst-initorder-cmp.out.
53611         ($(objpfx)tst-initorder-cmp.out): New rule.
53612         ($(objpfx)tst-initorder2.out): Remove rule.
53613         [$(run-built-tests) = yes] (tests): Depend on
53614         $(objpfx)tst-initorder2-cmp.out.
53615         ($(objpfx)tst-initorder2-cmp.out): New rule.
53616         [$(run-built-tests) = yes] (tests): Depend on
53617         $(objpfx)tst-unused-dep-cmp.out.
53618         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53619         ($(objpfx)tst-unused-dep-cmp.out): New rule.
53620         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53621         on $(objpfx)tst-setvbuf1-cmp.out.
53622         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53623         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53624         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53625         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53626         ($(objpfx)tst-svc.out): Remove rule.
53627         ($(objpfx)tst-svc-cmp.out): New rule.
53629 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
53631         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53632         * ctype/ctype.h [__USE_MISC]: Likewise.
53633         * dirent/dirent.h [__USE_MISC]: Likewise.
53634         * grp/grp.h [__USE_MISC]: Likewise.
53635         * io/fcntl.h [__USE_MISC]: Likewise.
53636         * io/sys/stat.h [__USE_MISC]: Likewise.
53637         * libio/stdio.h [__USE_MISC]: Likewise.
53638         * posix/unistd.h [__USE_MISC]: Likewise.
53639         * pwd/pwd.h [__USE_MISC]: Likewise.
53640         * stdlib.h [__USE_MISC]: Likewise.
53641         * string/bits/string2.h [__USE_MISC]: Likewise.
53642         * string/string.h [__USE_MISC]: Likewise.
53643         * time/time.h [__USE_MISC]: Likewise.
53645 2014-02-13  Andreas Schwab  <schwab@suse.de>
53647         [BZ #16574]
53648         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53649         second answer buffer if it was separately allocated.
53651 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
53653         * sysdeps/mips/math-tests.h: Include <features.h>.
53654         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53655         (ROUNDING_TESTS_long_double): Do not define.
53656         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53657         (EXCEPTION_TESTS_long_double): Likewise.
53658         * sysdeps/mips/mips64/libm-test-ulps: Update.
53660         * include/features.h (__USE_BSD): Remove macro definitions.
53661         (__USE_SVID): Likewise.
53662         (_BSD_SOURCE): Likewise.
53663         (_SVID_SOURCE): Likewise.
53664         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53665         from definition of _DEFAULT_SOURCE.
53666         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53667         [_DEFAULT_SOURCE].
53668         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53669         * bits/mman.h [__USE_BSD]: Likewise.
53670         * bits/termios.h [__USE_BSD]: Likewise.
53671         * bits/waitstatus.h [__USE_BSD]: Likewise.
53672         * ctype/ctype.h [__USE_SVID]: Likewise.
53673         * dirent/dirent.h [__USE_BSD]: Likewise.
53674         * grp/grp.h [__USE_SVID]: Likewise.
53675         [__USE_BSD]: Likewise.
53676         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53677         * io/fcntl.h [__USE_BSD]: Likewise.
53678         * io/ftw.h [__USE_BSD]: Likewise.
53679         * io/sys/stat.h [__USE_BSD]: Likewise.
53680         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53681         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
53682         * libio/stdio.h [__USE_SVID]: Likewise.
53683         [__USE_BSD]: Likewise.
53684         * math/math.h [__USE_SVID]: Likewise.
53685         [__USE_BSD]: Likewise.
53686         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
53687         * misc/bits/syslog.h [__USE_BSD]: Likewise.
53688         * misc/search.h [__USE_SVID]: Likewise.
53689         * misc/sys/mman.h [__USE_BSD]: Likewise.
53690         * misc/sys/syslog.h [__USE_BSD]: Likewise.
53691         * misc/sys/uio.h [__USE_BSD]: Likewise.
53692         * posix/bits/unistd.h [__USE_BSD]: Likewise.
53693         * posix/glob.h [__USE_BSD]: Likewise.
53694         * posix/regex.h [__USE_BSD]: Likewise.
53695         * posix/sys/types.h [__USE_BSD]: Likewise.
53696         [__USE_SVID]: Likewise.
53697         * posix/sys/utsname.h [__USE_SVID]: Likewise.
53698         * posix/sys/wait.h [__USE_BSD]: Likewise.
53699         [__USE_SVID]: Likewise.
53700         * posix/unistd.h [__USE_BSD]: Likewise.
53701         [__USE_SVID]: Likewise.
53702         * pwd/pwd.h [__USE_SVID]: Likewise.
53703         * resolv/netdb.h [__USE_BSD]: Likewise.
53704         * setjmp/setjmp.h [__USE_BSD]: Likewise.
53705         * signal/signal.h [__USE_BSD]: Likewise.
53706         [__USE_SVID]: Likewise.
53707         * socket/sys/socket.h [__USE_BSD]: Likewise.
53708         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
53709         * stdlib/stdlib.h [__USE_BSD]: Likewise.
53710         [__USE_SVID]: Likewise.
53711         * string/bits/string2.h [__USE_BSD]: Likewise.
53712         [__USE_SVID]: Likewise.
53713         * string/bits/string3.h [__USE_BSD]: Likewise.
53714         * string/endian.h [__USE_BSD]: Likewise.
53715         * string/string.h [__USE_SVID]: Likewise.
53716         [__USE_BSD]: Likewise.
53717         * string/strings.h [__USE_BSD]: Likewise.
53718         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
53719         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
53720         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
53721         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
53722         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
53723         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
53724         Likewise.
53725         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
53726         Likewise.
53727         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
53728         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
53729         Likewise.
53730         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
53731         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
53732         Likewise.
53733         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
53734         Likewise.
53735         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
53736         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
53737         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
53738         Likewise.
53739         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
53740         Likewise.
53741         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
53742         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
53743         * termios/termios.h [__USE_BSD]: Likewise.
53744         * time/sys/time.h [__USE_BSD]: Likewise.
53745         * time/time.h [__USE_BSD]: Likewise.
53746         [__USE_SVID]: Likewise.
53748         * Makefile (subdir_targets): Remove subdir_lint.out.
53750         * stdio-common/Makefile (do-tst-unbputc): Remove target.
53751         (do-tst-printf): Likewise.
53752         (tests): Depend directly on $(objpfx)tst-unbputc.out and
53753         $(objpfx)tst-printf.out.
53755         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
53757         * Makerules (check-abi-%): Change target to
53758         $(objpfx)check-abi-%.out.
53759         (check-abi target): Update dependencies.
53760         (check-abi-pattern variable): Redirect output of diff to $@.
53761         (check-abi variable): Likewise.
53762         * elf/Makefile (check-abi): Update dependencies.
53764         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
53765         unused.
53766         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
53767         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
53768         subnormal range.
53769         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
53770         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
53771         value has largest subnormal exponent.
53772         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
53773         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
53774         * sysdeps/aarch64/soft-fp/sfp-machine.h
53775         (_FP_TININESS_AFTER_ROUNDING): New macro.
53776         * sysdeps/alpha/soft-fp/sfp-machine.h
53777         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53778         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53779         Likewise.
53780         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
53781         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53782         * sysdeps/mips/soft-fp/sfp-machine.h
53783         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53784         * sysdeps/powerpc/soft-fp/sfp-machine.h
53785         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53786         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53787         Likewise.
53788         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53789         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53790         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53791         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53792         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53793         Likewise.
53795 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
53797         [BZ #16545]
53798         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
53799         model 1.
53801 2014-02-12  Richard Henderson  <rth@redhat.com>
53803         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
53804         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53805         * sysdeps/unix/sysv/linux/alpha: Move directory from
53806         ports/sysdeps/unix/sysv/linux/alpha.
53807         * README: Update listing for alpha-*-linux-gnu.
53809 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
53811         * include/features.h: Update comment documenting feature test
53812         macros.
53813         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
53814         _DEFAULT_SOURCE.
53815         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
53816         (_SVID_SOURCE): Likewise.
53817         (_DEFAULT_SOURCE): Update description of default features.
53818         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
53819         with _GNU_SOURCE.
53820         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
53821         (S_ISVTX): Likewise.
53822         * manual/math.texi (Mathematical Constants): Likewise.
53823         * manual/signal.texi (Interrupted Primitives): Likewise.
53824         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
53825         * math/test-matherr.c (_SVID_SOURCE): Do not define.
53826         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
53827         Don't refer to _SVID_SOURCE in warning text.
53829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53831         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
53832         already defined.
53833         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
53834         * sysdeps/mips/dl-lookup.c: Remove.
53835         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
53837 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53839         [BZ #16447]
53840         * math/auto-libm-test-in: Add testcase for expl.
53841         * math/auto-libm-test-out: Regenerate.
53842         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
53843         calculation of unsafe.
53844         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
53846 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53848         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
53849         * sysdeps/unix/sysv/linux/aarch64: Move directory from
53850         ports/sysdeps/unix/sysv/linux/aarch64.
53851         * README: Update listing for aarch64*-*-linux-gnu.
53853 2014-02-11  Will Newton  <will.newton@linaro.org>
53855         * manual/probes.texi (Mathematical Function Probes): Use
53856         "triggered" instead of "hit".
53858         * manual/probes.texi (Internal Probes): Add documentation
53859         of setjmp, longjmp and longjmp_target probes.
53861         * include/stap-probe.h: Add comment about probe argument
53862         format.
53864         * malloc/mtrace.c (attribute_hidden): Remove unused macro
53865         definition.  (tr_where, tr_freehook, tr_mallochook,
53866         tr_reallochook, tr_memalignhook): Use ANSI protoype.
53868 2014-02-11  David S. Miller  <davem@davemloft.net>
53870         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53871         processing int_tests.
53873 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
53875         * sysdeps/mips: Move directory from ports/sysdeps/mips.
53876         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53877         * sysdeps/unix/sysv/linux/mips: Move directory from
53878         ports/sysdeps/unix/sysv/linux/mips.
53879         * README: Update listing for mips-*-linux-gnu and
53880         mips64-*-linux-gnu.
53882 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
53884         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
53885         * sysdeps/unix/sysv/linux/m68k: Move directory from
53886         ports/sysdeps/unix/sysv/linux/m68k.
53887         * README: Update listing for m68k-*-linux-gnu.
53889 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
53891         * sysdeps/tile: Move directory from ports/sysdeps/tile.
53892         * sysdeps/unix/sysv/linux/generic: Move directory from
53893         ports/sysdeps/unix/sysv/linux/generic.
53894         * sysdeps/unix/sysv/linux/tile: Move directory from
53895         ports/sysdeps/unix/sysv/linux/tile.
53896         * README: Update listing for tile*-*-linux-gnu.
53898 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
53900         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
53901         __builtin_expect.
53902         * benchtests/bench-memmem.c (simple_memmem): Likewise.
53903         * catgets/open_catalog.c (__open_catalog): Likewise.
53904         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53905         * debug/confstr_chk.c: Likewise.
53906         * debug/fread_chk.c (__fread_chk): Likewise.
53907         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
53908         * debug/getgroups_chk.c: Likewise.
53909         * debug/mbsnrtowcs_chk.c: Likewise.
53910         * debug/mbsrtowcs_chk.c: Likewise.
53911         * debug/mbstowcs_chk.c: Likewise.
53912         * debug/memcpy_chk.c: Likewise.
53913         * debug/memmove_chk.c: Likewise.
53914         * debug/mempcpy_chk.c: Likewise.
53915         * debug/memset_chk.c: Likewise.
53916         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53917         * debug/strcat_chk.c (__strcat_chk): Likewise.
53918         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53919         * debug/strncat_chk.c (__strncat_chk): Likewise.
53920         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53921         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53922         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53923         * debug/wcpncpy_chk.c: Likewise.
53924         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53925         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53926         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53927         * debug/wcsncpy_chk.c: Likewise.
53928         * debug/wcsnrtombs_chk.c: Likewise.
53929         * debug/wcsrtombs_chk.c: Likewise.
53930         * debug/wcstombs_chk.c: Likewise.
53931         * debug/wmemcpy_chk.c: Likewise.
53932         * debug/wmemmove_chk.c: Likewise.
53933         * debug/wmempcpy_chk.c: Likewise.
53934         * debug/wmemset_chk.c: Likewise.
53935         * dirent/scandirat.c (SCANDIRAT): Likewise.
53936         * dlfcn/dladdr1.c (dladdr1): Likewise.
53937         * dlfcn/dladdr.c (dladdr): Likewise.
53938         * dlfcn/dlclose.c (dlclose_doit): Likewise.
53939         * dlfcn/dlerror.c (__dlerror): Likewise.
53940         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53941         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53942         * dlfcn/dlopen.c (dlopen_doit): Likewise.
53943         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53944         * dlfcn/dlsym.c (dlsym_doit): Likewise.
53945         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53946         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53947         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53948         Likewise.
53949         * elf/dl-conflict.c: Likewise.
53950         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53951         * elf/dl-dst.h: Likewise.
53952         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53953         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53954         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53955         * elf/dl-init.c (call_init, _dl_init): Likewise.
53956         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53957         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53958         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53959         Likewise.
53960         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53961         Likewise.
53962         * elf/dl-minimal.c (__libc_memalign): Likewise.
53963         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53964         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53965         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53966         * elf/dl-sym.c (do_sym): Likewise.
53967         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53968         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53969         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53970         * elf/dl-writev.h (_dl_writev): Likewise.
53971         * elf/ldconfig.c (search_dir): Likewise.
53972         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53973         (dl_main): Likewise.
53974         * elf/setup-vdso.h (setup_vdso): Likewise.
53975         * grp/compat-initgroups.c (compat_call): Likewise.
53976         * grp/fgetgrent.c (fgetgrent): Likewise.
53977         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53978         * grp/putgrent.c (putgrent): Likewise.
53979         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53980         Likewise.
53981         * hurd/hurdinit.c: Likewise.
53982         * iconvdata/8bit-gap.c (struct): Likewise.
53983         * iconvdata/ansi_x3.110.c : Likewise.
53984         * iconvdata/big5.c : Likewise.
53985         * iconvdata/big5hkscs.c : Likewise.
53986         * iconvdata/cp1255.c: Likewise.
53987         * iconvdata/cp1258.c : Likewise.
53988         * iconvdata/cp932.c : Likewise.
53989         * iconvdata/euc-cn.c: Likewise.
53990         * iconvdata/euc-jisx0213.c : Likewise.
53991         * iconvdata/euc-jp.c: Likewise.
53992         * iconvdata/euc-jp-ms.c : Likewise.
53993         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53994         * iconvdata/gb18030.c : Likewise.
53995         * iconvdata/gbbig5.c (const): Likewise.
53996         * iconvdata/gbgbk.c: Likewise.
53997         * iconvdata/gbk.c : Likewise.
53998         * iconvdata/ibm1364.c : Likewise.
53999         * iconvdata/ibm930.c : Likewise.
54000         * iconvdata/ibm932.c: Likewise.
54001         * iconvdata/ibm933.c : Likewise.
54002         * iconvdata/ibm935.c : Likewise.
54003         * iconvdata/ibm937.c : Likewise.
54004         * iconvdata/ibm939.c : Likewise.
54005         * iconvdata/ibm943.c: Likewise.
54006         * iconvdata/iso_11548-1.c: Likewise.
54007         * iconvdata/iso-2022-cn.c : Likewise.
54008         * iconvdata/iso-2022-cn-ext.c : Likewise.
54009         * iconvdata/iso-2022-jp-3.c: Likewise.
54010         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
54011         * iconvdata/iso-2022-kr.c : Likewise.
54012         * iconvdata/iso646.c (gconv_end): Likewise.
54013         * iconvdata/iso_6937-2.c : Likewise.
54014         * iconvdata/iso_6937.c : Likewise.
54015         * iconvdata/iso8859-1.c: Likewise.
54016         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
54017         * iconvdata/shift_jisx0213.c : Likewise.
54018         * iconvdata/sjis.c : Likewise.
54019         * iconvdata/t.61.c : Likewise.
54020         * iconvdata/tcvn5712-1.c : Likewise.
54021         * iconvdata/tscii.c: Likewise.
54022         * iconvdata/uhc.c : Likewise.
54023         * iconvdata/unicode.c (gconv_end): Likewise.
54024         * iconvdata/utf-16.c (gconv_end): Likewise.
54025         * iconvdata/utf-32.c (gconv_end): Likewise.
54026         * iconvdata/utf-7.c (base64): Likewise.
54027         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
54028         * iconv/gconv_close.c (__gconv_close): Likewise.
54029         * iconv/gconv_open.c (__gconv_open): Likewise.
54030         * iconv/gconv_simple.c (internal_ucs4_loop_single)
54031         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
54032         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
54033         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
54034         (ucs4le_internal_loop_single): Likewise.
54035         * iconv/iconv.c (iconv): Likewise.
54036         * iconv/iconv_close.c: Likewise.
54037         * iconv/loop.c (SINGLE): Likewise.
54038         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
54039         * include/atomic.h: Likewise.
54040         * inet/inet6_option.c (option_alloc): Likewise.
54041         * intl/bindtextdom.c (set_binding_values): Likewise.
54042         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
54043         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
54044         * intl/localealias.c (read_alias_file): Likewise.
54045         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
54046         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
54047         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
54048         * libio/fmemopen.c (fmemopen): Likewise.
54049         * libio/iofgets.c (_IO_fgets): Likewise.
54050         * libio/iofgets_u.c (fgets_unlocked): Likewise.
54051         * libio/iofgetws.c (fgetws): Likewise.
54052         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
54053         * libio/iogetdelim.c (_IO_getdelim): Likewise.
54054         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
54055         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
54056         * locale/findlocale.c (_nl_find_locale): Likewise.
54057         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
54058         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
54059         Likewise.
54060         * locale/setlocale.c (setlocale): Likewise.
54061         * login/programs/pt_chown.c (main): Likewise.
54062         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
54063         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
54064         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
54065         (mmap, mmap64, mremap, munmap): Likewise.
54066         * math/e_exp2l.c: Likewise.
54067         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
54068         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
54069         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
54070         * math/s_catan.c (__catan): Likewise.
54071         * math/s_catanf.c (__catanf): Likewise.
54072         * math/s_catanh.c (__catanh): Likewise.
54073         * math/s_catanhf.c (__catanhf): Likewise.
54074         * math/s_catanhl.c (__catanhl): Likewise.
54075         * math/s_catanl.c (__catanl): Likewise.
54076         * math/s_ccosh.c (__ccosh): Likewise.
54077         * math/s_ccoshf.c (__ccoshf): Likewise.
54078         * math/s_ccoshl.c (__ccoshl): Likewise.
54079         * math/s_cexp.c (__cexp): Likewise.
54080         * math/s_cexpf.c (__cexpf): Likewise.
54081         * math/s_cexpl.c (__cexpl): Likewise.
54082         * math/s_clog10.c (__clog10): Likewise.
54083         * math/s_clog10f.c (__clog10f): Likewise.
54084         * math/s_clog10l.c (__clog10l): Likewise.
54085         * math/s_clog.c (__clog): Likewise.
54086         * math/s_clogf.c (__clogf): Likewise.
54087         * math/s_clogl.c (__clogl): Likewise.
54088         * math/s_csin.c (__csin): Likewise.
54089         * math/s_csinf.c (__csinf): Likewise.
54090         * math/s_csinh.c (__csinh): Likewise.
54091         * math/s_csinhf.c (__csinhf): Likewise.
54092         * math/s_csinhl.c (__csinhl): Likewise.
54093         * math/s_csinl.c (__csinl): Likewise.
54094         * math/s_csqrt.c (__csqrt): Likewise.
54095         * math/s_csqrtf.c (__csqrtf): Likewise.
54096         * math/s_csqrtl.c (__csqrtl): Likewise.
54097         * math/s_ctan.c (__ctan): Likewise.
54098         * math/s_ctanf.c (__ctanf): Likewise.
54099         * math/s_ctanh.c (__ctanh): Likewise.
54100         * math/s_ctanhf.c (__ctanhf): Likewise.
54101         * math/s_ctanhl.c (__ctanhl): Likewise.
54102         * math/s_ctanl.c (__ctanl): Likewise.
54103         * math/w_pow.c: Likewise.
54104         * math/w_powf.c: Likewise.
54105         * math/w_powl.c: Likewise.
54106         * math/w_scalb.c (sysv_scalb): Likewise.
54107         * math/w_scalbf.c (sysv_scalbf): Likewise.
54108         * math/w_scalbl.c (sysv_scalbl): Likewise.
54109         * misc/error.c (error_tail): Likewise.
54110         * misc/pselect.c (__pselect): Likewise.
54111         * nis/nis_callback.c (__nis_create_callback): Likewise.
54112         * nis/nis_call.c (__nisfind_server): Likewise.
54113         * nis/nis_creategroup.c (nis_creategroup): Likewise.
54114         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
54115         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54116         * nis/nis_getservlist.c (nis_getservlist): Likewise.
54117         * nis/nis_lookup.c (nis_lookup): Likewise.
54118         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
54119         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
54120         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
54121         * nis/nis_xdr.c (xdr_endpoint): Likewise.
54122         * nis/nss_compat/compat-grp.c (getgrent_next_file)
54123         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
54124         * nis/nss_compat/compat-initgroups.c (add_group)
54125         (internal_getgrent_r): Likewise.
54126         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
54127         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
54128         * nis/nss_compat/compat-spwd.c (getspent_next_file)
54129         (internal_getspnam_r): Likewise.
54130         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
54131         (_nss_nis_getaliasbyname_r): Likewise.
54132         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
54133         (_nss_nis_getntohost_r): Likewise.
54134         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
54135         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
54136         (_nss_nis_getgrgid_r): Likewise.
54137         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
54138         (internal_nis_gethostent_r, internal_gethostbyname2_r)
54139         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
54140         (_nss_nis_gethostbyname4_r): Likewise.
54141         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
54142         (initgroups_netid): Likewise.
54143         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
54144         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
54145         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
54146         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
54147         (_nss_nis_getprotobynumber_r): Likewise.
54148         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
54149         (_nss_nis_getsecretkey): Likewise.
54150         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
54151         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
54152         (_nss_nis_getpwuid_r): Likewise.
54153         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
54154         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
54155         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
54156         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
54157         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
54158         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
54159         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
54160         Likewise.
54161         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
54162         (_nss_nisplus_getntohost_r): Likewise.
54163         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
54164         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
54165         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
54166         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
54167         Likewise.
54168         * nis/nss_nisplus/nisplus-initgroups.c
54169         (_nss_nisplus_initgroups_dyn): Likewise.
54170         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
54171         (_nss_nisplus_getnetbyaddr_r): Likewise.
54172         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
54173         (_nss_nisplus_getprotobynumber_r): Likewise.
54174         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
54175         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54176         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54177         Likewise.
54178         * nis/nss_nisplus/nisplus-service.c
54179         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54180         (_nss_nisplus_getservbyport_r): Likewise.
54181         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54182         (_nss_nisplus_getspnam_r): Likewise.
54183         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54184         Likewise.
54185         * nscd/aicache.c (addhstaiX): Likewise.
54186         * nscd/cache.c (cache_search, prune_cache): Likewise.
54187         * nscd/connections.c (register_traced_file, send_ro_fd)
54188         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54189         (main_loop_epoll): Likewise.
54190         * nscd/grpcache.c (addgrbyX): Likewise.
54191         * nscd/hstcache.c (addhstbyX): Likewise.
54192         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54193         * nscd/mem.c (gc, mempool_alloc): Likewise.
54194         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54195         (addinnetgrX): Likewise.
54196         * nscd/nscd-client.h (__nscd_acquire_maplock)
54197         (__nscd_drop_map_ref): Likewise.
54198         * nscd/nscd_getai.c (__nscd_getai): Likewise.
54199         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
54200         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
54201         Likewise.
54202         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
54203         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54204         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
54205         (__nscd_get_map_ref): Likewise.
54206         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
54207         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
54208         Likewise.
54209         * nscd/pwdcache.c (addpwbyX): Likewise.
54210         * nscd/selinux.c (preserve_capabilities): Likewise.
54211         * nscd/servicescache.c (addservbyX): Likewise.
54212         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
54213         * posix/fnmatch.c (fnmatch): Likewise.
54214         * posix/getopt.c (_getopt_internal_r): Likewise.
54215         * posix/glob.c (glob, glob_in_dir): Likewise.
54216         * posix/wordexp.c (exec_comm_child): Likewise.
54217         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
54218         (getanswer_r, gaih_getanswer_slice): Likewise.
54219         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
54220         * resolv/res_init.c: Likewise.
54221         * resolv/res_mkquery.c (res_nmkquery): Likewise.
54222         * resolv/res_query.c (__libc_res_nquery): Likewise.
54223         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
54224         Likewise.
54225         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
54226         * stdio-common/perror.c (perror): Likewise.
54227         * stdio-common/printf_fp.c (___printf_fp): Likewise.
54228         * stdio-common/tmpnam.c (tmpnam): Likewise.
54229         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54230         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
54231         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
54232         Likewise.
54233         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
54234         * stdlib/putenv.c (putenv): Likewise.
54235         * stdlib/setenv.c (__add_to_environ): Likewise.
54236         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54237         * stdlib/strtol_l.c (INTERNAL): Likewise.
54238         * string/memmem.c (memmem): Likewise.
54239         * string/strerror.c (strerror): Likewise.
54240         * string/strnlen.c (__strnlen): Likewise.
54241         * string/test-memmem.c (simple_memmem): Likewise.
54242         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
54243         * sunrpc/pm_getport.c (__get_socket): Likewise.
54244         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
54245         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
54246         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
54247         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
54248         Likewise.
54249         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
54250         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
54251         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
54252         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
54253         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
54254         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
54255         Likewise.
54256         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
54257         Likewise.
54258         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
54259         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
54260         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54261         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
54262         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
54263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
54264         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
54265         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
54266         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
54267         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
54268         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54269         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
54270         Likewise.
54271         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
54272         Likewise.
54273         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
54274         Likewise.
54275         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54276         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54277         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54278         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54279         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54280         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54281         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54283         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54284         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54285         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54287         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54288         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54289         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54290         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54291         Likewise.
54292         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54293         Likewise.
54294         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54295         Likewise.
54296         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54297         Likewise.
54298         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54299         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54300         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54301         Likewise.
54302         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54303         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54304         * sysdeps/posix/opendir.c (__opendirat): Likewise.
54305         * sysdeps/posix/sleep.c: Likewise.
54306         * sysdeps/posix/tempname.c: Likewise.
54307         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54308         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54309         Likewise.
54310         * sysdeps/powerpc/powerpc32/dl-machine.h
54311         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54312         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54313         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54314         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54315         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54316         Likewise.
54317         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54318         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54319         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54320         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54321         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54322         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54323         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54324         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54325         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54326         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54327         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54328         (elf_machine_lazy_rel): Likewise.
54329         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54330         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54331         (elf_machine_lazy_rel): Likewise.
54332         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54333         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54334         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54335         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54336         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54337         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54338         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54339         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54340         Likewise.
54341         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54342         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54343         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54344         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54345         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54346         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54347         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54348         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54349         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54350         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54351         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54352         Likewise.
54353         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54354         (__posix_fallocate64_l64): Likewise.
54355         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54356         (posix_fallocate): Likewise.
54357         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54358         Likewise.
54359         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54360         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54361         (getifaddrs_internal): Likewise.
54362         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54363         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54364         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54365         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54366         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54367         (__posix_fallocate64_l64): Likewise.
54368         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54369         Likewise.
54370         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54371         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54372         (__get_clockfreq): Likewise.
54373         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54374         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54375         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54378         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54379         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54380         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54381         Likewise.
54382         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54383         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54384         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54385         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54386         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54387         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54388         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54389         Likewise.
54390         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54391         (posix_fallocate): Likewise.
54392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54393         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54394         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54395         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54396         (elf_machine_rela, elf_machine_rela_relative)
54397         (elf_machine_lazy_rel): Likewise.
54398         * time/asctime.c (asctime_internal): Likewise.
54399         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54400         * time/tzset.c (__tzset_parse_tz): Likewise.
54401         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54402         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54403         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54404         * wcsmbs/wcsmbsload.h: Likewise.
54406         [BZ #15894]
54407         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54409         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54410         (arena_get2): Remove THREAD_STATS conditionals.
54411         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54412         (__malloc_stats, int): Likewise.
54414 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54416         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54417         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54419         * manual/setjmp.texi: Fix typos/grammar errors.
54421         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54422         Only return early when n is <= 0.  Delete unused return statement.
54424         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54425         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54426         * debug/tst-longjmp_chk3.c: New file.
54428         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54429         (test_main): Replace code with set_fortify_handler call.
54430         * debug/test-strcpy_chk.c: Likewise.
54431         * debug/tst-chk1.c: Likewise.
54432         * debug/tst-longjmp_chk.c: Likewise.
54433         * test-skeleton.c: Include fcntl.h & paths.h
54434         (set_fortify_handler): Define.
54436         * debug/tst-longjmp_chk.c: Add header comment and include
54437         ../test-skeleton.c.
54438         (do_test): Mark static.
54439         (TEST_FUNCTION): Define.
54441         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54442         (IP_PMTUDISC_INTERFACE): Likewise.
54443         (IP_MULTICAST_IF): Likewise.
54444         (IP_MULTICAST_TTL): Likewise.
54445         (IP_MULTICAST_LOOP): Likewise.
54446         (IP_ADD_MEMBERSHIP): Likewise.
54447         (IP_DROP_MEMBERSHIP): Likewise.
54448         (IP_UNBLOCK_SOURCE): Likewise.
54449         (IP_BLOCK_SOURCE): Likewise.
54450         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54451         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54452         (IP_MSFILTER): Likewise.
54453         (MCAST_JOIN_GROUP): Likewise.
54454         (MCAST_BLOCK_SOURCE): Likewise.
54455         (MCAST_UNBLOCK_SOURCE): Likewise.
54456         (MCAST_LEAVE_GROUP): Likewise.
54457         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54458         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54459         (MCAST_MSFILTER): Likewise.
54460         (IP_MULTICAST_ALL): Likewise.
54461         (IP_UNICAST_IF): Likewise.
54463         * timezone/Makefile: Delete $(have-ksh) check.
54464         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54465         * timezone/tzselect.ksh: Add +x mode bits.
54467         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54468         (ANON_INODE_FS_MAGIC): Likewise.
54469         (BDEVFS_MAGIC): Likewise.
54470         (BINFMTFS_MAGIC): Likewise.
54471         (BTRFS_TEST_MAGIC): Likewise.
54472         (CRAMFS_MAGIC_WEND): Likewise.
54473         (DEBUGFS_MAGIC): Likewise.
54474         (ECRYPTFS_SUPER_MAGIC): Likewise.
54475         (EXT3_SUPER_MAGIC): Likewise.
54476         (EXT4_SUPER_MAGIC): Likewise.
54477         (FUTEXFS_SUPER_MAGIC): Likewise.
54478         (HOSTFS_SUPER_MAGIC): Likewise.
54479         (HUGETLBFS_MAGIC): Likewise.
54480         (MINIX3_SUPER_MAGIC): Likewise.
54481         (MTD_INODE_FS_MAGIC): Likewise.
54482         (NILFS_SUPER_MAGIC): Likewise.
54483         (OPENPROM_SUPER_MAGIC): Likewise.
54484         (PIPEFS_MAGIC): Likewise.
54485         (PSTOREFS_MAGIC): Likewise.
54486         (QNX6_SUPER_MAGIC): Likewise.
54487         (RAMFS_MAGIC): Likewise.
54488         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54489         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54490         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54491         (SECURITYFS_MAGIC): Likewise.
54492         (SELINUX_MAGIC): Likewise.
54493         (SMACK_MAGIC): Likewise.
54494         (SOCKFS_MAGIC): Likewise.
54495         (SQUASHFS_MAGIC): Likewise.
54496         (STACK_END_MAGIC): Likewise.
54497         (TMPFS_MAGIC): Likewise.
54498         (USBDEVICE_SUPER_MAGIC): Likewise.
54499         (V9FS_MAGIC): Likewise.
54500         (XENFS_SUPER_MAGIC): Likewise.
54501         (CRAMFS_MAGIC): Fix typo in comment.
54502         (EXT2_SUPER_MAGIC): Update comment.
54503         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54505 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54507         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54508         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54509         * sysdeps/unix/sysv/linux/arm: Move directory from
54510         ports/sysdeps/unix/sysv/linux/arm.
54511         * README: Update listing for arm-*-linux-gnueabi.
54513         * README: Remove mention of am33.
54515 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54517         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54518         than the comma operator, to avoid "rhs of comma has no effect"
54519         compiler warnings.
54520         (__sigfillset, __sigandset, __sigorset): Likewise.
54521         * include/signal.h (__sigemptyset): Likewise.
54522         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54524 2014-02-07  Allan McRae  <allan@archlinux.org>
54526         * version.h (RELEASE): Set to "development".
54527         (VERSION): Set to "2.19.90"
54528         * NEWS: Add 2.20 section.
54530 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54532         [BZ #16529]
54533         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54535 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54537         * manual/contrib.texi: Update entry for Carlos O'Donell,
54538         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54540 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54542         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54544         * sysdeps/unix/sysv/linux/kernel-features.h
54545         [__LINUX_KERNEL_VERSION >= 0x020621]
54546         (__ASSUME_PROC_PID_TASK_COMM): Define.
54548 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54550         [BZ #16398]
54551         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54552         conversion when destination buffer does not have enough space.
54553         * libio/tst-ftell-partial-wide.c: New test case.
54554         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54556         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54557         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54558         Leonard and Allan McRae.
54560 2014-02-04  David S. Miller  <davem@davemloft.net>
54562         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54563         32-bit.
54565 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54568         New file
54569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54570         New file
54571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54572         New file.
54573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54574         New file.
54575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54576         New file.
54577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54578         New file.
54579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54580         New file.
54581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54582         New file.
54583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54584         New file.
54585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54586         New file.
54587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54588         New file.
54589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54590         New file.
54591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54592         New file.
54594 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54596         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54597         * shlib-versions: Likewise.
54599 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54600             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54602         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54603         (abilist-pattern): New variable, set to %-le.abilist.
54605         * Makerules (abilist-pattern): New variable.
54606         (vpath): Use $(abilist-pattern) in place of %.abilist.
54607         (check-abi-% pattern rule): Likewise.
54608         (check-abi, update-abi): Likewise.
54610 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54614 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54616         * manual/startup.texi: Add next, previous, and top entries for
54617         the `Program Arguments' and `Environment Variables' nodes.
54619 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
54621         * manual/macros.texi: Add comments before MTASC-safety macros.
54623         * manual/users.texi: Document MTASC-safety properties.
54625         * manual/threads.texi (pthread_key_create, pthread_key_delete)
54626         (pthread_getspecific, pthread_setspecific): Format with
54627         @deftypefun, and add @safety note.
54628         * manual/signal.texi: Move comments that analyze the above
54629         functions to their home place.
54631 2014-02-03  Allan McRae  <allan@archlinux.org>
54633         * po/sl.po: Update Slovenian translation from translation project.
54635 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
54637         * manual/time.texi (timegm): Add missing blank after @c.
54638         Reported by Joseph Myers <joseph@codesourcery.com>.
54640 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
54642         * manual/check-safety.sh: New.
54643         * manual/Makefile ($(objpfx)stamp-summary): Run it.
54645         * manual/terminal.texi: Document MTASC-safety properties.
54647         * manual/filesys.texi: Document MTASC-safety properties.
54649         * manual/errno.texi: Document MTASC-safety properties.
54651         * manual/intro.texi: Document safety identifiers and
54652         conditionals.
54654         * manual/string.texi (wcstok): Fix prototype.
54655         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54657         * manual/time.texi: Document MTASC-safety properties.
54659         * manual/string.texi: Document MTASC-safety properties.
54661         * manual/threads.texi: Document MTASC-safety properties.
54663         * manual/stdio.texi: Document MTASC-safety properties.
54665         * manual/syslog.texi: Document MTASC-safety properties.
54667         * manual/sysinfo.texi: Document MTASC-safety properties.
54669         * manual/startup.texi: Document MTASC-safety properties.
54671         * manual/socket.texi: Document MTASC-safety properties.
54673         * manual/signal.texi: Document MTASC-safety properties.
54675 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
54677         * manual/setjmp.texi: Document MTASC-safety properties.
54679         * manual/search.texi: Document MTASC-safety properties.
54681         * manual/resource.texi: Document MTASC-safety properties.
54683         * manual/process.texi: Document MTASC-safety properties.
54685         * manual/platform.texi: Document MTASC-safety properties.
54687         * manual/pipe.texi: Document MTASC-safety properties.
54689         * manual/pattern.texi: Document MTASC-safety properties.
54691         * manual/message.texi: Document MTASC-safety properties.
54693         [BZ #12751]
54694         * manual/memory.texi: Document MTASC-safety properties.
54696         * manual/math.texi: Document MTASC-safety properties.
54698         * manual/locale.texi: Document MTASC-safety properties.
54700         * manual/llio.texi: Document MTASC-safety properties.
54702         * manual/libdl.texi: New.
54704         * manual/lang.texi: Document MTASC-safety properties.
54706         * manual/job.texi: Document MTASC-safety properties.
54708         * manual/getopt.texi: Document MTASC-safety properties.
54710         * manual/ctype.texi: Document MTASC-safety properties.
54712 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
54714         [BZ #16046]
54715         * csu/libc-tls.c (static_map): Remove variable.
54716         (__libc_setup_tls): Use main executable's link map for TLS data.
54717         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
54718         casing for LM_ID_BASE and GL(dl_nns).
54719         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
54720         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
54721         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
54722         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
54723         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
54724         member.
54725         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
54726         l_phnum members.
54728 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
54730         * manual/debug.texi: Document MTASC-safety properties.
54732 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
54734         [BZ #16510]
54735         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
54736         of __x86_64__ when disabling x87 inline functions.
54738 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
54740         * manual/charset.texi: Document MTASC-safety properties.
54742         * manual/crypt.texi: Document MTASC-safety properties.
54744         * manual/conf.texi: Document MTASC-safety properties.
54746         * manual/arith.texi: Document MTASC-safety properties.
54748         * manual/argp.texi: Document MTASC-safety properties.
54750         * manual/macros.texi: Introduce macros to document multi
54751         thread, asynchronous signal and asynchronous cancellation
54752         safety properties.
54753         * manual/intro.texi: Introduce the properties themselves.
54755 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54757         * sysdeps/sh/sh4/Makefile: New file.
54759 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
54761         * math/gen-libm-test.pl ($srcdir): New variable.
54762         ($auto_input): Use it.
54764 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54766         [BZ #16506]
54767         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
54768         access beyond array bounds when parsing netgroups file.
54770         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
54771         the old buffer before realloc.
54773 2014-01-27  Allan McRae  <allan@archlinux.org>
54775         * po/fr.po: Update French translation from translation project.
54777 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54779         * sysdeps/sh/libm-test-ulps: Regenerate.
54781 2014-01-24  David S. Miller  <davem@davemloft.net>
54783         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
54785 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54787         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
54788         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
54790 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54792         [BZ #16474]
54793         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
54794         string pointers after reallocation.
54796 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54798         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
54799         __SH4A__ instead of __SH_FPU_ANY__.
54801 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54803         * sysdeps/sh/fpu_control.h: New file.
54804         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
54805         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
54806         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
54807         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
54808         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
54809         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
54810         * sysdeps/sh/sys/ucontext.h: Remove.
54811         * sysdeps/sh/sys: Remove directory.
54813 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54815         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
54816         s390/sys/ucontext.h.
54817         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
54818         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
54820 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
54822         [BZ #15605]
54823         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
54825 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54827         [BZ #16431]
54828         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54829         Adjust the vDSO correctly for internal calls.
54830         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
54832 2014-01-20  Allan McRae  <allan@archlinux.org>
54834         * po/ca.po: Update Catalan translation from translation project.
54836 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
54838         * sysdeps/s390/sotruss-lib.c: New file.
54840 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54842         [BZ #16430]
54843         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
54844         (__GI___gettimeofday): Alias for a different internal symbol to avoid
54845         local calls issues by not having a PLT stub required for IFUNC calls.
54846         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
54848 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
54850         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
54851         * math/test-fpucw-static.c: Likewise.
54853 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54855         [BZ #16453]
54856         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
54858 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54860         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
54861         implementation for powerpc.
54863 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
54865         [BZ #14782]
54866         * sysdeps/posix/system.c (__libc_system): Do not enable
54867         asynchronous cancellation.
54869 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54871         [BZ #16427]
54872         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
54873         handling only for numbers special also in the IEEE case.
54875 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54877         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54879 2014-01-11  Allan McRae  <allan@archlinux.org>
54881         * po/bg.po: Update Bulgarian translation from translation project.
54883         * po/de.po: Update German translation from translation project.
54885 2014-01-10  Roland McGrath  <roland@hack.frob.com>
54887         * sysdeps/generic/gcc-compat.h: New file.
54889 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54891         * benchtests/asin-inputs: Correct slow inputs.
54892         * benchtests/acos-inputs: Likewise.
54894 2014-01-10  Allan McRae  <allan@archlinux.org>
54896         * po:sv.po: Update Swedish translation from translation project.
54898         * po/vi.po: Update Vietnamese translation from translation project.
54900         * po/eo.po: Update Esperanto translation from translation project.
54902         * po/cs.po: Update Czech translation from translation project.
54904         * po/nl.po: Update Dutch translation from translation project.
54906         * po/pl.po: Update Polish translation from translation project.
54908         * po/ru.po: Update Russian translation from translation project.
54910         * po/uk.po: Update Ukrainian translation from translation project.
54912 2014-01-08  Brooks Moses  <bmoses@google.com>
54914         * elf/dl-load.c: Fix comment typo.
54916 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
54918         * po/header.pot: Rename to...
54919         * po/pot.header: ... this.
54920         * po/Makefile: Use pot.header.
54922 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
54923             Maxim Kuvyrkov  <maxim@kugelworks.com>
54925         [BZ #16394]
54926         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54927         SRC and DEST against LEN.
54929 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54931         [BZ #16414]
54932         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54933         implementation.
54934         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54936 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54940 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
54942         [BZ #16408]
54943         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54944         for large positive arguments.
54946 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
54948         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54950         * math/auto-libm-test-in: Mark various tests with
54951         xfail-rounding:ldbl-128ibm.
54952         * math/auto-libm-test-out: Regenerated.
54954         [BZ #16407]
54955         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54956         Increase overflow threshold.
54958 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54960         [BZ #14286]
54961         * stdio-common/vfprintf.c: Check for integer overflow.
54963 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54965         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54966         the first argument and return value of __tls_get_addr_internal.
54968 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54970         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54971         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54973 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54975         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54976         * sysdeps/s390/rtld-global-offsets.sym: New file.
54977         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54978         GLIBC_2.19 symbol.
54979         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54980         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54981         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54982         ... this.
54983         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54984         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54985         ... this.
54986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54987         Regenerate.
54988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54989         Regenerate.
54990         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54991         halfs of GPRs for high_gprs contexts.
54992         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54993         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54994         field.
54995         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54996         uc_flags field.
54997         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54998         64 bit versions:
54999         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
55000         for high GPRs (uc_high_gprs) and for future extensions
55001         (__reserved).
55002         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
55003         for future extensions (__reserved).
55004         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
55005         64 bit versions:
55006         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
55007         SC_HIGHGPRS offset definition.
55008         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
55009         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
55011         * Versions.def: Add GLIBC_2.19 for libpthread.
55012         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
55013         siglongjmp for libpthread with GLIBC_2.19 symver.
55014         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55015         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
55016         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
55017         * sysdeps/s390/__longjmp.c: New file.
55018         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
55019         * sysdeps/s390/longjmp.c: New file.
55020         * sysdeps/s390/setjmp.S: New file.
55021         * sysdeps/s390/sigjmp.S: New file.
55022         * sysdeps/s390/v1-longjmp.c: New file.
55023         * sysdeps/s390/v1-setjmp.h: New file.
55024         * sysdeps/s390/v1-sigjmp.c: New file.
55025         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
55026         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
55027         GLIBC_2.19 version.
55028         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
55029         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
55030         versioned symbols for ____longjmp_chk.
55031         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
55032         Likewise.
55033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55034         Regenerate.
55035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55036         Regenerate.
55037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55038         Regenerate.
55039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55040         Regenerate.
55041         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
55042         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
55043         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
55044         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
55045         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
55046         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
55047         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
55048         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
55049         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
55050         * sysdeps/s390/rtld-__longjmp.c: New file.
55051         * sysdeps/s390/rtld-setjmp.S: New file.
55053 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
55055         [BZ #16400]
55056         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55057         Return -__logl (x) for small positive arguments without evaluating
55058         a polynomial.
55060 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
55062         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
55063         Rename to ...
55064         (__ptrace_peeksiginfo_args): ... this.
55065         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55066         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55069 2014-01-06  Allan McRae  <allan@archlinux.org>
55071         * inet/netinet/in.h: Fix typo in comment.
55073 2014-01-05  Andreas Jaeger  <aj@suse.de>
55075         * sysdeps/i386/fpu/libm-test-ulps: Update.
55077 2014-01-05  Allan McRae  <allan@archlinux.org>
55079         * po/libc.pot: Regenerated.
55081         * malloc/memusagestat.c: Fix gettext call formatting.
55083 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
55085         * nscd/nscd.c: Improve usage() output.
55087 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
55089         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
55090         * sysdeps/unix/sysv/linux/configure: Regenerated.
55091         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
55092         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
55094 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55096         [BZ #16390]
55097         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55098         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
55100 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55102         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
55103         extra tokens at end of #undef directive.
55104         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
55105         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
55106         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
55108 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55110         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55112         * math/auto-libm-test-in: Mark various tests with
55113         xfail-rounding:ldbl-128ibm.
55114         * math/auto-libm-test-out: Regenerated.
55116 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
55118         [BZ #16386]
55119         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
55120         numbers with subnormal high part when calculating exponent.
55122         [BZ #16385]
55123         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
55124         fabs.
55126         [BZ #16384]
55127         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55128         M_LN2l.
55129         (__ieee754_acoshl): Use __log1pl not __log1p.
55131 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
55133         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
55134         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
55135         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
55136         (grow_heap, heap_trim, _int_new_arena, get_free_list)
55137         (reused_arena, arena_get2): Convert to GNU style.
55138         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
55139         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
55140         (memalign_check, __malloc_set_state): Likewise.
55141         * malloc/mallocbug.c (main): Likewise.
55142         * malloc/malloc.c (__malloc_assert, malloc_init_state)
55143         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
55144         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
55145         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
55146         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
55147         (__posix_memalign, malloc_info): Likewise.
55148         * malloc/malloc.h: Likewise.
55149         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
55150         (mallochook, memalignhook, reallochook, mabort): Likewise.
55151         * malloc/mcheck.h: Likewise.
55152         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
55153         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
55154         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
55155         * malloc/morecore.c (__default_morecore): Likewise.
55156         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
55157         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
55158         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
55159         (print_and_abort): Likewise.
55160         * malloc/obstack.h: Likewise.
55161         * malloc/set-freeres.c (__libc_freeres): Likewise.
55162         * malloc/tst-mallocstate.c (main): Likewise.
55163         * malloc/tst-mtrace.c (main): Likewise.
55164         * malloc/tst-realloc.c (do_test): Likewise.
55166 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55168         [BZ #16366]
55169         * nscd/netgroupcache.c (do_notfound): New function.
55170         (addgetnetgrentX): Use it.
55172         [BZ # 16365]
55173         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
55174         NSS_STATUS_NOTFOUND.
55176 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
55178         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55181 2014-01-01  Allan McRae  <allan@archlinux.org>
55183         * scripts/update-copyrights: Update configure input file suffix.
55185         * NEWS: Update copyright year.
55186         * catgets/gencat.c: Likewise.
55187         * csu/version.c: Likewise.
55188         * debug/catchsegv.sh: Likewise.
55189         * debug/pcprofiledump.c: Likewise.
55190         * debug/xtrace.sh: Likewise.
55191         * elf/ldconfig.c: Likewise.
55192         * elf/ldd.bash.in: Likewise.
55193         * elf/pldd.c: Likewise.
55194         * elf/sotruss.ksh: Likewise.
55195         * elf/sprof.c: Likewise.
55196         * iconv/iconv_prog.c: Likewise.
55197         * iconv/iconvconfig.c: Likewise.
55198         * locale/programs/locale.c: Likewise.
55199         * locale/programs/localedef.c: Likewise.
55200         * login/programs/pt_chown.c: Likewise.
55201         * malloc/memusage.sh: Likewise.
55202         * malloc/memusagestat.c: Likewise.
55203         * malloc/mtrace.pl: Likewise.
55204         * manual/libc.texinfo: Likewise.
55205         * nscd/nscd.c: Likewise.
55206         * nss/getent.c: Likewise.
55207         * nss/makedb.c: Likewise.
55208         * posix/getconf.c: Likewise.
55209         * scripts/test-installation.pl: Likewise.
55211         * All files with FSF copyright notices: Update copyright dates
55212         using scripts/update-copyrights.
55213         * intl/plural.c: Regenerated.
55214         * locale/programs/charmap-kw.h: Likewise.
55215         * locale/programs/locfile-kw.h: Likewise.
55217 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
55219         * sysdeps/unix/sysv/linux/configure: Regenerated.
55220         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
55221         the linux/fanotify.h header.
55222         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
55223         HAVE_LINUX_FANOTIFY_H is defined.
55225 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55227         * benchtests/cos-inputs: New inputs.
55228         * benchtests/sin-inputs: Likewise.
55230         * benchtests/atan-inputs: New inputs. Fix name of multiple
55231         precision fallback inputs.
55233         * benchtests/atanh-inputs: New inputs.
55234         * benchtests/tanh-inputs: Likewise.
55236         * benchtests/acosh-inputs: New inputs.
55237         * benchtests/asinh-inputs: Likewise.
55239         * benchtests/cosh-inputs: New inputs.
55240         * benchtests/sinh-inputs: Likewise.
55242         * benchtests/acos-inputs: Add more inputs.
55243         * benchtests/asin-inputs: Likewise.
55245 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
55247         [BZ #16375]
55248         * manual/arith.texi: Fix spelling.
55249         * manual/charset.texi: Likewise.
55250         * manual/errno.texi: Likewise.
55251         * manual/filesys.texi: Likewise.
55252         * manual/lang.texi: Likewise.
55253         * manual/llio.texi: Likewise.
55254         * manual/locale.texi: Likewise.
55255         * manual/message.texi: Likewise.
55256         * manual/resource.texi: Likewise.
55257         * manual/search.texi: Likewise.
55258         * manual/setjmp.texi: Likewise.
55259         * manual/stdio.texi: Likewise.
55260         * manual/string.texi: Likewise.
55261         * manual/sysinfo.texi: Likewise.
55262         * manual/time.texi: Likewise.
55264 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
55266         * po/sl.po: New file.
55268 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
55270         * .gitignore: Add core/.gdbinit/.gdb_history.
55272 2013-12-27  Allan McRae  <allan@archlinux.org>
55274         [BZ #16369]
55275         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55276         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55278 2013-12-24  Brooks Moses  <bmoses@google.com>
55280         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55281         all compilers that claim C++98 compliance, not just GCC.
55282         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55283         Likewise.
55285 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55287         * NEWS: Restore accidentally deleted bug-fix entries.
55289 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55290             Ondřej Bílka  <neleai@seznam.cz>
55292         [BZ #15073]
55293         * malloc/malloc.c (_int_free): Perform sanity check only if we
55294         have_lock.
55296 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
55298         [BZ #12986]
55299         * manual/stdio.texi (String Input Conversions): Clarify that character
55300         classes are not supported.
55302 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55306 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
55308         [BZ #16337]
55309         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55310         Calculate results for small negative arguments directly rather
55311         than using reflection formula with special underflow handling.
55313         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55314         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55315         sysdeps/unix/bsd/bsd4.4/syscalls.list.
55316         (fchflags): Likewise.
55317         (revoke): Likewise.
55318         (setlogin): Likewise.
55319         (sigaltstack): Likewise.
55320         (wait4): Likewise.
55321         (sigblock): Remove.
55322         (sigsetmask): Likewise.
55323         (wait3): Likewise.
55324         (waitpid): Likewise.
55325         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55326         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55327         file.
55328         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55329         * sysdeps/unix/bsd/Makefile: ... here.
55330         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55331         * sysdeps/unix/bsd/Versions: ... here.
55332         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55333         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55334         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55335         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55336         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55337         * sysdeps/unix/bsd/sigblock.c: ... here.
55338         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55339         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55340         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55341         * sysdeps/unix/bsd/sigvec.c: ... here.
55342         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55343         * sysdeps/unix/bsd/tcdrain.c: ... here.
55344         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55345         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55346         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55347         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55348         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55349         * sysdeps/unix/bsd/wait.c: ... here.
55350         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55351         * sysdeps/unix/bsd/wait3.c: ... here.
55352         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55353         * sysdeps/unix/bsd/waitpid.c: ... here.
55355 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55357         [BZ #16356]
55358         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55359         round-to-nearest for [!USE_AS_EXPM1L].
55360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55361         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55362         more tests of exp and exp10.  Expect some exp10 tests to miss
55363         exceptions or fail in directed rounding modes.
55364         * math/auto-libm-test-out: Regenerated.
55365         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55366         (exp10_test_tonearest): New function.
55367         (exp10_towardzero_test_data): New array.
55368         (exp10_test_towardzero): New function.
55369         (exp10_downward_test_data): New array.
55370         (exp10_test_downward): New function.
55371         (exp10_upward_test_data): New array.
55372         (exp10_test_upward): New function.
55373         (main): Call the new functions.
55374         * sysdeps/i386/fpu/libm-test-ulps: Update.
55375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55377 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55379         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55380         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55381         * math/auto-libm-test-out: Regenerated.
55382         * math/libm-test.inc (acosh_test_data): Add more tests.
55383         (atanh_test_data): Likewise.
55384         (ceil_test_data): Likewise.
55385         (copysign_test_data): Likewise.
55386         * sysdeps/i386/fpu/libm-test-ulps: Update.
55387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55389         * timezone/checktab.awk: Update from tzcode 2013i.
55390         * timezone/private.h: Likewise.
55391         * timezone/scheck.c: Likewise.
55392         * timezone/tzfile.h: Likewise.
55393         * timezone/tzselect.ksh: Likewise.
55394         * timezone/zdump.c: Likewise.
55395         * timezone/zic.c: Likewise.
55397         * math/auto-libm-test-in: Add tests of cpow.
55398         * math/auto-libm-test-out: Regenerated.
55399         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55400         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55401         mpc_cc_c.
55402         (func_calc_desc): Add mpc_cc_c union field.
55403         (test_functions): Add cpow.
55404         (special_fill_2pi): New function.
55405         (special_real_inputs): Add 2pi.
55406         (calc_generic_results): Handle mpc_cc_c.
55407         * sysdeps/i386/fpu/libm-test-ulps: Update.
55408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55410         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55411         csqrt, ctan and ctanh.
55412         * math/auto-libm-test-out: Regenerated.
55413         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55414         (TEST_COND_x86): Likewise.
55415         (ccos_test_data): Use AUTO_TESTS_c_c.
55416         (ccosh_test_data): Likewise.
55417         (cexp_test_data): Likewise.
55418         (clog_test_data): Likewise.
55419         (csqrt_test_data): Likewise.
55420         (ctan_test_data): Likewise.
55421         (ctan_tonearest_test_data): Likewise.
55422         (ctan_towardzero_test_data): Likewise.
55423         (ctan_downward_test_data): Likewise.
55424         (ctan_upward_test_data): Likewise.
55425         (ctanh_test_data): Likewise.
55426         (ctanh_tonearest_test_data): Likewise.
55427         (ctanh_towardzero_test_data): Likewise.
55428         (ctanh_downward_test_data): Likewise.
55429         (ctanh_upward_test_data): Likewise.
55430         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55431         mpc_c_c.
55432         (func_calc_desc): Add mpc_c_c union field.
55433         (FUNC_mpc_c_c): New macro.
55434         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55435         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55436         ctanh.
55437         (special_fill_min_subnorm_p120): New function.
55438         (special_real_inputs): Add min_subnorm_p120.
55439         (calc_generic_results): Handle mpc_c_c.
55440         * sysdeps/i386/fpu/libm-test-ulps: Update.
55441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55443 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55445         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55446         (do_sin_slow): New functions.
55447         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55448         (cslow2, csloww1, csloww2): Use the new functions.
55450         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55451         Use M to change sign of result instead of X.  Assume X is
55452         positive.
55453         (csloww1): Likewise.
55454         (__sin): Adjust.
55455         (__cos): Adjust.
55457         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55458         arguments A and DA.
55459         (__sin): Adjust.
55460         (__cos): Likewise.
55462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55463         (__cos): Likewise.
55464         (sloww1): Don't adjust sign of DX.
55465         (csloww1): Likewise.
55466         (sloww2): Use X directly and don't adjust sign of DX.
55467         (csloww2): Likewise.
55469 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55471         * math/auto-libm-test-in: Add tests of cabs and carg.
55472         * math/auto-libm-test-out: Regenerated.
55473         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55474         (carg_test_data): Likewise.
55475         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55476         mpc_c_f.
55477         (func_calc_desc): Add mpc_c_f union field.
55478         (test_functions): Add cabs and carg.
55479         (calc_generic_results): Handle mpc_c_f.
55481         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55482         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55483         as a macro and a compat symbol.
55484         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55485         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55486         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55487         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55488         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55489         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55490         not use .hidden.
55491         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55492         Likewise.
55493         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55494         Likewise.
55495         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55496         Likewise.
55497         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55498         Likewise.
55499         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55500         Likewise.
55501         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55502         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55503         from GLIBC_2.3.2.
55505 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55509 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55511         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55512         trailing whitespace removed.
55513         * scripts/config.guess: Update to version 2013-11-29.
55514         * scripts/config.sub: Update to version 2013-10-01.
55516         * math/auto-libm-test-in: Add tests of sincos.
55517         * math/auto-libm-test-out: Regenerated.
55518         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55519         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55520         mpfr_f_11.
55521         (func_calc_desc): Add mpfr_f_11 union field.
55522         (test_functions): Add sincos.
55523         (calc_generic_results): Handle mpfr_f_11.
55524         * sysdeps/i386/fpu/libm-test-ulps: Update.
55525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55527 2013-12-19  Andreas Schwab  <schwab@suse.de>
55529         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55530         CALL_MCOUNT.
55531         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55532         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55533         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55535 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55537         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55538         * sysdeps/i386/fpu/libm-test-ulps: Update.
55539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55541         [BZ #16293]
55542         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55543         round-to-nearest mode when using frndint.
55544         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55545         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55546         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55547         Likewise.
55548         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55549         sinh test to fail.
55550         * math/auto-libm-test-out: Regenerated.
55551         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55552         (TEST_COND_x86): Likewise.
55553         (expm1_tonearest_test_data): New array.
55554         (expm1_test_tonearest): New function.
55555         (expm1_towardzero_test_data): New array.
55556         (expm1_test_towardzero): New function.
55557         (expm1_downward_test_data): New array.
55558         (expm1_test_downward): New function.
55559         (expm1_upward_test_data): New array.
55560         (expm1_test_upward): New function.
55561         (main): Run the new test functions.
55562         * sysdeps/i386/fpu/libm-test-ulps: Update.
55563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55565         * include/features.h: Update comment documenting feature test
55566         macros.  Mention _DEFAULT_SOURCE in comment.
55567         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55568         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55569         _BSD_SOURCE and _SVID_SOURCE.
55570         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55571         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55572         !_SVID_SOURCE]: Likewise.
55573         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55574         (__USE_POSIX_IMPLICITLY): Define.
55575         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55576         (_POSIX_SOURCE): Undefine and redefine.
55577         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55578         (_POSIX_C_SOURCE): Likewise.
55579         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55580         (Feature Test Macros): Update documentation of default features.
55582 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55584         * benchtests/Makefile: Add bench-strtok.
55585         * benchtests/bench-strtok.c: New file: strtok benchtest.
55587 2013-12-19  Allan McRae  <allan@archlinux.org>
55589         * manual/install.texi: Suppress menu for plain text output.
55590         * INSTALL: Regenerated.
55592 2013-12-18  Brooks Moses  <bmoses@google.com>
55594         [BZ #15846]
55595         * misc/getauxval.c: Include errno.h.
55596         (__getauxval): Set errno to ENOENT if the requested type is not
55597         found.
55598         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55599         don't declare with __attribute_const__.
55600         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55601         * manual/startup.texi: Document that getauxval sets errno.
55603 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55605         * math/auto-libm-test-in: Add tests of jn and yn.
55606         * math/auto-libm-test-out: Regenerated.
55607         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55608         (yn_test_data): Likewise.
55609         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55610         mpfr_if_f.
55611         (func_calc_desc): Add mpfr_if_f union field.
55612         (FUNC_mpfr_if_f): New macro.
55613         (test_functions): Add jn and yn.
55614         (calc_generic_results): Assert type of second input for
55615         mpfr_ff_f.  Handle mpfr_if_f.
55616         (output_for_one_input_case): Disable all checking for arguments
55617         fitting floating-point types in case of an integer argument.
55618         * sysdeps/i386/fpu/libm-test-ulps: Update.
55619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55622         Don't expect fegetround reference in libm.so.
55624 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55626         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55627         $(config-cflags-nofma).
55629 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55631         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55632         * math/auto-libm-test-out: Regenerated.
55634         [BZ #16338]
55635         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55636         to determine exponent and adjust argument to have exponent of -1.
55637         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55638         log2.
55639         * math/auto-libm-test-out: Regenerated.
55640         * sysdeps/i386/fpu/libm-test-ulps: Update.
55641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55643 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
55645         * manual/probes.texi: Remove cases when per-thread arenas are
55646         disabled.
55648 2013-12-18  Andreas Schwab  <schwab@suse.de>
55650         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55651         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55652         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55653         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55654         * sysdeps/i386/i686/multiarch/Makefile: Update.
55655         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55657 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55659         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55660         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55662 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
55664         [BZ #15968]
55665         Support TZ transition times < 00:00:00.
55666         This is needed for version-3 tz-format files; it supports time
55667         stamps past 2037 for America/Godthab (the only entry in the tz
55668         database for which this change is relevant).
55669         * manual/time.texi (TZ Variable): Document transition times
55670         from -167:59:59 through -00:00:01.
55671         * time/tzset.c (tz_rule): Time of day is now signed.
55672         (__tzset_parse_tz): Parse negative time of day.
55674         Document TZ transition times >= 25:00:00.
55675         * manual/time.texi (TZ Variable): Document transition times from
55676         25:00:00 through 167:59:59.  These are already supported, and this
55677         support will help with version-3 tz-format files.
55679         * manual/time.texi (TZ Variable): Modernize North America example
55680         to reflect current (i.e., 2007-and-later) daylight saving rules.
55682         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
55684 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55686         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
55687         * sysdeps/unix/bsd/bits/stat.h: Likewise.
55688         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
55689         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55690         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
55691         * sysdeps/unix/bsd/bsdstat.h: Likewise.
55692         * sysdeps/unix/bsd/clock.c: Likewise.
55693         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
55694         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
55695         * sysdeps/unix/bsd/init-posix.c: Likewise.
55696         * sysdeps/unix/bsd/poll.c: Likewise.
55697         * sysdeps/unix/bsd/ptsname.c: Likewise.
55698         * sysdeps/unix/bsd/seekdir.c: Likewise.
55699         * sysdeps/unix/bsd/setegid.c: Likewise.
55700         * sysdeps/unix/bsd/seteuid.c: Likewise.
55701         * sysdeps/unix/bsd/setgid.c: Likewise.
55702         * sysdeps/unix/bsd/setrgid.c: Likewise.
55703         * sysdeps/unix/bsd/setruid.c: Likewise.
55704         * sysdeps/unix/bsd/setsid.c: Likewise.
55705         * sysdeps/unix/bsd/setuid.c: Likewise.
55706         * sysdeps/unix/bsd/sigaction.c: Likewise.
55707         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
55708         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
55709         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
55710         * sysdeps/unix/bsd/telldir.c: Likewise.
55711         * sysdeps/unix/bsd/times.c: Likewise.
55712         * sysdeps/unix/bsd/usleep.c: Likewise.
55714         * misc/Makefile (install-lib): Remove libbsd-compat.a.
55715         ($(objpfx)libbsd-compat.a): Remove rule.
55717         * include/features.h (__FAVOR_BSD): Do not define.
55718         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
55719         features conflicting with POSIX.
55720         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
55721         (_BSD_SOURCE): Remove description of not being a subset of other
55722         feature test macros.
55723         * manual/job.texi (getpgrp): Do not document BSD version.
55724         (getpgid): Do not document by reference to BSD getpgrp.
55725         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
55726         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
55727         * signal/signal.h [__FAVOR_BSD]: Likewise.
55728         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
55729         instead of making contents conditional on [__FAVOR_BSD].
55730         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
55732 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55736 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55738         [BZ #16314]
55739         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
55740         values below 2**-450, not 2**-500.
55741         * math/auto-libm-test-in: Don't allow spurious underflow from
55742         hypot.
55743         * math/auto-libm-test-out: Regenerated.
55745         [BZ #16316]
55746         [BZ #16330]
55747         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
55748         values of ha and hb and sort them after adjusting subnormal
55749         arguments.
55750         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
55751         Likewise.
55752         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
55753         values of ea and eb and sort them after adjusting subnormal
55754         arguments.
55755         * math/auto-libm-test-in: Do not expect some hypot tests of
55756         subnormals to fail.  Add more hypot tests.
55757         * math/auto-libm-test-out: Regenerated.
55759 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55761         [BZ #13304]
55762         * sysdeps/sh/s_fma.c: New file.
55763         * sysdeps/sh/s_fmaf.c: New file.
55764         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
55765         version.
55766         * sysdeps/sh/Implies: Add sh/soft-fp.
55768 2013-12-16  Roland McGrath  <roland@hack.frob.com>
55770         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
55771         level of indirection to members `objname', `errstring', `malloced'.
55772         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
55773         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
55774         it as the __longjmp argument (just pass 1 instead).
55775         (_dl_catch_error): Initialize C with argument pointers and address of
55776         volatile local ERRCODE rather than copying values out of C at return.
55778 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
55780         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
55781         * math/auto-libm-test-out: Regenerated.
55782         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
55783         (hypot_test_data): Likewise.
55784         (pow_test_data): Likewise.
55785         (pow_tonearest_test_data): Likewise.
55786         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55787         mpfr_ff_f.
55788         (func_calc_desc): Add mpfr_ff_f union field.
55789         (FUNC_mpfr_ff_f): New macro.
55790         (test_functions): Add atan2, hypot and pow.
55791         (special_fill_min): New function.
55792         (special_fill_minus_min): Likewise.
55793         (special_fill_min_subnorm): Likewise.
55794         (special_fill_minus_min_subnorm): Likewise.
55795         (special_real_inputs): Add min, -min, min_subnorm and
55796         -min_subnorm.
55797         (calc_generic_results): Handle mpfr_ff_f.
55798         * sysdeps/i386/fpu/libm-test-ulps: Update.
55799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55801 2013-12-16  Will Newton  <will.newton@linaro.org>
55803         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
55804         (Aligned Memory Blocks): Add documentation for aligned_alloc
55805         and suggest it as an alternative to posix_memalign.
55806         (Hooks for Malloc): Document __memalign_hook is also called
55807         for aligned_alloc.  (Summary of Malloc): Add summary for
55808         aligned alloc.  Document __memalign_hook is also called
55809         for aligned_alloc.
55811 2013-12-16  Will Newton  <will.newton@linaro.org>
55813         * manual/memory.texi (Malloc Examples): Clarify default
55814         alignment documentation.  Suggest posix_memalign rather
55815         than memalign or valloc.
55816         (Aligned Memory Blocks): Remove suggestion to use memalign
55817         or valloc.  Remove obsolete comment about BSD.
55818         Document memalign errno values and mark the function obsolete.
55819         Document posix_memalign returned error codes.  Mark valloc
55820         as obsolete.  (Hooks for Malloc): __memalign_hook is also
55821         called for posix_memalign and valloc.
55822         (Summary of Malloc): Add posix_memalign to function summary.
55823         __memalign_hook is also called for posix_memalign and valloc.
55825 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55827         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
55828         TAYLOR_SIN.
55829         (__sin): Adjust.
55830         (__cos): Likewise.
55831         (sloww): Use mynumber union.  Expand ternary operator into
55832         if-else statements.
55833         (cslow): use mynumber union.
55835 2013-12-16  Allan McRae  <allan@archlinux.org>
55837         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
55838         * configure: Regenerated.
55840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
55842         [BZ #14120]
55843         * configure.ac: Added --enable-maintainer-mode. Check for
55844         autoconf when enabled.
55845         * configure: Regenerated.
55847         * nscd/nscd.service: New file.
55848         * nscd/nscd.tmpfiles: New file.
55850 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
55852         [BZ #12100]
55853         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
55854         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
55855         * sysdeps/x86_64/multiarch/strstr.c: ... here.
55856         (strstr): Add __strstr_sse2_unaligned ifunc.
55857         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
55858         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
55859         (strcasestr): Remove __strcasestr_sse42 ifunc.
55860         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
55861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55864 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55866         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
55867         * sysdeps/sh/bits/fenv.h: ... here.
55868         * sysdeps/sh/sh4/fpu/bits: Remove directory.
55870 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55872         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
55874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
55875         hypotf multiarch implementations.
55876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
55877         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
55878         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
55879         multiarch hypot for PPC64.
55880         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
55881         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
55882         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
55883         multiarch hypotf for PPC64.
55885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
55886         modff multiarch implementations.
55887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
55888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
55889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55890         multiarch modf for PPC64.
55891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
55892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
55893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
55894         multiarch modff for PPC64.
55896         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
55897         and logl multiarch implementations.
55898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
55899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
55900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
55901         multiarch logb for PPC64.
55902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
55903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
55904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
55905         multiarch logb for PPC64.
55906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
55907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
55908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
55909         multiarch logb for PPC64.
55911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
55912         isinff multiarch implementation.
55913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
55914         file.
55915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
55917         multiarch isinf for PPC64.
55918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55919         file.
55920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55921         multiarch isinff for PPC64.
55923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55924         finitef multiarch implementation.
55925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55926         file.
55927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55929         multiarch finite for PPC64.
55930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55931         file.
55932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55933         multiarch finitef for PPC64.
55935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55936         lrint multiarch implementation.
55937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55938         file.
55939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55941         multiarch llrint for PPC64.
55942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55943         multiarch lrint for PPC64.
55945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55946         copysignf multiarch implementation.
55947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55948         file.
55949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55950         file.
55951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55952         multiarch copysign for PPC64.
55953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55954         multiarch copysignf for PPC64.
55956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55957         multiarch implementation.
55958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55959         file.
55960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55961         file.
55962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55963         file.
55964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55965         file.
55966         multiarch llround for PPC64.
55967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55968         multiarch trunc for PPC64.
55969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55970         multiarch truncf for PPC64.
55972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55973         multiarch implementation.
55974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55975         file.
55976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55977         file.
55978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55979         file.
55980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55981         file.
55982         multiarch llround for PPC64.
55983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55984         multiarch round for PPC64.
55985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55986         multiarch roundf for PPC64.
55988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55989         multiarch implementation.
55990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55991         file.
55992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55993         file.
55994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55995         file.
55996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55997         file.
55998         multiarch llround for PPC64.
55999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
56000         multiarch floor for PPC64.
56001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
56002         multiarch floorf for PPC64.
56004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
56005         multiarch implementation.
56006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
56007         file.
56008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
56009         file.
56010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
56011         file.
56012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
56013         file.
56014         multiarch llround for PPC64.
56015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
56016         multiarch ceil for PPC64.
56017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
56018         multiarch ceilf for PPC64.
56020         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56021         multiarch implementation.
56022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
56023         file.
56024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
56025         file.
56026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
56027         file.
56028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
56029         multiarch llround for PPC64.
56030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
56031         multiarch lround for PPC64.
56033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56034         multiarch implementation.
56035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
56036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
56037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
56038         file.
56039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
56040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
56041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
56042         multiarch isnan for PPC64.
56043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
56044         multiarch isnanf for PPC64.
56046         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
56047         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
56048         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
56049         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
56050         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
56053         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
56054         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56055         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56056         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
56059         multiarch implementations.
56060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56061         (__libc_ifunc_impl_list): Likewise.
56062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
56063         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
56064         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56065         multiarch stpcpy for PPC64.
56067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
56068         multiarch implementations.
56069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56070         (__libc_ifunc_impl_list): Likewise.
56071         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
56072         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
56073         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
56074         multiarch strcpy for PPC64.
56076         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
56077         redefine function name.
56078         (_wordcopy_fwd_dest_aligned): Likewise.
56079         (_wordcopy_bwd_aligned): Likewise.
56080         (_wordcopy_bwd_dest_aligned): Likewise.
56081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
56082         multiarch implementations.
56083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56084         (__libc_ifunc_impl_list): Likewise.
56085         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
56086         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
56087         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
56088         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
56089         multiarch wcscpy for PPC64.
56091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
56092         multiarch implementations.
56093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56094         (__libc_ifunc_impl_list): Likewise.
56095         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
56096         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
56097         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
56098         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
56099         multiarch wcscpy for PPC64.
56101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
56102         multiarch implementations.
56103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56104         (__libc_ifunc_impl_list): Likewise.
56105         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
56106         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
56107         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
56108         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
56109         multiarch wcsrchr for PPC64.
56111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56112         multiarch implementations.
56113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56114         (__libc_ifunc_impl_list): Likewise.
56115         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
56116         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
56117         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
56118         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
56119         multiarch wcschr for PPC64.
56121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
56122         multiarch implementations.
56123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56124         (__libc_ifunc_impl_list): Likewise.
56125         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
56126         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
56127         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
56128         multiarch strchrnul for PPC64.
56130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
56131         implementations.
56132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56133         (__libc_ifunc_impl_list): Likewise.
56134         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
56135         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
56136         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
56137         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
56138         strchr for PPC64.
56140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
56141         implementations.
56142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56143         (__libc_ifunc_impl_list): Likewise.
56144         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
56145         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
56146         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
56147         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
56148         strncmp for PPC64.
56150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
56151         multiarch implementations.
56152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56153         (__libc_ifunc_impl_list): Likewise.
56154         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
56155         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56156         strncasecmp for PPC64.
56157         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
56158         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
56159         multiarch strncasecmp_l for PPC64.
56161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
56162         multiarch implementations.
56163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56164         (__libc_ifunc_impl_list): Likewise.
56165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
56167         multiarch strcasecmp for PPC64.
56168         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
56169         file.
56170         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
56171         multiarch strcasecmp_l for PPC64.
56173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
56174         implementations.
56175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56176         (__libc_ifunc_impl_list): Likewise.
56177         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56178         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56179         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56180         strnlen for PPC64.
56182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56183         implementations.
56184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56185         (__libc_ifunc_impl_list): Likewise.
56186         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56187         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56188         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56189         strlen for PPC64.
56191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56192         implementations.
56193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56194         (__libc_ifunc_impl_list): Likewise.
56195         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56196         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
56197         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
56198         rawmemrchr for PPC64.
56200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
56201         implementation.
56202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56203         (__libc_ifunc_impl_list): Likewise.
56204         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
56205         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
56206         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
56207         memrchr for PPC64.
56209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
56210         implementation.
56211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56212         (__libc_ifunc_impl_list): Likewise.
56213         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
56214         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
56215         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
56216         memchr for PPC64.
56218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
56219         implementation.
56220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56221         (__libc_ifunc_impl_list): Likewise.
56222         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
56223         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
56224         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
56225         mempcpy for PPC64.
56227         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
56228         avoid cretion of __bzero symbol.
56229         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
56230         Likewise.
56231         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
56232         Likewise.
56233         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
56234         Likewise.
56235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
56236         multiarch implementations.
56237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56238         (__libc_ifunc_impl_list): Likewise.
56239         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
56240         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
56241         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
56242         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
56243         bzero for PPC32.
56244         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
56245         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
56246         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
56247         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
56248         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
56249         memset for PPC64.
56250         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
56252         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
56253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
56254         implementations.
56255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56256         (__libc_ifunc_impl_list): Likewise.
56257         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
56258         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
56259         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
56260         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
56261         memcmp for PPC64.
56263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
56264         multiarch for POWER/PPC64.
56265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
56266         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
56267         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
56268         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
56269         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
56270         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
56271         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
56272         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
56273         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
56274         memcpy for PPC64.
56276         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56277         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56278         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56279         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56280         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56281         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56282         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56283         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56284         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56285         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56286         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56287         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56288         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56289         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56290         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56299 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56301         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56303 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56305         * benchtests/Makefile (bench): Add exp2 and log2.
56306         (LDLIBS-bench-exp2): Add -lm.
56307         (LDLIBS-bench-log2): Likewise.
56308         * benchtests/exp2-inputs: New inputs file.
56309         * benchtests/log2-inputs: New inputs file.
56310         * benchtests/log-inputs: Add new inputs.
56311         * benchtests/tan-inputs: Likewise.
56313 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56315         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56316         definition...
56317         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56318         (csloww2): ... from here.
56320         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56321         instead of structures.
56322         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56323         (POLYNOMIAL): Likewise.
56324         (TAYLOR_SLOW): Likewise.
56325         (__sin): Likewise.
56326         (__cos): Likewise.
56327         (slow1): Likewise.
56328         (slow2): Likewise.
56329         (sloww): Likewise.
56330         (sloww1); Likewise.
56331         (sloww2): Likewise.
56332         (bsloww1): Likewise.
56333         (bsloww2): Likewise.
56334         (cslow2): Likewise.
56335         (csloww): Likewise.
56336         (csloww1): Likewise.
56337         (csloww2): Likewise.
56339 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56341         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56342         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56343         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56344         * malloc/hooks.c (realloc_check): Likewise.
56346         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56347         * malloc/arena.c: Remove PER_THREAD conditional.
56348         [!PER_THREAD]: Remove code.
56349         (ptmalloc_unlock_all2): Likewise.
56350         (ptmalloc_init): Likewise.
56351         (_int_new_arena): Likewise.
56352         (arena_get2): Likewise.
56353         * malloc/hooks.c (__malloc_get_state): Likewise.
56354         (__malloc_set_state): Likewise.
56355         * malloc/malloc.c: Likewise.
56356         (struct malloc_state): Likewise.
56357         (struct malloc_par): Likewise.
56358         (__libc_realloc): Likewise.
56359         (__libc_mallopt): Likewise.
56361 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56363         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56365 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56367         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56368         macro to a function.  Check for zero perturb_byte.
56369         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56371         * malloc/malloc.c: (force_reg): Remove.
56372         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56373         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56374         force_reg by atomic_forced_read.
56375         * malloc/arena.c (ptmalloc_init): Likewise.
56376         * malloc/hooks.c (top_check): Likewise.
56378 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56382 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56386 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56388         * math/auto-libm-test-in: Add tests of lgamma.
56389         * math/auto-libm-test-out: Regenerated.
56390         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56391         (M_LOG_2_SQRT_PIl): Likewise.
56392         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56393         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56394         mpfr_f_f1.
56395         (func_calc_desc): Add mpfr_f_f1 union field.
56396         (ARGS1): New macro.
56397         (ARGS2): Likewise.
56398         (ARGS3): Likewise.
56399         (ARGS4): Likewise.
56400         (RET1): Likewise.
56401         (RET2): Likewise.
56402         (CALC): Likewise.
56403         (FUNC): Likewise.
56404         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56405         (test_functions): Add lgamma.
56406         (calc_generic_results): Handle mpfr_f_f1.
56407         * sysdeps/i386/fpu/libm-test-ulps: Update.
56408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56410 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56412         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56413         __mpn_add_n for PowerPC64/POWER7.
56414         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56415         __mpn_sub_n for PowerPC64/POWER7.
56417         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56418         __mpn_addmul_1 for PowerPC64.
56419         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56420         __mpn_submul_1 for PowerPC64.
56421         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56422         for PowerPC64.
56423         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56424         for PowerPC64.
56426 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56428         [BZ #15089]
56429         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56431 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56433         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56435         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56436         add multiarch folders.
56437         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56438         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56439         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56440         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56441         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56442         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56443         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56444         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56445         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56446         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56447         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56456         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56458         New file.
56459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56460         New file.
56461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56462         multiarch __ieee754_hypot for PowerPC32.
56463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56464         New file.
56465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56466         New file.
56467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56468         multiarch __ieee754_hypotf for PowerPC32.
56470         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56471         long_double_symbol only if __logbl is defined.
56472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56473         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56474         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56475         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56476         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56477         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56479         path for implementation.
56480         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56481         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56483         logb, and logbl multiarch implementations for PowerPC32.
56484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56485         file.
56486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56487         file.
56488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56489         multiarch logb for PowerPC32.
56490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56491         file.
56492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56493         file.
56494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56495         multiarch logbf for PowerPC32.
56496         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56498         file.
56499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56500         multiarch logbl implementation for PowerPC32.
56502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56503         and modff multiarch implementations.
56504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56505         New file.
56506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56507         New file.
56508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56509         multiarch modf for PowerPC32.
56510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56511         New file.
56512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56513         New file.
56514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56515         multiarch modff for PowerPC32.
56517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56518         and lrintf multiarch implementations.
56519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56520         New file.
56521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56522         New file.
56523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56524         multiarch lrint for PowerPC32.
56525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56526         file: multiarch lrintf for PowerPC32.
56528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56529         and lroundf multiarch implementations.
56530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56531         New file.
56532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56533         New file.
56534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56535         New file.
56536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56537         multiarch lround for PowerPC32.
56538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56539         file: multiarch lroundf for PowerPC32.
56541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56542         copysign and copysignf multiarch implementations.
56543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56544         New file.
56545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56546         New file.
56547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56548         file: multiarch copysign for PowerPC32.
56549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56550         file: multiarch copysignf for PowerPC32.
56552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56553         and truncf multiarch implementations.
56554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56555         New file.
56556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56557         file.
56558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56559         multiarch trunc for PowerPC32.
56560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56561         New file.
56562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56563         New file.
56564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56565         multiarch truncf for PowerPC32.
56567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56568         and roundf multiarch implementations.
56569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56570         New file.
56571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56572         file.
56573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56574         multiarch round for PowerPC32.
56575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56576         New file.
56577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56578         New file.
56579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56580         multiarch roundf for PowerPC32.
56582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56583         and floorf multiarch implementations.
56584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56585         New file.
56586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56587         file.
56588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56589         multiarch floor for PowerPC32.
56590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56591         New file.
56592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56593         New file.
56594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56595         multiarch floorf for PowerPC32.
56597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56598         and ceilf multiarch implementations.
56599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56600         New file.
56601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56602         file.
56603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56604         multiarch ceil for PowerPC32.
56605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56606         New file.
56607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56608         file.
56609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56610         multiarch ceilf for PowerPC32.
56612         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56613         is defined.
56614         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56615         FINITEF is defined.
56616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56617         and finitef multiarch implementations.
56618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56619         New file.
56620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56621         file.
56622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56623         multiarch finite for PowerPC32.
56624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56625         New file.
56626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56627         file: multiarch finitef for PowerPC32.
56629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56630         and isinff multiarch implementations.
56631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56632         file.
56633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56634         file.
56635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56636         multiarch isinf for PowerPC32.
56637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56638         New file.
56639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56640         multiarch isinff for PowerPC32.
56642         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56643         alias when __isnan is defined.
56644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56645         and isnanf multiarch implementations.
56646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56647         file.
56648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56649         file.
56650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56651         file.
56652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56653         file.
56654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56655         multiarch isnan for PowerPC32.
56656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56657         New file.
56658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56659         New file.
56660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56661         multiarch isnanf for PowerPC32.
56663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56664         and sqrtf multiarch implementations.
56665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56666         file.
56667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56668         file.
56669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56670         multiarch sqrt for PowerPC32.
56671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56672         file.
56673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56674         file.
56675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56676         multiarch sqrtf for PowerPC32.
56678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56679         and llroundf multiarch implementations.
56680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56681         New file.
56682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
56683         New file.
56684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
56685         New file.
56686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
56687         file: multiarch llround for PowerPC32.
56688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
56689         file: multiarch llroundf for PowerPC32.
56691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
56692         multiarch PowerPC32 fpu implementations.
56693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
56694         New file.
56695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
56696         New file.
56697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
56698         multiarch llrint for PowerPC32.
56699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
56700         New file.
56701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
56702         New file.
56703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
56704         file.
56706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
56708         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
56709         file.
56710         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
56711         file.
56712         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
56713         file.
56714         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
56715         multiarch wordcopy for PPC32.
56716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56717         wordcopy objects.
56718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56719         (__libc_ifunc_impl_list): Likewise.
56720         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
56721         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
56722         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
56723         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
56724         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
56725         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
56727         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
56728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
56729         file.
56730         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
56731         file.
56732         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
56733         file.
56734         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
56735         multiarch wcscpy for PPC32.
56736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56737         multiarch objects.
56738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56739         (__libc_ifunc_impl_list): Likewise.
56740         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56741         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56742         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
56743         sysdeps/powerpc/power6/wcscpy.c.
56745         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
56746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
56747         file.
56748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
56749         file.
56750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
56751         file.
56752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
56753         multiarch wcsrchr for PPC32.
56754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56755         multiarch objects.
56756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56757         (__libc_ifunc_impl_list): Likewise.
56758         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56759         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56760         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
56761         sysdeps/powerpc/power6/wcsrchr.c.
56763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
56764         file.
56765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
56766         file.
56767         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
56768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
56769         multiarch wcschr for PPc32.
56770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56771         multiarch objects.
56772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56773         (__libc_ifunc_impl_list): Likewise.
56774         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
56775         * sysdeps/powerpc/power6/wcschr.c: ... to here.
56776         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
56777         sysdeps/powerpc/power6/wcschr.c.
56779         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
56780         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
56781         file.
56782         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
56783         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
56784         file: multiarch strchr for PPC32.
56785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
56786         multiarch objects.
56787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56788         (__libc_ifunc_impl_list): Likewise.
56790         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
56791         name.
56792         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
56793         file.
56794         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
56795         file.
56796         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
56797         multiarch strchrnul for PPC32.
56798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
56799         multiarch objects.
56800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56801         (__libc_ifunc_impl_list): Likewise.
56803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
56804         file.
56805         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
56806         multiarch strncasecmp for PPC32.
56807         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
56808         file.
56809         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56810         multiarch strncasecmp_l for PPC32.
56811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
56812         strncasecmp multiarch objects.
56813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56814         (__libc_ifunc_impl_list): Likewise.
56816         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
56817         file.
56818         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
56819         multiarch strncasecmp for PPC32.
56820         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
56821         New file.
56822         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
56823         multiarch strcasecmp_l for PPC32.
56824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
56825         multiarch objects.
56826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56827         (__libc_ifunc_impl_list): Likewise.
56829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
56830         file.
56831         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
56832         file.
56833         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
56834         multiarch strncmp for PPC32.
56835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
56836         multiarch objects.
56837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56838         (__libc_ifunc_impl_list): Likewise.
56840         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
56841         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
56842         file.
56843         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
56844         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
56845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
56846         multiarch objects.
56847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56848         (__libc_ifunc_impl_list): Likewise.
56850         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
56851         file.
56852         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
56853         file.
56854         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
56855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
56856         multiarch objects.
56857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56858         (__libc_ifunc_impl_list): Likewise.
56860         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
56861         file.
56862         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
56863         file.
56864         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
56865         multiarch rawmemchr for PPC32.
56866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
56867         multiarch objects.
56868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56869         (__libc_ifunc_impl_list): Likewise.
56871         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
56872         file.
56873         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56874         file.
56875         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
56876         file: memrchr multiarch for PPC32.
56877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
56878         multiarch objects.
56879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56880         (__libc_ifunc_impl_list): Likewise.
56882         * string/memchr.c (__memchr): Using macro to redefine symbol name.
56883         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
56884         file.
56885         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
56886         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
56887         multiarch memchr for PPC32.
56888         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
56889         multiarch objects.
56890         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56891         (__libc_ifunc_impl_list): Likewise.
56893         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
56894         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
56895         file.
56896         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
56897         file.
56898         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
56899         file: multiarch mempcpy for PPC32.
56900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
56901         multiarch objects.
56902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56903         (__libc_ifunc_impl_list): Likewise.
56905         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
56906         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
56907         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
56908         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
56909         multiarch bzero for PPC32.
56910         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
56911         file.
56912         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
56913         file.
56914         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
56915         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
56916         file: multiarch memset for PPC32.
56917         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56919         memset multiarch objects.
56920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56921         (__libc_ifunc_impl_list): Likewise.
56923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56924         file.
56925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56926         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56927         memcmp for PPC32.
56928         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56930         multiarch objects.
56931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56932         (__libc_ifunc_impl_list): Likewise.
56934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56935         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56937         file.
56938         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56939         file.
56940         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56941         file.
56942         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56943         multiarch memcpy for PPC32.
56944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56945         multiarch objects.
56946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56947         (__libc_ifunc_impl_list): Likewise.
56949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56950         support multiarch for POWER/PPC32.
56951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56952         Likewise.
56953         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56955         Implies file to make multiarch folder appers before the fpu and
56956         default folder for power4 configuration.
56958 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56960         * scripts/bench.pl: Append volatile keyword to type.
56962 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56964         * sysdeps/sh/sotruss-lib.c: New file.
56965         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56967 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56971 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56973         [BZ #6810]
56974         * math/w_tgamma.c: Include <errno.h>.
56975         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56976         * math/w_tgammaf.c: Include <errno.h>.
56977         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56978         * math/w_tgammal.c: Include <errno.h>.
56979         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56980         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56981         underflow.  Add more tgamma tests.
56982         * math/auto-libm-test-out: Regenerated.
56983         * sysdeps/i386/fpu/libm-test-ulps: Update.
56984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56986         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56987         sin, sinh, tan, tanh, tgamma, y0 and y1.
56988         * math/auto-libm-test-out: Regenerated.
56989         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56990         (TEST_COND_x86): Likewise.
56991         (M_E2l): Remove macro.
56992         (M_E3l): Likewise.
56993         (M_2_SQRT_PIl): Likewise.
56994         (M_SQRT_PIl): Likewise.
56995         (M_1_DIV_El): Likewise.
56996         (log_test_data): Use AUTO_TESTS_f_f.
56997         (log10_test_data): Likewise.
56998         (log1p_test_data): Likewise.
56999         (log2_test_data): Likewise.
57000         (sin_test_data): Likewise.
57001         (sin_tonearest_test_data): Likewise.
57002         (sin_towardzero_test_data): Likewise.
57003         (sin_downward_test_data): Likewise.
57004         (sin_upward_test_data): Likewise.
57005         (sinh_test_data): Likewise.
57006         (sinh_tonearest_test_data): Likewise.
57007         (sinh_towardzero_test_data): Likewise.
57008         (sinh_downward_test_data): Likewise.
57009         (sinh_upward_test_data): Likewise.
57010         (tan_test_data): Likewise.
57011         (tan_tonearest_test_data): Likewise.
57012         (tan_towardzero_test_data): Likewise.
57013         (tan_downward_test_data): Likewise.
57014         (tan_upward_test_data): Likewise.
57015         (tanh_test_data): Likewise.
57016         (tgamma_test_data): Likewise.
57017         (y0_test_data): Likewise.
57018         (y1_test_data): Likewise.
57019         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
57020         (special_real_inputs): Add pi/4.
57021         * sysdeps/i386/fpu/libm-test-ulps: Update.
57022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57024 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57026         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
57027         "longjmp_target" static probes.
57028         (__longjmp): Rename to __longjmp_symbol.
57029         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57030         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
57031         on which longjmp to generate.
57032         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57033         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
57034         probe.
57035         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57036         (__sigjmp_save): Rename to __sigjmp_save_symbol.
57037         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
57038         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
57039         and __sigjmp_save_symbol based on which sigsetjmp to generated.
57040         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
57042         __longjmp_symbol based on which __longjmp to generate.
57043         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
57044         probe.
57045         (setjmp): Rename to setjmp_symbol.
57046         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57047         (_setjmp): Rename to _setjmp_symbol.
57048         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57049         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
57050         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
57051         which setjmp to generate.
57052         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
57053         "longjmp_target" static probes.
57055 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57057         * benchtests/README: Add note about output arguments.
57058         * benchtests/bench-sincos.c: Remove file.
57059         * benchtests/sincos-inputs: New file.
57060         * scripts/bench.pl: Identify output arguments and define
57061         static variables for them.
57063         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
57065         [BZ #15941]
57066         * Makefile (INSTALL): Add install-plain.texi as the primary
57067         dependency.
57068         * manual/install-plain.texi: New file.
57069         * manual/install.texi: Include node directive only for
57070         non-plaintext output.
57072 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
57074         * stdlib/longlong.h: Update from GCC.
57076         [BZ #6807]
57077         [BZ #15901]
57078         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
57079         * math/w_j0f.c (y0f): Likewise.
57080         * math/w_j0l.c (__y0l): Likewise.
57081         * math/w_j1.c (y1): Likewise.
57082         * math/w_j1f.c (y1f): Likewise.
57083         * math/w_j1l.c (__y1l): Likewise.
57084         * math/w_jn.c (yn): Likewise.
57085         * math/w_jnf.c (ynf): Likewise.
57086         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
57087         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
57088         value for Bessel function domain errors outside _SVID_ mode.
57089         Adjust sign of return value for yn (negative integer, 0).
57090         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
57091         by zero in return for negative x and set sign appropriately for
57092         negative n.
57093         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
57094         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57095         * math/libm-test.inc (y0_test_data): Add more tests and adjust
57096         expectations in error cases.
57097         (y1_test_data): Likewise.
57098         (yn_test_data): Likewise.
57099         * sysdeps/i386/fpu/libm-test-ulps: Update.
57100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57102 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57104         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
57105         "64" to "64-v1".  Add "64-v2".
57106         (abi-64-options): Rename to ...
57107         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
57108         (abi-64-condition): Rename to ...
57109         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
57110         (abi-64-ld-soname): Rename to ...
57111         (abi-64-v1-ld-soname): ... this.
57112         (abi-64-v2-options): Define.
57113         (abi-64-v2-condition): Likewise.
57114         (abi-64-v2-ld-soname): Likewise.
57115         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
57116         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
57117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
57118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
57121 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57122             Alan Modra  <amodra@gmail.com>
57124         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
57125         New versions for use with the ELFv2 ABI.
57126         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
57127         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57128         declaration.
57129         (struct La_ppc64v2_retval): Likewise.
57130         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
57131         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
57132         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
57133         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
57134         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
57135         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57136         Do not save or restore CR.
57137         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
57138         (_dl_profile_resolve): Do no save or restore CR.  Support extended
57139         return values for ELFv2 ABI.  Fix location of FPR return registers.
57140         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
57141         updated values for _CALL_ELF == 2.
57142         (La_regs, La_retval, int_retval): Likewise.
57144 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57146         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
57147         (FRAME_MIN_SIZE_PARM): Likewise.
57148         (FRAME_BACKCHAIN): Likewise.
57149         (FRAME_CR_SAVE): Likewise.
57150         (FRAME_LR_SAVE): Likewise.
57151         (FRAME_TOC_SAVE): Likewise.
57152         (FRAME_PARM_SAVE): Likewise.
57153         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
57154         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
57155         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57156         (call_mcount_parm_offset): New macro.
57157         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
57158         (PROF): Use symbolic stack frame offsets.
57159         (TAIL_CALL_SYSCALL_ERROR): Likewise.
57160         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
57161         Redefine in terms of FRAME_MIN_SIZE.
57162         (_dl_runtime_resolve): Use symbolic stack frame offsets.
57163         (_dl_profile_resolve): Likewise.  Update comment.
57164         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
57165         symbols stack frame offsets.
57166         (__sigsetjmp): Likewise.
57167         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
57168         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
57169         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
57170         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
57172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
57173         (FRAME_BACKCHAIN): Remove.
57174         (FRAME_CR_SAVE): Likewise.
57175         (FRAME_LR_SAVE): Likewise.
57176         (FRAME_COMPILER_DW): Likewise.
57177         (FRAME_LINKER_DW): Likewise.
57178         (FRAME_TOC_SAVE): Likewise.
57179         (FRAME_PARM_SAVE): Likewise.
57180         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57181         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57182         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57184         (CHECK_SP): Use symbolic stack frame offsets.
57185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57186         zone" instead of caller's parameter save area for temp storage.
57187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57188         Likewise.  Also, use symbolic stack frame offsets.
57189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57190         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57191         our own stack frame instead of the caller's.
57192         (__socket): Use symbolic stack frame offsets.
57194 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57195             Alan Modra  <amodra@gmail.com>
57197         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
57198         Define.
57199         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
57200         (PPC64_LOCAL_ENTRY_OFFSET): Define.
57201         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
57202         New function.
57203         (elf_machine_fixup_plt): Call it.
57204         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
57205         reloc arguments.
57206         (elf_machine_rela): Update call to elf_machine_plt_conflict.
57207         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57208         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
57209         r2 before calling target.
57211 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57212             Alan Modra  <amodra@gmail.com>
57214         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
57215         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
57216         versions of macros to support ELFv2 ABI.
57217         (LOCALENTRY): New macro.
57218         (ENTRY, EALIGN): Use it.
57219         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
57220         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
57221         fall through into ENTRY entry point.
57222         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
57223         Only define if _CALL_ELF != 2.
57225         (elf_machine_matches_host): Verify ABI version matches.
57226         (RTLD_START): Use LOCALENTRY.
57227         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
57228         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
57229         (PLT_ENTRY_WORDS): New macro.
57230         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
57231         (elf_machine_runtime_setup): Support ELFv2 ABI.
57232         (elf_machine_fixup_plt): Likewise.
57233         (elf_machine_plt_conflict): Likewise.
57234         (resolve_ifunc): Likewise.
57235         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57236         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57237         Likewise.
57238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
57239         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
57240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57241         (makecontext): Support ELFv2 ABI.
57242         * elf/elf.h (EF_PPC64_ABI): Define.
57244 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57246         * sysdeps/powerpc/powerpc64/sysdep.h
57247         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
57248         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
57249         (ENTRY) [ASSEMBLER]: ... but instead here ...
57250         (EALIGN) [ASSEMBLER]: ... and here.
57251         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
57252         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
57253         (ENTRY_2) [!ASSEMBLER]: Use it.
57254         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
57255         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
57256         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57257         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
57258         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
57259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
57260         Use PPC64_LOAD_FUNCPTR.
57262         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
57264 2013-12-04  Alan Modra  <amodra@gmail.com>
57266         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
57267         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
57268         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
57269         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
57271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
57272         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
57273         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
57274         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
57275         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57276         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57278 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57281         (__makecontext): Fix incorrect CFI when backtracing out of
57282         context created via makecontext.
57283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57284         (__setcontext): Fix incorrect CFI during switch to new context.
57285         (__novec_setcontext): Likewise.
57287 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57289         [BZ #4772]
57290         * time/strptime_l.c (__strptime_internal): Allow modifiers
57291         in strptime.
57292         * time/tst-strptime.c (day_tests): Add testcase.
57294 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57296         * scripts/bench.pl: Skip over blank lines.
57298 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
57300         [BZ #926]
57301         * manual/time.texi (Calendar Time): Clarify what timezone functions
57302         use.
57304 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57308 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57310         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57311         implementation.
57312         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57313         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57314         * debug/memset_chk.c (__memset_chk): Likewise.
57315         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57316         * debug/strncpy_chk.c: Likewise.
57318 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57320         [BZ #15268]
57321         [BZ #15425]
57322         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57323         (__ieee754_exp): For possibly underflowing results, check size of
57324         result and force underflow exception if required.
57325         * math/auto-libm-test-in: Add more tests of exp.
57326         * math/auto-libm-test-out: Regenerated.
57327         * sysdeps/i386/fpu/libm-test-ulps: Update.
57328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57330         [BZ #16283]
57331         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57332         * math/w_exp2f.c (__exp2f): Likewise.
57333         * math/w_exp2l.c (__exp2l): Likewise.
57334         * math/auto-libm-test-in: Do not allow missing errno on exp2
57335         underflow.
57336         * math/auto-libm-test-out: Regenerated.
57338 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57340         [BZ #16274]
57341         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57342         handle filename validation.
57343         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57344         (do_open): Delete.
57346 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57348         [BZ #6786]
57349         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57350         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57351         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57352         <float.h>.
57353         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57354         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57355         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57356         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57357         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57358         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57359         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57360         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57361         Add more erfc tests.
57362         * math/auto-libm-test-out: Regenerated.
57363         * sysdeps/i386/fpu/libm-test-ulps: Update.
57364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57366         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57367         exp2, expm1, j0 and j1.
57368         * math/auto-libm-test-out: Regenerated.
57369         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57370         (erfc_test_data): Likewise.
57371         (exp_test_data): Likewise.
57372         (exp_tonearest_test_data): Likewise.
57373         (exp_towardzero_test_data): Likewise.
57374         (exp_downward_test_data): Likewise.
57375         (exp_upward_test_data): Likewise.
57376         (exp10_test_data): Likewise.
57377         (exp2_test_data): Likewise.
57378         (expm1_test_data): Likewise.
57379         (j0_test_data): Likewise.
57380         (j1_test_data): Likewise.
57381         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57382         (input_flag_type): Add flag_xfail_rounding.
57383         (input_flags): Add xfail-rounding.
57384         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57385         (output_for_one_input_case): Handle flag_xfail_rounding.
57386         * sysdeps/i386/fpu/libm-test-ulps: Update.
57387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57389 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57391         [BZ #16289]
57392         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57393         division by 0.
57395 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57397         [BZ #16195]
57398         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57399         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57400         (STAP_PROBE0): New macro.
57401         (STAP_PROBE1): Likewise.
57402         (STAP_PROBE2): Likewise.
57403         (STAP_PROBE3): Likewise.
57404         (STAP_PROBE4): Likewise.
57406 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57408         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57410 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57412         * benchtests/Makefile (bench): Add sqrt.
57413         (LDLIBS-bench-sqrt): New.
57414         * benchtests/sqrt-input: New.
57416 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57418         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57419         (GAIH_EAI): Likewise.
57420         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57421         (gaih_inet): Likewise.
57422         (getaddrinfo): Don't use GAIH_EAI.
57424         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57425         (struct gaih): Remove definition.
57427 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57429         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57430         Use HERRNOP directly.
57432 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57436 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57438         * math/gen-auto-libm-tests.c (test_functions): Add more
57439         single-argument functions.
57440         (special_fill_pi_2): New function.
57441         (special_fill_minus_pi_2): Likewise.
57442         (special_fill_pi_6): Likewise.
57443         (special_fill_minus_pi_6): Likewise.
57444         (special_fill_pi_3): Likewise.
57445         (special_fill_2pi_3): Likewise.
57446         (special_fill_e): Likewise.
57447         (special_fill_1_e): Likewise.
57448         (special_fill_e_minus_1): Likewise.
57449         (special_real_inputs): Add more special inputs.
57450         (output_for_one_input_case): Do not require ERANGE on underflow to
57451         zero if round-to-nearest result does not underflow to zero, unless
57452         exact results required.
57453         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57454         atan, atanh, cbrt, cos and cosh.
57455         * math/auto-libm-test-out: Regenerated.
57456         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57457         (acos_tonearest_test_data): Likewise.
57458         (acos_towardzero_test_data): Likewise.
57459         (acos_downward_test_data): Likewise.
57460         (acos_upward_test_data): Likewise.
57461         (acosh_test_data): Likewise.
57462         (asin_test_data): Likewise.
57463         (asin_tonearest_test_data): Likewise.
57464         (asin_towardzero_test_data): Likewise.
57465         (asin_upward_test_data): Likewise.
57466         (asinh_test_data): Likewise.
57467         (atan_test_data): Likewise.
57468         (atanh_test_data): Likewise.
57469         (cbrt_test_data): Likewise.
57470         (cos_test_data): Likewise.
57471         (cos_tonearest_test_data): Likewise.
57472         (cos_towardzero_test_data): Likewise.
57473         (cos_downward_test_data): Likewise.
57474         (cos_upward_test_data): Likewise.
57475         (cosh_test_data): Likewise.
57476         (cosh_tonearest_test_data): Likewise.
57477         (cosh_towardzero_test_data): Likewise.
57478         (cosh_downward_test_data): Likewise.
57479         (cosh_upward_test_data): Likewise.
57480         * sysdeps/i386/fpu/libm-test-ulps: Update.
57481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57483 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57485         [BZ #6787]
57486         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57487         * math/w_exp10f.c (__exp10f): Likewise.
57488         * math/w_exp10l.c (__exp10l): Likewise.
57489         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57490         errno settings in existing tests.
57492         [BZ #14032]
57493         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57494         precision control set to double precision.
57495         * sysdeps/i386/fpu/w_sqrt.c: New file.
57496         * math/auto-libm-test-in: Add more tests.
57497         * math/auto-libm-test-out: Update.
57499         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57500         (sqrt_test_tonearest): New function.
57501         (sqrt_towardzero_test_data): New variable.
57502         (sqrt_test_towardzero): New function.
57503         (sqrt_downward_test_data): New variable.
57504         (sqrt_test_downward): New function.
57505         (sqrt_upward_test_data): New variable.
57506         (sqrt_test_upward): New function.
57507         (main): Call the new functions.
57509         * math/gen-auto-libm-tests.c: New file.
57510         * math/auto-libm-test-in: Likewise.
57511         * math/auto-libm-test-out: New generated file.
57512         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57513         variables.
57514         (%beautify): Add generated representations of zero.
57515         (top level): Set $auto_input and call parse_auto_input.
57516         (beautify): Remove trailing "f" from hex float constants.
57517         (parse_args): Handle XFAIL_TEST.
57518         (convert_condition): New function.
57519         (or_value): Likewise.
57520         (or_cond_value): Likewise.
57521         (generate_testfile): Handle AUTO_TESTS_* lines.
57522         (parse_auto_input): New function.
57523         * math/libm-test.inc (XFAIL_TEST): New macro.
57524         (ERRNO_UNCHANGED): Update value.
57525         (ERRNO_EDOM): Likewise.
57526         (ERRNO_ERANGE): Likewise.
57527         (IGNORE_RESULT): Likewise.
57528         (TEST_COND_flt_32): New macro.
57529         (TEST_COND_dbl_64): Likewise.
57530         (TEST_COND_ldbl_96_intel): Likewise.
57531         (TEST_COND_ldbl_96_m68k): Likewise.
57532         (TEST_COND_ldbl_128): Likewise.
57533         (TEST_COND_ldbl_128ibm): Likewise.
57534         (TEST_COND_long32): Likewise.
57535         (TEST_COND_long64): Likewise.
57536         (TEST_COND_before_rounding): Likewise.
57537         (TEST_COND_after_rounding): Likewise.
57538         (enable_test): Handle XFAIL_TEST flag.
57539         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57540         with finite results.
57541         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57542         auto-libm-test-out.
57544 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57545             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57547         [BZ #16214]
57548         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57549         __tls_get_addr_internal instead of __tls_get_offset in order to
57550         avoid GOT pointer dependency.  Make rtld export
57551         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57552         __tls_get_addr since we are a __tls_get_offset platform.
57553         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57554         GOT pointer being set up before.
57555         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57557 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57559         * manual/math.texi (Errors in Math Functions): Document accuracy
57560         goals.
57562         [BZ #15004]
57563         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57564         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57565         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57566         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57567         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57568         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57569         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57570         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57571         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57572         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57573         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57574         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57575         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57576         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57577         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57578         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57580         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57581         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57582         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57583         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57584         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57585         Likewise.
57586         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57587         Likewise.
57588         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57589         Likewise.
57590         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57591         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57592         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57593         atomic-feupdateenv and flt-rounds.
57594         * sysdeps/powerpc/nofpu/Versions (libc): Add
57595         __atomic_feholdexcept, __atomic_feclearexcept,
57596         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57597         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57598         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57599         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57600         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57601         here.
57602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57603         Update.
57605         * manual/arith.texi (FP Exceptions): Document that exceptions may
57606         not be raised when matherr is used.
57607         (Math Error Reporting): Document overflow in directed rounding
57608         modes.  Document that errno may not be set when finite values are
57609         returned on overflow.  Document intent to set errno on underflow
57610         only for underflow to zero.
57612         [BZ #16271]
57613         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57614         round-to-nearest then adjust result for other rounding modes.
57615         * include/fenv.h (fegetround): Use libm_hidden_proto.
57616         * math/fegetround.c (fegetround): Use libm_hidden_def.
57617         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57618         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57619         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57620         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57621         Likewise.
57622         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57623         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57624         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57625         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57627 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57629         [BZ #16077]
57630         * nss/Versions (libnss_files): Add
57631         _nss_files_gethostbyname3_r.
57632         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57633         New function.
57634         (HOST_DB_LOOKUP): Remove macro.
57635         (_nss_files_gethostbyname_r): Implement function without the
57636         HOST_DB_LOOKUP macro.
57637         (_nss_files_gethostbyname2_r): Likewise.
57639 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
57641         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57643 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
57645         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57646         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57647         warning.
57649 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57651         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57652         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57653         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57654         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57655         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57656         __fe_nomask_env_priv and attribute_hidden.
57657         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57658         (libc_feupdateenv_test_ppc): Likewise.
57659         (libc_feresetround_ppc): Likewise.
57660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57661         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57662         compat_symbol macro.
57663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57664         (__fe_nomask_env): Likewise.
57665         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57667 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57669         * string/Makefile: Remove ifunc tests.
57670         * string/test-string.h: Define TEST_IFUNC.
57671         * string/test-bcopy-ifunc.c: Remove.
57672         * string/test-bzero-ifunc.c: Likewise.
57673         * string/test-memccpy-ifunc.c: Likewise.
57674         * string/test-memchr-ifunc.c: Likewise.
57675         * string/test-memcmp-ifunc.c: Likewise.
57676         * string/test-memcpy-ifunc.c: Likewise.
57677         * string/test-memmem-ifunc.c: Likewise.
57678         * string/test-memmove-ifunc.c: Likewise.
57679         * string/test-mempcpy-ifunc.c: Likewise.
57680         * string/test-memrchr-ifunc.c: Likewise.
57681         * string/test-memset-ifunc.c: Likewise.
57682         * string/test-rawmemchr-ifunc.c: Likewise.
57683         * string/test-stpcpy-ifunc.c: Likewise.
57684         * string/test-stpncpy-ifunc.c: Likewise.
57685         * string/test-strcasecmp-ifunc.c: Likewise.
57686         * string/test-strcasestr-ifunc.c: Likewise.
57687         * string/test-strcat-ifunc.c: Likewise.
57688         * string/test-strchr-ifunc.c: Likewise.
57689         * string/test-strchrnul-ifunc.c: Likewise.
57690         * string/test-strcmp-ifunc.c: Likewise.
57691         * string/test-strcpy-ifunc.c: Likewise.
57692         * string/test-strcspn-ifunc.c: Likewise.
57693         * string/test-strlen-ifunc.c: Likewise.
57694         * string/test-strncasecmp-ifunc.c: Likewise.
57695         * string/test-strncat-ifunc.c: Likewise.
57696         * string/test-strncmp-ifunc.c: Likewise.
57697         * string/test-strncpy-ifunc.c: Likewise.
57698         * string/test-strnlen-ifunc.c: Likewise.
57699         * string/test-strpbrk-ifunc.c: Likewise.
57700         * string/test-strrchr-ifunc.c: Likewise.
57701         * string/test-strspn-ifunc.c: Likewise.
57702         * string/test-strstr-ifunc.c: Likewise.
57704 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57706         * benchtests/Makefile: Remove ifunc tests.
57707         * benchtests/bench-string.h: Define TEST_IFUNC.
57708         * benchtests/bench-bcopy-ifunc.c: Remove.
57709         * benchtests/bench-bzero-ifunc.c: Likewise.
57710         * benchtests/bench-memccpy-ifunc.c: Likewise.
57711         * benchtests/bench-memchr-ifunc.c: Likewise.
57712         * benchtests/bench-memcmp-ifunc.c: Likewise.
57713         * benchtests/bench-memcpy-ifunc.c: Likewise.
57714         * benchtests/bench-memmem-ifunc.c: Likewise.
57715         * benchtests/bench-memmove-ifunc.c: Likewise.
57716         * benchtests/bench-mempcpy-ifunc.c: Likewise.
57717         * benchtests/bench-memrchr-ifunc.c: Likewise.
57718         * benchtests/bench-memset-ifunc.c: Likewise.
57719         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
57720         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
57721         * benchtests/bench-stpcpy-ifunc.c: Likewise.
57722         * benchtests/bench-stpncpy-ifunc.c: Likewise.
57723         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
57724         * benchtests/bench-strcasestr-ifunc.c: Likewise.
57725         * benchtests/bench-strcat-ifunc.c: Likewise.
57726         * benchtests/bench-strchr-ifunc.c: Likewise.
57727         * benchtests/bench-strchrnul-ifunc.c: Likewise.
57728         * benchtests/bench-strcmp-ifunc.c: Likewise.
57729         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
57730         * benchtests/bench-strcpy-ifunc.c: Likewise.
57731         * benchtests/bench-strcspn-ifunc.c: Likewise.
57732         * benchtests/bench-strlen-ifunc.c: Likewise.
57733         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
57734         * benchtests/bench-strncat-ifunc.c: Likewise.
57735         * benchtests/bench-strncmp-ifunc.c: Likewise.
57736         * benchtests/bench-strncpy-ifunc.c: Likewise.
57737         * benchtests/bench-strnlen-ifunc.c: Likewise.
57738         * benchtests/bench-strpbrk-ifunc.c: Likewise.
57739         * benchtests/bench-strrchr-ifunc.c: Likewise.
57740         * benchtests/bench-strsep-ifunc.c: Likewise.
57741         * benchtests/bench-strspn-ifunc.c: Likewise.
57742         * benchtests/bench-strstr-ifunc.c: Likewise.
57744 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57746         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
57748 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57750         * resolv/netdb.h: Use __glibc_reserved instead __unused.
57751         * rt/aio.h: Likewise.
57752         * sysdeps/gnu/bits/utmp.h: Likewise.
57753         * sysdeps/gnu/bits/utmpx.h: Likewise.
57754         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57755         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
57756         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
57757         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
57758         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
57759         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
57760         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
57761         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
57762         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
57763         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
57764         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
57765         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
57766         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
57767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
57768         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57769         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
57770         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
57771         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
57772         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
57773         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
57774         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
57775         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
57776         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
57777         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57778         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
57779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57780         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
57781         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
57782         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
57783         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
57784         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
57785         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
57786         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
57787         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
57788         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
57789         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
57790         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
57791         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
57792         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
57793         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
57794         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
57795         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57797 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
57799         [BZ #16245]
57800         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
57801         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57803 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
57805         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
57806         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
57807         Likewise.
57809 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57811         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
57812         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
57813         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
57814         (__fesetround): Remove define.
57815         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
57816         rounding and exceptions handling.
57817         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
57818         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
57819         (__fe_nomask_env): Likewise.
57820         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
57821         __fegetround instead of fegetround.
57822         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57823         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
57825 2013-11-21  Roland McGrath  <roland@hack.frob.com>
57827         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
57828         it's there.
57830         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
57832 2013-11-21  Meador Inge  <meadori@codesourcery.com>
57834         [BZ #11157]
57835         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
57836         (encrypt_r): Likewise.
57837         * malloc/obstack.h (obstack_free): Likewise.
57838         * posix/unistd.h (encrypt): Likewise.
57840 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
57842         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
57843         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
57844         DL_CALL_DT_FINI() that call the functions directly.
57845         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
57846         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
57847         * elf/dl-fini.c: Likewise.
57849 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
57851         * malloc/hooks.c (memalign_check): Add alignment rounding.
57852         * malloc/malloc.c (_mid_memalign): New function.
57853         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
57854         Implement by calling _mid_memalign.
57855         * manual/probes.texi (Memory Allocation Probes): Remove
57856         memory_valloc_retry and memory_pvalloc_retry.
57858 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57860         * locale/programs/locarchive.c (open_archive): Add const
57861         qualifier to ARCHIVEFNAME and copy default fname to
57862         DEFAULT_FNAME.
57864         [BZ #15601]
57865         * libio/tst-widetext.input: Rename Oriya to Odia.
57866         * locale/iso-639.def: Likewise.
57868         * manual/probes.texi (Mathematical Function Probes): Add
57869         documentation for sin, cos, asin and acos probes.
57870         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
57871         (__sin32): Add slowasin probe.
57872         (__cos32): Add slowacos probe.
57873         (__mpsin): Add slowsin probe.
57874         (__mpcos): Add slowcos probe.
57876 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
57878         [BZ #15483]
57879         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
57880         thread-local __sim_exceptions_thread and global
57881         __sim_exceptions_global.
57882         (__sim_disabled_exceptions): Change to thread-local
57883         __sim_disabled_exceptions_thread and global
57884         __sim_disabled_exceptions_global.
57885         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57886         and global __sim_round_mode_global.
57887         (__simulate_exceptions): Use thread-local floating-point state and
57888         set global state from it as needed.
57889         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
57890         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
57891         __sim_round_mode_thread.
57892         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
57893         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
57894         and global __sim_exceptions_global.
57895         (__sim_disabled_exceptions): Change to thread-local
57896         __sim_disabled_exceptions_thread and global
57897         __sim_disabled_exceptions_global.
57898         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57899         and global __sim_round_mode_global.
57900         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
57901         (SIM_SET_GLOBAL): Likewise.
57902         * sysdeps/powerpc/soft-fp/sfp-machine.h
57903         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
57904         __sim_round_mode_thread.
57905         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
57906         __sim_disabled_exceptions_thread.
57907         (__sim_exceptions): Change to __sim_exceptions_thread.
57908         (__sim_disabled_exceptions): Change to
57909         __sim_disabled_exceptions_thread.
57910         (__sim_round_mode): Change to __sim_round_mode_thread.
57911         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
57912         thread-local floating-point state and set global state from it as
57913         needed.
57914         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
57915         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
57916         (__sim_disabled_exceptions): Remove extern declaration.
57917         (feenableexcept): Use thread-local floating-point state and set
57918         global state from it as needed.
57919         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57920         extern declaration.
57921         (__sim_disabled_exceptions): Likewise.
57922         (__sim_round_mode): Likewise.
57923         (__fegetenv): Use thread-local floating-point state.
57924         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57925         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57926         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57927         floating-point state and set global state from it as needed.
57928         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57929         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57930         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57931         Likewise.
57932         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57933         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57934         Likewise.
57935         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57936         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57937         Use __sim_round_mode_thread.
57938         * math/test-fenv-tls.c: New file.
57939         * math/Makefile (tests): Add test-fenv-tls.
57940         ($(objpfx)test-fenv-tls): Depend on
57941         $(common-objpfx)nptl/libpthread.so.
57943 2013-11-19  Andreas Schwab  <schwab@suse.de>
57945         * locale/programs/locale.c (show_info): Decode wordarray elements.
57946         * locale/categories.def (LC_MONETARY): Add element for
57947         _NL_MONETARY_CRNCYSTR.
57948         * locale/C-monetary.c (conversion_rate): New variable.
57949         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57950         element.
57952 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57954         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57955         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57957 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57959         * elf/Makefile (tst-auxv): New test.
57960         * elf/tst-auxv.c: New
57961         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57963 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57965         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57966         (hidden_proto): Caller changed.
57967         (hidden_tls_proto): New macro.
57968         (libc_hidden_tls_proto): Likewise.
57969         (rtld_hidden_tls_proto): Likewise.
57970         (libm_hidden_tls_proto): Likewise.
57971         (libresolv_hidden_tls_proto): Likewise.
57972         (librt_hidden_tls_proto): Likewise.
57973         (libdl_hidden_tls_proto): Likewise.
57974         (libnss_files_hidden_tls_proto): Likewise.
57975         (libnsl_hidden_tls_proto): Likewise.
57976         (libnss_nisplus_hidden_tls_proto): Likewise.
57977         (libutil_hidden_tls_proto): Likewise.
57979 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57981         [BZ #10253]
57982         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57983         (decompose_rpath): Defer expansion to fillin_rpath.
57984         (_dl_init_paths): Pass linkmap to fillin_rpath.
57986 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57988         * benchtests/Makefile: Add strsep.
57989         * benchtests/bench-strsep.c: New file: strsep benchtest.
57990         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57992 2013-11-18  Andreas Schwab  <schwab@suse.de>
57994         * locale/programs/locale.c (show_info) [case byte]: Check for
57995         '\377' instead of '\177'.
57996         * locale/C-monetary.c (not_available): Always use "\377".
57997         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57998         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57999         detect unavailable sign_posn locale elements.
58000         * locale/localeconv.c (__localeconv): For grouping and
58001         mon_grouping handle "\177" and "\377" like no grouping.
58002         (INT_ELEM): New macro.  Use it to set all numeric members.
58003         * locale/programs/ld-monetary.c (monetary_read)
58004         <tok_mon_grouping>: Normalize single -1 to the empty string.
58005         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
58006         Likewise.
58008 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58010         [BZ #16055]
58011         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
58012         when we match (nil).
58013         * stdio-common/tst-sscanf.c (struct test): Add testcase.
58015 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
58017         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
58018         (NO_TEST_INLINE): Update value.
58019         (ERRNO_UNCHANGED): Likewise.
58020         (ERRNO_EDOM): Likewise.
58021         (ERRNO_ERANGE): Likewise.
58022         (IGNORE_RESULT): Likewise.
58023         (check_float_internal): Check signs of NaN results if
58024         TEST_NAN_SIGN used.
58025         (check_complex): Pass TEST_NAN_SIGN flag through to second
58026         check_float_internal call.
58027         (copysign_test_data): Add tests with quiet NaNs as second
58028         argument.  Use TEST_NAN_SIGN.
58029         (fabs_test_data): Add test of negative quiet NaN argument.  Use
58030         TEST_NAN_SIGN.
58031         (signbit_test_data): Add tests of quiet NaN argument.
58032         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
58034         * math/gen-libm-test.pl (show_exceptions): Take extra argument
58035         $ignore_result.
58036         (parse_args): Handle function results specified as IGNORE.
58037         * math/libm-test.inc (IGNORE_RESULT): New macro.
58038         (check_float_internal): Do not check numerical result if flag
58039         IGNORE_RESULT set.
58040         (check_complex): Pass through IGNORE_RESULT to second
58041         check_float_internal call.
58042         (check_int): Do not check numerical result if flag IGNORE_RESULT
58043         set.
58044         (check_long): Likewise.
58045         (check_bool): Likewise.
58046         (check_longlong): Likewise.
58047         (lrint_test_data): Add tests of infinite and NaN arguments.
58048         (lrint_tonearest_test_data): Likewise.
58049         (lrint_towardzero_test_data): Likewise.
58050         (lrint_downward_test_data): Likewise.
58051         (lrint_upward_test_data): Likewise.
58052         (llrint_test_data): Likewise.
58053         (llrint_tonearest_test_data): Likewise.
58054         (llrint_towardzero_test_data): Likewise.
58055         (llrint_downward_test_data): Likewise.
58056         (llrint_upward_test_data): Likewise.
58057         (lround_test_data): Likewise.
58058         (llround_test_data): Likewise.
58060         * math/libm-test.inc (NO_TEST_INLINE): New macro.
58061         (ERRNO_UNCHANGED): Update value.
58062         (ERRNO_EDOM): Likewise.
58063         (ERRNO_ERANGE): Likewise.
58064         (NO_TEST_INLINE_FLOAT): New macro.
58065         (NO_TEST_INLINE_DOUBLE): Likewise.
58066         (enable_test): New function.
58067         (RUN_TEST_f_f): Check enable_test before running test.
58068         (RUN_TEST_2_f): Likewise.
58069         (RUN_TEST_fff_f): Likewise.
58070         (RUN_TEST_c_f): Likewise.
58071         (RUN_TEST_f_f1): Likewise.
58072         (RUN_TEST_fF_f1): Likewise.
58073         (RUN_TEST_fI_f1): Likewise.
58074         (RUN_TEST_ffI_f1): Likewise.
58075         (RUN_TEST_c_c): Likewise.
58076         (RUN_TEST_cc_c): Likewise.
58077         (RUN_TEST_f_i): Likewise.
58078         (RUN_TEST_f_i_tg): Likewise.
58079         (RUN_TEST_ff_i_tg): Likewise.
58080         (RUN_TEST_f_b): Likewise.
58081         (RUN_TEST_f_b_tg): Likewise.
58082         (RUN_TEST_f_l): Likewise.
58083         (RUN_TEST_f_L): Likewise.
58084         (RUN_TEST_fFF_11): Likewise.
58085         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
58086         conditionals.
58087         (cosh_test_data): Likewise.
58088         (exp_test_data): Likewise.
58089         (expm1_test_data): Likewise.
58090         (hypot_test_data): Likewise.
58091         (pow_test_data): Likewise.
58092         (sinh_test_data): Likewise.
58093         (tanh_test_data): Likewise.
58094         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
58095         flags argument.
58097         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
58098         tests with quiet NaN input and output.
58099         (acosh_test_data): Likewise.
58100         (asin_test_data): Likewise.
58101         (asinh_test_data): Likewise.
58102         (atan_test_data): Likewise.
58103         (atanh_test_data): Likewise.
58104         (atan2_test_data): Likewise.
58105         (cbrt_test_data): Likewise.
58106         (cos_test_data): Likewise.
58107         (cosh_test_data): Likewise.
58108         (erf_test_data): Likewise.
58109         (erfc_test_data): Likewise.
58110         (exp_test_data): Likewise.
58111         (exp10_test_data): Likewise.
58112         (exp2_test_data): Likewise.
58113         (expm1_test_data): Likewise.
58114         (hypot_test_data): Likewise.
58115         (j0_test_data): Likewise.
58116         (j1_test_data): Likewise.
58117         (jn_test_data): Likewise.
58118         (lgamma_test_data): Likewise.
58119         (log_test_data): Likewise.
58120         (log10_test_data): Likewise.
58121         (log1p_test_data): Likewise.
58122         (log2_test_data): Likewise.
58123         (pow_test_data): Likewise.
58124         (scalb_test_data): Likewise.
58125         (sin_test_data): Likewise.
58126         (sincos_test_data): Likewise.
58127         (sinh_test_data): Likewise.
58128         (tan_test_data): Likewise.
58129         (tanh_test_data): Likewise.
58130         (tgamma_test_data): Likewise.
58131         (y0_test_data): Likewise.
58132         (y1_test_data): Likewise.
58133         (yn_test_data): Likewise.
58135         [BZ #16167]
58136         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
58137         argument being NaN and avoid computations with second argument in
58138         that case.
58139         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58140         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
58141         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58143 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
58145         * locale/iso-639.def: Add Chitwani Tharu (the).
58147 2013-11-14  Andreas Schwab  <schwab@suse.de>
58149         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
58150         word instead of empty string.
58152 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58155         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
58156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58157         (__fe_nomask_env): Likewise.
58159 2013-11-13  Steve Ellcey  <sellcey@mips.com>
58161         * benchtests/bench-timing.h: Include time.h.
58163 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
58165         [BZ #15997]
58166         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
58167         to 3.4.0 for x32.
58168         * sysdeps/unix/sysv/linux/configure: Regenerated.
58170 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
58172         [BZ #16151]
58173         * stdlib/strtod_l.c (round_and_return): Do not consider
58174         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
58175         exponent one less than half the least subnormal exponent.
58176         * stdlib/test-strtod-round-data: Add more tests.
58177         * stdlib/tst-strtod-round.c (tests): Regenerated.
58179 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58181         [BZ #14143]
58182         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58183         (__fe_mask_env): Likewise.
58184         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58185         libm_hidden_proto and add function prototype.
58186         (__fe_mask_env): Add function prototype.
58187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58188         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58190         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58192         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58194 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58196         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
58197         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
58199 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58201         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58202         of htab_find_slot().
58204 2013-11-11  David S. Miller  <davem@davemloft.net>
58206         [BZ #16150]
58207         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
58208         symbol in the non-vis3 case in static builds.
58209         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
58210         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
58211         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
58212         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
58214 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
58216         [BZ #387]
58217         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
58218         it is empty.
58220 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58222         * benchtests/Makefile: Add bench-strtod.
58223         * benchtests/bench-strtod.c: New file: strtod benchtest
58225 2013-11-11  Andreas Schwab  <schwab@suse.de>
58227         [BZ #16153]
58228         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
58229         terminating NUL in key length.
58231 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58233         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58234         Add artificial ODP entry for vDSO symbol for PPC64.
58235         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58236         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
58238 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58240         [BZ #15374]
58241         * nss/getent.c (services_keys): Recognize services starting with digit.
58243 2013-11-06  David S. Miller  <davem@davemloft.net>
58245         [BZ #15985]
58246         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
58247         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
58249 2013-11-06  Will Newton  <will.newton@linaro.org>
58251         * manual/memory.texi (Malloc Examples): Remove register
58252         keyword from examples.
58254 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
58256         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
58258 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
58260         [BZ #6981]
58261         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
58262         depending on [__GCC_IEC_559 > 0].
58263         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
58264         depending on [__GCC_IEC_559_COMPLEX > 0].
58266 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
58268         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
58269         to iso-639.def.
58271 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
58273         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
58275 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
58277         [BZ #16112]
58278         * malloc/malloc (malloc_info): Do not handle first bin as
58279         special case.
58281 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58283         * locale/iso-639.def: Add Central Nahuatl (nhn).
58285 2013-11-01  Bruno Haible  <bruno@clisp.org>
58287         [BZ #7003]
58288         * manual/math.texi (BSD Random): Specify range upper bound as
58289         in POSIX.
58291 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
58293         * locale/iso-639.def: Add Meadow Mari (mhr).
58295 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
58297         [BZ #14752], [BZ #15763]
58298         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58299         Validate name.
58300         * rt/tst_shm.c: Add test for escaping directory.
58302 2013-10-31  Andreas Schwab  <schwab@suse.de>
58304         [BZ #15917]
58305         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58306         followed by 'x' as part of digit sequence.
58307         * stdio-common/tst-sscanf.c (double_tests2): New tests.
58309 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58311         [BZ #16037]
58312         * configure.ac: allow GNU Make 4.0 and greater.
58313         * configure: Regenerated.
58315 2013-10-30  Will Newton  <will.newton@linaro.org>
58317         [BZ #16038]
58318         * malloc/hooks.c (memalign_check): Limit alignment to the
58319         maximum representable power of two.
58320         * malloc/malloc.c (__libc_memalign): Likewise.
58321         * malloc/tst-memalign.c (do_test): Add test for very
58322         large alignment values.
58323         * malloc/tst-posix_memalign.c (do_test): Likewise.
58325 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58327         [BZ #11087]
58328         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58329         (munmap_chunk): Likewise.
58330         (mremap_chunk): Likewise.
58332 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58334         [BZ #15799]
58335         * stdlib/div.c (div): Remove obsolete code.
58336         * stdlib/ldiv.c (ldiv): Likewise.
58337         * stdlib/lldiv.c (lldiv): Likewise.
58339 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58341         [BZ #16071]
58342         * nss/nss_files/files-XXX.c (get_contents_ret): New
58343         enumerator.
58344         (get_contents): New function.
58345         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58347 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58349         * configure.in: Moved to ...
58350         * configure.ac: ... here. Change reference to configure.in
58351         to configure.ac.
58352         * sysdeps/arm/preconfigure.ac: ... here.
58353         configure.in to configure.ac.
58354         * sysdeps/gnu/configure.in: Moved to ...
58355         * sysdeps/gnu/configure.ac: ... here.
58356         * sysdeps/i386/configure.in: Moved to ...
58357         * sysdeps/i386/configure.ac: ... here.
58358         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58359         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58360         * sysdeps/mach/configure.in: Moved to ...
58361         * sysdeps/mach/configure.ac: ... here.
58362         * sysdeps/mach/hurd/configure.in: Moved to ...
58363         * sysdeps/mach/hurd/configure.ac: ... here.
58364         * sysdeps/powerpc/configure.in: Moved to ...
58365         * sysdeps/powerpc/configure.ac: ... here.
58366         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58367         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58368         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58369         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58370         * sysdeps/s390/s390-32/configure.in: Moved to ...
58371         * sysdeps/s390/s390-32/configure.ac: ... here.
58372         * sysdeps/s390/s390-64/configure.in: Moved to ...
58373         * sysdeps/s390/s390-64/configure.ac: ... here.
58374         * sysdeps/sh/configure.in: Moved to ...
58375         * sysdeps/sh/configure.ac: ... here.
58376         * sysdeps/sparc/configure.in: Moved to ...
58377         * sysdeps/sparc/configure.ac: ... here.
58378         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58379         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58380         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58381         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58382         * sysdeps/x86_64/configure.in: Moved to ...
58383         * sysdeps/x86_64/configure.ac: ... here.
58384         * sysdeps/x86_64/preconfigure.in: Moved to ...
58385         * sysdeps/x86_64/preconfigure.ac: ... here.
58386         * aclocal.m4: Change reference to configure.in to configure.ac.
58387         * config.h.in: Likewise.
58388         * manual/install.texi: Likewise.
58389         * manual/maint.texi: Likewise.
58390         * Makefile: Likewise.
58391         * malloc/Makefile: Likewise.
58392         * nscd/Makefile: Likewise.
58393         * Makeconfig: Change reference to configure.in and
58394         preconfigure.in to configure.ac and preconfigure.ac
58395         respectively.
58396         * INSTALL: Regenerated.
58397         * configure: Likewise.
58398         * sysdeps/gnu/configure: Likewise.
58399         * sysdeps/i386/configure: Likewise.
58400         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58401         * sysdeps/mach/configure: Likewise.
58402         * sysdeps/mach/hurd/configure: Likewise.
58403         * sysdeps/powerpc/configure: Likewise.
58404         * sysdeps/powerpc/powerpc32/configure: Likewise.
58405         * sysdeps/powerpc/powerpc64/configure: Likewise.
58406         * sysdeps/s390/s390-32/configure: Likewise.
58407         * sysdeps/s390/s390-64/configure: Likewise.
58408         * sysdeps/sh/configure: Likewise.
58409         * sysdeps/sparc/configure: Likewise.
58410         * sysdeps/unix/sysv/linux/configure: Likewise.
58411         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58412         * sysdeps/x86_64/configure: Likewise.
58413         * sysdeps/x86_64/preconfigure: Likewise.
58415 2013-10-29  Andreas Schwab  <schwab@suse.de>
58417         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58419 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58421         * benchtests/pow-inputs: Add new inputs.
58423         * benchtests/exp-inputs: Add new inputs.
58425         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58426         conditional check for return value.
58427         (__cos32): Likewise.
58429 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58431         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58432         to provide a boost for large inputs with word alignment.
58433         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58434         implementation based on optimized PPC64 strcpy.
58435         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58436         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58437         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58438         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58440 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58442         [BZ #2801]
58443         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58445 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58447         [BZ #14876]
58448         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58449         * time/tst-strptime.c (day_tests): Add testcase.
58451 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58453         [BZ #14029]
58454         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58456 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58458         [BZ #16074]
58459         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58460         MAP_FAILED on error.
58462 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58464         [BZ #16072]
58465         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58466         heap for large requests.
58468 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58470         [BZ #9954]
58471         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58472         result if the result has no associated interface.
58473         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58474         interface for all 127.X.Y.Z addresses.
58476 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58478         * locale/iso-639.def: Add Ligurian (lij)
58480 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58482         [BZ #15825]
58483         * sunrpc/rpc_main.c: Document rpcgen -5.
58485 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58487         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58489 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58491         [BZ #10278]
58492         * posix/glob.c: Match only directories when trailing slash is present.
58493         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58494         (main): Add testcase.
58496 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58498         [BZ #15670]
58499         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58501 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58503         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58504         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58505         AUTH_DES and cindex for FIPS 140-2.
58506         (DES Encryption): Add cindex FIPS 46-3.
58508         * locale/locarchive.h (struct locarhandle): Add fname.
58509         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58510         if an optional argument was specified to --list-archive,
58511         otherwise NULL.
58512         * locale/programs/locarchive.c (show_archive_content): Take new
58513         argument fname and pass it via ah.fname to open_archive.
58514         * locale/programs/localedef.h: Update decl.
58515         (open_archive): If AH->fname is non-null, open that file
58516         rather than the default file name, and don't ignore ENOENT.
58517         (create_archive): Set AH.fname to NULL.
58518         (delete_locales_from_archive): Likewise.
58519         (add_locales_to_archive): Likewise.
58520         * locale/programs/locfile.c (write_all_categories): Likewise.
58522 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58523             Aldy Hernandez  <aldyh@redhat.com>
58525         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58526         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58527         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58528         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58529         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58530         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58531         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58532         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58533         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58534         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58535         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58536         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58537         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58538         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58539         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58540         Likewise.
58541         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58542         Likewise.
58543         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58544         Likewise.
58545         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58546         Likewise.
58547         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58548         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58549         Likewise.
58550         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58551         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58552         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58553         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58554         Likewise.
58555         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58556         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58557         * sysdeps/powerpc/preconfigure: Likewise.
58558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58559         Likewise.
58560         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58561         Replace contents of file by #include of <fenv_libc.h>.
58562         * sysdeps/powerpc/soft-fp/sfp-machine.h
58563         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58564         and <sys/prctl.h>.
58565         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58567         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58568         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58569         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58570         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58572         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58573         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58575         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58576         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58578         Allow copysignl PLT reference to be missing.
58580 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58581             Joseph Myers  <joseph@codesourcery.com
58583         [BZ #15948]
58584         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58585         single character.
58586         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58588 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58590         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58591         * elf/tst-tls1.c: Likewise.
58592         * elf/tst-tls10.h: Likewise.
58593         * elf/tst-tls14.c: Likewise.
58594         * elf/tst-tls2.c: Likewise.
58595         * elf/tst-tls3.c: Likewise.
58596         * elf/tst-tls4.c: Likewise.
58597         * elf/tst-tls5.c: Likewise.
58598         * elf/tst-tls6.c: Likewise.
58599         * elf/tst-tls7.c: Likewise.
58600         * elf/tst-tls8.c: Likewise.
58601         * elf/tst-tls9.c: Likewise.
58602         * elf/tst-tlsmod1.c: Likewise.
58603         * elf/tst-tlsmod13.c: Likewise.
58604         * elf/tst-tlsmod13a.c: Likewise.
58605         * elf/tst-tlsmod14a.c: Likewise.
58606         * elf/tst-tlsmod16a.c: Likewise.
58607         * elf/tst-tlsmod16b.c: Likewise.
58608         * elf/tst-tlsmod2.c: Likewise.
58609         * elf/tst-tlsmod3.c: Likewise.
58610         * elf/tst-tlsmod4.c: Likewise.
58611         * elf/tst-tlsmod5.c: Likewise.
58612         * elf/tst-tlsmod6.c: Likewise.
58614 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58616         [BZ #12486]
58617         * malloc/malloc.c: remove checks for statistics.
58619 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58621         [BZ #15277]
58622         * inet/inet_net.c (inet_network): Detect additional invalid strings.
58623         * inet/tst-network.c: Add testcase.
58625 2013-10-17  Andreas Schwab  <schwab@suse.de>
58627         [BZ #15218]
58628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58629         to determine canonical name.
58631 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58633         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58634         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58635         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58636         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58637         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58638         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58639         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58640         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58641         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58642         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58643         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58644         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58645         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58646         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58647         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58648         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58649         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58650         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58651         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58652         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58653         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58655         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58656         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58657         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58658         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58659         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58660         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58661         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58662         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58663         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58664         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58665         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58666         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58667         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58668         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58669         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58670         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58671         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58672         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58673         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58674         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58675         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58676         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58677         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58678         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58679         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58680         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58681         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58682         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58683         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58684         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58685         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58686         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58687         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58688         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58689         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58690         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58692 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
58694         [BZ #16041]
58695         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
58696         make result into a quiet NaN.
58698 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
58700         * soft-fp/adddf3.c: Fix horizontal whitespace.
58701         * soft-fp/addsf3.c: Likewise.
58702         * soft-fp/addtf3.c: Likewise.
58703         * soft-fp/divdf3.c: Likewise.
58704         * soft-fp/divsf3.c: Likewise.
58705         * soft-fp/divtf3.c: Likewise.
58706         * soft-fp/double.h: Likewise.
58707         * soft-fp/eqdf2.c: Likewise.
58708         * soft-fp/eqsf2.c: Likewise.
58709         * soft-fp/eqtf2.c: Likewise.
58710         * soft-fp/extenddftf2.c: Likewise.
58711         * soft-fp/extended.h: Likewise.
58712         * soft-fp/extendsfdf2.c: Likewise.
58713         * soft-fp/extendsftf2.c: Likewise.
58714         * soft-fp/extendxftf2.c: Likewise.
58715         * soft-fp/fixdfdi.c: Likewise.
58716         * soft-fp/fixdfsi.c: Likewise.
58717         * soft-fp/fixdfti.c: Likewise.
58718         * soft-fp/fixsfdi.c: Likewise.
58719         * soft-fp/fixsfsi.c: Likewise.
58720         * soft-fp/fixsfti.c: Likewise.
58721         * soft-fp/fixtfdi.c: Likewise.
58722         * soft-fp/fixtfsi.c: Likewise.
58723         * soft-fp/fixtfti.c: Likewise.
58724         * soft-fp/fixunsdfdi.c: Likewise.
58725         * soft-fp/fixunsdfsi.c: Likewise.
58726         * soft-fp/fixunsdfti.c: Likewise.
58727         * soft-fp/fixunssfdi.c: Likewise.
58728         * soft-fp/fixunssfsi.c: Likewise.
58729         * soft-fp/fixunssfti.c: Likewise.
58730         * soft-fp/fixunstfdi.c: Likewise.
58731         * soft-fp/fixunstfsi.c: Likewise.
58732         * soft-fp/fixunstfti.c: Likewise.
58733         * soft-fp/floatdidf.c: Likewise.
58734         * soft-fp/floatdisf.c: Likewise.
58735         * soft-fp/floatditf.c: Likewise.
58736         * soft-fp/floatsidf.c: Likewise.
58737         * soft-fp/floatsisf.c: Likewise.
58738         * soft-fp/floatsitf.c: Likewise.
58739         * soft-fp/floattidf.c: Likewise.
58740         * soft-fp/floattisf.c: Likewise.
58741         * soft-fp/floattitf.c: Likewise.
58742         * soft-fp/floatundidf.c: Likewise.
58743         * soft-fp/floatundisf.c: Likewise.
58744         * soft-fp/floatunditf.c: Likewise.
58745         * soft-fp/floatunsidf.c: Likewise.
58746         * soft-fp/floatunsisf.c: Likewise.
58747         * soft-fp/floatunsitf.c: Likewise.
58748         * soft-fp/floatuntidf.c: Likewise.
58749         * soft-fp/floatuntisf.c: Likewise.
58750         * soft-fp/floatuntitf.c: Likewise.
58751         * soft-fp/fmadf4.c: Likewise.
58752         * soft-fp/fmasf4.c: Likewise.
58753         * soft-fp/fmatf4.c: Likewise.
58754         * soft-fp/gedf2.c: Likewise.
58755         * soft-fp/gesf2.c: Likewise.
58756         * soft-fp/getf2.c: Likewise.
58757         * soft-fp/ledf2.c: Likewise.
58758         * soft-fp/lesf2.c: Likewise.
58759         * soft-fp/letf2.c: Likewise.
58760         * soft-fp/muldf3.c: Likewise.
58761         * soft-fp/mulsf3.c: Likewise.
58762         * soft-fp/multf3.c: Likewise.
58763         * soft-fp/negdf2.c: Likewise.
58764         * soft-fp/negsf2.c: Likewise.
58765         * soft-fp/negtf2.c: Likewise.
58766         * soft-fp/op-1.h: Likewise.
58767         * soft-fp/op-2.h: Likewise.
58768         * soft-fp/op-4.h: Likewise.
58769         * soft-fp/op-8.h: Likewise.
58770         * soft-fp/op-common.h: Likewise.
58771         * soft-fp/quad.h: Likewise.
58772         * soft-fp/single.h: Likewise.
58773         * soft-fp/soft-fp.h: Likewise.
58774         * soft-fp/sqrtdf2.c: Likewise.
58775         * soft-fp/sqrtsf2.c: Likewise.
58776         * soft-fp/sqrttf2.c: Likewise.
58777         * soft-fp/subdf3.c: Likewise.
58778         * soft-fp/subsf3.c: Likewise.
58779         * soft-fp/subtf3.c: Likewise.
58780         * soft-fp/truncdfsf2.c: Likewise.
58781         * soft-fp/trunctfdf2.c: Likewise.
58782         * soft-fp/trunctfsf2.c: Likewise.
58783         * soft-fp/trunctfxf2.c: Likewise.
58784         * soft-fp/unorddf2.c: Likewise.
58785         * soft-fp/unordsf2.c: Likewise.
58786         * soft-fp/unordtf2.c: Likewise.
58788 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
58790         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
58791         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
58793 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
58795         * elf/dl-libc.c: Clear initfini list after freeing.
58797 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
58799         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
58800         * soft-fp/addsf3.c: Likewise.
58801         * soft-fp/addtf3.c: Likewise.
58802         * soft-fp/divdf3.c: Likewise.
58803         * soft-fp/divsf3.c: Likewise.
58804         * soft-fp/divtf3.c: Likewise.
58805         * soft-fp/double.h: Likewise.
58806         * soft-fp/eqdf2.c: Likewise.
58807         * soft-fp/eqsf2.c: Likewise.
58808         * soft-fp/eqtf2.c: Likewise.
58809         * soft-fp/extenddftf2.c: Likewise.
58810         * soft-fp/extended.h: Likewise.
58811         * soft-fp/extendsfdf2.c: Likewise.
58812         * soft-fp/extendsftf2.c: Likewise.
58813         * soft-fp/extendxftf2.c: Likewise.
58814         * soft-fp/fixdfdi.c: Likewise.
58815         * soft-fp/fixdfsi.c: Likewise.
58816         * soft-fp/fixdfti.c: Likewise.
58817         * soft-fp/fixsfdi.c: Likewise.
58818         * soft-fp/fixsfsi.c: Likewise.
58819         * soft-fp/fixsfti.c: Likewise.
58820         * soft-fp/fixtfdi.c: Likewise.
58821         * soft-fp/fixtfsi.c: Likewise.
58822         * soft-fp/fixtfti.c: Likewise.
58823         * soft-fp/fixunsdfdi.c: Likewise.
58824         * soft-fp/fixunsdfsi.c: Likewise.
58825         * soft-fp/fixunsdfti.c: Likewise.
58826         * soft-fp/fixunssfdi.c: Likewise.
58827         * soft-fp/fixunssfsi.c: Likewise.
58828         * soft-fp/fixunssfti.c: Likewise.
58829         * soft-fp/fixunstfdi.c: Likewise.
58830         * soft-fp/fixunstfsi.c: Likewise.
58831         * soft-fp/fixunstfti.c: Likewise.
58832         * soft-fp/floatdidf.c: Likewise.
58833         * soft-fp/floatdisf.c: Likewise.
58834         * soft-fp/floatditf.c: Likewise.
58835         * soft-fp/floatsidf.c: Likewise.
58836         * soft-fp/floatsisf.c: Likewise.
58837         * soft-fp/floatsitf.c: Likewise.
58838         * soft-fp/floattidf.c: Likewise.
58839         * soft-fp/floattisf.c: Likewise.
58840         * soft-fp/floattitf.c: Likewise.
58841         * soft-fp/floatundidf.c: Likewise.
58842         * soft-fp/floatundisf.c: Likewise.
58843         * soft-fp/floatunsidf.c: Likewise.
58844         * soft-fp/floatunsisf.c: Likewise.
58845         * soft-fp/floatuntidf.c: Likewise.
58846         * soft-fp/floatuntisf.c: Likewise.
58847         * soft-fp/floatuntitf.c: Likewise.
58848         * soft-fp/fmadf4.c: Likewise.
58849         * soft-fp/fmasf4.c: Likewise.
58850         * soft-fp/fmatf4.c: Likewise.
58851         * soft-fp/gedf2.c: Likewise.
58852         * soft-fp/gesf2.c: Likewise.
58853         * soft-fp/getf2.c: Likewise.
58854         * soft-fp/ledf2.c: Likewise.
58855         * soft-fp/lesf2.c: Likewise.
58856         * soft-fp/letf2.c: Likewise.
58857         * soft-fp/muldf3.c: Likewise.
58858         * soft-fp/mulsf3.c: Likewise.
58859         * soft-fp/multf3.c: Likewise.
58860         * soft-fp/negdf2.c: Likewise.
58861         * soft-fp/negsf2.c: Likewise.
58862         * soft-fp/negtf2.c: Likewise.
58863         * soft-fp/op-1.h: Likewise.
58864         * soft-fp/op-2.h: Likewise.
58865         * soft-fp/op-4.h: Likewise.
58866         * soft-fp/op-8.h: Likewise.
58867         * soft-fp/op-common.h: Likewise.
58868         * soft-fp/quad.h: Likewise.
58869         * soft-fp/single.h: Likewise.
58870         * soft-fp/soft-fp.h: Likewise.
58871         * soft-fp/sqrtdf2.c: Likewise.
58872         * soft-fp/sqrtsf2.c: Likewise.
58873         * soft-fp/sqrttf2.c: Likewise.
58874         * soft-fp/subdf3.c: Likewise.
58875         * soft-fp/subsf3.c: Likewise.
58876         * soft-fp/subtf3.c: Likewise.
58877         * soft-fp/truncdfsf2.c: Likewise.
58878         * soft-fp/trunctfdf2.c: Likewise.
58879         * soft-fp/trunctfsf2.c: Likewise.
58880         * soft-fp/trunctfxf2.c: Likewise.
58881         * soft-fp/unorddf2.c: Likewise.
58882         * soft-fp/unordsf2.c: Likewise.
58883         * soft-fp/unordtf2.c: Likewise.
58885 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
58887         [BZ #15672]
58888         * misc/error.c (error_tail): Fix possible buffer overflow.
58890 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
58892         [BZ #13028]
58893         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
58894         address.
58896 2013-10-14  P. J. McDermott  <pj@pehjota.net>
58898         [BZ #832]
58899         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
58900         testing pipefail option.
58902 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58904         * soft-fp/double.h: Indent preprocessor directives inside #if.
58905         * soft-fp/extended.h: Likewise.
58906         * soft-fp/op-2.h: Likewise.
58907         * soft-fp/op-4.h: Likewise.
58908         * soft-fp/op-common.h: Likewise.
58909         * soft-fp/quad.h: Likewise.
58910         * soft-fp/single.h: Likewise.
58911         * soft-fp/soft-fp.h: Likewise.
58913 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
58915         * iconv/iconv_prog.c: Fix typos.
58916         * stdio-common/psiginfo-data.h: Likewise.
58918 2013-10-12   Reuben Thomas <rrt@sc3d.org>
58920         [BZ #15764]
58921         * locale/setlocale.c: Fix typo.
58923 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58925         [BZ #16036]
58926         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58927         signaling NaN arguments.
58928         * soft-fp/unordsf2.c (__unordsf2): Likewise.
58929         * soft-fp/unordtf2.c (__unordtf2): Likewise.
58931         [BZ #14910]
58932         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58933         unordered operands.
58934         * soft-fp/gesf2.c (__gesf2): Likewise.
58935         * soft-fp/getf2.c (__getf2): Likewise.
58936         * soft-fp/ledf2.c (__ledf2): Likewise.
58937         * soft-fp/lesf2.c (__lesf2): Likewise.
58938         * soft-fp/letf2.c (__letf2): Likewise.
58940         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58941         * soft-fp/eqsf2.c (__eqsf2): Likewise.
58942         * soft-fp/eqtf2.c (__eqtf2): Likewise.
58943         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58944         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58945         * soft-fp/fixdfti.c (__fixdfti): Likewise.
58946         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58947         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58948         * soft-fp/fixsfti.c (__fixsfti): Likewise.
58949         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58950         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58951         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58952         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58953         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58954         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58955         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58956         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58957         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58958         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58959         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58960         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58961         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58962         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58963         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58964         * soft-fp/floattidf.c (__floattidf): Likewise.
58965         * soft-fp/floattisf.c (__floattisf): Likewise.
58966         * soft-fp/floattitf.c (__floattitf): Likewise.
58967         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58968         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58969         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58970         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58971         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58972         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58973         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58974         * soft-fp/gesf2.c (__gesf2): Likewise.
58975         * soft-fp/getf2.c (__getf2): Likewise.
58976         * soft-fp/ledf2.c (__ledf2): Likewise.
58977         * soft-fp/lesf2.c (__lesf2): Likewise.
58978         * soft-fp/letf2.c (__letf2): Likewise.
58980         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58981         Undefine and redefine.
58982         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58983         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58984         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58985         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58986         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58987         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58988         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58989         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58990         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58991         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58992         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58993         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58994         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58995         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58996         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58998         [BZ #16032]
58999         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
59000         without decrementing exponent if mantissa >= that for the
59001         denominator, not >.
59002         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
59003         denominator, not >.  Decrement exponent in < case instead of
59004         incrementing in >= case.
59005         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
59006         without decrementing exponent if mantissa >= that for the
59007         denominator, not >.
59009         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
59010         computing saturated result for unsigned overflow.
59012 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59013             Jeff Law  <law@redhat.com>
59015         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
59016         (atan2Mp): Add systemtap probe marker.
59017         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
59018         (__ieee754_log): Add systemtap probe marker.
59019         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
59020         (atanMp): Add systemtap probe marker.
59021         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
59022         (tanMp): Add systemtap probe marker.
59023         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
59024         (__slowexp): Add systemtap probe marker.
59025         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
59026         (__slowpow): Add systemtap probe marker.
59027         * manual/probes.texi: Document probes.
59029 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
59031         [BZ #15362]
59032         * libio/fileops.c (_IO_new_file_write): Return count of bytes
59033         written.
59034         (_IO_new_file_xsputn): Don't return EOF if nothing has been
59035         written.
59036         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
59037         written to buffer but not flushed.
59038         * libio/iofwrite_u.c:  Likewise.
59039         * libio/iopadn.c:  Return bytes returned even if EOF was
59040         encountered.
59041         * libio/iowpadn.c:  Likewise.
59042         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
59043         if _IO_padn does not write the whole buffer.
59044         [!COMPILE_WPRINTF] (PAD): Likewise.
59046 2013-10-10  David S. Miller  <davem@davemloft.net>
59048         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
59049         directory block.
59051 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59053         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
59054         instead of FSF address.
59055         * soft-fp/fixdfti.c: Likewise.
59056         * soft-fp/fixsfti.c: Likewise.
59057         * soft-fp/fixtfti.c: Likewise.
59058         * soft-fp/fixunsdfti.c: Likewise.
59059         * soft-fp/fixunssfti.c: Likewise.
59060         * soft-fp/fixunstfti.c: Likewise.
59061         * soft-fp/floattidf.c: Likewise.
59062         * soft-fp/floattisf.c: Likewise.
59063         * soft-fp/floattitf.c: Likewise.
59064         * soft-fp/floatuntidf.c: Likewise.
59065         * soft-fp/floatuntisf.c: Likewise.
59066         * soft-fp/floatuntitf.c: Likewise.
59067         * soft-fp/trunctfxf2.c: Likewise.
59069         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
59070         * soft-fp/fixdfti.c: Likewise.
59071         * soft-fp/fixsfti.c: Likewise.
59072         * soft-fp/fixtfti.c: Likewise.
59073         * soft-fp/fixunsdfti.c: Likewise.
59074         * soft-fp/fixunssfti.c: Likewise.
59075         * soft-fp/fixunstfti.c: Likewise.
59076         * soft-fp/floattidf.c: Likewise.
59077         * soft-fp/floattisf.c: Likewise.
59078         * soft-fp/floattitf.c: Likewise.
59079         * soft-fp/floatuntidf.c: Likewise.
59080         * soft-fp/floatuntisf.c: Likewise.
59081         * soft-fp/floatuntitf.c: Likewise.
59082         * soft-fp/trunctfxf2.c: Likewise.
59084 2013-10-10  David S. Miller  <davem@davemloft.net>
59086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59088 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
59090         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
59091         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
59092         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
59093         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
59094         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
59095         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
59096         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
59098         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
59099         for NaNs before doing comparisons on argument.
59100         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
59101         Likewise.
59103 2013-10-10  Will Newton  <will.newton@linaro.org>
59105         * malloc/hooks.c (memalign_check): Ensure the value of bytes
59106         passed to _int_memalign does not overflow.
59108 2013-10-10  Torvald Riegel  <triegel@redhat.com>
59110         * scripts/bench.pl: Add include-sources directive.
59111         * benchtests/README: Update documentation.
59113 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59115         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
59116         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
59117         instead of FP_INIT_ROUNDMODE.
59118         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
59119         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
59121         [BZ #16034]
59122         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
59123         copy class of input value.
59124         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
59125         not handle exceptions.
59126         * soft-fp/negsf2.c (__negsf2): Likewise.
59127         * soft-fp/negtf2.c (__negtf2): Likewise.
59128         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
59130 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
59132         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
59133         semicolon.  From Linux kernel.
59135 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
59137         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
59139 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
59141         [BZ #156]
59142         * manual/socket.texi: Added statement about buffer
59143         for gethostbyname2_r.
59145 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
59147         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
59148         Use .p2align directive instead, throughout.
59149         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59150         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
59151         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
59152         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59153         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59154         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
59155         * sysdeps/x86_64/strchr.S: Likewise.
59156         * sysdeps/x86_64/strrchr.S: Likewise.
59158 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59160         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
59162         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
59164         * sysdeps/generic/math_private.h (__mpsin1): Remove
59165         declaration.
59166         (__mpcos1): Likewise.
59167         (__mpsin): New argument __range_reduce.
59168         (__mpcos): Likewise.
59169         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59170         (slow): Use __mpsin and __mpcos.
59171         (slow1): Likewise.
59172         (slow2): Likewise.
59173         (sloww): Likewise.
59174         (sloww1): Likewise.
59175         (sloww2): Likewise.
59176         (bsloww): Likewise.
59177         (bsloww1): Likewise.
59178         (bsloww2): Likewise.
59179         (cslow2): Likewise.
59180         (csloww): Likewise.
59181         (csloww1): Likewise.
59182         (csloww2): Likewise.
59183         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59184         range_reduce.  Merge in __mpsin1.
59185         (__mpcos): Likewise.
59186         (__mpsin1): Remove.
59187         (__mpcos1): Likewise.
59189 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
59191         * locale/loadlocale.c (_nl_intern_locale_data): Use
59192         LOCFILE_ALIGNED_P.
59193         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59194         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59195         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59196         obstack data is appropriately aligned.
59197         (obstack_int32_grow_fast): Likewise.
59198         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
59199         * locale/programs/locfile.c (add_locale_uint32): Likewise.
59200         (add_locale_uint32_array): Likewise.
59202 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59204         * benchtests/Makefile: Remove ARGLIST and RET variables.
59205         ($(objpfx)bench-%.c): Pass only function name to the script.
59206         * benchtests/README: Update documentation.
59207         * benchtests/acos-inputs: Add new directives.
59208         * benchtests/acosh-inputs: Likewise.
59209         * benchtests/asin-inputs: Likewise.
59210         * benchtests/asinh-inputs: Likewise.
59211         * benchtests/atan-inputs: Likewise.
59212         * benchtests/atanh-inputs: Likewise.
59213         * benchtests/cos-inputs: Likewise.
59214         * benchtests/cosh-inputs: Likewise.
59215         * benchtests/exp-inputs: Likewise.
59216         * benchtests/log-inputs: Likewise.
59217         * benchtests/pow-inputs: Likewise.
59218         * benchtests/rint-inputs: Likewise.
59219         * benchtests/sin-inputs: Likewise.
59220         * benchtests/sinh-inputs: Likewise.
59221         * benchtests/tan-inputs: Likewise.
59222         * benchtests/tanh-inputs: Likewise.
59223         * scripts/bench.pl: Add support for new directives.
59225 2013-10-07  Alan Modra  <amodra@gmail.com>
59227         * README: Fix careless merge.
59229 2013-10-05  Alan Modra  <amodra@gmail.com>
59231         * NEWS: Mention powerpc64le support and bugs fixed.
59232         * README: Both big-endian and little-endian powerpc64 supported.
59234 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59236         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
59237         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
59238         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
59239         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
59241 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
59243         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
59244         match prototype.
59246 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
59248         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
59249         Move -mhard-float appending from
59250         ports/sysdeps/powerpc/powerpc32/Makefile.
59251         [$(with-fp) = yes] (ASFLAGS): Likewise.
59252         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
59253         * sysdeps/powerpc/nofpu: Move directory from
59254         ports/sysdeps/powerpc/nofpu.
59255         * sysdeps/powerpc/soft-fp: Move directory from
59256         ports/sysdeps/powerpc/soft-fp.
59257         * sysdeps/powerpc/powerpc32/405: Move directory from
59258         ports/sysdeps/powerpc/powerpc32/405.
59259         * sysdeps/powerpc/powerpc32/440: Move directory from
59260         ports/sysdeps/powerpc/powerpc32/440.
59261         * sysdeps/powerpc/powerpc32/464: Move directory from
59262         ports/sysdeps/powerpc/powerpc32/464.
59263         * sysdeps/powerpc/powerpc32/476: Move directory from
59264         ports/sysdeps/powerpc/powerpc32/476.
59265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
59266         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
59267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
59268         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
59269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
59270         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
59271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
59272         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
59273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
59274         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
59275         * README: Update for powerpc-*-linux-gnu software floating point
59276         support in libc.
59278         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59279         case to powerpc/powerpc32*.
59280         * sysdeps/unix/sysv/linux/configure: Regenerated.
59282         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59283         (_FPU_MASK_OM): Define as 0x04.
59284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59286         0x00c10080.
59287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59288         0x0000003c.
59289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59292         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59293         getcontext_e500.
59294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59295         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59296         setcontext_e500.
59297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59298         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59299         and setcontext_e500.
59301 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
59303         * locale/iso-3166.def: Update iso-1366.def and related occurrences
59305 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59307         * manual/threads.texi (Default Thread Attributes): Fix typo.
59309 2013-10-04  Will Newton  <will.newton@linaro.org>
59311         * malloc/Makefile: Add tst-memalign.
59312         * malloc/tst-memalign.c: New file.
59314         * malloc/tst-posix_memalign.c: Add comments.
59315         (do_test): Add comments and call free on all potentially
59316         allocated pointers. Add space after cast.
59318         * malloc/tst-pvalloc.c: Add comments.
59319         (do_test): Add comments and call free on all potentially
59320         allocated pointers. Remove duplicate check for NULL pointer.
59321         Add space after cast.
59323         * malloc/tst-valloc.c: Add comments.
59324         (do_test): Add comments and call free on all potentially
59325         allocated pointers. Remove duplicate check for NULL pointer.
59326         Add space after cast.
59328 2013-10-04  Alan Modra  <amodra@gmail.com>
59330         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59331         Use stdint types in rather than __attribute__((mode())).
59332         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59334 2013-10-04  Alan Modra  <amodra@gmail.com>
59336         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59337         Correct handling of unaligned relocs for little-endian.
59338         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59340 2013-10-04  Alan Modra  <amodra@gmail.com>
59342         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59343         * configure: Regenerate.
59344         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59345         * shlib-versions: Likewise.
59347 2013-10-04  Alan Modra  <amodra@gmail.com>
59349         * string/tester.c (test_memrchr): Increment reported test cycle.
59351 2013-10-04  Alan Modra  <amodra@gmail.com>
59353         * string/test-memcpy.c (do_one_test): When reporting errors, print
59354         string address and don't overrun end of string.
59356 2013-10-04  Alan Modra  <amodra@gmail.com>
59358         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59359         insrdi.  Make better use of reg selection to speed exit slightly.
59360         Schedule entry path a little better.  Remove useless "are we done"
59361         checks on entry to main loop.  Handle wrapping around zero address.
59362         Correct main loop count.  Handle single left-over word from main
59363         loop inline rather than by using loop_small.  Remove extra word
59364         case in loop_small caused by wrong loop count.  Add little-endian
59365         support.
59366         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59367         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59368         cache hint.
59369         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59370         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59371         support.  Avoid rlwimi.
59372         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59374 2013-10-04  Alan Modra  <amodra@gmail.com>
59376         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59377         insrdi.  Formatting.
59378         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59379         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59380         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59381         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59382         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59383         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59385 2013-10-04  Alan Modra  <amodra@gmail.com>
59387         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59388         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59389         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59390         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59391         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59392         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59393         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59394         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59395         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59396         use of regs.  Use power7 mtocrf.  Tidy function tails.
59398 2013-10-04  Alan Modra  <amodra@gmail.com>
59400         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59401         Formatting.  Consistently use rXXX register defines or rN defines.
59402         Use early exit labels that avoid restoring unused non-volatile regs.
59403         Make cr field use more consistent with rWORDn compares.  Rename
59404         regs used as shift registers for unaligned loop, using rN defines
59405         for short lifetime/multiple use regs.
59406         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59407         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59408         addi 1,1,64 to pop stack frame.  Simplify return value code.
59409         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59411 2013-10-04  Alan Modra  <amodra@gmail.com>
59413         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59414         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59415         rather than rlwimi.
59416         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59417         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59418         little-endian support.  Correct typos.
59419         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59420         rather than rlwimi.
59421         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59422         in loop and entry code to keep "and." results.
59423         (strchr): Add little-endian support.  Comment.  Move cntlzd
59424         earlier in tail.
59425         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59427 2013-10-04  Alan Modra  <amodra@gmail.com>
59429         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59430         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59431         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59432         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59434 2013-10-04  Alan Modra  <amodra@gmail.com>
59436         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59437         (rTMP): Define as r11.
59438         (strcmp): Add little-endian support.  Optimise tail.
59439         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59440         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59441         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59442         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59443         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59444         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59445         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59447 2013-10-04  Alan Modra  <amodra@gmail.com>
59449         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59450         little-endian support.  Remove unnecessary "are we done" tests.
59451         Handle "s" wrapping around zero and extremely large "size".
59452         Correct main loop count.  Handle single left-over word from main
59453         loop inline rather than by using small_loop.  Correct comments.
59454         Delete "zero" tail, use "end_max" instead.
59455         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59457 2013-10-04  Alan Modra  <amodra@gmail.com>
59459         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59460         support.  Don't branch over align.
59461         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59462         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59463         support.  Rearrange tmp reg use to suit.  Comment.
59464         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59466 2013-10-04  Alan Modra  <amodra@gmail.com>
59468         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59470 2013-10-04  Alan Modra  <amodra@gmail.com>
59472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59473         conditional form of branch and link when obtaining pc.
59474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59476 2013-10-04  Alan Modra  <amodra@gmail.com>
59478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59479         HIWORD/LOWORD.
59480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59483 2013-10-04  Alan Modra  <amodra@gmail.com>
59485         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59486         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59487         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59488         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59489         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59490         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59491         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59492         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59493         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59494         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59496 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59497             Alistair Popple <alistair@ozlabs.au.ibm.com>
59498             Alan Modra <amodra@gmail.com>
59500         [BZ #15723]
59501         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59502         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59503         _dl_hwcap access for little-endian.
59504         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59505         destroy vmx regs when saving unaligned.
59506         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59507         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59508         destroy vmx regs when saving unaligned.
59510 2013-10-04  Alan Modra  <amodra@gmail.com>
59512         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59513         Don't use a union to pack hi/low value.
59515 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59517         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59518         for little-endian.
59519         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59520         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59521         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59522         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59523         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59525 2013-10-04  Alan Modra  <amodra@gmail.com>
59527         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59528         constants to usual value for .cst8 section, and remove redundant
59529         high address load.
59530         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59531         constant for 0x1p52.  Load little-endian words of double from
59532         correct stack offsets.
59534 2013-10-04  Alan Modra  <amodra@gmail.com>
59536         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59537         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59538         words of double from correct stack offsets.
59539         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59540         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59541         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59542         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59543         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59544         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59545         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59546         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59547         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59548         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59549         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59550         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59551         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59552         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59553         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59554         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59555         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59557 2013-10-04  Alan Modra  <amodra@gmail.com>
59559         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59560         64-bit int/double union.
59561         (_FPU_SETCW): Likewise.
59562         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59563         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59565 2013-10-04  Alan Modra  <amodra@gmail.com>
59567         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59568         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59570 2013-10-04  Alan Modra  <amodra@gmail.com>
59572         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59573         use vector int constants.
59574         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59576 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59578         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59579         array with long long.
59580         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59581         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59582         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59583         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59584         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59585         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59586         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59587         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59588         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59589         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59590         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59591         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59592         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59594 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59596         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59597         (__signbit): Likewise.  Correct for little-endian.
59598         (__signbitl): Call __signbit.
59599         (lrint): Correct for little-endian.
59600         (lrintf): Call lrint.
59602 2013-10-04  Alan Modra  <amodra@gmail.com>
59604         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59605         union 32-bit int array member with 64-bit int array.
59606         (t515, tm256): Double rather than long double.
59607         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59609 2013-10-04  Alan Modra  <amodra@gmail.com>
59611         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59612         Delete.
59613         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59615         version of math_ldbl.h.
59617 2013-10-04  Alan Modra  <amodra@gmail.com>
59619         [BZ #15734], [BZ #15735]
59620         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59621         all uses of ieee875 long double macros and unions.  Simplify test
59622         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
59623         ldbl_extract_mantissa value for ix,iy exponents.  Properly
59624         normalize after ldbl_extract_mantissa, and don't add hidden bit
59625         already handled.  Don't treat low word of ieee854 mantissa like
59626         low word of IBM long double and mask off bit when testing for
59627         zero.
59628         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59629         all uses of ieee875 long double macros and unions.  Simplify tests
59630         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
59631         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
59632         two1022, instead use their values.  Recognise that tests for large
59633         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
59634         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59635         Rewrite all uses of ieee875 long double macros and unions.  Simplify
59636         test for 0.0L and nan.  Correct negation.
59637         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59638         ieee875 long double macros and unions.  Correct output for large
59639         magnitude x.  Correct absolute value calculation.
59640         (__erfcl): Likewise.
59641         * math/libm-test.inc: Add tests for errors discovered in IBM long
59642         double versions of fmodl, remainderl, erfl and erfcl.
59644 2013-10-04  Alan Modra  <amodra@gmail.com>
59646         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59647         all uses of ieee854 long double macros and unions.  Simplify tests
59648         for long doubles that are fully specified by the high double.
59649         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59650         Likewise.
59651         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59652         Remove dead code too.
59653         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59654         (__ieee754_ynl): Likewise.
59655         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59656         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59657         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59658         Remove dead code too.
59659         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59660         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59661         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59662         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59663         Simplify.
59664         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59665         Simplify.
59666         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59667         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59668         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59669         Comment on variable precision.
59670         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59671         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59672         Likewise.
59673         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59674         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59675         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59676         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59677         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59679 2013-10-04  Alan Modra  <amodra@gmail.com>
59681         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
59682         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
59683         all uses of ieee854 long double macros and unions.
59684         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
59685         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59686         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
59687         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
59688         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
59689         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59690         Likewise.
59691         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
59692         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59693         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
59694         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59695         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
59696         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
59697         Simplify sign and nan test too.
59698         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
59699         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
59700         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
59701         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59702         Likewise.
59703         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59704         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
59705         Likewise.
59706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59707         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
59708         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
59709         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
59710         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
59711         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
59713 2013-10-04  Alan Modra  <amodra@gmail.com>
59715         * stdio-common/printf_size.c (__printf_size): Don't use
59716         union ieee854_long_double in fpnum union.
59717         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
59718         signbit macro to retrieve sign from long double.
59719         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
59720         retrieve sign from long double.
59721         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
59722         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
59723         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
59724         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59725         * math/test-misc.c (main): Don't use union ieee854_long_double.
59727 2013-10-04  Alan Modra  <amodra@gmail.com>
59729         [BZ #15680]
59730         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
59731         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
59732         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
59733         calculation.  Remove unnecessary test for denormal exponent.
59734         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
59735         Correct handling of denormals.  Avoid undefined shift behaviour.
59736         Correct normalisation of low mantissa when low double is denormal.
59737         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
59738         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
59739         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
59740         Correct normalisation of low mantissa.  Test for overflow of high
59741         mantissa and normalise.
59742         (ldbl_nearbyint): Use more readable constant for two52.
59743         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
59744         (__mpn_construct_long_double): Fix test for overflow of high
59745         mantissa and correct normalisation.  Avoid undefined shift.
59747 2013-10-04  Alan Modra  <amodra@gmail.com>
59749         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59750         (union ibm_extended_long_double): Define as an array of ieee754_double.
59751         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
59752         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
59753         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
59754         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59755         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59756         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
59757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59758         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59759         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59760         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
59761         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59763 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
59765         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
59766         page size instead of calling getpagesize.
59768         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
59769         (LOCFILE_ALIGN_MASK): Likewise.
59770         (LOCFILE_ALIGN_UP): Likewise.
59771         (LOCFILE_ALIGNED_P): Likewise.
59772         * locale/programs/ld-collate.c (collate_output): Use the new
59773         macros instead of __alignof__ (int32_t).
59774         * locale/weight.h (findidx): Likewise.
59776 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
59778         [BZ #431]
59779         * manual/string.texi: Fix strncat and wcsncat.
59781 2013-10-03  Brooks Moses  <bmoses@google.com>
59783         [BZ #15915]
59784         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
59785         * Makerules: ...here, and adjust associated comments.
59787 2013-10-02  Will Newton  <will.newton@linaro.org>
59789         * malloc/Makefile: Add tst-pvalloc.
59790         * malloc/tst-pvalloc.c: New file.
59792 2013-10-02  Will Newton  <will.newton@linaro.org>
59794         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
59795         improve test coverage.
59797 2013-10-02  Will Newton  <will.newton@linaro.org>
59799         * malloc/Makefile: Add tst-posix_memalign.
59800         * malloc/tst-posix_memalign.c: New file.
59802 2013-10-01  Eric Blake  <eblake@redhat.com>
59804         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59805         Use __THROWNL rather than __THROW on static functions.
59807 2013-09-30  Petr Machata  <pmachata@redhat.com>
59809         * elf/elf.h (R_AARCH64_ABS16): New macro.
59810         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
59811         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
59812         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
59813         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
59814         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
59815         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
59816         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
59817         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
59818         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
59819         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
59820         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59821         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
59822         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
59823         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59824         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
59825         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
59826         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
59827         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
59828         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
59829         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
59830         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
59831         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
59832         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
59833         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
59834         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
59835         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
59836         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
59837         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
59838         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59839         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
59840         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
59841         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
59842         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
59843         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
59844         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59845         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
59846         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
59847         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
59848         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
59849         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
59850         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
59851         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
59852         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
59853         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
59854         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59855         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
59856         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
59857         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
59858         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
59859         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
59860         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
59861         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
59862         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
59863         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
59864         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59865         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
59866         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
59867         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
59868         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
59869         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
59870         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
59871         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
59872         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
59873         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
59874         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
59875         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
59876         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
59877         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
59878         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
59879         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
59880         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
59881         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
59882         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
59883         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
59884         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
59885         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
59886         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
59887         (R_AARCH64_TLSDESC_LDR): Likewise.
59888         (R_AARCH64_TLSDESC_ADD): Likewise.
59889         (R_AARCH64_TLSDESC_CALL): Likewise.
59891 2013-09-30  Andreas Schwab  <schwab@suse.de>
59893         [BZ #15048]
59894         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
59895         the nss database lookup.
59896         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59899 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
59901         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
59903 2013-09-28  P. J. McDermott  <pj@pehjota.net>
59905         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
59906         ${Bash-specific parameter/pattern/string} parameter expansion.
59907         * sysdeps/unix/make-syscalls.sh: Likewise.
59909 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59911         * sysdeps/sh/stackguard-macros.h: New file.
59913 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
59915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
59917         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59918         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59919         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59920         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59922 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59924         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59925         Fix thread ID register.
59927 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
59929         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59930         [POSIX || UNIX98]: Require rather than permitting all symbols from
59931         <time.h>.
59932         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59933         element of struct sched_param.
59934         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59935         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59936         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59937         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59938         constant.
59940 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
59942         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59943         argument calculation.
59945 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59947         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59948         Expect macro.
59949         [POSIX] (pthread_attr_t): Do not require type.
59950         [POSIX] (pthread_cond_t): Likewise.
59951         [POSIX] (pthread_condattr_t): Likewise.
59952         [POSIX] (pthread_key_t): Likewise.
59953         [POSIX] (pthread_mutex_t): Likewise.
59954         [POSIX] (pthread_mutexattr_t): Likewise.
59955         [POSIX] (pthread_once_t): Likewise.
59956         [POSIX] (pthread_t): Likewise.
59957         [POSIX-based standards] (pthread_atfork): Expect function.
59959 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59960             Richard Sandiford  <richard@codesourcery.com>
59962         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59963         (swap_endianness_p): New extern variable.
59964         (set_big_endian): New inline function.
59965         (maybe_swap_uint32): Likewise.
59966         (maybe_swap_uint32_array): Likewise.
59967         (maybe_swap_uint32_obstack): Likewise.
59968         * locale/programs/locfile.c: Include <stdbool.h>.
59969         (swap_endianness_p): New variable.
59970         (add_locale_uint32): Call maybe_swap_uint32.
59971         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59972         (write_locale_data): Call maybe_swap_uint32_array.
59973         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59974         maybe_swap_uint32.
59975         (obstack_int32_grow_fast): Likewise.
59976         (output_weightwc): Call maybe_swap_uint32_obstack.
59977         (collate_output): Likewise.
59978         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59979         (OPT_LITTLE_ENDIAN): Likewise.
59980         (options): Add --little-endian and --big-endian options.
59981         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59982         * locale/programs/locarchive.c: Include "locfile.h".
59983         (GET): New macro.
59984         (SET): Likewise.
59985         (INC): Likewise.
59986         (create_archive): Use the new macros to access fields of
59987         structures directly mapped from or written to locale archives.
59988         (oldlocrecentcmp): Likewise.
59989         (enlarge_archive): Likewise.
59990         (insert_name): Likewise.
59991         (add_alias): Likewise.
59992         (add_locale): Likewise.
59993         (delete_locales_from_archive): Likewise.
59994         (show_archive_content): Likewise.
59995         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59996         locale data.
59998 2013-09-24  Roland McGrath  <roland@hack.frob.com>
60000         * manual/freemanuals.texi: Updated from (newly) canonical copy at
60001         http://www.gnu.org/doc/freemanuals.texi.
60002         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
60004 2013-09-24  Will Newton  <will.newton@linaro.org>
60006         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
60007         macro.
60009 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
60011         * locale/hashval.h (compute_hashval): Interpret bytes of key as
60012         unsigned char.
60014 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
60016         * manual/threads.texi (POSIX Threads): Fix a typo.
60018 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60020         [BZ #14547]
60021         * string/tst-strcoll-overflow.c: New test case.
60022         * string/Makefile (xtests): Add tst-strcoll-overflow.
60023         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
60024         cache if string sizes may cause integer overflow.
60026         [BZ #14547]
60027         * string/strcoll_l.c (coll_seq): New members rule, idx,
60028         save_idx and back_us.
60029         (get_next_seq_nocache): New function.
60030         (do_compare_nocache): New function.
60031         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
60032         when malloc fails.
60034 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
60036         [BZ #15754]
60037         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
60038         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
60039         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
60041         [BZ #15754]
60042         * elf/Makefile (tests): Add tst-ptrguard1.
60043         (tests-static): Add tst-ptrguard1-static.
60044         (tst-ptrguard1-ARGS): Define.
60045         (tst-ptrguard1-static-ARGS): Define.
60046         * elf/tst-ptrguard1.c: New file.
60047         * elf/tst-ptrguard1-static.c: New file.
60048         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
60049         * sysdeps/i386/stackguard-macros.h: Likewise.
60050         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60051         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60052         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60053         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60054         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60055         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60057 2013-09-23  Hector Marco  <hecmargi@upv.es>
60058             Ismael Ripoll  <iripoll@disca.upv.es>
60059             Carlos O'Donell  <carlos@redhat.com>
60061         [BZ #15754]
60062         * sysdeps/generic/stackguard-macros.h: Define
60063         __pointer_chk_guard_local and POINTER_CHK_GUARD.
60064         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
60065         Define __pointer_chk_guard_local.
60066         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
60067         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
60069 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
60071         [BZ #15859]
60072         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
60074 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
60076         * include/string.h (__ffs): Declare as hidden.
60077         * string/ffs.c (__ffs): Define as hidden.
60078         * sysdeps/i386/ffs.c (__ffs): Likewise.
60079         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
60080         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
60081         * sysdeps/s390/ffs.c (__ffs): Likewise.
60082         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
60084 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
60086         * NEWS: Mention malloc probes.
60088         * malloc/arena.c (new_heap): New memory_heap_new probe.
60089         (grow_heap): New memory_heap_more probe.
60090         (shrink_heap): New memory_heap_less probe.
60091         (heap_trim): New memory_heap_free probe.
60092         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60093         (systrim): New memory_sbrk_less probe.
60094         * manual/probes.texi: Document them.
60096         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
60097         * manual/probes.texi: Document it.
60099         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
60100         (__libc_realloc): Add memory_realloc_retry probe.
60101         (__libc_memalign): Add memory_memalign_retry probe.
60102         (__libc_valloc): Add memory_valloc_retry probe.
60103         (__libc_pvalloc): Add memory_pvalloc_retry probe.
60104         (__libc_calloc): Add memory_calloc_retry probe.
60105         * manual/probes.texi: Document them.
60107         * malloc/arena.c (get_free_list): Add probe
60108         memory_arena_reuse_free_list.
60109         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
60110         and memory_arena_reuse.
60111         (arena_get2) [!PER_THREAD]: Likewise.
60112         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
60113         memory_arena_reuse_realloc.
60114         * manual/probes.texi: Document them.
60116         * malloc/malloc.c (__libc_free): Add
60117         memory_mallopt_free_dyn_thresholds probe.
60118         (__libc_mallopt): Add multiple memory_mallopt probes.
60119         * manual/probes.texi: Document them.
60121         * malloc/malloc.c: Include stap-probe.h.
60122         (__libc_mallopt): Add memory_mallopt probe.
60123         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
60124         * manual/probes.texi: New.
60125         * manual/Makefile (chapters): Add probes.
60126         * manual/threads.texi: Set next node.
60128 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
60130         [BZ #15963, #13985]
60131         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
60132         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60133         Add `Chinese' to `nan' entry name.
60135 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60137         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
60138         (POLYNOMIAL): Likewise.
60139         (TAYLOR_SINCOS): Likewise.
60140         (TAYLOR_SLOW): Likewise.
60141         (__sin): Use TAYLOR_SINCOS.
60142         (__cos): Likewise.
60143         (slow): Use TAYLOR_SLOW.
60144         (sloww): Likewise.
60145         (bsloww): Likewise.
60146         (csloww): Likewise.
60148 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60150         * stdlib/strtod_l.c: Fix buffer overrun.
60152 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60154         * benchtests/Makefile (bench): Add sincos.
60155         * benchtests/bench-sincos.c: New file.
60157         * math/libm-test.inc (cos_test_data): New test inputs.
60158         (sin_test_data): Likewise.
60160         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
60161         macro.
60162         (__sin): Use it.
60163         (__cos): Likewise.
60164         (slow1): Likewise.
60165         (slow2): Likewise.
60166         (sloww1): Likewise.
60167         (sloww2): Likewise.
60168         (bsloww1): Likewise.
60169         (bsloww2): Likewise.
60170         (cslow2): Likewise.
60171         (csloww1): Likewise.
60172         (csloww2): Likewise.
60174         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
60175         function.
60176         (__sin): Use it.
60177         (__cos): Likewise.
60179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60180         gotos.
60181         (__cos): Likewise.
60183 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
60185         * config.h.in (HAVE_MIPS_NAN2008): New macro.
60186         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60187         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60188         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60189         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60190         * elf/cache.c (print_entry): Handle the new cache flags.
60192 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60193             Aldy Hernandez  <aldyh@redhat.com>
60195         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60196         Change condition to [_SOFT_FLOAT].
60197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
60198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
60199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
60200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
60201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
60202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
60203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
60204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
60205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
60206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
60207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
60208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
60209         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
60210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
60211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
60212         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
60213         declaration.
60215 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60217         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
60218         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60219         (__longjmp): Use LOAD_GP to load saved GPRs.
60220         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
60221         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60222         (__sigsetjmp): Use SAVE_GP to save GPRs.
60224         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
60225         Do not append -msoft-float.
60226         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
60228 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60230         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60232 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
60234         [BZ #15966]
60235         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60236         (_FPU_GETCW): Use initial "__" on variable and field names but not
60237         on macro parameter name.
60238         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
60239         parentheses around reference to macro parameter.
60241 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
60243         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
60244         prototype.
60245         (ctype_startup): Use uint32_t in cast and sizeof for
60246         ctype->charnames.
60248 2013-09-11  Jia Liu  <proljc@gmail.com>
60250         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
60251         __daddr_t_defined.
60252         [__FreeBSD__]: Likewise.
60254 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
60256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60257         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
60258         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
60259         (strchr): Remove __strchr_sse42 ifunc selection.
60260         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
60261         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
60263 2013-09-11  Will Newton  <will.newton@linaro.org>
60265         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
60266         parameter to RES. Remove hardcoded 1000 value.
60267         * benchtests/bench-skeleton.c (main): Pass RES parameter
60268         to TIMING_INIT and multiply result by 1000.
60270 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60274 2013-09-11  Andreas Schwab  <schwab@suse.de>
60276         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60277         if not defined.
60278         (O_TMPFILE) [__USE_GNU]: Define.
60279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60280         Define.
60282 2013-09-11  Will Newton  <will.newton@linaro.org>
60284         [BZ #15857]
60285         * malloc/malloc.c (__libc_memalign): Check the value of bytes
60286         does not overflow.
60288 2013-09-11  Will Newton  <will.newton@linaro.org>
60290         [BZ #15856]
60291         * malloc/malloc.c (__libc_valloc): Check the value of bytes
60292         does not overflow.
60294 2013-09-11  Will Newton  <will.newton@linaro.org>
60296         [BZ #15855]
60297         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60298         does not overflow.
60300 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
60302         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60303         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60304         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60305         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60306         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60308 2013-09-10  Allan McRae  <allan@archlinux.org>
60310         [BZ #15748]
60311         * manual/arith.texi (Parsing of Floats): Clarify
60312         cross-reference.
60314         [BZ #15849]
60315         * manual/install.texi (Running make install): Mention
60316         --enable-pt-chown.
60317         * INSTALL: Regenerated.
60319 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
60321         * csu/init-first.c (_init): Remove the !SHARED condition around
60322         FPU control word initialization.
60323         * elf/dl-support.c (_dl_fpu_control): New variable.
60324         (_dl_aux_init) <AT_FPUCW>: Initialize it.
60325         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60326         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60327         * math/test-fpucw-static.c: New file.
60328         * math/test-fpucw-ieee.c: New file.
60329         * math/test-fpucw-ieee-static.c: New file.
60330         * math/Makefile (tests): Add `test-fpucw-ieee' and
60331         `$(tests-static)'.
60332         (tests-static): New variable.
60333         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60334         dependency to...
60335         [($(build-shared),yes)]
60336         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60337         ... this.
60338         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60339         New dependency.
60341 2013-09-09  Allan McRae  <allan@archlinux.org>
60343         [BZ #15939]
60344         * manual/string.texi (Collation Functions): Fix typo in
60345         strcoll example.
60346         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60348         [BZ #15893]
60349         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60351         [BZ #15892]
60352         * libio/memstream.c (open_memstream): Fix memory leak.
60353         * libio/wmemstream.c (open_wmemstream): Likewise.
60355         [BZ #15895]
60356         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60358 2013-09-09  Will Newton  <will.newton@linaro.org>
60360         * malloc/Makefile: Add tst-realloc to tests.
60361         * malloc/tst-realloc.c: New file.
60363 2013-09-09  Allan McRae  <allan@archlinux.org>
60365         [BZ #15844]
60366         * COPYING: Update from GNU website to fix FSF address.
60367         * COPYING.LIB: Likewise.
60369 2013-09-06  David S. Miller  <davem@davemloft.net>
60371         * po/zh_TW.po: Update Chinese (traditional) translation from
60372         translation project.
60374 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60375             Joseph Myers  <joseph@codesourcery.com>
60377         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60378         "localeinfo.h".
60379         (obstack_chunk_alloc): New macro.
60380         (obstack_chunk_free): Likewise.
60381         (record_offset): New function.
60382         (init_locale_data): Likewise.
60383         (align_locale_data): Likewise.
60384         (add_locale_empty): Likewise.
60385         (add_locale_raw_data): Likewise.
60386         (add_locale_raw_obstack): Likewise.
60387         (add_locale_string): Likewise.
60388         (add_locale_wstring): Likewise.
60389         (add_locale_uint32): Likewise.
60390         (add_locale_uint32_array): Likewise.
60391         (add_locale_char): Likewise.
60392         (start_locale_structure): Likewise.
60393         (end_locale_structure): Likewise.
60394         (start_locale_prelude): Likewise.
60395         (end_locale_prelude): Likewise.
60396         (write_locale_data): Take locale_file structure rather than an
60397         iovec.
60398         * locale/programs/locfile.h: Include "obstack.h".
60399         (struct locale_file): Change to store locale file contents instead
60400         of header.
60401         (init_locale_data): New prototype.
60402         (align_locale_data): Likewise.
60403         (add_locale_empty): Likewise.
60404         (add_locale_raw_data): Likewise.
60405         (add_locale_raw_obstack): Likewise.
60406         (add_locale_string): Likewise.
60407         (add_locale_wstring): Likewise.
60408         (add_locale_uint32): Likewise.
60409         (add_locale_uint32_array): Likewise.
60410         (add_locale_char): Likewise.
60411         (start_locale_structure): Likewise.
60412         (end_locale_structure): Likewise.
60413         (start_locale_prelude): Likewise.
60414         (end_locale_prelude): Likewise.
60415         (write_locale_data): Update prototype.
60416         * locale/programs/3level.h (struct TABLE): Remove result field.
60417         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60418         Use new locale_file interface.
60419         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60420         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60421         * locale/programs/ld-address.c (address_output): Use new
60422         locale_file interface.
60423         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60424         NO_ADD_LOCALE.
60425         (collate_finish): Don't call collseq_table_finalize.
60426         (collate_output): Use new locale_file interface.
60427         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60428         in file.
60429         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60430         (TABLE): Move defines earlier in file.
60431         (ELEMENT): Likewise.
60432         (DEFAULT): Likewise.
60433         (wctrans_table_add): Move macro and inline function earlier in
60434         file.
60435         (struct wctype_table): Move type earlier in file.
60436         (add_locale_wctype_table): New static prototype.
60437         (struct locale_ctype_t): Use logical types instead of struct iovec
60438         pointers for members.
60439         (ctype_output): Use new locale_file interface.
60440         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60441         new locale_file interface.
60442         (allocate_arrays): Update for use of new locale_file interface.
60443         * locale/programs/ld-identification.c (identification_output): Use
60444         new locale_file interface.
60445         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60446         * locale/programs/ld-messages.c (messages_output): Likewise.
60447         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60448         * locale/programs/ld-name.c (name_output): Likewise.
60449         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60450         * locale/programs/ld-paper.c (paper_output): Likewise.
60451         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60452         * locale/programs/ld-time.c (time_output): Likewise.
60454 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60456         * benchtests/Makefile: Add memrchr benchmark.
60457         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60458         benchmark as memrchr.
60459         * benchtests/bench-memrchr-ifunc.c: New file.
60460         * benchtests/bench-memrchr.c: New file.
60462 2013-09-06   Will Newton  <will.newton@linaro.org>
60464         * benchtests/Makefile (string-bench): Add memcpy.
60466 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60467             Cong Wang  <amwang@redhat.com>
60469         [BZ #15850]
60470         * sysdeps/unix/sysv/linux/bits/in.h
60471         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60472         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60473         before __USE_KERNEL_IPV6_DEFS uses.
60474         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60475         IPPROTO_BEETPH.
60476         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60477         sockaddr_in6, or ipv6_mreq.
60479 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60481         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60482         memory access for final bytes in some large inputs.
60483         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60485 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60487         * string/test-memrchr.c: New file.
60488         * string/test-memrchr-ifunc.c: New file.
60489         * string/Makefile: Add new memrchr testcase.
60491 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60493         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60494         fanotify_init returns EPERM.
60496 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60498         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60499         errors.
60500         (top level): Treat second token from macro or constant entries for
60501         allowed headers as allowed.
60502         * include/complex.h: Condition internal declarations on
60503         [!_ISOMAC].
60504         * include/fenv.h: Condition include of <stdbool.h> and internal
60505         declarations on [!_ISOMAC].
60507 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60509         [BZ #15923]
60510         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60512 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60514         * configure.in (--enable-versioning): Remove configure option.
60515         (libc_cv_asm_symver_directive): Remove configure test.
60516         (libc_cv_ld_version_script_option): Likewise.
60517         (VERSIONING): Remove variable and AC_SUBST.
60518         (DO_VERSIONING): Remove AC_DEFINE.
60519         * configure: Regenerated.
60520         * config.h.in (DO_VERSIONING): Remove macro.
60521         * Makerules [$(versioning) = yes]: Change conditionals to
60522         [$(build-shared) = yes].
60523         * config.make.in (versioning): Remove variable.
60524         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60525         [$(build-shared) = yes].
60526         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60527         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60528         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60529         [$(build-shared) = yes].
60530         * extra-lib.mk [$(versioning) = yes]: Likewise.
60531         * hurd/Makefile [$(versioning) = yes]: Likewise.
60532         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60533         [SHARED].
60534         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60535         [SHARED].
60536         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60537         [SHARED && !NO_HIDDEN].
60538         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60539         [SHARED].
60540         [SHARED && DO_VERSIONING]: Likewise..
60541         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60542         [$(build-shared) = yes].
60543         * manual/install.texi (--disable-versioning): Remove
60544         documentation.
60545         * INSTALL: Regenerated.
60546         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60547         to [SHARED].
60548         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60549         [$(build-shared) = yes].
60550         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60551         * sysdeps/i386/i686/multiarch/strstr-c.c
60552         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60553         [SHARED && !NO_HIDDEN].
60554         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60555         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60556         * sysdeps/powerpc/powerpc32/dl-machine.c
60557         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60558         * sysdeps/powerpc/powerpc32/sysdep.h
60559         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60560         to [SHARED && PIC && !NO_HIDDEN].
60561         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60562         conditional to [SHARED].
60564 2013-09-04   Will Newton  <will.newton@linaro.org>
60566         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60567         * benchtests/bench-string.h: Include bench-timing.h instead
60568         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60569         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60570         call to HP_TIMING_DIFF_INIT.
60571         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60572         instead of hp-timing.h macros.
60573         * benchtests/bench-memchr.c: Likewise.
60574         * benchtests/bench-memcmp.c: Likewise.
60575         * benchtests/bench-memcpy.c: Likewise.
60576         * benchtests/bench-memmem.c: Likewise.
60577         * benchtests/bench-memmove.c: Likewise.
60578         * benchtests/bench-memset.c: Likewise.
60579         * benchtests/bench-rawmemchr.c: Likewise.
60580         * benchtests/bench-strcasecmp.c: Likewise.
60581         * benchtests/bench-strcasestr.c: Likewise.
60582         * benchtests/bench-strcat.c: Likewise.
60583         * benchtests/bench-strchr.c: Likewise.
60584         * benchtests/bench-strcmp.c: Likewise.
60585         * benchtests/bench-strcpy.c: Likewise.
60586         * benchtests/bench-strcpy_chk.c: Likewise.
60587         * benchtests/bench-strlen.c: Likewise.
60588         * benchtests/bench-strncasecmp.c: Likewise.
60589         * benchtests/bench-strncat.c: Likewise.
60590         * benchtests/bench-strncmp.c: Likewise.
60591         * benchtests/bench-strncpy.c: Likewise.
60592         * benchtests/bench-strnlen.c: Likewise.
60593         * benchtests/bench-strpbrk.c: Likewise.
60594         * benchtests/bench-strrchr.c: Likewise.
60595         * benchtests/bench-strspn.c: Likewise.
60596         * benchtests/bench-strstr.c: Likewise.
60598 2013-09-04  Will Newton  <will.newton@linaro.org>
60600         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60602 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60604         [BZ #15427]
60605         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60606         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60607         * math/libm-test.inc (lgamma_test_data): Add more tests.
60608         * sysdeps/i386/fpu/libm-test-ulps: Update.
60609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60611 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60613         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60615         Add ifunc.
60616         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60617         Add strcmp-sse2-unaligned
60618         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60620 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60622         * Versions.def (libc): Add GLIBC_2.19.
60624 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60626         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60627         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60629 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
60631         [BZ #14155]
60632         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60633         intermediate calculations in recurrence.
60634         (__ieee754_ynf): Likewise.
60635         * math/libm-test.inc (jn_test_data): Do not allow spurious
60636         underflow exception.  Add more tests.
60637         (yn_test_data): Add more tests.
60638         * sysdeps/i386/fpu/libm-test-ulps: Update.
60639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60641 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
60643         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60645 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60647         * csu/init-first.c: Fix then/than typos.
60648         * locale/programs/ld-collate.c: Likewise.
60649         * locale/programs/linereader.h: Likewise.
60650         * manual/charset.texi: Likewise.
60651         * manual/filesys.texi: Likewise.
60652         * manual/stdio.texi: Likewise.
60653         * manual/string.texi: Likewise.
60654         * stdlib/fmtmsg.c: Likewise.
60655         * sysdeps/i386/stpncpy.S: Likewise.
60656         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60657         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60658         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60659         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60661 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60663         * elf/dl-open.c: Fix typos.
60664         * iconvdata/gbbig5.c: Likewise.
60665         * iconvdata/iso-2022-jp.c: Likewise.
60666         * iconv/gconv_int.h: Likewise.
60667         * iconv/loop.c: Likewise.
60668         * nis/rpcsvc/nis.h: Likewise.
60669         * resolv/ns_name.c: Likewise.
60670         * stdio-common/vfscanf.c: Likewise.
60671         * streams/stropts.h: Likewise.
60672         * sunrpc/rpc_thread.c: Likewise.
60673         * sysdeps/i386/strpbrk.S: Likewise.
60674         * sysdeps/ieee754/k_standard.c: Likewise.
60675         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60676         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60677         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60678         * sysdeps/mach/hurd/profil.c: Likewise.
60679         * sysdeps/s390/dl-procinfo.h: Likewise.
60680         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60681         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
60682         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
60683         * sysdeps/x86_64/dl-trampoline.S: Likewise.
60684         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60686 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
60688         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
60689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
60691 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
60693         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
60694         aix specific files.
60695         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
60696         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
60697         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
60698         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
60699         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
60700         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
60701         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
60702         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60704 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60705             Roland McGrath  <roland@hack.frob.com>
60707         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
60708         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
60710 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60712         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
60713         __executable_start symbol instead of _start.
60715 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60717         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
60718         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
60719         Move macros to...
60720         * sysdeps/gnu/ldsodefs.h: ... this new file.
60722         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
60723         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
60724         instead of ELFOSABI_LINUX.
60726         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
60727         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
60728         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
60729         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
60730         Likewise.
60731         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
60732         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
60733         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
60734         Likewise.
60735         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60736         (ibm_extended_long_double): Add ieee_nan member.
60737         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
60738         (do_test): New function.
60740         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
60741         TEST_TRUNC.
60742         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
60743         functions, renamed from truncdfsf_test, trunctfsf_test,
60744         trunctfdf_test.
60745         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
60746         functions.
60747         (do_test): Run all these.
60749 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
60751         * argp/argp-help.c: Fix typos.
60752         * argp/argp-parse.c: Likewise.
60753         * debug/backtracesyms.c: Likewise.
60754         * elf/elf.h: Likewise.
60755         * malloc/malloc.c: Likewise.
60756         * nis/nis_print.c: Likewise.
60757         * resolv/res_comp.c: Likewise.
60758         * stdlib/stdlib.h: Likewise.
60759         * sunrpc/clnt_tcp.c: Likewise.
60760         * sunrpc/clnt_udp.c: Likewise.
60761         * sunrpc/clnt_unix.c: Likewise.
60762         * sysdeps/unix/bsd/ptsname.c: Likewise.
60763         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
60764         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
60765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
60766         Likewise.
60767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
60768         Likewise.
60769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
60770         Likewise.
60771         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60773 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60775         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
60776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60778 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
60780         [BZ #15897]
60781         * dlfcn/Makefile (tests): Add bug-dl-leaf.
60782         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
60783         ($(objpfx)bug-dl-leaf): New rule.
60784         ($(objpfx)bug-dl-leaf.so): Likewise.
60785         ($(objpfx)bug-dl-leaf.out): Likewise.
60786         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
60787         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
60788         * dlfcn/bug-dl-leaf.c: New test.
60789         * dlfcn/bug-dl-leaf-lib.c: Likewise.
60790         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
60791         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
60792         (dlclose): Likewise.
60793         (dlmopen): Likewise.
60795 2013-08-27  Roland McGrath  <roland@hack.frob.com>
60797         * include/netdb.h [!_ISOMAC]:
60798         Don't include <tls.h>.
60799         (h_errno, __libc_h_errno): Move declaration and macros out of
60800         [_LIBC_REENTRANT].
60802         * include/resolv.h [_RESOLV_H_]:
60803         Don't include <tls.h>.
60804         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
60805         * resolv/res_libc.c: Don't include <tls.h>.
60806         (_res): Use __attribute__ ((nocommon)) in place of
60807         __attribute__ ((section (".bss"))).
60809         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
60810         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60812         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
60814         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
60815         only under [SIOCGIFCONF && SIOCGIFNETMASK].
60817         * resolv/res_mkquery.c: Include <sys/time.h>.
60819         * inet/ifreq.c: Moved to ...
60820         * sysdeps/unix/ifreq.c: ... here.
60821         * inet/ifreq.c: New file, true stub version.
60823         * socket/sa_len.c: New file.
60824         * socket/Makefile (aux): Add it.
60825         * sysdeps/unix/sysv/linux/Makefile
60826         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
60827         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
60828         and #include <socket/sa_len.c>.
60829         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
60830         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
60832         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
60833         * bits/socket.h: ... here.
60835         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
60836         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
60837         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
60839 2013-08-27  Andreas Schwab  <schwab@suse.de>
60841         [BZ #15736]
60842         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
60843         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
60844         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
60845         * string/test-strcasecmp.c (test_main): Run tests in several
60846         locales.
60847         * string/test-strncasecmp.c (test_main): Likewise.
60849         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
60850         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
60851         to __strcasecmp_nonascii and __strncasecmp_nonascii.
60852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
60853         (__strncasecmp_ssse3) [PIC]: Likewise.
60855 2013-08-26  Roland McGrath  <roland@hack.frob.com>
60857         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
60859         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
60860         instead of explicitly declaring xdecrypt.
60861         * nis/nss_nis/nis-publickey.c: Likewise.
60863 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60865         [BZ #15890]
60866         * nscd/aicache.c: Include res_hconf.h.
60867         (addhstaiX): Initialize res_hconf.
60869 2013-08-26  Andreas Schwab  <schwab@suse.de>
60871         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
60872         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
60874 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60876         * nscd/aicache.c (addhstaiX): Fix indentation.
60878 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
60880         * configure.ac: Quote $build_pt_chown test.
60881         * configure: Regenerated.
60883 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
60885         [BZ #15532]
60886         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
60887         * math/s_cexpf.c (__cexpf): Likewise.
60888         * math/s_cexpl.c (__cexpl): Likewise.
60889         * math/libm-test.inc (cexp_test_data): Correct expected return
60890         value for NaN + i0.  Add another test.
60892 2013-08-22  David S. Miller  <davem@davemloft.net>
60894         * po/ca.po: Update Catalan translation from translation project.
60895         * po/uk.po: Add Ukrainian translations from translation project.
60897 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
60899         [BZ #15797]
60900         * math/s_fdim.c (__fdim): Check for infinite arguments if result
60901         is infinite, not alongside NaN test.
60902         * math/s_fdimf.c (__fdimf): Likewise.
60903         * math/s_fdiml.c (__fdiml): Likewise.
60904         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
60905         errno is unchanged.
60907 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
60909         * argp/argp-help.c: Fix typos.
60910         * crypt/speeds.c: Likewise.
60911         * csu/check_fds.c: Likewise.
60912         * elf/dl-load.c: Likewise.
60913         * elf/dl-open.c: Likewise.
60914         * elf/reldep3.c: Likewise.
60915         * elf/reldep.c: Likewise.
60916         * elf/sprof.c: Likewise.
60917         * iconv/iconv_charmap.c: Likewise.
60918         * iconv/skeleton.c: Likewise.
60919         * iconv/strtab.c: Likewise.
60920         * io/lockf64.c: Likewise.
60921         * libio/libioP.h: Likewise.
60922         * resolv/gai_notify.c: Likewise.
60923         * resolv/ns_name.c: Likewise.
60924         * resolv/ns_samedomain.c: Likewise.
60925         * resolv/res_send.c: Likewise.
60926         * stdlib/random.c: Likewise.
60927         * sunrpc/rpc/xdr.h: Likewise.
60928         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60929         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60930         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60931         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60932         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60933         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60935         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60936         * sysdeps/mach/hurd/check_fds.c: Likewise.
60937         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60938         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60939         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60940         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60941         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60942         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60943         * sysdeps/pthread/aio_notify.c: Likewise.
60944         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60945         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60946         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60948         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60950 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60952         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60953         version if bit_Slow_SSE4_2 is set.
60954         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60955         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60957 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60959         [BZ #15867]
60960         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60961         trampoline stack frame information.
60962         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60963         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60964         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60965         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60966         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60967         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60968         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60969         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60970         sa_flags value.
60971         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60972         interrupting a syscall and set with option SA_SIGINFO.
60974 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60976         [BZ #15531]
60977         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60978         argument is infinite.
60979         * math/s_cprojf.c (__cprojf): Likewise.
60980         * math/s_cprojl.c (__cprojl): Likewise.
60981         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60982         * math/libm-test.inc (cproj_test_data): Add more tests.
60984         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60986         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60987         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60988         size.  Use __ffs to determine corresponding shift.
60990 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60991             Roland McGrath  <roland@hack.frob.com>
60993         * Makefile (INSTALL): Remove trailing blank lines from output of
60994         makeinfo.
60996 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60998         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60999         Align 32 bit compat elf_greg to 8 bytes.
61001 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
61003         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
61005 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61007         * string/strcoll_l.c (coll_seq): New structure.
61008         (get_next_seq_cached): New function.
61009         (get_next_seq): New function.
61010         (do_compare): New function.
61011         (STRCOLL): Use GNU style definition.  Simplify implementation
61012         by using get_next_seq, get_next_seq_cached and do_compare.
61014 2013-08-16  Florian Weimer  <fweimer@redhat.com>
61016         [BZ #14699]
61017         CVE-2013-4237
61018         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
61019         member.
61020         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
61021         member.
61022         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
61023         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
61024         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
61025         conditional.
61026         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
61027         GETDENTS_64BIT_ALIGNED.
61028         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61029         * manual/filesys.texi (Reading/Closing Directory): Document
61030         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
61031         strongly.
61032         * manual/conf.texi (Limits for Files): Add portability note to
61033         NAME_MAX, PATH_MAX.
61034         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
61036 2013-08-13  Andreas Schwab  <schwab@suse.de>
61038         [BZ #15749]
61039         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
61040         of fabs.
61041         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
61042         LDBL_MAX_EXP >= 16384]: Add tests for it.
61044 2013-08-12  David S. Miller  <davem@davemloft.net>
61046         * version.h (RELEASE): Set to "development".
61047         (VERSION): Set to "2.18.90".
61048         * NEWS: Add 2.19 section.
61050 2013-08-03  David S. Miller  <davem@davemloft.net>
61052         * po/ko.po: Update Korean translation from translation project.
61054 2013-08-01  David S. Miller  <davem@davemloft.net>
61056         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
61057         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
61058         Bilka.
61060 2013-07-30  David S. Miller  <davem@davemloft.net>
61062         * po/fr.po: Update French translation from translation project.
61064 2013-07-28  David S. Miller  <davem@davemloft.net>
61066         * po/cs.po: Update Czech translation from translation project.
61068         * po/sv.po: Update Swedish translation from translation project.
61070 2013-07-27  David S. Miller  <davem@davemloft.net>
61072         * po/eo.po: Update Esperanto translation from translation project.
61074         * po/vi.po: Update Vietnamese translation from translation project.
61076         * po/de.po: Update German translation from translation project.
61078 2013-07-26  David S. Miller  <davem@davemloft.net>
61080         * po/bg.po: Update Bulgarian translation from translation project.
61082         * po/nl.po: Update Dutch translation from translation project.
61083         * po/pl.po: Update Polish translation from translation project.
61084         * po/ru.po: Update Russian translation from translation project.
61086 2013-07-24  David S. Miller  <davem@davemloft.net>
61088         * po/libc.pot: Update.
61090 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61092         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
61093         variable page size.
61094         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
61095         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61096         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
61098 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61100         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
61102 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61103             Andreas Schwab  <schwab@suse.de>
61104             Roland McGrath  <roland@hack.frob.com>
61105             Joseph Myers  <joseph@codesourcery.com>
61106             Carlos O'Donell  <carlos@redhat.com>
61108         [BZ #15755]
61109         * config.h.in: Define HAVE_PT_CHOWN.
61110         * config.make.in (build-pt-chown): New variable.
61111         * configure.in (--enable-pt_chown): New configure option.
61112         * configure: Regenerate.
61113         * login/Makefile: Include Makeconfig.  Build pt_chown only if
61114         build-pt-chown is enabled.
61115         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
61116         pt_chown to fix pty ownership.
61117         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
61118         CLOSE_ALL_FDS.
61119         * manual/install.texi (Configuring and compiling): Mention
61120         --enable-pt_chown. Add @findex for grantpt.
61121         * INSTALL: Regenerate.
61123 2013-07-20  David S. Miller  <davem@davemloft.net>
61125         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
61126         difference between 32-bit and 64-bit.
61128 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
61130         [BZ #15711]
61131         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
61132         Avoid system header dependency with -ffreestanding.
61133         ($(objpfx)bits/syscall%d): Likewise.
61135 2013-07-13  David S. Miller  <davem@davemloft.net>
61137         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
61138         underflows from atanl/atan2l due to bug 15319.
61139         (casinh_test_data): Likewise.
61141 2013-07-07  David S. Miller  <davem@davemloft.net>
61143         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
61145 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
61147         * sysdeps/i386/fpu/libm-test-ulps: Update.
61148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61150 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61152         * configure.in (--enable-lock-elision): Fix message text.
61153         * INSTALL: Regenerate.
61154         * configure: Regenerate.
61156 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61160 2013-07-03  Andreas Jaeger  <aj@suse.de>
61162         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
61163         define.
61164         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
61165         (ptrace_peeksiginfo_args): Add.
61166         (__ptrace_peeksiginfo_flags): Add.
61167         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61168         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61169         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61171 2013-07-03  Allan McRae  <allan@archlinux.org>
61173         * sysdeps/i386/fpu/libm-test-ulps: Update.
61175 2013-07-02  David S. Miller  <davem@davemloft.net>
61177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61179 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
61181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61183 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61185         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61188 2013-07-02  Andi Kleen <ak@linux.intel.com>
61190         * config.h.in (ENABLE_LOCK_ELISION): Add.
61191         * configure.in (--enable-lock-elision): Add option.
61192         * manual/install.texi: Document --enable lock elision.
61193         * configure: Regenerate
61194         * INSTALL: Regenerate.
61196 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
61198         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
61199         SSE4.2 strcasecmp for libc.a.
61200         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61202 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61204         [BZ #13304]
61205         * soft-fp/op-common.h (_FP_FMA): New macro.
61206         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
61207         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
61208         (_FP_MUL_MEAT_1_imm): ... here.
61209         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
61210         (_FP_MUL_MEAT_1_wide): ... here.
61211         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
61212         (_FP_MUL_MEAT_1_hard): ... here.
61213         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
61214         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
61215         (_FP_MUL_MEAT_2_wide): ... here.
61216         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
61217         (_FP_MUL_MEAT_2_wide_3mul): ... here.
61218         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
61219         (_FP_MUL_MEAT_2_gmp): ... here.
61220         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
61221         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
61222         (_FP_MUL_MEAT_4_wide): ... here.
61223         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
61224         (_FP_MUL_MEAT_4_gmp): ... here.
61225         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
61226         (_FP_WFRACBITS_DW_S): Likewise.
61227         (_FP_WFRACXBITS_DW_S): Likewise.
61228         (_FP_HIGHBIT_DW_S): Likewise.
61229         (FP_FMA_S): Likewise.
61230         (_FP_FRAC_HIGH_DW_S): Likewise.
61231         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
61232         (_FP_WFRACBITS_DW_D): Likewise.
61233         (_FP_WFRACXBITS_DW_D): Likewise.
61234         (_FP_HIGHBIT_DW_D): Likewise.
61235         (FP_FMA_D): Likewise.
61236         (_FP_FRAC_HIGH_DW_D): Likewise.
61237         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
61238         (_FP_WFRACBITS_DW_E): Likewise.
61239         (_FP_WFRACXBITS_DW_E): Likewise.
61240         (_FP_HIGHBIT_DW_E): Likewise.
61241         (FP_FMA_E): Likewise.
61242         (_FP_FRAC_HIGH_DW_E): Likewise.
61243         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
61244         (_FP_WFRACBITS_DW_Q): Likewise.
61245         (_FP_WFRACXBITS_DW_Q): Likewise.
61246         (_FP_HIGHBIT_DW_Q): Likewise.
61247         (FP_FMA_Q): Likewise.
61248         (_FP_FRAC_HIGH_DW_Q): Likewise.
61249         * soft-fp/fmasf4.c: New file.
61250         * soft-fp/fmadf4.c: Likewise.
61251         * soft-fp/fmatf4.c: Likewise.
61253 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61256         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
61257         Silvermont.
61258         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
61259         macro.
61260         (index_Slow_SSE4_2): Likewise.
61261         (index_Prefer_PMINUB_for_stringop): Likewise.
61262         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
61263         bit_Slow_SSE4_2 is set.
61264         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61265         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61267 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61269         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
61270         rtld_global._dl_hwcap2.
61271         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
61272         POWER8.
61273         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
61274         POWER8 feature descriptions defined in _dl_hwcap2.
61275         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61276         string handling for POWER8 feature bits.
61277         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61278         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61279         _dl_powerpc_cap_flags.
61280         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61281         * sysdeps/powerpc/rtld-global-offsets.sym
61282         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61283         _dl_hwcap2 in the rtld_global_ro structure.
61285 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61287         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61288         hardware capabilities in support of AT_HWCAP2.
61289         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61290         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61291         GLRO(dl_hwcap2).
61292         (_dl_show_auxv): Add support for calling _dl_procinfo to display
61293         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
61294         explicitly the unknown a_type display mechanism is used.
61295         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61296         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61297         struct member.
61298         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61299         to macro prototype for AT_HWCAP2 support.
61300         * sysdeps/i386/dl-procinfo.h: Likewise.
61301         * sysdeps/s390/dl-procinfo.h: Likewise.
61302         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61303         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
61304         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
61305         return -1 for unknown a_type display fallback.
61306         * sysdeps/sparc/dl-procinfo.h: Likewise.
61307         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61308         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61310 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
61312         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61313         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61315 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
61317         [BZ #12492]
61318         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61319         mprotect making __stack_prot writable.
61321 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
61322             Joseph Myers  <joseph@codesourcery.com>
61324         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61325         as being properly aligned.
61327 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61329         * dlfcn/modstatic5.c: New file.
61330         * dlfcn/tststatic5.c: New file.
61331         * dlfcn/Makefile (tests): Add tststatic5.
61332         (tests-static): Likewise.
61333         (modules-names): Add modstatic5.
61334         (tststatic5-ENV): New variable.
61335         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61337         [BZ #15022]
61338         * elf/dl-support.c (_dl_main_map): New variable.
61339         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61340         (_dl_nns, _dl_load_adds): Set to 1.
61341         (_dl_initial_searchlist): Refer to _dl_main_map.
61342         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61343         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61344         call to _dl_get_origin.
61345         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61346         around call_map.
61347         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61348         * dlfcn/modstatic3.c: New file.
61349         * dlfcn/tststatic3.c: New file.
61350         * dlfcn/tststatic4.c: New file.
61351         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61352         (tests-static): Likewise.
61353         (modules-names): Add modstatic3.
61354         (tststatic3-ENV, tststatic4-ENV): New variables.
61355         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61356         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61358 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61360         * configure.in (CC): Require GCC version 4.4 or later.
61361         * configure: Regenerated.
61362         * manual/install.texi (Tools for Compilation): Update GCC version
61363         requirement.
61364         * INSTALL: Regenerated.
61366 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61368         [BZ #15674]
61369         * string/test-memcmp.c (check2): New.
61370         (main): Call check2.
61372         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61374 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61376         [BZ #15022]
61377         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61378         over to...
61379         (dl_open_worker) [!SHARED]: ... here.
61381 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61383         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61385 2013-06-25  Richard Henderson  <rth@redhat.com>
61387         * locale/programs/locarchive.c: Include <libc-internal.h>
61389 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61391         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61392         trailing whitespace removed.
61394 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61396         [BZ #10283]
61397         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61398         * locale/programs/locarchive.c: Include libc-mmap.h.
61399         (prepare_address_space): Take two new outputs (the mmap base and len).
61400         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61401         values.
61402         (create_archive): Declare new mmap base and len values for
61403         prepare_address_space, and store the result in ah.
61404         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61405         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61406         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61407         Declare new mmap base and len values for
61408         prepare_address_space, and store the result in new_ah.
61409         (open_archive): Declare new mmap base and len values for
61410         prepare_address_space, and store the result in ah.
61411         (close_archive): If ah->mmap_base is not NULL, use that and
61412         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61413         * sysdeps/generic/libc-mmap.h: New file.
61415 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61417         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61418         (ALIGN_UP): Likewise.
61419         (PTR_ALIGN_DOWN): Likewise.
61420         (PTR_ALIGN_UP): Likewise.
61422 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61424         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61425         entry mapped to PPC_PLATFORM_POWER8.
61426         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61427         POWER8.
61428         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61429         (_dl_string_platform): Add case for exporting platform position for
61430         POWER8.
61431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61432         search path to sysdeps/powerpc/powerpc32/power8 directory.
61433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61434         search path to sysdeps/powerpc/powerpc64/power8 directory.
61435         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61436         power7 directories.
61437         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61438         power7 directories.
61440 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61442         * INSTALL: Regenerate.
61444         * nscd/connections.c (nscd_init): Fix comment.
61446 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61448         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61450         [BZ #15667]
61451         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61452         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61454 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61456         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61457         DL_DST_REQ_STATIC.
61458         (DL_DST_REQ_STATIC): Remove macro.
61460 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61462         [BZ #7006]
61463         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61464         with a shift of 0 bits.
61466 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61468         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61469         $(tststatic-ENV).
61471 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61473         [BZ #15655]
61474         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61476 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61478         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61479         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61480         accepts -fno-tree-loop-distribute-patterns.
61481         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61482         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61483         recursive call.
61484         * string/memset.c (memset): Likewise.
61485         * string/test-memmove.c (simple_memmove): Disable loop transformation
61486         to library calls.
61487         * string/test-memset.c (simple_memset): Likewise.
61488         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61489         * benchtests/bench-memset.c (simple_memset): Likewise.
61490         * configure: Regenerated.
61492 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61494         * math/test-misc.c (main): Ignore fesetround failure when failures
61495         of subsequent rounding tests would be ignored.
61497         [BZ #15654]
61498         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61499         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61500         * math/fegetenv.c (__fegetenv): Return 0.
61501         * math/fegetexcept.c (fegetexcept): Return 0.
61502         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61503         FE_TONEAREST.
61504         * math/feholdexcpt.c (feholdexcept): Return 0.
61505         * math/fesetenv.c (__fesetenv): Return 0.
61506         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61507         argument FE_TONEAREST.
61508         * math/feupdateenv.c (__feupdateenv): Return 0.
61509         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61511 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61513         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61514         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61515         ($(objpfx)rtld-%.os rules): Use them.
61517 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61519         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61520         fields.
61522 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61524         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61525         length of target pattern, then descending length of dependency pattern.
61526         * configure.in (AWK): Require gawk 3.1.2 or newer.
61527         * manual/install.texi (Tools for Compilation): Say that we do.
61528         * configure: Regenerated.
61530         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61531         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61532         * scripts/sysd-rules.awk: ... this new script.
61533         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61534         than a glob-style pattern.
61536 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61538         * math/test-misc.c (main): Do not treat incorrectly rounded
61539         conversions as failure unless ROUNDING_TESTS passes.
61541 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61543         [BZ #15631]
61544         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61545         restore exception state around main square root computation, then
61546         check for inexactness explicitly.
61548         * math/libm-test.inc (fma_test_data): Add another test.
61550 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61552         * manual/threads.texi (Non-POSIX Extensions): New document
61553         node.  Document pthread_getattr_default_np and
61554         pthread_setattr_default_np.
61556         * Versions.def (libpthread): Add GLIBC_2.18.
61557         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61559         Likewise.
61560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61561         Likewise.
61562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61563         Likewise.
61564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61565         Likewise.
61566         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61567         Likewise.
61568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61569         Likewise.
61570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61571         Likewise.
61572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61573         Likewise.
61574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61575         Likewise.
61577 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61580         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61582 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61583             H.J. Lu  <hjl.tools@gmail.com>
61585         [BZ #15627]
61586         * sysdeps/x86_64/rtld-memset.c: Remove file.
61587         * sysdeps/x86_64/rtld-memset.S: New file.
61589 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61591         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61592         (test_in_one_mode): Take arguments for whether the rounding mode
61593         is supported for each floating-point type.
61594         (do_test): Pass new arguments to test_in_one_mode using
61595         ROUNDING_TESTS.
61597 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61599         * posix/tst-waitid.c (do_test): Distinguish different instances of
61600         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61601         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61602         before entering the kernel for waitpid.
61604 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61606         * NEWS: Fix note on clock function precision.  Text by Roland
61607         McGrath.
61609 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61611         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61612         it into place only when and if the sanity check passes.
61614 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61616         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61617         output for whether conversion result is exact.  Take argument
61618         indicating whether type is IBM long double.
61619         (round_for_all): Change need_exact field to ibm_ld.
61620         * stdlib/tst-strtod-round.c (struct exactness): New type.
61621         (struct test): Change bool ld_ok field to struct exactness exact.
61622         (TEST): Update all definitions for change to field.
61623         (tests): Regenerate array contents.
61624         (test_in_one_mode): Take pointer to new field instead of old ld_ok
61625         field value.  Check for IBM long double here.
61626         (do_test): Update calls to test_in_one_mode.
61628 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61630         [BZ #12515]
61631         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61632         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61634 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61636         [BZ #15605]
61637         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61638         generated by the compiler on loop optimizations.
61639         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61640         general definitions.
61642 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
61644         * math/bug-nextafter.c: Include <math-tests.h>.
61645         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61646         the relevant type.
61647         * math/bug-nexttoward.c: Include <math-tests.h>.
61648         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61649         the relevant type.
61650         * math/test-misc.c: Include <math-tests.h>.
61651         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61652         the relevant type.
61654 2013-06-12  Andreas Jaeger  <aj@suse.de>
61656         * po/ia.po: Update Interlingua translation from translation
61657         project.
61659 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61661         * include/fenv.h: Include stdbool.h.
61662         (struct rm_ctx): New structure.
61663         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61664         Define macro.
61665         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61666         (SET_RESTORE_ROUNDF): Likewise.
61667         (SET_RESTORE_ROUNDL): Likewise.
61668         (SET_RESTORE_ROUND_NOEX): Likewise.
61669         (SET_RESTORE_ROUND_NOEXF): Likewise.
61670         (SET_RESTORE_ROUND_NOEXL): Likewise.
61671         (SET_RESTORE_ROUND_53BIT): Likewise.
61672         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61673         (libc_feresetround_noexf_ctx): Likewise.
61674         (libc_feresetround_noexl_ctx): Likewise.
61675         (libc_feholdsetround_53bit_ctx): Likewise.
61676         (libc_feresetround_53bit_ctx): Likewise.
61677         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61678         (libc_feholdexcept_setround_sse_ctx): New function.
61679         (libc_fesetenv_sse_ctx): Likewise.
61680         (libc_feupdateenv_sse_ctx): Likewise.
61681         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
61682         (libc_feholdexcept_setround_387_ctx): Likewise.
61683         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
61684         (libc_feholdsetround_387_prec_ctx): Likewise.
61685         (libc_feholdsetround_387_ctx): Likewise.
61686         (libc_feholdsetround_387_53bit_ctx): Likewise.
61687         (libc_feholdsetround_sse_ctx): Likewise.
61688         (libc_feresetround_sse_ctx): Likewise.
61689         (libc_feresetround_387_ctx): Likewise.
61690         (libc_feupdateenv_387_ctx): Likewise.
61691         (libc_feholdexcept_setroundf_ctx): Define macro.
61692         (libc_fesetenvf_ctx): Likewise.
61693         (libc_feupdateenvf_ctx): Likewise.
61694         (libc_feholdsetroundf_ctx): Likewise.
61695         (libc_feresetroundf_ctx): Likewise.
61696         (libc_feholdexcept_setround_ctx): Likewise.
61697         (libc_fesetenv_ctx): Likewise.
61698         (libc_feupdateenv_ctx): Likewise.
61699         (libc_feholdsetround_ctx): Likewise.
61700         (libc_feresetround_ctx): Likewise.
61701         (libc_feholdexcept_setroundl_ctx): Likewise.
61702         (libc_feupdateenvl_ctx): Likewise.
61703         (libc_feholdsetroundl_ctx): Likewise.
61704         (libc_feresetroundl_ctx): Likewise.
61705         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
61706         (libc_feresetround_53bit_ctx): Likewise.
61708 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61710         * locale/iso-639.def: Convert to UTF-8.
61712 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
61714         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
61715         (EXCEPTION_TESTS_double): Likewise.
61716         (EXCEPTION_TESTS_long_double): Likewise.
61717         (EXCEPTION_TESTS): Likewise.
61718         * math/libm-test.inc (test_exceptions): Only test exceptions if
61719         EXCEPTION_TESTS (FLOAT).
61721 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61723         * benchtests/Makefile (string-bench): Add strcpy_chk and
61724         stpcpy_chk.
61725         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
61726         * benchtests/bench-stpcpy_chk.c: New file.
61727         * benchtests/bench-strcpy_chk-ifunc.c: New file.
61728         * benchtests/bench-strcpy_chk.c: New file.
61729         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
61730         code.
61731         (do_test): Likewise.
61733 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61735         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
61736         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
61737         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
61738         with tabs where appropriate.
61739         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
61740         dl-procinfo.h.
61741         [PPC_PLATFORM_PPC440]: Likewise.
61742         [PPC_PLATFORM_PPC464]: Likewise.
61743         [PPC_PLATFORM_PPC476]: Likewise.
61744         (_dl_string_platform): Add support for detecting ppc405, ppc440,
61745         ppc464, and ppc476 platform strings merging from ports/
61746         dl-procinfo.h.
61748 2013-06-11  Andreas Schwab  <schwab@suse.de>
61750         [BZ #14991]
61751         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
61752         (from_ucs4_idx): Regenerate.
61753         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
61754         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
61755         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
61756         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
61757         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
61758         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
61759         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
61760         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
61761         from FROM_LOOP and TO_LOOP specific macros.
61762         (BODY): Handle combining characters.
61763         * iconvdata/BIG5HKSCS.irreversible: Update.
61764         * iconvdata/BIG5HKSCS.precomposed: New file.
61765         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
61766         characters.
61767         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
61769 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61771         * include/sys/time.h: Fix indentation and add copyright header.
61773         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
61774         (do_test): Likewise.
61775         * string/test-memchr.c (do_one_test): Likewise.
61776         (do_test): Likewise.
61777         * string/test-memcmp.c (do_one_test): Likewise.
61778         (do_test): Likewise.
61779         * string/test-memcpy.c (do_one_test): Likewise.
61780         (do_test): Likewise.
61781         * string/test-memmem.c (do_one_test): Likewise.
61782         (do_test): Likewise.
61783         (do_random_tests): Likewise.
61784         * string/test-memmove.c (do_one_test): Likewise.
61785         (do_test): Likewise.
61786         * string/test-memset.c (do_one_test): Likewise.
61787         (do_test): Likewise.
61788         * string/test-rawmemchr.c (do_one_test): Likewise.
61789         (do_test): Likewise.
61790         * string/test-strcasecmp.c (do_one_test): Likewise.
61791         (do_test): Likewise.
61792         * string/test-strcasestr.c (do_one_test): Likewise.
61793         (do_test): Likewise.
61794         * string/test-strcat.c (do_one_test): Likewise.
61795         (do_test): Likewise.
61796         * string/test-strchr.c (do_one_test): Likewise.
61797         (do_test): Likewise.
61798         * string/test-strcmp.c (do_one_test): Likewise.
61799         (do_test): Likewise.
61800         * string/test-strcpy.c (do_one_test): Likewise.
61801         (do_test): Likewise.
61802         * string/test-string.h: Likewise.
61803         (test_init): Likewise.
61804         * string/test-strlen.c (do_one_test): Likewise.
61805         (do_test): Likewise.
61806         * string/test-strncasecmp.c (do_one_test): Likewise.
61807         (do_test): Likewise.
61808         * string/test-strncat.c (do_one_test): Likewise.
61809         (do_test): Likewise.
61810         * string/test-strncmp.c (do_one_test): Likewise.
61811         (do_test_limit): Likewise.
61812         (do_test): Likewise.
61813         * string/test-strncpy.c (do_one_test): Likewise.
61814         (do_test): Likewise.
61815         * string/test-strnlen.c (do_one_test): Likewise.
61816         (do_test): Likewise.
61817         * string/test-strpbrk.c (do_one_test): Likewise.
61818         (do_test): Likewise.
61819         * string/test-strrchr.c (do_one_test): Likewise.
61820         (do_test): Likewise.
61821         * string/test-strspn.c (do_one_test): Likewise.
61822         (do_test): Likewise.
61823         * string/test-strstr.c (do_one_test): Likewise.
61824         (do_test): Likewise.
61826         * benchtests/Makefile (string-bench): Add string benchmarks.
61827         * benchtests/bench-bcopy-ifunc.c: New file.
61828         * benchtests/bench-bcopy.c: New file.
61829         * benchtests/bench-bzero-ifunc.c: New file.
61830         * benchtests/bench-bzero.c: New file.
61831         * benchtests/bench-memccpy-ifunc.c: New file.
61832         * benchtests/bench-memccpy.c: New file.
61833         * benchtests/bench-memchr-ifunc.c: New file.
61834         * benchtests/bench-memchr.c: New file.
61835         * benchtests/bench-memcmp-ifunc.c: New file.
61836         * benchtests/bench-memcmp.c: New file.
61837         * benchtests/bench-memmem-ifunc.c: New file.
61838         * benchtests/bench-memmem.c: New file.
61839         * benchtests/bench-memmove-ifunc.c: New file.
61840         * benchtests/bench-memmove.c: New file.
61841         * benchtests/bench-mempcpy-ifunc.c: New file.
61842         * benchtests/bench-mempcpy.c: New file.
61843         * benchtests/bench-memset-ifunc.c: New file.
61844         * benchtests/bench-memset.c: New file.
61845         * benchtests/bench-rawmemchr-ifunc.c: New file.
61846         * benchtests/bench-rawmemchr.c: New file.
61847         * benchtests/bench-stpcpy-ifunc.c: New file.
61848         * benchtests/bench-stpcpy.c: New file.
61849         * benchtests/bench-stpncpy-ifunc.c: New file.
61850         * benchtests/bench-stpncpy.c: New file.
61851         * benchtests/bench-strcasecmp-ifunc.c: New file.
61852         * benchtests/bench-strcasecmp.c: New file.
61853         * benchtests/bench-strcasestr-ifunc.c: New file.
61854         * benchtests/bench-strcasestr.c: New file.
61855         * benchtests/bench-strcat-ifunc.c: New file.
61856         * benchtests/bench-strcat.c: New file.
61857         * benchtests/bench-strchr-ifunc.c: New file.
61858         * benchtests/bench-strchr.c: New file.
61859         * benchtests/bench-strchrnul-ifunc.c: New file.
61860         * benchtests/bench-strchrnul.c: New file.
61861         * benchtests/bench-strcmp-ifunc.c: New file.
61862         * benchtests/bench-strcmp.c: New file.
61863         * benchtests/bench-strcpy-ifunc.c: New file.
61864         * benchtests/bench-strcpy.c: New file.
61865         * benchtests/bench-strcspn-ifunc.c: New file.
61866         * benchtests/bench-strcspn.c: New file.
61867         * benchtests/bench-strlen-ifunc.c: New file.
61868         * benchtests/bench-strlen.c: New file.
61869         * benchtests/bench-strncasecmp-ifunc.c: New file.
61870         * benchtests/bench-strncasecmp.c: New file.
61871         * benchtests/bench-strncat-ifunc.c: New file.
61872         * benchtests/bench-strncat.c: New file.
61873         * benchtests/bench-strncmp-ifunc.c: New file.
61874         * benchtests/bench-strncmp.c: New file.
61875         * benchtests/bench-strncpy-ifunc.c: New file.
61876         * benchtests/bench-strncpy.c: New file.
61877         * benchtests/bench-strnlen-ifunc.c: New file.
61878         * benchtests/bench-strnlen.c: New file.
61879         * benchtests/bench-strpbrk-ifunc.c: New file.
61880         * benchtests/bench-strpbrk.c: New file.
61881         * benchtests/bench-strrchr-ifunc.c: New file.
61882         * benchtests/bench-strrchr.c: New file.
61883         * benchtests/bench-strspn-ifunc.c: New file.
61884         * benchtests/bench-strspn.c: New file.
61885         * benchtests/bench-strstr-ifunc.c: New file.
61886         * benchtests/bench-strstr.c: New file.
61888         * benchtests/Makefile: Disable parallel execution of targets.
61889         (string-bench): Add memcpy.
61890         (benchset): New variable to store a list of benchmark sets.
61891         (bench-func): Renamed from bench.
61892         (bench-set): New target.
61893         (bench): Depend on bench-func and bench-set.
61894         * benchtests/README: Add section on benchmark sets.
61895         * benchtests/bench-memcpy-ifunc.c: New file.
61896         * benchtests/bench-memcpy.c: New file.
61897         * benchtests/bench-string.h: New file.
61899 2013-06-11  Andreas Schwab  <schwab@suse.de>
61901         [BZ #15577]
61902         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
61903         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
61904         values in the triple.
61905         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
61906         terminator in the group key.
61908 2013-06-11  Andreas Jaeger  <aj@suse.de>
61910         * po/zh_TW.po: Update Chinese (traditional) translation from
61911         translation project.
61913 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61915         * include/time.h (__clock_gettime): Add libc_hidden_proto.
61916         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
61917         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
61918         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61919         (clock_getcpuclockid): Likewise.
61920         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61921         Add weak_alias and libc_hidden_def.
61922         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61923         * rt/clock_gettime.c (clock_gettime): Rename to
61924         __clock_gettime.  Add weak_alias and libc_hidden_def.
61925         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61926         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61927         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
61928         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61929         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61930         Likewise.
61931         * rt/clock_settime.c (clock_settime): Rename to
61932         __clock_settime.  Add weak_alias and libc_hidden_def.
61933         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61935 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
61937         * mach/err_boot.sub: Remove trailing whitespace.
61938         * mach/err_ipc.sub: Likewise.
61939         * mach/err_mach.sub: Likewise.
61941         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61942         (ROUNDING_TESTS_double): Likewise.
61943         (ROUNDING_TESTS_long_double): Likewise.
61944         (ROUNDING_TESTS): Likewise.
61945         * math/libm-test.inc: Include <math-tests.h>.
61946         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61947         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61948         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61949         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61951 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61953         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61954         of assigning.
61956 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61958         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61959         otherwise empty TRANS lines.
61960         * sysdeps/gnu/errlist.c: Regenerated.
61962         * catgets/gencat.c (error_print): Use (void) in function
61963         definition.
61964         * crypt/crypt_util.c (__init_des): Likewise.
61965         * crypt/speeds.c (Stop): Likewise.
61966         (main): Likewise.
61967         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61968         * inet/ruserpass.c (token): Likewise.
61969         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61970         * intl/localealias.c (extend_alias_table): Likewise.
61971         * intl/plural-exp.c (init_germanic_plural): Likewise.
61972         * libio/fcloseall.c (__fcloseall): Likewise.
61973         * libio/genops.c (_IO_flush_all): Likewise.
61974         (_IO_flush_all_linebuffered): Likewise.
61975         (_IO_cleanup): Likewise.
61976         (_IO_iter_begin): Likewise.
61977         (_IO_iter_end): Likewise.
61978         (_IO_list_lock): Likewise.
61979         (_IO_list_unlock): Likewise.
61980         (_IO_list_resetlock): Likewise.
61981         * libio/getchar.c (getchar): Likewise.
61982         * libio/getchar_u.c (getchar_unlocked): Likewise.
61983         * libio/getwchar.c (getwchar): Likewise.
61984         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61985         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61986         * login/getpt.c (__getpt): Likewise.
61987         * login/tst-utmp.c (main): Likewise.
61988         * malloc/hooks.c (__malloc_check_init): Likewise.
61989         * malloc/malloc.c (__malloc_stats): Likewise.
61990         * malloc/mtrace.c (tr_break): Likewise.
61991         (mtrace): Likewise.
61992         (muntrace): Likewise.
61993         * misc/fstab.c (endfsent): Likewise.
61994         * misc/getclktck.c (__getclktck): Likewise.
61995         * misc/getdtsz.c (__getdtablesize): Likewise.
61996         * misc/gethostid.c (gethostid): Likewise.
61997         * misc/getpagesize.c (__getpagesize): Likewise.
61998         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61999         (__get_nprocs): Likewise.
62000         (__get_phys_pages): Likewise.
62001         (__get_avphys_pages): Likewise.
62002         * misc/getttyent.c (getttyent): Likewise.
62003         (setttyent): Likewise.
62004         (endttyent): Likewise.
62005         * misc/getusershell.c (getusershell): Likewise.
62006         (endusershell): Likewise.
62007         (setusershell): Likewise.
62008         (initshells): Likewise.
62009         * misc/hsearch.c (__hdestroy): Likewise.
62010         * misc/sync.c (sync): Likewise.
62011         * misc/syslog.c (closelog_internal): Likewise.
62012         (closelog): Likewise.
62013         * misc/ttyslot.c (ttyslot): Likewise.
62014         * misc/vhangup.c (vhangup): Likewise.
62015         * posix/fork.c (__fork): Likewise.
62016         * posix/getegid.c (__getegid): Likewise.
62017         * posix/geteuid.c (__geteuid): Likewise.
62018         * posix/getgid.c (__getgid): Likewise.
62019         * posix/getpid.c (__getpid): Likewise.
62020         * posix/getppid.c (__getppid): Likewise.
62021         * posix/getuid.c (__getuid): Likewise.
62022         * posix/pause.c (pause): Likewise.
62023         * posix/setpgrp.c (setpgrp): Likewise.
62024         * posix/setsid.c (__setsid): Likewise.
62025         * posix/test-vfork.c (noop): Likewise.
62026         * resolv/gethnamaddr.c (_endhtent): Likewise.
62027         (_gethtent): Likewise.
62028         (ht_endhostent): Likewise.
62029         (gethostent): Likewise.
62030         (dns_service): Likewise.
62031         * stdlib/drand48.c (drand48): Likewise.
62032         * stdlib/lrand48.c (lrand48): Likewise.
62033         * stdlib/mrand48.c (mrand48): Likewise.
62034         * stdlib/rand.c (rand): Likewise.
62035         * stdlib/random.c (__random): Likewise.
62036         * stdlib/setenv.c (clearenv): Likewise.
62037         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
62038         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
62039         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
62040         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
62041         (__get_nprocs): Likewise.
62042         (__get_phys_pages): Likewise.
62043         (__get_avphys_pages): Likewise.
62044         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
62045         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
62046         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
62047         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
62048         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
62049         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
62050         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
62051         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
62052         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
62053         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
62054         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
62055         * sysdeps/mach/hurd/sync.c (sync): Likewise.
62056         * sysdeps/posix/clock.c (clock): Likewise.
62057         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
62058         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
62059         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
62060         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
62061         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
62062         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
62063         (__get_nprocs_conf): Likewise.
62064         (__get_phys_pages): Likewise.
62065         (__get_avphys_pages): Likewise.
62066         * time/clock.c (clock): Likewise.
62067         * time/tzset.c (__tzname_max): Likewise.
62069 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
62071         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
62072         (__bswap_32): Do not use "register".
62073         * crypt/crypt.c (_ufc_doit_r): Likewise.
62074         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
62075         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
62076         * gmon/gmon.c (__monstartup): Likewise.
62077         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
62078         * hurd/hurdmalloc.c (more_memory): Likewise.
62079         (malloc): Likewise.
62080         (free): Likewise.
62081         (realloc): Likewise.
62082         (malloc_fork_prepare): Likewise.
62083         (malloc_fork_parent): Likewise.
62084         (malloc_fork_child): Likewise.
62085         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
62086         (_svcauth_des): Likewise.
62087         * inet/inet_lnaof.c (inet_lnaof): Likewise.
62088         * inet/inet_net.c (inet_network): Likewise.
62089         * inet/inet_netof.c (inet_netof): Likewise.
62090         * inet/rcmd.c (__validuser2_sa): Likewise.
62091         * io/fts.c (fts_open): Likewise.
62092         (fts_load): Likewise.
62093         (fts_close): Likewise.
62094         (fts_read): Likewise.
62095         (fts_children): Likewise.
62096         (fts_build): Likewise.
62097         (fts_stat): Likewise.
62098         (fts_sort): Likewise.
62099         (fts_alloc): Likewise.
62100         (fts_lfree): Likewise.
62101         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
62102         (_IO_file_xsgetn): Likewise.
62103         (_IO_file_xsgetn_mmap): Likewise.
62104         * libio/iofopncook.c (_IO_cookie_read): Likewise.
62105         (_IO_cookie_write): Likewise.
62106         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
62107         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
62108         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
62109         * malloc/obstack.c (_obstack_begin): Likewise.
62110         (_obstack_begin_1): Likewise.
62111         (_obstack_newchunk): Likewise.
62112         (_obstack_allocated_p): Likewise.
62113         (obstack_free): Likewise.
62114         (_obstack_memory_used): Likewise.
62115         * misc/getttyent.c (getttynam): Likewise.
62116         (getttyent): Likewise.
62117         (skip): Likewise.
62118         (value): Likewise.
62119         * misc/getusershell.c (initshells): Likewise.
62120         * misc/syslog.c (__vsyslog_chk): Likewise.
62121         * misc/ttyslot.c (ttyslot): Likewise.
62122         * nis/nis_hash.c (__nis_hash): Likewise.
62123         * posix/fnmatch_loop.c (FCT): Likewise.
62124         * posix/getconf.c (print_all): Likewise.
62125         (main): Likewise.
62126         * posix/getopt.c (exchange): Likewise.
62127         * posix/glob.c (globfree): Likewise.
62128         (prefix_array): Likewise.
62129         (__glob_pattern_type): Likewise.
62130         * resolv/arpa/nameser.h (NS_GET16): Likewise.
62131         (NS_GET32): Likewise.
62132         (NS_PUT16): Likewise.
62133         (NS_PUT32): Likewise.
62134         * resolv/gethnamaddr.c (getanswer): Likewise.
62135         (gethostbyname2): Likewise.
62136         (gethostbyaddr): Likewise.
62137         (_gethtent): Likewise.
62138         (_gethtbyname2): Likewise.
62139         (_gethtbyaddr): Likewise.
62140         * resolv/ns_print.c (dst_s_get_int16): Likewise.
62141         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
62142         * resolv/res_init.c (__res_vinit): Likewise.
62143         (net_mask): Likewise.
62144         * resolv/res_mkquery.c (outchar): Likewise.
62145         (PRINT): Likewise.
62146         * stdio-common/printf_fp.c (outchar): Likewise.
62147         (PRINT): Likewise.
62148         * stdio-common/printf_fphex.c (outchar): Likewise.
62149         (PRINT): Likewise.
62150         * stdio-common/printf_size.c (outchar): Likewise.
62151         (PRINT): Likewise.
62152         * stdio-common/test_rdwr.c (main): Likewise.
62153         * stdio-common/tfformat.c (matches): Likewise.
62154         * stdio-common/vfprintf.c (outchar): Likewise.
62155         (printf_unknown): Likewise.
62156         (buffered_vfprintf): Likewise.
62157         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
62158         * stdio-common/xbug.c (AppendToBuffer): Likewise.
62159         (ReadFile): Likewise.
62160         * stdlib/qsort.c (SWAP): Likewise.
62161         (_quicksort): Likewise.
62162         * stdlib/setenv.c (__add_to_environ): Likewise.
62163         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
62164         * stdlib/strtol_l.c (__strtol_l): Likewise.
62165         * stdlib/tst-strtod.c (main): Likewise.
62166         * stdlib/tst-strtol.c (main): Likewise.
62167         * stdlib/tst-strtoll.c (main): Likewise.
62168         * string/bits/string2.h (__strcmp_cc): Likewise.
62169         (__strcmp_cg): Likewise.
62170         (__strcspn_c1): Likewise.
62171         (__strcspn_c2): Likewise.
62172         (__strcspn_c3): Likewise.
62173         (__strspn_c1): Likewise.
62174         (__strspn_c2): Likewise.
62175         (__strspn_c3): Likewise.
62176         (__strsep_1c): Likewise.
62177         (__strsep_2c): Likewise.
62178         (__strsep_3c): Likewise.
62179         * string/memccpy.c (__memccpy): Likewise.
62180         * string/stpcpy.c (__stpcpy): Likewise.
62181         * string/strcmp.c (strcmp): Likewise.
62182         * string/strrchr.c (strrchr): Likewise.
62183         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62184         Likewise.
62185         * sysdeps/mach/hurd/getcwd.c
62186         (_hurd_canonicalize_directory_name_internal): Likewise.
62187         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62188         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62189         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62190         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62191         Likewise, in both definitions.
62192         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62193         definitions.
62194         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62195         64] (__bswap_64): Likewise.
62196         * time/test_time.c (main): Likewise.
62197         * time/tzfile.c (__tzfile_read): Likewise.
62198         (__tzfile_compute): Likewise.
62199         * time/tzset.c (__tzset_parse_tz): Likewise.
62200         (tzset_internal): Likewise.
62201         (compute_change): Likewise.
62202         * wcsmbs/wcscat.c (__wcscat): Likewise.
62203         * wcsmbs/wcschr.c (wcschr): Likewise.
62204         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
62205         * wcsmbs/wcscspn.c (wcscspn): Likewise.
62206         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
62207         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
62208         * wcsmbs/wcsspn.c (wcsspn): Likewise.
62209         * wcsmbs/wcsstr.c (wcsstr): Likewise.
62210         * wcsmbs/wmemchr.c (wmemchr): Likewise.
62211         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62212         * wcsmbs/wmemset.c (wmemset): Likewise.
62214 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
62216         * scripts/config.guess: Update to version 2013-05-16.
62217         * scripts/config.sub: Update to version 2013-04-24.
62218         * scripts/install-sh: Update to version 2011-11-20.07.
62219         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
62220         * scripts/move-if-change: Update to version 2012-01-06 07:23.
62222 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
62224         * debug/fgetws_u_chk.c: Fix leading whitespaces.
62225         * elf/sln.c: Likewise.
62226         * hurd/hurd/ioctl.h: Likewise.
62227         * hurd/hurdmalloc.c: Likewise.
62228         * hurd/xattr.c: Likewise.
62229         * include/shlib-compat.h: Likewise.
62230         * inet/ruserpass.c: Likewise.
62231         * libio/iofgets_u.c: Likewise.
62232         * libio/iofgetws_u.c: Likewise.
62233         * locale/programs/ld-identification.c: Likewise.
62234         * locale/programs/ld-time.c: Likewise.
62235         * mach/msg-destroy.c: Likewise.
62236         * nss/nss_files/files-netgrp.c: Likewise.
62237         * resolv/res_data.c: Likewise.
62238         * soft-fp/op-1.h: Likewise.
62239         * soft-fp/op-2.h: Likewise.
62240         * soft-fp/op-4.h: Likewise.
62241         * soft-fp/op-common.h: Likewise.
62242         * stdio-common/printf_fphex.c: Likewise.
62243         * stdlib/strtod_l.c: Likewise.
62244         * sunrpc/rpc/clnt.h: Likewise.
62245         * sysdeps/generic/framestate.c: Likewise.
62246         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62247         * sysdeps/i386/bsd-setjmp.S: Likewise.
62248         * sysdeps/i386/__longjmp.S: Likewise.
62249         * sysdeps/i386/setjmp.S: Likewise.
62250         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62251         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62252         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62253         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62254         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62255         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62256         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62257         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62258         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62259         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62260         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62261         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62262         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62263         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62264         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62265         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62266         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62267         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
62268         * sysdeps/ieee754/support.c: Likewise.
62269         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62270         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
62271         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
62272         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
62273         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
62274         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
62275         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62276         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62277         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62278         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62279         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62280         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62281         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62282         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62283         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62284         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62285         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62288 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
62290         * posix/transbug.c: Remove executable mode.
62292 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
62294         * crypt/speeds.c: Remove trailing whitespace.
62295         * dlfcn/default.c: Likewise.
62296         * elf/ifuncdep2.c: Likewise.
62297         * elf/ifuncmain1.c: Likewise.
62298         * elf/ifuncmain1vis.c: Likewise.
62299         * elf/testobj.h: Likewise.
62300         * elf/tst-stackguard1.c: Likewise.
62301         * gmon/sys/gmon.h: Likewise.
62302         * hurd/hurdmsg.c: Likewise.
62303         * hurd/new-fd.c: Likewise.
62304         * hurd/ports-get.c: Likewise.
62305         * iconvdata/ibm1008_420.c: Likewise.
62306         * inet/tst-getni1.c: Likewise.
62307         * inet/tst-getni2.c: Likewise.
62308         * libio/ioungetc.c: Likewise.
62309         * libio/wfiledoalloc.c: Likewise.
62310         * manual/libm-err-tab.pl: Likewise.
62311         * math/w_dremf.c: Likewise.
62312         * misc/ftruncate.c: Likewise.
62313         * posix/bug-glob2.c: Likewise.
62314         * posix/tst-pcre.c: Likewise.
62315         * posix/wait4.c: Likewise.
62316         * resolv/README: Likewise.
62317         * resolv/res_debug.h: Likewise.
62318         * resolv/tst-inet_ntop.c: Likewise.
62319         * setjmp/bug269-setjmp.c: Likewise.
62320         * soft-fp/extended.h: Likewise.
62321         * soft-fp/op-1.h: Likewise.
62322         * soft-fp/op-2.h: Likewise.
62323         * soft-fp/op-4.h: Likewise.
62324         * soft-fp/op-8.h: Likewise.
62325         * soft-fp/testit.c: Likewise.
62326         * stdio-common/bug16.c: Likewise.
62327         * stdlib/random.c: Likewise.
62328         * sunrpc/rpcsvc/rquota.x: Likewise.
62329         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62330         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62331         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62332         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62333         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62334         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62335         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62336         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62337         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62338         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62339         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62340         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62341         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62342         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62343         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62344         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62345         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62346         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62347         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62348         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62349         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62350         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62351         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62352         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62353         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62354         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62356         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62357         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62358         * sysdeps/ieee754/s_lib_version.c: Likewise.
62359         * sysdeps/mach/hurd/check_fds.c: Likewise.
62360         * sysdeps/mach/hurd/getsockname.c: Likewise.
62361         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62362         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62363         * sysdeps/powerpc/bits/link.h: Likewise.
62364         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62365         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62366         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62367         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62368         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62369         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62370         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62371         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62372         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62373         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62374         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62375         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62376         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62377         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62378         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62379         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62380         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62381         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62382         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62383         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62384         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62385         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62386         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62387         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62388         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62389         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62390         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62391         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62392         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62394         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62395         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62396         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62397         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62398         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62399         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62400         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62401         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62402         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62403         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62404         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62405         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62406         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62407         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62408         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62409         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62410         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62411         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62412         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62413         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62414         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62415         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62416         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62417         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62418         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62419         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62420         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62421         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62422         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62423         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62424         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62425         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62426         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62427         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62428         * sysdeps/powerpc/sysdep.h: Likewise.
62429         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62430         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62431         * sysdeps/sh/dl-trampoline.S: Likewise.
62432         * sysdeps/sh/memset.S: Likewise.
62433         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62434         * sysdeps/sh/strlen.S: Likewise.
62435         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62436         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62437         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62438         * sysdeps/sparc/sparc32/rem.S: Likewise.
62439         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62440         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62441         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62442         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62443         * sysdeps/sparc/sparc32/urem.S: Likewise.
62444         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62445         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62446         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62447         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62448         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62449         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62450         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62451         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62452         * sysdeps/unix/bsd/times.c: Likewise.
62453         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62454         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62458         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62459         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62460         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62461         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62462         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62463         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62464         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62465         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62466         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62467         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62468         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62469         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62470         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62471         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62472         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62473         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62474         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62475         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62476         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62477         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62478         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62479         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62480         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62481         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62482         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62483         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62484         * sysdeps/x86_64/strcspn.S: Likewise.
62486 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62488         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62489         generated file.  Regenerate properly from gen-translit.pl.
62490         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62491         locale/C-translit.h.
62493 2013-06-05  Andreas Schwab  <schwab@suse.de>
62495         [BZ #15100]
62496         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62497         week as 6 instead of -1.
62498         * time/tst-strptime.c (day_tests): Add test case.
62500 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62502         * sysdeps/generic/math_private.h
62503         (libc_feholdexcept_setround_53bit): Replace with
62504         libc_feholdsetround_53bit.
62505         (libc_feupdateenv_53bit): Replace with
62506         libc_feresetround_53bit.
62507         (SET_RESTORE_ROUND_53BIT): Adjust.
62509 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62511         * string/test-strchrnul.c: Add copyright header.
62513         * posix/tst-getaddrinfo4.c: Increase test timeout.
62515 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62517         [BZ #15536]
62518         * math/libm-test.inc (MAX_EXP): Remove
62519         (MIN_EXP): Define.
62520         (ulp): Use MIN_EXP - MANT_DIG.
62521         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62523 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62525         * po/be.po: Revert last change.
62526         * po/zh_CN.po: Likewise.
62527         * po/header.pot: Likewise.
62529 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62531         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62532         link-libc-deps to empty as target-specific variable.
62533         * Makerules (link-libc-args): New variable.
62534         (libc-for-link): Likewise.
62535         (link-libc-deps): Likewise.
62536         (lib%.so): Depend on $(link-libc-deps).  Link with
62537         $(link-libc-args).
62538         (build-module): Link with $(link-libc-args).
62539         (build-module-asneeded): Likewise.
62540         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62541         list of objects.
62542         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62543         target-specific variable.
62544         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62545         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62546         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62547         libc.
62548         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62549         libc and ld.so.
62550         ($(objpfx)libpcprofile.so): Likewise.
62551         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62552         libc_nonshared.a.
62553         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62554         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62555         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62556         $(link-libc-deps).
62557         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62558         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62559         * login/Makefile ($(objpfx)libutil.so): Likewise.
62560         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62561         * math/Makefile ($(objpfx)libm.so): Likewise.
62562         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62563         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62564         variable instead of depending directly on libc.
62565         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62566         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62567         $(link-libc-deps).
62568         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62569         libc.
62570         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62571         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62572         ($(objpfx)libanl.so): Likewise.
62573         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62574         ld.so.
62575         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62576         $(link-libc-deps).
62577         * sysdeps/i386/fpu/Makefile: Remove file.
62578         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62579         ($(objpfx)libm.so): Remove dependency on ld.so.
62581 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62583         [BZ # 15553]
62584         * nis/yp_xdr.c (XDRMAXNAME): Define.
62585         (XDRMAXRECORD): Define.
62586         (xdr_domainname): Use XDRMAXNAME.
62587         (xdr_mapname): Likewise.
62588         (xdr_peername): Likewise.
62589         (xdr_keydat): Use XDRMAXRECORD.
62590         (xdr_valdat): Likewise.
62592 2013-05-30  Jeff Law  <law@redhat.com>
62594         [BZ #14256]
62595         * manual/errno.texi (ESTALE): Update to account for more than
62596         just NFS file systems.
62597         * sysdeps/gnu/errlist.c: Regenerated.
62599 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62601         [BZ #15465]
62602         * elf/Makefile (tests): Add tst-null-argv.
62603         (modules-names):  Add tst-null-argv-lib.
62604         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62605         (tst-null-argv-ENV): Set environment for tst-null-argv.
62606         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62607         (RTLD_PROGNAME): New macro.
62608         * elf/tst-null-argv.c: New test case.
62609         * elf/tst-null-argv-lib.c: Library for test case.
62610         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62611         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62612         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62613         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62614         * elf/dl-init.c (call_init): Likewise.
62615         (_dl_init): Likewise.
62616         * elf/dl-load.c (print_search_path): Likewise.
62617         (_dl_map_object): Likewise.
62618         * elf/dl-lookup.c (do_lookup_x): Likewise.
62619         (add_dependency): Likewise.
62620         (_dl_lookup_symbol_x): Likewise.
62621         (_dl_debug_bindings): Likewise.
62622         * elf/dl-open.c (_dl_show_scope): Likewise.
62623         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62624         * elf/dl-version.c (match_symbol): Likewise.
62625         (_dl_check_map_versions): Likewise.
62626         * elf/rtld.c (dl_main): Likewise.
62627         (print_unresolved): Use RTLD_PROGNAME.
62628         (print_missing_version): Likewise.
62629         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62630         (elf_machine_rela): Likewise.
62631         * sysdeps/powerpc/powerpc32/dl-machine.c
62632         (__process_machine_rela): Likewise.
62633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62634         Likewise.
62635         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62636         Likewise.
62637         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62638         Likewise.
62639         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62641         Likewise.
62642         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62643         Likewise.
62644         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62646 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
62648         * po/be.po: Add descriptive title.
62649         * po/zh_CN.po: Likewise.
62650         * po/header.pot: Likewise.
62652 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
62654         * locale/programs/locarchive.c (create_archive): Inlucde fname in
62655         error message.
62656         (enlarge_archive): Likewise.
62658 2013-05-28  Ben North  <ben@redfrontdoor.org>
62660         * manual/arith.texi (frexp): It is the magnitude of the return
62661         value which lies in [0.5, 1), not the return value itself.
62663 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62667 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
62669         * stdio-common/bug26.c (main): Correct fscanf template.
62671         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62672         declare _dl_skip_args.
62674         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62675         Don't declare.
62677         * manual/platform.texi: Add missing @end deftypefun.
62679 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62681         [BZ #15529]
62682         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
62683         bit of mantissa of 2^16382.
62684         * math/libm-test.inc (hypot_test_data): Add more tests.
62686         * math/libm-test.inc: Add drem and pow10 to list of tested
62687         functions.
62688         (pow10_test): New function.
62689         (drem_test): Likewise.
62690         (drem_test_tonearest): Likewise.
62691         (drem_test_towardzero): Likewise.
62692         (drem_test_downward): Likewise.
62693         (drem_test_upward): Likewise.
62694         (main): Call the new functions.
62696         * math/libm-test.inc (finite_test_data): Remove.
62697         (finite_test): Run tests from isfinite_test_data.
62698         (gamma_test_data): Remove.
62699         (gamma_test): Run tests from lgamma_test_data.
62700         * sysdeps/i386/fpu/libm-test-ulps: Update.
62701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62703 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62705         * manual/platform.texi: Add PowerPC PPR function set documentation.
62706         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
62707         implementation.
62709 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
62711         * math/libm-test.inc (MAX_EXP): Define.
62712         (ULPDIFF): Define.
62713         (ulp): New function.
62714         (check_float_internal): Use ULPDIFF.
62715         (cpow_test): Disable failing test.
62716         (check_ulp): Test ulp() implementation.
62717         (main): Call check_ulp before starting tests.
62719 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62721         * math/gen-libm-test.pl (generate_testfile): Do not handle
62722         START_DATA and END_DATA.
62723         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
62724         END_DATA.
62725         (acos_tonearest_test_data): Likewise.
62726         (acos_towardzero_test_data): Likewise.
62727         (acos_downward_test_data): Likewise.
62728         (acos_upward_test_data): Likewise.
62729         (acosh_test_data): Likewise.
62730         (asin_test_data): Likewise.
62731         (asin_tonearest_test_data): Likewise.
62732         (asin_towardzero_test_data): Likewise.
62733         (asin_downward_test_data): Likewise.
62734         (asin_upward_test_data): Likewise.
62735         (asinh_test_data): Likewise.
62736         (atan_test_data): Likewise.
62737         (atanh_test_data): Likewise.
62738         (atan2_test_data): Likewise.
62739         (cabs_test_data): Likewise.
62740         (cacos_test_data): Likewise.
62741         (cacosh_test_data): Likewise.
62742         (carg_test_data): Likewise.
62743         (casin_test_data): Likewise.
62744         (casinh_test_data): Likewise.
62745         (catan_test_data): Likewise.
62746         (catanh_test_data): Likewise.
62747         (cbrt_test_data): Likewise.
62748         (ccos_test_data): Likewise.
62749         (ccosh_test_data): Likewise.
62750         (ceil_test_data): Likewise.
62751         (cexp_test_data): Likewise.
62752         (cimag_test_data): Likewise.
62753         (clog_test_data): Likewise.
62754         (clog10_test_data): Likewise.
62755         (conj_test_data): Likewise.
62756         (copysign_test_data): Likewise.
62757         (cos_test_data): Likewise.
62758         (cos_tonearest_test_data): Likewise.
62759         (cos_towardzero_test_data): Likewise.
62760         (cos_downward_test_data): Likewise.
62761         (cos_upward_test_data): Likewise.
62762         (cosh_test_data): Likewise.
62763         (cosh_tonearest_test_data): Likewise.
62764         (cosh_towardzero_test_data): Likewise.
62765         (cosh_downward_test_data): Likewise.
62766         (cosh_upward_test_data): Likewise.
62767         (cpow_test_data): Likewise.
62768         (cproj_test_data): Likewise.
62769         (creal_test_data): Likewise.
62770         (csin_test_data): Likewise.
62771         (csinh_test_data): Likewise.
62772         (csqrt_test_data): Likewise.
62773         (ctan_test_data): Likewise.
62774         (ctan_tonearest_test_data): Likewise.
62775         (ctan_towardzero_test_data): Likewise.
62776         (ctan_downward_test_data): Likewise.
62777         (ctan_upward_test_data): Likewise.
62778         (ctanh_test_data): Likewise.
62779         (ctanh_tonearest_test_data): Likewise.
62780         (ctanh_towardzero_test_data): Likewise.
62781         (ctanh_downward_test_data): Likewise.
62782         (ctanh_upward_test_data): Likewise.
62783         (erf_test_data): Likewise.
62784         (erfc_test_data): Likewise.
62785         (exp_test_data): Likewise.
62786         (exp_tonearest_test_data): Likewise.
62787         (exp_towardzero_test_data): Likewise.
62788         (exp_downward_test_data): Likewise.
62789         (exp_upward_test_data): Likewise.
62790         (exp10_test_data): Likewise.
62791         (exp2_test_data): Likewise.
62792         (expm1_test_data): Likewise.
62793         (fabs_test_data): Likewise.
62794         (fdim_test_data): Likewise.
62795         (finite_test_data): Likewise.
62796         (floor_test_data): Likewise.
62797         (fma_test_data): Likewise.
62798         (fma_towardzero_test_data): Likewise.
62799         (fma_downward_test_data): Likewise.
62800         (fma_upward_test_data): Likewise.
62801         (fmax_test_data): Likewise.
62802         (fmin_test_data): Likewise.
62803         (fmod_test_data): Likewise.
62804         (fpclassify_test_data): Likewise.
62805         (frexp_test_data): Likewise.
62806         (gamma_test_data): Likewise.
62807         (hypot_test_data): Likewise.
62808         (ilogb_test_data): Likewise.
62809         (isfinite_test_data): Likewise.
62810         (isgreater_test_data): Likewise.
62811         (isgreaterequal_test_data): Likewise.
62812         (isinf_test_data): Likewise.
62813         (isless_test_data): Likewise.
62814         (islessequal_test_data): Likewise.
62815         (islessgreater_test_data): Likewise.
62816         (isnan_test_data): Likewise.
62817         (isnormal_test_data): Likewise.
62818         (issignaling_test_data): Likewise.
62819         (isunordered_test_data): Likewise.
62820         (j0_test_data): Likewise.
62821         (j1_test_data): Likewise.
62822         (jn_test_data): Likewise.
62823         (ldexp_test_data): Likewise.
62824         (lgamma_test_data): Likewise.
62825         (lrint_test_data): Likewise.
62826         (lrint_tonearest_test_data): Likewise.
62827         (lrint_towardzero_test_data): Likewise.
62828         (lrint_downward_test_data): Likewise.
62829         (lrint_upward_test_data): Likewise.
62830         (llrint_test_data): Likewise.
62831         (llrint_tonearest_test_data): Likewise.
62832         (llrint_towardzero_test_data): Likewise.
62833         (llrint_downward_test_data): Likewise.
62834         (llrint_upward_test_data): Likewise.
62835         (log_test_data): Likewise.
62836         (log10_test_data): Likewise.
62837         (log1p_test_data): Likewise.
62838         (log2_test_data): Likewise.
62839         (logb_test_data): Likewise.
62840         (logb_downward_test_data): Likewise.
62841         (lround_test_data): Likewise.
62842         (llround_test_data): Likewise.
62843         (modf_test_data): Likewise.
62844         (nearbyint_test_data): Likewise.
62845         (nextafter_test_data): Likewise.
62846         (nexttoward_test_data): Likewise.
62847         (pow_test_data): Likewise.
62848         (pow_tonearest_test_data): Likewise.
62849         (pow_towardzero_test_data): Likewise.
62850         (pow_downward_test_data): Likewise.
62851         (pow_upward_test_data): Likewise.
62852         (remainder_test_data): Likewise.
62853         (remainder_tonearest_test_data): Likewise.
62854         (remainder_towardzero_test_data): Likewise.
62855         (remainder_downward_test_data): Likewise.
62856         (remainder_upward_test_data): Likewise.
62857         (remquo_test_data): Likewise.
62858         (rint_test_data): Likewise.
62859         (rint_tonearest_test_data): Likewise.
62860         (rint_towardzero_test_data): Likewise.
62861         (rint_downward_test_data): Likewise.
62862         (rint_upward_test_data): Likewise.
62863         (round_test_data): Likewise.
62864         (scalb_test_data): Likewise.
62865         (scalbn_test_data): Likewise.
62866         (scalbln_test_data): Likewise.
62867         (signbit_test_data): Likewise.
62868         (sin_test_data): Likewise.
62869         (sin_tonearest_test_data): Likewise.
62870         (sin_towardzero_test_data): Likewise.
62871         (sin_downward_test_data): Likewise.
62872         (sin_upward_test_data): Likewise.
62873         (sincos_test_data): Likewise.
62874         (sinh_test_data): Likewise.
62875         (sinh_tonearest_test_data): Likewise.
62876         (sinh_towardzero_test_data): Likewise.
62877         (sinh_downward_test_data): Likewise.
62878         (sinh_upward_test_data): Likewise.
62879         (sqrt_test_data): Likewise.
62880         (tan_test_data): Likewise.
62881         (tan_tonearest_test_data): Likewise.
62882         (tan_towardzero_test_data): Likewise.
62883         (tan_downward_test_data): Likewise.
62884         (tan_upward_test_data): Likewise.
62885         (tanh_test_data): Likewise.
62886         (tgamma_test_data): Likewise.
62887         (trunc_test_data): Likewise.
62888         (y0_test_data): Likewise.
62889         (y1_test_data): Likewise.
62890         (yn_test_data): Likewise.
62891         (significand_test_data): Likewise.
62893         * math/gen-libm-test.pl (@functions): Remove variable.
62894         (generate_testfile): Don't handle START and END lines.
62895         * math/libm-test.inc (START): New macro.
62896         (END): Likewise.
62897         (END_COMPLEX): Likewise.
62898         (acos_test): Use END macro without arguments.
62899         (acos_test_tonearest): Likewise.
62900         (acos_test_towardzero): Likewise.
62901         (acos_test_downward): Likewise.
62902         (acos_test_upward): Likewise.
62903         (acosh_test): Likewise.
62904         (asin_test): Likewise.
62905         (asin_test_tonearest): Likewise.
62906         (asin_test_towardzero): Likewise.
62907         (asin_test_downward): Likewise.
62908         (asin_test_upward): Likewise.
62909         (asinh_test): Likewise.
62910         (atan_test): Likewise.
62911         (atanh_test): Likewise.
62912         (atan2_test): Likewise.
62913         (cabs_test): Likewise.
62914         (cacos_test): Use END_COMPLEX macro without arguments.
62915         (cacosh_test): Likewise.
62916         (carg_test): Use END macro without arguments.
62917         (casin_test): Use END_COMPLEX macro without arguments.
62918         (casinh_test): Likewise.
62919         (catan_test): Likewise.
62920         (catanh_test): Likewise.
62921         (cbrt_test): Use END macro without arguments.
62922         (ccos_test): Use END_COMPLEX macro without arguments.
62923         (ccosh_test): Likewise.
62924         (ceil_test): Use END macro without arguments.
62925         (cexp_test): Use END_COMPLEX macro without arguments.
62926         (cimag_test): Use END macro without arguments.
62927         (clog_test): Use END_COMPLEX macro without arguments.
62928         (clog10_test): Likewise.
62929         (conj_test): Likewise.
62930         (copysign_test): Use END macro without arguments.
62931         (cos_test): Likewise.
62932         (cos_test_tonearest): Likewise.
62933         (cos_test_towardzero): Likewise.
62934         (cos_test_downward): Likewise.
62935         (cos_test_upward): Likewise.
62936         (cosh_test): Likewise.
62937         (cosh_test_tonearest): Likewise.
62938         (cosh_test_towardzero): Likewise.
62939         (cosh_test_downward): Likewise.
62940         (cosh_test_upward): Likewise.
62941         (cpow_test): Use END_COMPLEX macro without arguments.
62942         (cproj_test): Likewise.
62943         (creal_test): Use END macro without arguments.
62944         (csin_test): Use END_COMPLEX macro without arguments.
62945         (csinh_test): Likewise.
62946         (csqrt_test): Likewise.
62947         (ctan_test): Likewise.
62948         (ctan_test_tonearest): Likewise.
62949         (ctan_test_towardzero): Likewise.
62950         (ctan_test_downward): Likewise.
62951         (ctan_test_upward): Likewise.
62952         (ctanh_test): Likewise.
62953         (ctanh_test_tonearest): Likewise.
62954         (ctanh_test_towardzero): Likewise.
62955         (ctanh_test_downward): Likewise.
62956         (ctanh_test_upward): Likewise.
62957         (erf_test): Use END macro without arguments.
62958         (erfc_test): Likewise.
62959         (exp_test): Likewise.
62960         (exp_test_tonearest): Likewise.
62961         (exp_test_towardzero): Likewise.
62962         (exp_test_downward): Likewise.
62963         (exp_test_upward): Likewise.
62964         (exp10_test): Likewise.
62965         (exp2_test): Likewise.
62966         (expm1_test): Likewise.
62967         (fabs_test): Likewise.
62968         (fdim_test): Likewise.
62969         (finite_test): Likewise.
62970         (floor_test): Likewise.
62971         (fma_test): Likewise.
62972         (fma_test_towardzero): Likewise.
62973         (fma_test_downward): Likewise.
62974         (fma_test_upward): Likewise.
62975         (fmax_test): Likewise.
62976         (fmin_test): Likewise.
62977         (fmod_test): Likewise.
62978         (fpclassify_test): Likewise.
62979         (frexp_test): Likewise.
62980         (gamma_test): Likewise.
62981         (hypot_test): Likewise.
62982         (ilogb_test): Likewise.
62983         (isfinite_test): Likewise.
62984         (isgreater_test): Likewise.
62985         (isgreaterequal_test): Likewise.
62986         (isinf_test): Likewise.
62987         (isless_test): Likewise.
62988         (islessequal_test): Likewise.
62989         (islessgreater_test): Likewise.
62990         (isnan_test): Likewise.
62991         (isnormal_test): Likewise.
62992         (issignaling_test): Likewise.
62993         (isunordered_test): Likewise.
62994         (j0_test): Likewise.
62995         (j1_test): Likewise.
62996         (jn_test): Likewise.
62997         (ldexp_test): Likewise.
62998         (lgamma_test): Likewise.
62999         (lrint_test): Likewise.
63000         (lrint_test_tonearest): Likewise.
63001         (lrint_test_towardzero): Likewise.
63002         (lrint_test_downward): Likewise.
63003         (lrint_test_upward): Likewise.
63004         (llrint_test): Likewise.
63005         (llrint_test_tonearest): Likewise.
63006         (llrint_test_towardzero): Likewise.
63007         (llrint_test_downward): Likewise.
63008         (llrint_test_upward): Likewise.
63009         (log_test): Likewise.
63010         (log10_test): Likewise.
63011         (log1p_test): Likewise.
63012         (log2_test): Likewise.
63013         (logb_test): Likewise.
63014         (logb_test_downward): Likewise.
63015         (lround_test): Likewise.
63016         (llround_test): Likewise.
63017         (modf_test): Likewise.
63018         (nearbyint_test): Likewise.
63019         (nextafter_test): Likewise.
63020         (nexttoward_test): Likewise.
63021         (pow_test): Likewise.
63022         (pow_test_tonearest): Likewise.
63023         (pow_test_towardzero): Likewise.
63024         (pow_test_downward): Likewise.
63025         (pow_test_upward): Likewise.
63026         (remainder_test): Likewise.
63027         (remainder_test_tonearest): Likewise.
63028         (remainder_test_towardzero): Likewise.
63029         (remainder_test_downward): Likewise.
63030         (remainder_test_upward): Likewise.
63031         (remquo_test): Likewise.
63032         (rint_test): Likewise.
63033         (rint_test_tonearest): Likewise.
63034         (rint_test_towardzero): Likewise.
63035         (rint_test_downward): Likewise.
63036         (rint_test_upward): Likewise.
63037         (round_test): Likewise.
63038         (scalb_test): Likewise.
63039         (scalbn_test): Likewise.
63040         (scalbln_test): Likewise.
63041         (signbit_test): Likewise.
63042         (sin_test): Likewise.
63043         (sin_test_tonearest): Likewise.
63044         (sin_test_towardzero): Likewise.
63045         (sin_test_downward): Likewise.
63046         (sin_test_upward): Likewise.
63047         (sincos_test): Likewise.
63048         (sinh_test): Likewise.
63049         (sinh_test_tonearest): Likewise.
63050         (sinh_test_towardzero): Likewise.
63051         (sinh_test_downward): Likewise.
63052         (sinh_test_upward): Likewise.
63053         (sqrt_test): Likewise.
63054         (tan_test): Likewise.
63055         (tan_test_tonearest): Likewise.
63056         (tan_test_towardzero): Likewise.
63057         (tan_test_downward): Likewise.
63058         (tan_test_upward): Likewise.
63059         (tanh_test): Likewise.
63060         (tgamma_test): Likewise.
63061         (trunc_test): Likewise.
63062         (y0_test): Likewise.
63063         (y1_test): Likewise.
63064         (yn_test): Likewise.
63065         (significand_test): Likewise.
63067 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
63069         [BZ #15381]
63070         * libio/genops.c (_IO_no_init): Initialize wide struct info.
63072 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63074         [BZ #14894]
63075         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
63076         __ppc_mdoio and __ppc_mdoom.
63077         * manual/platform.texi: Document new functions __ppc_yield,
63078         __ppc_mdoio and __ppc_mdoom.
63080 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
63082         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
63083         (main): Mention "tls" pseudo-hwcap is legacy.
63084         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
63086 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63088         * math/gen-libm-test.pl (parse_args): Output only string of
63089         arguments as text for test name, not full call or descriptions of
63090         tests for extra outputs.
63091         (generate_testfile): Do not pass function name to parse_args.
63092         Generate this_func variable from START.
63093         * math/libm-test.inc (struct test_f_f_data): Rename test_name
63094         field to arg_str.
63095         (struct test_ff_f_data): Likewise.
63096         (test_ff_f_data_nexttoward): Likewise.
63097         (struct test_fi_f_data): Likewise.
63098         (struct test_fl_f_data): Likewise.
63099         (struct test_if_f_data): Likewise.
63100         (struct test_fff_f_data): Likewise.
63101         (struct test_c_f_data): Likewise.
63102         (struct test_f_f1_data): Likewise.  Remove field extra_name.
63103         (struct test_fF_f1_data): Likewise.
63104         (struct test_ffI_f1_data): Likewise.
63105         (struct test_c_c_data): Rename test_name field to arg_str.
63106         (struct test_cc_c_data): Likewise.
63107         (struct test_f_i_data): Likewise.
63108         (struct test_ff_i_data): Likewise.
63109         (struct test_f_l_data): Likewise.
63110         (struct test_f_L_data): Likewise.
63111         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
63112         and extra2_name.
63113         (COMMON_TEST_SETUP): New macro.
63114         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
63115         (COMMON_TEST_CLEANUP): Likewise.
63116         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
63117         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
63118         macros.
63119         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
63120         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
63121         macros.
63122         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
63123         (RUN_TEST_fff_f): Take argument string.  Call new setup and
63124         cleanup macros.
63125         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
63126         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
63127         macros.
63128         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
63129         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
63130         macros.
63131         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63132         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
63133         cleanup macros.
63134         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63135         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
63136         cleanup macros.
63137         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63138         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
63139         cleanup macros.
63140         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63141         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
63142         macros.
63143         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
63144         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
63145         macros.
63146         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
63147         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
63148         macros.
63149         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
63150         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
63151         cleanup macros.
63152         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
63153         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
63154         cleanup macros.
63155         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
63156         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
63157         macros.
63158         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
63159         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
63160         cleanup macros.
63161         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
63162         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
63163         macros.
63164         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
63165         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
63166         macros.
63167         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
63168         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
63169         cleanup macros.
63170         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
63172 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
63174         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
63175         to _sifields.sigfault.
63176         (si_addr_lsb): Define new macro.
63177         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63178         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63179         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63181 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
63183         [BZ #15441]
63184         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63185         returns -1.
63186         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63187         null return -1.
63188         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63189         loading the domain.
63191 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63193         * math/gen-libm-test.pl (parse_args): Do not include expected
63194         result in test name.
63195         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63196         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63197         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63198         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63199         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63202 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63204         * benchtests/Makefile: Sort function entries.
63206         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
63207         tanh, asinh, acosh, atanh.
63208         * benchtests/acos-inputs: New file.
63209         * benchtests/acosh-inputs: New file.
63210         * benchtests/asin-inputs: New file.
63211         * benchtests/asinh-inputs: New file.
63212         * benchtests/atanh-inputs: New file.
63213         * benchtests/cosh-inputs: New file.
63214         * benchtests/log-inputs: New file.
63215         * benchtests/sinh-inputs: New file.
63216         * benchtests/tanh-inputs: New file.
63218 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
63220         [BZ #15339]
63221         * posix/tst-getaddrinfo4.c: New test.
63222         * posix/Makefile (tests): Add it.
63224 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63226         [BZ #15339]
63227         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
63228         when no services were used.
63229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
63230         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
63232 2013-05-21  Andreas Schwab  <schwab@suse.de>
63234         [BZ #15014]
63235         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
63236         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
63237         successful.
63238         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
63239         redundant variable declarations and reallocation of buffer when
63240         parsing as IPv6 address.  Always set NSS status when called from
63241         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
63242         buffer too small.  Correct computation of needed size.
63243         * nss/Makefile (tests): Add test-digits-dots.
63244         * nss/test-digits-dots.c: New test.
63246 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63248         * benchtests/Makefile: Remove instructions for adding
63249         benchmark tests.
63250         * benchtests/README: New file to explain how to execute and
63251         enhance the benchmark tests.
63253 2013-05-21  Andreas Schwab  <schwab@suse.de>
63255         [BZ #15493]
63256         * setjmp/Makefile (tests): Add tst-sigsetjmp.
63257         * setjmp/tst-sigsetjmp.c: New test.
63259 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63261         * sysdeps/x86_64/memset.S (memset): New implementation.
63262         (__bzero): Likewise.
63263         (__memset_tail): New function.
63265 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63267         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
63268         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
63269         __memcpy_sse2_unaligned ifunc selection.
63270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63271         Add memcpy-sse2-unaligned.S.
63272         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63273         Add: __memcpy_sse2_unaligned.
63275 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
63277         [BZ #15490]
63278         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63279         math_force_eval before restoring floating-point envrionment.
63280         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63281         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63282         Likewise.
63283         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63284         <math_private.h>.
63285         (__nearbyintl): Use math_force_eval before restoring
63286         floating-point environment.
63287         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63289         * math/gen-libm-test.pl (special_functions): Remove.
63290         (parse_args): Don't handle TEST_extra.  Handle functions with no
63291         return value.
63292         * math/libm-test.inc (struct test_sincos_data): Replace with
63293         struct test_fFF_11_data.
63294         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63295         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63296         (sincos_test_data): Change element type to struct
63297         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
63298         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63299         RUN_TEST_LOOP_sincos.
63300         * math/README.libm-test: Don't mention special handling of
63301         individual functions.
63302         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63303         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63304         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63305         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63306         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63309         * math/gen-libm-test.pl (get_variable): Remove function.
63310         (parse_args): Don't show pointer parameters to call in test
63311         names.  Use "extra output N" in test names for extra outputs
63312         rather than naming variables.
63314 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
63316         [BZ #15488]
63317         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63318         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63319         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63320         double tests.
63321         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63322         disable.
63323         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63324         check_long_double.
63326         * math/gen-libm-test.pl (@tests): Remove variable.
63327         ($count): Likewise.
63328         (new_test): Remove function.
63329         (show_exceptions): New function.
63330         (special_functions): Use show_exceptions instead of new_test.
63331         (parse_args): Likewise.
63332         (generate_testfile): Pass only function name in generated call to
63333         print_max_error or print_complex_max_error.
63334         (get_ulps): Do not handle complex tests specially.
63335         (output_test): Rename to ...
63336         (get_all_ulps_for_test): ... this.  Return a string rather than
63337         printing to a file.  Require ulps to be present.
63338         (output_ulps): Generate arrays rather than #defines.
63339         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63340         (struct ulp_data): New type.
63341         (BUILD_COMPLEX_ULP): Remove macro.
63342         (compare_ulp_data): New function.
63343         (find_ulps): Likewise.
63344         (find_test_ulps): Likewise.
63345         (find_function_ulps): Likewise.
63346         (find_complex_function_ulps): Likewise.
63347         (print_max_error): Determine allowed ulps using
63348         find_function_ulps.
63349         (print_complex_max_error): Determine allowed ulps using
63350         find_complex_function_ulps.
63351         (check_float_internal): Determine max ulps using find_test_ulps.
63352         (check_float): Do not take max_ulp parameter.  Update call to
63353         check_float_internal.
63354         (check_complex): Likewise.
63355         (check_int): Do not take max_ulp parameter.
63356         (check_long): Likewise.
63357         (check_bool): Likewise.
63358         (check_longlong): Likewise.
63359         (struct test_f_f_data): Remove max_ulp field.
63360         (struct test_ff_f_data): Likewise.
63361         (struct test_ff_f_data_nexttoward): Likewise.
63362         (struct test_fi_f_data): Likewise.
63363         (struct test_fl_f_data): Likewise.
63364         (struct test_if_f_data): Likewise.
63365         (struct test_fff_f_data): Likewise.
63366         (struct test_c_f_data): Likewise.
63367         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63368         (struct test_fF_f1_data): Likewise.
63369         (struct test_ffI_f1_data): Likewise.
63370         (struct test_c_c_data): Remove max_ulp field.
63371         (struct test_cc_c_data): Likewise.
63372         (struct test_f_i_data): Likewise.
63373         (struct test_ff_i_data): Likewise.
63374         (struct test_f_l_data): Likewise.
63375         (struct test_f_L_data): Likewise.
63376         (struct test_sincos_data): Likewise.
63377         (RUN_TEST_f_f): Do not handle ulps.
63378         (RUN_TEST_LOOP_f_f): Likewise.
63379         (RUN_TEST_2_f): Likewise.
63380         (RUN_TEST_LOOP_2_f): Likewise.
63381         (RUN_TEST_fff_f): Likewise.
63382         (RUN_TEST_LOOP_fff_f): Likewise.
63383         (RUN_TEST_c_f): Likewise.
63384         (RUN_TEST_LOOP_c_f): Likewise.
63385         (RUN_TEST_f_f1): Likewise.
63386         (RUN_TEST_LOOP_f_f1): Likewise.
63387         (RUN_TEST_fF_f1): Likewise.
63388         (RUN_TEST_LOOP_fF_f1): Likewise.
63389         (RUN_TEST_fI_f1): Likewise.
63390         (RUN_TEST_LOOP_fI_f1): Likewise.
63391         (RUN_TEST_ffI_f1): Likewise.
63392         (RUN_TEST_LOOP_ffI_f1): Likewise.
63393         (RUN_TEST_c_c): Likewise.
63394         (RUN_TEST_LOOP_c_c): Likewise.
63395         (RUN_TEST_cc_c): Likewise.
63396         (RUN_TEST_LOOP_cc_c): Likewise.
63397         (RUN_TEST_f_i): Likewise.
63398         (RUN_TEST_LOOP_f_i): Likewise.
63399         (RUN_TEST_f_i_tg): Likewise.
63400         (RUN_TEST_LOOP_f_i_tg): Likewise.
63401         (RUN_TEST_ff_i_tg): Likewise.
63402         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63403         (RUN_TEST_f_b): Likewise.
63404         (RUN_TEST_LOOP_f_b): Likewise.
63405         (RUN_TEST_f_b_tg): Likewise.
63406         (RUN_TEST_LOOP_f_b_tg): Likewise.
63407         (RUN_TEST_f_l): Likewise.
63408         (RUN_TEST_LOOP_f_l): Likewise.
63409         (RUN_TEST_f_L): Likewise.
63410         (RUN_TEST_LOOP_f_L): Likewise.
63411         (RUN_TEST_sincos): Likewise.
63412         (RUN_TEST_LOOP_sincos): Likewise.
63414 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63416         [BZ #15480]
63417         [BZ #15485]
63418         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63419         main case of finite arguments, set rounding mode to FE_TONEAREST
63420         and discard exceptions.
63421         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63422         exceptions.
63423         (remainder_tonearest_test_data): New variable.
63424         (remainder_test_tonearest): New function.
63425         (remainder_towardzero_test_data): New variable.
63426         (remainder_test_towardzero): New function.
63427         (remainder_downward_test_data): New variable.
63428         (remainder_test_downward): New function.
63429         (remainder_upward_test_data): New variable.
63430         (remainder_test_upward): New function.
63431         (main): Call the new test functions.
63433         * math/libm-test.inc (struct test_f_f1_data): Remove field
63434         extra_init.
63435         (struct test_fF_f1_data): Likewise.
63436         (struct test_ffI_f1_data): Likewise.
63437         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63438         based on value of EXTRA_EXPECTED.
63439         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63440         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63441         EXTRA_VAR based on value of EXTRA_EXPECTED.
63442         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63443         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63444         EXTRA_VAR based on value of EXTRA_EXPECTED.
63445         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63446         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63447         EXTRA_VAR based on value of EXTRA_EXPECTED.
63448         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63449         * math/gen-libm-test.pl (parse_args): Don't output initializers
63450         for extra output values.
63452         * math/libm-test.inc (check_int): Expect result to be exactly
63453         equal to expected value and do not handle ulps.
63454         (check_long): Likewise.
63455         (check_longlong): Likewise.
63457         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63458         exceptions.
63459         (cimag_test_data): Likewise.
63460         (conj_test_data): Likewise.
63461         (copysign_test_data): Likewise.
63462         (cproj_test_data): Likewise.
63463         (creal_test_data): Likewise.
63464         (fabs_test_data): Likewise.
63465         (fdim_test_data): Likewise.
63466         (finite_test_data): Likewise.
63467         (floor_test_data): Likewise.
63468         (fmax_test_data): Likewise.
63469         (fmin_test_data): Likewise.
63470         (fmod_test_data): Likewise.
63471         (fpclassify_test_data): Likewise.
63472         (frexp_test_data): Likewise.
63473         (ilogb_test_data): Likewise.
63474         (isfinite_test_data): Likewise.
63475         (isgreater_test_data): Likewise.
63476         (isgreaterequal_test_data): Likewise.
63477         (isinf_test_data): Likewise.
63478         (isless_test_data): Likewise.
63479         (islessequal_test_data): Likewise.
63480         (islessgreater_test_data): Likewise.
63481         (isnan_test_data): Likewise.
63482         (isnormal_test_data): Likewise.
63483         (issignaling_test_data): Likewise.
63484         (isunordered_test_data): Likewise.
63485         (ldexp_test_data): Likewise.
63486         (lrint_test_data): Likewise.
63487         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63488         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63489         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63490         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63491         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63492         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63493         test input.
63494         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63495         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63496         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63497         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63498         that test input.
63499         (lrint_downward_test_data): Test for "inexact" exceptions.
63500         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63501         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63502         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63503         test input.
63504         (lrint_upward_test_data): Test for "inexact" exceptions.
63505         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63506         test input.
63507         (llrint_test_data): Test for "inexact" exceptions.
63508         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63509         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63510         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63511         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63512         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63513         (llrint_downward_test_data): Test for "inexact" exceptions.
63514         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63515         (llrint_upward_test_data): Test for "inexact" exceptions.
63516         (logb_test_data): Likewise.
63517         (logb_downward_test_data): Likewise.
63518         (nextafter_test_data): Likewise.
63519         (nexttoward_test_data): Likewise.
63520         (remainder_test_data): Likewise.
63521         (remquo_test_data): Likewise.
63522         (scalbn_test_data): Likewise.
63523         (scalbln_test_data): Likewise.
63524         (signbit_test_data): Likewise.
63525         (sqrt_test_data): Likewise.
63526         (significand_test_data): Likewise.
63528 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63530         [BZ #15424]
63531         * benchtests/bench-modf.c (struct args): Mark arg0 as
63532         volatile.
63533         * scripts/bench.pl: Mark members of struct args as volatile.
63535 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63537         [BZ # 15497]
63538         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63539         negative infinity on POWER6 or lower.
63540         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63542 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63544         [BZ #15442]
63545         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63546         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63547         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63548         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63549         (_FP_SETQNAN): New macro.
63550         (_FP_SETQNAN_SEMIRAW): Likewise.
63551         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63552         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63553         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63554         (FP_EXTEND): Use _FP_FRAC_SNANP.
63555         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63556         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63557         into account.
63558         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63559         New macro.
63560         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63561         Likewise.
63563 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63565         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63566         with DIVIDE_BY_ZERO_EXCEPTION.
63567         (gamma_test_data): Likewise.
63568         (lgamma_test_data): Likewise.
63569         (log_test_data): Likewise.
63570         (log10_test_data): Likewise.
63571         (log2_test_data): Likewise.
63572         (tgamma_test_data): Likewise.
63574         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63575         (acos_test_tonearest): Likewise.
63576         (acos_test_towardzero): Likewise.
63577         (acos_test_downward): Likewise.
63578         (acos_test_upward): Likewise.
63579         (acosh_test): Likewise.
63580         (asin_test): Likewise.
63581         (asin_test_tonearest): Likewise.
63582         (asin_test_towardzero): Likewise.
63583         (asin_test_downward): Likewise.
63584         (asin_test_upward): Likewise.
63585         (asinh_test): Likewise.
63586         (atan_test): Likewise.
63587         (atanh_test): Likewise.
63588         (atan2_test): Likewise.
63589         (cabs_test): Likewise.
63590         (cacos_test): Likewise.
63591         (cacosh_test): Likewise.
63592         (casin_test): Likewise.
63593         (casinh_test): Likewise.
63594         (catan_test): Likewise.
63595         (catanh_test): Likewise.
63596         (cbrt_test): Likewise.
63597         (ccos_test): Likewise.
63598         (ccosh_test): Likewise.
63599         (cexp_test): Likewise.
63600         (clog_test): Likewise.
63601         (clog10_test): Likewise.
63602         (cos_test): Likewise.
63603         (cos_test_tonearest): Likewise.
63604         (cos_test_towardzero): Likewise.
63605         (cos_test_downward): Likewise.
63606         (cos_test_upward): Likewise.
63607         (cosh_test): Likewise.
63608         (cosh_test_tonearest): Likewise.
63609         (cosh_test_towardzero): Likewise.
63610         (cosh_test_downward): Likewise.
63611         (cosh_test_upward): Likewise.
63612         (cpow_test): Likewise.
63613         (csin_test): Likewise.
63614         (csinh_test): Likewise.
63615         (csqrt_test): Likewise.
63616         (ctan_test): Likewise.
63617         (ctan_test_tonearest): Likewise.
63618         (ctan_test_towardzero): Likewise.
63619         (ctan_test_downward): Likewise.
63620         (ctan_test_upward): Likewise.
63621         (ctanh_test): Likewise.
63622         (ctanh_test_tonearest): Likewise.
63623         (ctanh_test_towardzero): Likewise.
63624         (ctanh_test_downward): Likewise.
63625         (ctanh_test_upward): Likewise.
63626         (erf_test): Likewise.
63627         (erfc_test): Likewise.
63628         (exp_test): Likewise.
63629         (exp_test_tonearest): Likewise.
63630         (exp_test_towardzero): Likewise.
63631         (exp_test_downward): Likewise.
63632         (exp_test_upward): Likewise.
63633         (exp10_test): Likewise.
63634         (exp2_test): Likewise.
63635         (expm1_test): Likewise.
63636         (fmod_test): Likewise.
63637         (gamma_test): Likewise.
63638         (hypot_test): Likewise.
63639         (j0_test): Likewise.
63640         (j1_test): Likewise.
63641         (jn_test): Likewise.
63642         (lgamma_test): Likewise.
63643         (log_test): Likewise.
63644         (log10_test): Likewise.
63645         (log1p_test): Likewise.
63646         (log2_test): Likewise.
63647         (logb_test_downward): Likewise.
63648         (pow_test): Likewise.
63649         (pow_test_tonearest): Likewise.
63650         (pow_test_towardzero): Likewise.
63651         (pow_test_downward): Likewise.
63652         (pow_test_upward): Likewise.
63653         (remainder_test): Likewise.
63654         (remquo_test): Likewise.
63655         (sin_test): Likewise.
63656         (sin_test_tonearest): Likewise.
63657         (sin_test_towardzero): Likewise.
63658         (sin_test_downward): Likewise.
63659         (sin_test_upward): Likewise.
63660         (sincos_test): Likewise.
63661         (sinh_test): Likewise.
63662         (sinh_test_tonearest): Likewise.
63663         (sinh_test_towardzero): Likewise.
63664         (sinh_test_downward): Likewise.
63665         (sinh_test_upward): Likewise.
63666         (sqrt_test): Likewise.
63667         (tan_test): Likewise.
63668         (tan_test_tonearest): Likewise.
63669         (tan_test_towardzero): Likewise.
63670         (tan_test_downward): Likewise.
63671         (tan_test_upward): Likewise.
63672         (tanh_test): Likewise.
63673         (tgamma_test): Likewise.
63674         (y0_test): Likewise.
63675         (y1_test): Likewise.
63676         (yn_test): Likewise.
63678         * math/gen-libm-test.pl (adjust_arg): Remove function.
63679         (special_function): Remove argument $in_func.  Only handle
63680         generating output for tables of tests, not inside functions.
63681         (parse_args): Likewise.
63682         (generate_testfile): Remove variable $in_func.  Update call to
63683         parse_args.
63684         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
63685         (MINUS_ZERO_INIT): Rename macro to minus_zero.
63686         (PLUS_INFTY_INIT): Rename macro to plus_infty.
63687         (MINUS_INFTY_INIT): Rename macro to minus_infty.
63688         (QNAN_VALUE_INIT): Rename macro to qnan_value.
63689         (MAX_VALUE_INIT): Rename macro to max_value.
63690         (MIN_VALUE_INIT): Rename macro to min_value.
63691         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
63692         (plus_zero): Remove variable.
63693         (minus_zero): Likewise.
63694         (plus_infty): Likewise.
63695         (minus_infty): Likewise.
63696         (qnan_value): Likewise.
63697         (max_value): Likewise.
63698         (min_value): Likewise.
63699         (min_subnorm_value): Likewise.
63701 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63703         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
63704         uint64_t or uint32_t usage.
63705         * crypt/sha256-block.c: Likewise.
63706         * crypt/sha256-crypt.c: Likewise.
63707         * crypt/sha256.c: Likewise.
63708         * crypt/sha512-block.c: Likewise.
63709         * crypt/sha512-crypt.c: Likewise.
63710         * crypt/sha512.c: Likewise.
63711         * debug/backtrace-tst.c: Likewise.
63712         * debug/pcprofiledump.c: Likewise.
63713         * elf/cache.c: Likewise.
63714         * elf/dl-cache.c: Likewise.
63715         * elf/dl-misc.c: Likewise.
63716         * elf/dl-profile.c: Likewise.
63717         * elf/dl-support.c: Likewise.
63718         * elf/ldconfig.c: Likewise.
63719         * elf/sprof.c: Likewise.
63720         * iconv/dummy-repertoire.c: Likewise.
63721         * iconv/iconv_charmap.c: Likewise.
63722         * iconv/skeleton.c: Likewise.
63723         * iconvdata/8bit-generic.c: Likewise.
63724         * iconvdata/cp737.h: Likewise.
63725         * iconvdata/cp775.h: Likewise.
63726         * iconvdata/ibm1008.h: Likewise.
63727         * iconvdata/ibm1025.h: Likewise.
63728         * iconvdata/ibm1046.h: Likewise.
63729         * iconvdata/ibm1097.h: Likewise.
63730         * iconvdata/ibm1112.h: Likewise.
63731         * iconvdata/ibm1122.h: Likewise.
63732         * iconvdata/ibm1123.h: Likewise.
63733         * iconvdata/ibm1124.h: Likewise.
63734         * iconvdata/ibm1129.h: Likewise.
63735         * iconvdata/ibm1130.h: Likewise.
63736         * iconvdata/ibm1132.h: Likewise.
63737         * iconvdata/ibm1133.h: Likewise.
63738         * iconvdata/ibm1137.h: Likewise.
63739         * iconvdata/ibm1140.h: Likewise.
63740         * iconvdata/ibm1141.h: Likewise.
63741         * iconvdata/ibm1142.h: Likewise.
63742         * iconvdata/ibm1143.h: Likewise.
63743         * iconvdata/ibm1144.h: Likewise.
63744         * iconvdata/ibm1145.h: Likewise.
63745         * iconvdata/ibm1146.h: Likewise.
63746         * iconvdata/ibm1147.h: Likewise.
63747         * iconvdata/ibm1148.h: Likewise.
63748         * iconvdata/ibm1149.h: Likewise.
63749         * iconvdata/ibm1153.h: Likewise.
63750         * iconvdata/ibm1154.h: Likewise.
63751         * iconvdata/ibm1155.h: Likewise.
63752         * iconvdata/ibm1156.h: Likewise.
63753         * iconvdata/ibm1157.h: Likewise.
63754         * iconvdata/ibm1158.h: Likewise.
63755         * iconvdata/ibm1160.h: Likewise.
63756         * iconvdata/ibm1161.h: Likewise.
63757         * iconvdata/ibm1162.h: Likewise.
63758         * iconvdata/ibm1163.h: Likewise.
63759         * iconvdata/ibm1164.h: Likewise.
63760         * iconvdata/ibm1166.h: Likewise.
63761         * iconvdata/ibm1167.h: Likewise.
63762         * iconvdata/ibm12712.h: Likewise.
63763         * iconvdata/ibm1390.h: Likewise.
63764         * iconvdata/ibm1399.h: Likewise.
63765         * iconvdata/ibm16804.h: Likewise.
63766         * iconvdata/ibm4517.h: Likewise.
63767         * iconvdata/ibm4899.h: Likewise.
63768         * iconvdata/ibm4909.h: Likewise.
63769         * iconvdata/ibm4971.h: Likewise.
63770         * iconvdata/ibm5347.h: Likewise.
63771         * iconvdata/ibm803.h: Likewise.
63772         * iconvdata/ibm856.h: Likewise.
63773         * iconvdata/ibm901.h: Likewise.
63774         * iconvdata/ibm902.h: Likewise.
63775         * iconvdata/ibm9030.h: Likewise.
63776         * iconvdata/ibm9066.h: Likewise.
63777         * iconvdata/ibm921.h: Likewise.
63778         * iconvdata/ibm922.h: Likewise.
63779         * iconvdata/ibm9448.h: Likewise.
63780         * iconvdata/isiri-3342.h: Likewise.
63781         * iconvdata/jis0201.h: Likewise.
63782         * include/link.h: Likewise.
63783         * include/netdb.h: Likewise.
63784         * inet/check_native.c: Likewise.
63785         * inet/check_pf.c: Likewise.
63786         * inet/getipv4sourcefilter.c: Likewise.
63787         * inet/getnameinfo.c: Likewise.
63788         * inet/getsourcefilter.c: Likewise.
63789         * inet/htonl.c: Likewise.
63790         * inet/setipv4sourcefilter.c: Likewise.
63791         * inet/setsourcefilter.c: Likewise.
63792         * inet/test-inet6_opt.c: Likewise.
63793         * inet/tst-network.c: Likewise.
63794         * locale/C-collate.c: Likewise.
63795         * locale/C-ctype.c: Likewise.
63796         * locale/C-time.c: Likewise.
63797         * locale/C-translit.h: Likewise.
63798         * locale/loadarchive.c: Likewise.
63799         * locale/programs/3level.h: Likewise.
63800         * locale/programs/charmap.c: Likewise.
63801         * locale/programs/charmap.h: Likewise.
63802         * locale/programs/ld-address.c: Likewise.
63803         * locale/programs/ld-collate.c: Likewise.
63804         * locale/programs/ld-ctype.c: Likewise.
63805         * locale/programs/ld-identification.c: Likewise.
63806         * locale/programs/ld-measurement.c: Likewise.
63807         * locale/programs/ld-messages.c: Likewise.
63808         * locale/programs/ld-monetary.c: Likewise.
63809         * locale/programs/ld-name.c: Likewise.
63810         * locale/programs/ld-numeric.c: Likewise.
63811         * locale/programs/ld-paper.c: Likewise.
63812         * locale/programs/ld-telephone.c: Likewise.
63813         * locale/programs/ld-time.c: Likewise.
63814         * locale/programs/linereader.c: Likewise.
63815         * locale/programs/locale.c: Likewise.
63816         * locale/programs/locarchive.c: Likewise.
63817         * locale/programs/locfile.h: Likewise.
63818         * locale/programs/repertoire.c: Likewise.
63819         * locale/programs/simple-hash.c: Likewise.
63820         * locale/programs/simple-hash.h: Likewise.
63821         * malloc/memusage.c: Likewise.
63822         * malloc/memusagestat.c: Likewise.
63823         * nis/nis_defaults.c: Likewise.
63824         * nis/nis_hash.c: Likewise.
63825         * nis/nis_print.c: Likewise.
63826         * nis/nis_xdr.c: Likewise.
63827         * nscd/connections.c: Likewise.
63828         * nscd/hstcache.c: Likewise.
63829         * nscd/nscd_gethst_r.c: Likewise.
63830         * nscd/nscd_getserv_r.c: Likewise.
63831         * nscd/nscd_helper.c: Likewise.
63832         * nscd/servicescache.c: Likewise.
63833         * nss/makedb.c: Likewise.
63834         * nss/nss_db/db-XXX.c: Likewise.
63835         * nss/nss_db/db-initgroups.c: Likewise.
63836         * nss/nss_db/db-netgrp.c: Likewise.
63837         * nss/nss_files/files-network.c: Likewise.
63838         * nss/nss_files/files-parse.c: Likewise.
63839         * posix/bug-regex5.c: Likewise.
63840         * posix/fnmatch_loop.c: Likewise.
63841         * posix/regcomp.c: Likewise.
63842         * posix/regexec.c: Likewise.
63843         * posix/tst-rfc3484-2.c: Likewise.
63844         * posix/tst-rfc3484-3.c: Likewise.
63845         * posix/tst-rfc3484.c: Likewise.
63846         * resolv/nss_dns/dns-canon.c: Likewise.
63847         * resolv/nss_dns/dns-network.c: Likewise.
63848         * resolv/res_init.c: Likewise.
63849         * resolv/res_mkquery.c: Likewise.
63850         * resolv/tst-aton.c: Likewise.
63851         * stdlib/cxa_atexit.c: Likewise.
63852         * stdlib/cxa_finalize.c: Likewise.
63853         * stdlib/gen-fpioconst.c: Likewise.
63854         * stdlib/strtol_l.c: Likewise.
63855         * string/tst-endian.c: Likewise.
63856         * sunrpc/auth_des.c: Likewise.
63857         * sunrpc/clnt_udp.c: Likewise.
63858         * sunrpc/rtime.c: Likewise.
63859         * sunrpc/svcauth_des.c: Likewise.
63860         * sunrpc/xdr.c: Likewise.
63861         * sunrpc/xdr_intXX_t.c: Likewise.
63862         * sunrpc/xdr_rec.c: Likewise.
63863         * sysdeps/generic/ldconfig.h: Likewise.
63864         * sysdeps/generic/ldsodefs.h: Likewise.
63865         * sysdeps/generic/memusage.h: Likewise.
63866         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63867         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
63868         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
63869         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63870         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63871         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63872         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63873         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63874         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63875         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63876         * sysdeps/posix/getaddrinfo.c: Likewise.
63877         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63878         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63879         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63880         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63881         * sysdeps/powerpc/test-gettimebase.c: Likewise.
63882         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
63883         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
63884         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
63885         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
63886         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
63887         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63888         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63889         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
63890         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
63891         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
63892         * sysdeps/x86_64/dl-tls.h: Likewise.
63893         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
63894         * time/alt_digit.c: Likewise.
63895         * time/era.c: Likewise.
63896         * wcsmbs/tst-c16c32-1.c: Likewise.
63898 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63900         * math/libm-test.inc (struct test_sincos_data): New type.
63901         (RUN_TEST_LOOP_sincos): New macro.
63902         (sincos_test_data): New variable.
63903         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
63905 2013-05-16  Richard Henderson  <rth@redhat.com>
63907         * math/atest-exp2.c (LIMB64): New macro.
63908         (CONSTSZ): New macro.
63909         (mp_exp1, mp_exp_m1, mp_log2): New variables.
63910         (hexdig): Move ...
63911         (print_mpn_fp): ... to function scope.
63912         (read_mpn_hex): Remove.
63913         (get_log2): Remove.
63914         (exp2_mpn): Use mp_log2.
63915         (main): Use mp_exp1.
63917 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63919         * math/libm-test.inc: Remove comment about not testing "inexact"
63920         exceptions.
63921         (INEXACT_EXCEPTION): New macro.
63922         (NO_INEXACT_EXCEPTION): Likewise.
63923         (INVALID_EXCEPTION_OK): Update value.
63924         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63925         (OVERFLOW_EXCEPTION_OK): Likewise.
63926         (UNDERFLOW_EXCEPTION_OK): Likewise.
63927         (IGNORE_ZERO_INF_SIGN): Likewise.
63928         (ERRNO_UNCHANGED): Likewise.
63929         (ERRNO_EDOM): Likewise.
63930         (ERRNO_ERANGE): Likewise.
63931         (test_exceptions): Handle testing "inexact" exceptions.
63932         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63933         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63934         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63935         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63936         INEXACT_EXCEPTION.
63937         (rint_towardzero_test_data): Likewise.
63938         (rint_downward_test_data): Likewise.
63939         (rint_upward_test_data): Likewise.
63941         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63942         with OVERFLOW_EXCEPTION.
63943         (exp10_test_data): Likewise.
63944         (exp2_test_data): Likewise.
63945         (expm1_test_data): Likewise.
63946         (lgamma_test_data): Likewise.
63947         (pow_test_data): Likewise.
63948         (tgamma_test_data): Likewise.
63949         (yn_test_data): Remove duplicate test of overflow.
63951         * math/libm-test.inc (struct test_cc_c_data): New type.
63952         (RUN_TEST_LOOP_cc_c): New macro.
63953         (cpow_test_data): New variable.
63954         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63956         * math/libm-test.inc (struct test_f_L_data): New type.
63957         (RUN_TEST_LOOP_f_L): New macro.
63958         (llrint_test_data): New variable.
63959         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63960         (llrint_tonearest_test_data): New variable.
63961         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63962         (llrint_towardzero_test_data): New variable.
63963         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63964         (llrint_downward_test_data): New variable.
63965         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63966         (llrint_upward_test_data): New variable.
63967         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63968         (llround_test_data): New variable.
63969         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63971 2013-05-13  Peter Collingbourne  <pcc@google.com>
63973         * math/atest-exp2.c (get_log2): Remove const attribute.
63975 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63977         * math/libm-test.inc (struct test_f_l_data): New type.
63978         (RUN_TEST_LOOP_f_l): New macro.
63979         (lrint_test_data): New variable.
63980         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63981         (lrint_tonearest_test_data): New variable.
63982         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63983         (lrint_towardzero_test_data): New variable.
63984         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63985         (lrint_downward_test_data): New variable.
63986         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63987         (lrint_upward_test_data): New variable.
63988         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63989         (lround_test_data): New variable.
63990         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63992 2013-05-15  Peter Collingbourne  <pcc@google.com>
63994         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63995         (EXTRACT_WORDS64) Use where appropriate.
63996         (INSERT_WORDS64) Likewise.
63998         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63999         constraints with x constraints.
64000         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
64002         * malloc/obstack.c (_obstack_compat): Add initializer.
64004 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64006         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
64007         si_trapno and add si_addr_lsb to _sifields.sigfault.
64008         (si_trapno): Remove macro.
64009         (si_addr_lsb): Define new macro.
64010         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64012 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64014         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
64015         instead of TEST_f_l.
64016         (llrint_test_tonearest): Likewise.
64017         (llrint_test_towardzero): Likewise.
64018         (llrint_test_downward): Likewise.
64019         (llrint_test_upward): Likewise.
64020         (llround_test): Likewise.
64022         * math/libm-test.inc (struct test_f_i_data): Add comment.
64023         (RUN_TEST_LOOP_f_b): New macro.
64024         (RUN_TEST_LOOP_f_b_tg): Likewise.
64025         (finite_test_data): New variable.
64026         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
64027         (isfinite_test_data): New variable.
64028         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64029         (isinf_test_data): New variable.
64030         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64031         (isnan_test_data): New variable.
64032         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64033         (isnormal_test_data): New variable.
64034         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64035         (issignaling_test_data): New variable.
64036         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64037         (signbit_test_data): New variable.
64038         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64040         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
64041         with INVALID_EXCEPTION.
64042         (acosh_test_data): Likewise.
64043         (asin_test_data): Likewise.
64044         (atanh_test_data): Likewise.
64045         (fmod_test_data): Likewise.
64046         (log_test_data): Likewise.
64047         (log10_test_data): Likewise.
64048         (log2_test_data): Likewise.
64049         (pow_test_data): Likewise.
64050         (sqrt_test_data): Likewise.
64051         (y0_test_data): Likewise.
64052         (y1_test_data): Likewise.
64053         (yn_test_data): Likewise.
64055         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
64056         function contents.
64058         * math/libm-test.inc (struct test_ff_i_data): New type.
64059         (RUN_TEST_LOOP_ff_i_tg): New macro.
64060         (isgreater_test_data): New variable.
64061         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64062         (isgreaterequal_test_data): New variable.
64063         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64064         (isless_test_data): New variable.
64065         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64066         (islessequal_test_data): New variable.
64067         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64068         (islessgreater_test_data): New variable.
64069         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64070         (isunordered_test_data): New variable.
64071         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64073 2013-05-14  David S. Miller  <davem@davemloft.net>
64075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64077 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
64079         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
64081         * math/libm-test.inc (struct test_fF_f1_data): Change type of
64082         extra_test to int.
64083         (struct test_f_i_data): Change type of max_ulp to int.
64085         * math/libm-test.inc (test_ffI_f1_data): New type.
64086         (RUN_TEST_LOOP_ffI_f1): New macro.
64087         (remquo_test_data): New variable.
64088         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
64090         * setjmp/tst-setjmp-fp.c: New file.
64091         * setjmp/Makefile (tests): Add tst-setjmp-fp.
64092         (link-libm): New variable.
64093         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
64095         * math/libm-test.inc (struct test_f_i_data): New type.
64096         (RUN_TEST_LOOP_f_i): New macro.
64097         (RUN_TEST_LOOP_f_i_tg): Likewise.
64098         (fpclassify_test_data): New variable.
64099         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
64100         (ilogb_test_data): New variable.
64101         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
64103         * math/libm-test.inc (scalbln_test): Correct function name in END
64104         call.
64106         * math/libm-test.inc (struct test_f_f1_data): Add comment.
64107         (RUN_TEST_LOOP_fI_f1): New macro.
64108         (frexp_test_data): New variable.
64109         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
64111         * math/libm-test.inc (struct test_fF_f1_data): New type.
64112         (RUN_TEST_LOOP_fF_f1): New macro.
64113         (modf_test_data): New variable.
64114         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
64116         * math/libm-test.inc (struct test_f_f1_data): New type.
64117         (RUN_TEST_LOOP_f_f1): New macro.
64118         (gamma_test_data): New variable.
64119         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64120         (lgamma_test_data): New variable.
64121         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64123 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
64125         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
64126         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
64127         (main): Comment "tls" pseudo-hwcap.
64129 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
64131         * math/libm-test.inc (struct test_fl_f_data): New type.
64132         (RUN_TEST_LOOP_fl_f): New variable.
64133         (scalbln_test_data): New variable.
64134         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
64136         * math/libm-test.inc (struct test_fi_f_data): New type.
64137         (RUN_TEST_LOOP_fi_f): New macro.
64138         (ldexp_test_data): New variable.
64139         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
64140         (scalbn_test_data): New variable.
64141         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
64143         * math/libm-test.inc (struct test_c_f_data): New type.
64144         (RUN_TEST_LOOP_c_f): New macro.
64145         (cabs_test_data): New variable.
64146         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
64147         (carg_test_data): New variable.
64148         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
64149         (cimag_test_data): New variable.
64150         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64151         (creal_test_data): New variable.
64152         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
64154         * math/libm-test.inc (struct test_if_f_data): New type.
64155         (RUN_TEST_LOOP_if_f): New macro.
64156         (jn_test_data): New variable.
64157         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
64158         (yn_test_data): New variable.
64159         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
64161         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
64163 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64165         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
64166         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64168 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64170         * benchtests/Makefile (CPPFLAGS-nonlib): Add
64171         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64172         (bench-deps): Add bench-timing.h.
64173         * benchtests-bench-skeleton.c: Include bench-timing.h.
64174         (main): Use TIMING_* macros instead of clock_gettime.
64175         * benchtests/bench-timing.h: New file.
64177         [BZ #14582]
64178         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64179         Renamed from _LIB_VERSION.
64180         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64182 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
64184         * math/libm-test.inc (struct test_fff_f_data): New type.
64185         (RUN_TEST_LOOP_fff_f): New macro.
64186         (fma_test_data): New variable.
64187         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64188         (fma_towardzero_test_data): New variable.
64189         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64190         (fma_downward_test_data): New variable.
64191         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64192         (fma_upward_test_data): New variable.
64193         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64195         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64196         (struct test_c_c_data): New type.
64197         (RUN_TEST_LOOP_c_c): New macro.
64198         (cacos_test_data): New variable.
64199         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
64200         (cacosh_test_data): New variable.
64201         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
64202         (casin_test_data): New variable.
64203         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64204         (casinh_test_data): New variable.
64205         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
64206         (catan_test_data): New variable.
64207         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
64208         (catanh_test_data): New variable.
64209         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
64210         (ccos_test_data): New variable.
64211         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
64212         (ccosh_test_data): New variable.
64213         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
64214         (cexp_test_data): New variable.
64215         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
64216         (clog_test_data): New variable.
64217         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
64218         (clog10_test_data): New variable.
64219         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
64220         (conj_test_data): New variable.
64221         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
64222         (cproj_test_data): New variable.
64223         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
64224         (csin_test_data): New variable.
64225         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
64226         (csinh_test_data): New variable.
64227         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
64228         (csqrt_test_data): New variable.
64229         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
64230         (ctan_test_data): New variable.
64231         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
64232         (ctan_tonearest_test_data): New variable.
64233         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64234         (ctan_towardzero_test_data): New variable.
64235         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64236         (ctan_downward_test_data): New variable.
64237         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64238         (ctan_upward_test_data): New variable.
64239         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64240         (ctanh_test_data): New variable.
64241         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
64242         (ctanh_tonearest_test_data): New variable.
64243         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64244         (ctanh_towardzero_test_data): New variable.
64245         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64246         (ctanh_downward_test_data): New variable.
64247         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64248         (ctanh_upward_test_data): New variable.
64249         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64250         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
64251         of BUILD_COMPLEX.
64253         * math/libm-test.inc (struct test_ff_f_data): New type.
64254         (struct test_ff_f_data_nexttoward): Likewise.
64255         (RUN_TEST_LOOP_2_f): New macro.
64256         (RUN_TEST_LOOP_ff_f): Likewise.
64257         (atan2_test_data): New variable.
64258         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
64259         (copysign_test_data): New variable.
64260         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
64261         (fdim_test_data): New variable.
64262         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
64263         (fmax_test_data): New variable.
64264         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
64265         (fmin_test_data): New variable.
64266         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
64267         (fmod_test_data): New variable.
64268         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
64269         (hypot_test_data): New variable.
64270         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
64271         (nextafter_test_data): New variable.
64272         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
64273         (nexttoward_test_data): New variable.
64274         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
64275         (pow_test_data): New variable.
64276         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64277         (pow_tonearest_test_data): New variable.
64278         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64279         (pow_towardzero_test_data): New variable.
64280         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64281         (pow_downward_test_data): New variable.
64282         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64283         (pow_upward_test_data): New variable.
64284         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64285         (remainder_test_data): New variable.
64286         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64287         (scalb_test_data): New variable.
64288         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64289         * sysdeps/i386/fpu/libm-test-ulps: Update.
64291 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
64293         * math/libm-test.inc (fma_test): Use max_value instead of local
64294         variable fltmax.
64295         (nextafter_test): Likewise.
64297         * math/libm-test.inc (acos_towardzero_test_data): New variable.
64298         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64299         (acos_downward_test_data): New variable.
64300         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64301         (acos_upward_test_data): New variable.
64302         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64303         (acosh_test_data): New variable.
64304         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64305         (asin_test_data): New variable.
64306         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64307         (asin_tonearest_test_data): New variable.
64308         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64309         (asin_towardzero_test_data): New variable.
64310         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64311         (asin_downward_test_data): New variable.
64312         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64313         (asin_upward_test_data): New variable.
64314         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64315         (asinh_test_data): New variable.
64316         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64317         (atan_test_data): New variable.
64318         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64319         (atanh_test_data): New variable.
64320         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64321         (cbrt_test_data): New variable.
64322         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64323         (ceil_test_data): New variable.
64324         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64325         (cos_test_data): New variable.
64326         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64327         (cos_tonearest_test_data): New variable.
64328         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64329         (cos_towardzero_test_data): New variable.
64330         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64331         (cos_downward_test_data): New variable.
64332         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64333         (cos_upward_test_data): New variable.
64334         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64335         (cosh_test_data): New variable.
64336         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64337         (cosh_tonearest_test_data): New variable.
64338         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64339         (cosh_towardzero_test_data): New variable.
64340         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64341         (cosh_downward_test_data): New variable.
64342         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64343         (cosh_upward_test_data): New variable.
64344         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64345         (erf_test_data): New variable.
64346         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64347         (erfc_test_data): New variable.
64348         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64349         (exp_test_data): New variable.
64350         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64351         (exp_tonearest_test_data): New variable.
64352         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64353         (exp_towardzero_test_data): New variable.
64354         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64355         (exp_downward_test_data): New variable.
64356         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64357         (exp_upward_test_data): New variable.
64358         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64359         (exp10_test_data): New variable.
64360         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64361         (exp2_test_data): New variable.
64362         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64363         (expm1_test_data): New variable.
64364         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64365         (fabs_test_data): New variable.
64366         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64367         (floor_test_data): New variable.
64368         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64369         (j0_test_data): New variable.
64370         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64371         (j1_test_data): New variable.
64372         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64373         (log_test_data): New variable.
64374         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64375         (log10_test_data): New variable.
64376         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64377         (log1p_test_data): New variable.
64378         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64379         (log2_test_data): New variable.
64380         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64381         (logb_test_data): New variable.
64382         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64383         (logb_downward_test_data): New variable.
64384         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64385         (nearbyint_test_data): New variable.
64386         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64387         (rint_test_data): New variable.
64388         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64389         (rint_tonearest_test_data): New variable.
64390         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64391         (rint_towardzero_test_data): New variable.
64392         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64393         (rint_downward_test_data): New variable.
64394         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64395         (rint_upward_test_data): New variable.
64396         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64397         (round_test_data): New variable.
64398         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64399         (sin_test_data): New variable.
64400         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64401         (sin_tonearest_test_data): New variable.
64402         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64403         (sin_towardzero_test_data): New variable.
64404         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64405         (sin_downward_test_data): New variable.
64406         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64407         (sin_upward_test_data): New variable.
64408         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64409         (sinh_test_data): New variable.
64410         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64411         (sinh_tonearest_test_data): New variable.
64412         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64413         (sinh_towardzero_test_data): New variable.
64414         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64415         (sinh_downward_test_data): New variable.
64416         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64417         (sinh_upward_test_data): New variable.
64418         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64419         (sqrt_test_data): New variable.
64420         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64421         (tan_test_data): New variable.
64422         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64423         (tan_tonearest_test_data): New variable.
64424         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64425         (tan_towardzero_test_data): New variable.
64426         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64427         (tan_downward_test_data): New variable.
64428         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64429         (tan_upward_test_data): New variable.
64430         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64431         (tanh_test_data): New variable.
64432         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64433         (tgamma_test_data): New variable.
64434         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64435         (trunc_test_data): New variable.
64436         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64437         (y0_test_data): New variable.
64438         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64439         (y1_test_data): New variable.
64440         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64441         (significand_test_data): New variable.
64442         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64444 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64446         [BZ #12387]
64447         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64449 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64451         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64453 2013-05-10  Andreas Jaeger  <aj@suse.de>
64455         [BZ #15448]
64456         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64457         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64459 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64461         * math/gen-libm-test.pl (adjust_arg): New function.
64462         (special_functions): Handle generating output in both functions
64463         and arrays.
64464         (parse_args): Likewise.
64465         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64466         $in_func argument to parse_args.
64467         * math/libm-test.inc (struct test_f_f_data): New type.
64468         (IF_ROUND_INIT_): New macro.
64469         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64470         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64471         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64472         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64473         (ROUND_RESTORE_): Likewise.
64474         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64475         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64476         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64477         (ROUND_RESTORE_FE_UPWARD): Likewise.
64478         (RUN_TEST_LOOP_f_f): New macro.
64479         (acos_test_data): New variable.
64480         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64481         (acos_tonearest_test_data): New variable.
64482         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64484 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64486         * benchtests/bench-skeleton.c (startup): Fix coding style.
64488 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64490         [BZ #6809]
64491         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64492         negative infinity argument.
64493         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64494         negative infinity argument.
64495         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64496         negative infinity argument.
64497         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64498         domain errors.
64500 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64502         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64503         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64504         * iconv/iconv_prog.c (main): Likewise.
64505         * locale/programs/charmap-dir.c (charmap_readdir)
64506         (fopen_uncompressed): Likewise.
64507         * locale/programs/locfile.c (siblings_uncached)
64508         (write_locale_data): Use lstat64 instead of lstat.
64509         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64510         stat.
64512 2013-05-10  Andreas Jaeger  <aj@suse.de>
64514         [BZ #15395]
64515         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64516         localization.
64517         Include <locale.h>.
64519 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64521         * elf/dl-close.c (_dl_close_worker): Add comments.
64523 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64525         [BZ #15359]
64526         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64527         high part of pi/2.
64528         (__ieee754_rem_pio2l): Update comments.
64530         [BZ #15429]
64531         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64532         high part of pi/2.
64533         (__ieee754_rem_pio2l): Update comments.
64535         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64536         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64538         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64539         M_PI_4l.
64541         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64542         (M_PI_34_LOG10El): Likewise.
64543         (M_PI2_LOG10El): Likewise.
64544         (M_PI4_LOG10El): Likewise.
64545         (M_PI_LOG10El): Likewise.
64547 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64551 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64553         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64554         (MINUS_ZERO_INIT): Likewise.
64555         (PLUS_INFTY_INIT): Likewise.
64556         (MINUS_INFTY_INIT): Likewise.
64557         (QNAN_VALUE_INIT): Likewise.
64558         (MAX_VALUE_INIT): Likewise.
64559         (MIN_VALUE_INIT): Likewise.
64560         (MIN_SUBNORM_VALUE_INIT): Likewise.
64561         (plus_zero): Initialize with PLUS_ZERO_INIT.
64562         (minus_zero): Initialize with MINUS_ZERO_INIT.
64563         (plus_infty): Initialize with PLUS_INFTY_INIT.
64564         (minus_infty): Initialize with MINUS_INFTY_INIT.
64565         (qnan_value): Initialize with QNAN_VALUE_INIT.
64566         (max_value): Initialize with MAX_VALUE_INIT.
64567         (min_value): Initialize with MIN_VALUE_INIT.
64568         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64570         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64571         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64572         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64573         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64575         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64576         (RUN_TEST_2_f): Likewise.
64577         (RUN_TEST_ff_f): Likewise.
64578         (RUN_TEST_fi_f): Likewise.
64579         (RUN_TEST_fl_f): Likewise.
64580         (RUN_TEST_fff_f): Likewise.
64581         (RUN_TEST_c_f): Likewise.
64582         (RUN_TEST_f_f1): Likewise.
64583         (RUN_TEST_fF_f1): Likewise.
64584         (RUN_TEST_fI_f1): Likewise.
64585         (RUN_TEST_ffI_f1): Likewise.
64586         (RUN_TEST_c_c): Likewise.
64587         (RUN_TEST_cc_c): Likewise.
64588         (RUN_TEST_f_i): Likewise.
64589         (RUN_TEST_f_i_tg): Likewise.
64590         (RUN_TEST_ff_i_tg): Likewise.
64591         (RUN_TEST_f_b): Likewise.
64592         (RUN_TEST_f_b_tg): Likewise.
64593         (RUN_TEST_f_l): Likewise.
64594         (RUN_TEST_f_L): Likewise.
64595         (RUN_TEST_sincos): Likewise.
64596         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64597         whether to show exceptions.  Do not include ");\n" in return
64598         value.
64599         (special_functions): Output call to RUN_TEST_sincos instead of
64600         check_float calls.  Update calls to new_test.
64601         (parse_args): Output call to single RUN_TEST_* macro instead of
64602         check_* calls and other assignments.  Update calls to new_test.
64604         [BZ #2546]
64605         [BZ #2560]
64606         [BZ #5159]
64607         [BZ #15426]
64608         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64609         input to result for tgamma overflow.
64610         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64611         (gamma_coeff): New variable.
64612         (NCOEFF): New macro.
64613         (gamma_positive): New function.
64614         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64615         underflow here.  Use gamma_positive instead of exp (lgamma) for
64616         other arguments.
64617         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64618         (gamma_coeff): New variable.
64619         (NCOEFF): New macro.
64620         (gammaf_positive): New function.
64621         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64622         underflow here.  Use gamma_positive instead of exp (lgamma) for
64623         other arguments.
64624         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64625         (gamma_coeff): New variable.
64626         (NCOEFF): New macro.
64627         (gammal_positive): New function.
64628         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64629         underflow here.  Use gamma_positive instead of exp (lgamma) for
64630         other arguments.
64631         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64632         (gamma_coeff): New variable.
64633         (NCOEFF): New macro.
64634         (gammal_positive): New function.
64635         (__ieee754_gammal_r): Handle positive infinity, overflow and
64636         underflow here.  Handle NaN the same as positive infinity.  Remove
64637         check x < 0xffffffff for negative integers.  Use gamma_positive
64638         instead of exp (lgamma) for other arguments.
64639         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64640         (gamma_coeff): New variable.
64641         (NCOEFF): New macro.
64642         (gammal_positive): New function.
64643         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64644         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64645         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64646         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64647         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64648         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64649         * sysdeps/generic/math_private.h (__gamma_productf): New
64650         prototype.
64651         (__gamma_product): Likewise.
64652         (__gamma_productl): Likewise.
64653         * math/Makefile (libm-calls): Add gamma_product.
64654         * math/libm-test.inc (tgamma_test): Add more tests.
64655         * sysdeps/i386/fpu/libm-test-ulps: Update.
64656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64658 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
64660         * benchtests/bench-skeleton.c (main): Preheat CPU.
64662 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
64664         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64666 2013-05-07  Roland McGrath  <roland@hack.frob.com>
64668         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64669         and _dl_skip_args_internal.
64671 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
64673         * manual/message.texi (Message Translation): Talk about users.
64674         Message to key mapping impacts design.
64676 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64678         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64680         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
64682         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
64683         * sysdeps/wordsize-64/glob64.c: ... here.
64685         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
64686         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
64687         New macros.
64689         * debug/getlogin_r_chk.c: Moved to ...
64690         * login/getlogin_r_chk.c: ... here.
64691         * debug/Makefile (routines): Move getlogin_r_chk to ...
64692         * login/Makefile (routines): ... here.
64693         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
64694         * login/Versions (libc: GLIBC_2.4): ... here.
64696         * io/poll.c (__poll): Renamed from poll.
64697         Add libc_hidden_def.
64698         (poll): Define as weak alias.
64700         * debug/ptsname_r_chk.c: Moved to ...
64701         * login/ptsname_r_chk.c: ... here.
64702         * debug/Makefile (routines): Move ptsname_r_chk to ...
64703         * login/Makefile (routines): ... here.
64704         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
64705         * login/Versions (libc: GLIBC_2.4): ... here.
64707         * posix/getlogin.c: Moved to ...
64708         * login/getlogin.c: ... here.
64709         * posix/getlogin_r.c: Moved to ...
64710         * login/getlogin_r.c: ... here.
64711         * posix/getlogin_r.c: Moved to ...
64712         * login/getlogin_r.c: ... here.
64713         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
64714         * login/Makefile (routines): ... here.
64715         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
64716         * login/Versions (libc: GLIBC_2.0): ... here.
64718         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
64719         (setrlimit): Define as weak alias.
64721         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
64722         Call __ names for open, ftruncate, and close.
64723         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
64724         (truncate): Define as weak alias.
64726 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
64728         * math/gen-libm-test.pl (parse_args): Initialize x before each
64729         test of frexp, modf and remquo.
64731         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
64732         test signgam value.
64734 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64736         [BZ #15418]
64737         [BZ #15419]
64738         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
64739         internal tests.
64740         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64742 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64744         * elf/dl-writev.h: New file.
64745         * elf/dl-misc.c: Include it.
64746         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
64747         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
64749 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
64751         * math/libm-test.inc (noXFails): Remove variable.
64752         (noXPasses): Likewise.
64753         (BUILD_COMPLEX_INT): Remove macro.
64754         (print_screen): Remove xfail argument.
64755         (print_screen_max_error): Likewise.
64756         (update_stats): Likewise.
64757         (print_max_error): Likewise.  Update calls to other affected
64758         functions.
64759         (print_complex_max_error): Likewise.
64760         (test_single_exception): Update calls to print_screen.
64761         (test_single_errno): Likewise.
64762         (check_float_internal): Remove xfail argument.  Update calls to
64763         other affected functions.
64764         (check_float): Likewise.
64765         (check_complex): Likewise.
64766         (check_int): Likewise.
64767         (check_long): Likewise.
64768         (check_bool): Likewise.
64769         (check_longlong): Likewise.
64770         (main): Don't print noXFails and noXPasses.
64771         * math/gen-libm-test.pl (top level): Don't mention expected
64772         failure handling in comment.
64773         (new_test): Don't handle expected failures.
64774         (parse_args): Don't mention expected failure handling in comment.
64775         (generate_testfile): Don't handle expected failures.
64776         (parse_ulps): Likewise.
64777         (print_ulps_file): Likewise.
64778         (get_failure): Remove function.
64779         (output_test): Don't handle expected failures.
64780         * make/README.libm-test: Don't mention expected failure handling.
64782         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
64783         (minus_zero): Likewise.
64784         (plus_infty): Likewise.
64785         (minus_infty): Likewise.
64786         (qnan_value): Likewise.
64787         (max_value): Likewise.
64788         (min_value): Likewise.
64789         (min_subnorm_value): Likewise.
64790         (initialize): Do not initialize those variables dynamically.
64792 2013-05-03  Roland McGrath  <roland@hack.frob.com>
64794         * io/open.c (__open_2): Moved to ...
64795         * io/open_2.c: ... this new file.
64796         * io/open64.c (__open64_2): Moved to ...
64797         * io/open64_2.c: ... this new file.
64798         * io/openat.c (__openat_2): Moved to ...
64799         * io/openat_2.c: ... this new file.
64800         * io/openat64.c (__openat64_2): Moved to ...
64801         * io/openat64_2.c: ... this new file.
64802         * io/Makefile (routines): Add them.
64803         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
64804         * sysdeps/unix/sysv/linux/open_2.c: File removed.
64805         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
64806         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
64807         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
64808         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
64809         (__openat64): Add hidden_ver.
64810         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
64811         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64813         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
64814         Separately conditionalize setting of GLRO(dl_sysinfo) so
64815         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
64816         as well, but the actual setting is only under [NEED_DL_SYSINFO].
64818 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64820         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
64821         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
64822         definition.
64823         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
64824         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64825         (_libc_vdso_platform_setup): Add __vdso_time initialization.
64826         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
64827         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
64829 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
64831         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
64832         test signgam value.
64834         * math/libm-test.inc (hypot_test): Do not use
64835         IGNORE_ZERO_INF_SIGN.
64837 2013-05-03  Andreas Jaeger  <aj@suse.de>
64839         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
64840         Linux 3.9.
64841         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
64842         (PF_MAX): Adjust for VSOCK change.
64844 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64848 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
64850         [BZ #15264]
64851         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
64852         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
64853         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
64855 2013-05-02  David S. Miller  <davem@davemloft.net>
64857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64859 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
64861         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
64863 2013-05-01  Roland McGrath  <roland@hack.frob.com>
64865         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
64867 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
64869         [BZ #14952]
64870         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
64871         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64872         Use __attribute__ ((__gnu_inline__)).
64873         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64874         Don't use __attribute__ ((__gnu_inline__)).
64876 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
64878         [BZ #15423]
64879         * math/s_catan.c (__catan): Handle small real or imaginary part of
64880         input specially to avoid spurious underflow.
64881         * math/s_catanf.c (__catanf): Likewise.
64882         * math/s_catanh.c (__catanh): Likewise.
64883         * math/s_catanhf.c (__catanhf): Likewise.
64884         * math/s_catanhl.c (__catanhl): Likewise.
64885         * math/s_catanl.c (__catanl): Likewise.
64886         * math/libm-test.inc (catan_test): Add more tests.
64887         (catanh_test): Likewise.
64888         * sysdeps/i386/fpu/libm-test-ulps: Update.
64889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64891 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64895 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
64897         [BZ #15416]
64898         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
64899         accurately for denominator in atan2.
64900         * math/s_catanf.c (__catanf): Likewise.
64901         * math/s_catanh.c (__catanh): Likewise.
64902         * math/s_catanhf.c (__catanhf): Likewise.
64903         * math/s_catanhl.c (__catanhl): Likewise.
64904         * math/s_catanl.c (__catanl): Likewise.
64905         * math/libm-test.inc (catan_test): Add more tests.
64906         (catanh_test): Likewise.
64907         * sysdeps/i386/fpu/libm-test-ulps: Update.
64908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64910 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64912         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
64914         * benchtests/Makefile (bench): Remove slow benchmarks.
64915         * benchtests/atan-inputs: Add slow benchmark inputs.
64916         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
64917         (BENCH_FUNC): Accept variant offset.
64918         (VARIANT): Define.
64919         * benchtests/bench-skeleton.c (main): Run benchmark for each
64920         variant.
64921         * benchtests/cos-inputs: Add slow benchmark inputs.
64922         * benchtests/exp-inputs: Likewise.
64923         * benchtests/pow-inputs: Likewise.
64924         * benchtests/sin-inputs: Likewise.
64925         * benchtests/slowatan-inputs: Remove.
64926         * benchtests/slowatan.c: Remove.
64927         * benchtests/slowcos-inputs: Remove.
64928         * benchtests/slowcos.c: Remove.
64929         * benchtests/slowexp-inputs: Remove.
64930         * benchtests/slowexp.c: Remove.
64931         * benchtests/slowpow-inputs: Remove.
64932         * benchtests/slowpow.c: Remove.
64933         * benchtests/slowsin-inputs: Remove.
64934         * benchtests/slowsin.c: Remove.
64935         * benchtests/slowtan-inputs: Remove.
64936         * benchtests/slowtan.c: Remove.
64937         * benchtests/tan-inputs: Add slow benchmark inputs.
64938         * scripts/bench.pl: Parse comments and directives.
64940         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
64941         in CPPFLAGS.
64942         ($(objpfx)bench-%.c): Remove *-ITER.
64943         * benchtests/bench-modf.c: Remove definition of ITER.
64944         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64945         (main): Loop for DURATION seconds instead of fixed number of
64946         iterations.
64947         * scripts/bench.pl: Don't expect iterations in parameters.
64949 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64951         * io/fchdir.c (__fchdir): Renamed from fchdir.
64952         (fchdir): Define as weak alias.
64954 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64956         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64957         (ERRNO_EDOM): Likewise.
64958         (ERRNO_ERANGE): Likewise.
64959         (noErrnoTests): New variable.
64960         (init_max_error): Set errno to 0.
64961         (test_single_errno): New function.
64962         (test_errno): Likewise.
64963         (check_float_internal): Call test_errno.  Set errno to 0.
64964         (check_complex): Refer to errno tests in comment.
64965         (check_int): Call test_errno.  Set errno to 0.
64966         (check_long): Likewise.
64967         (check_bool): Likewise.
64968         (check_longlong): Likewise.
64969         (cos_test): Use ERRNO_* flags for errno tests instead of
64970         check_int.
64971         (expm1_test): Likewise.
64972         (fmod_test): Likewise.
64973         (ilogb_test): Likewise.
64974         (lgamma_test): Likewise.
64975         (pow_test): Likewise.
64976         (remainder_test): Likewise.
64977         (sin_test): Likewise.
64978         (tan_test): Likewise.
64979         (yn_test): Likewise.
64980         (initialize): Set errno to 0.
64981         (main): Print number of errno tests.
64982         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64984 2013-04-29  Andreas Jaeger  <aj@suse.de>
64986         [BZ #15084]
64987         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64988         and RES_USEVC.
64990         [BZ #15085]
64991         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64992         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64993         unimplemented.
64995         [BZ #15380]
64996         * stdlib/random.c (__initstate): Return NULL if
64997         __initstate fails.
64999         [BZ #15086]
65000         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
65001         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65002         RES_SNGLKUPREOP.
65004 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65008 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65010         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
65011         of individual tests.
65012         (casin_test): Likewise.
65013         (casinh_test): Likewise.
65015 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
65017         [BZ #15409]
65018         * math/s_catan.c (__catan): Handle arguments with large real or
65019         imaginary part separately without squaring.
65020         * math/s_catanf.c (__catanf): Likewise.
65021         * math/s_catanh.c (__catanh): Likewise.
65022         * math/s_catanhf.c (__catanhf): Likewise.
65023         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65024         and redefine.
65025         (__catanhl): Handle arguments with large real or imaginary part
65026         separately without squaring.
65027         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65028         and redefine.
65029         (__catanl): Handle arguments with large real or imaginary part
65030         separately without squaring.
65031         * math/libm-test.inc (catan_test): Add more tests.
65032         (catanh_test): Likewise.
65033         * sysdeps/i386/fpu/libm-test-ulps: Update.
65034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65036 2013-04-27  Andreas Jaeger  <aj@suse.de>
65038         [BZ #15007]
65039         * stdlib/stdlib.h: Update guards for qecvt.
65040         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
65041         <stdlib.h>.
65043 2013-04-27  Allan McRae  <allan@archlinux.org>
65045         * sysdeps/i386/fpu/libm-test-ulps: Update.
65047 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
65049         [BZ #15406]
65050         * math/s_catan.c: Include <float.h>.
65051         (__catan): Ensure underflow exception occurs for underflowed
65052         result.
65053         * math/s_catanf.c: Include <float.h>.
65054         (__catanf): Ensure underflow exception occurs for underflowed
65055         result.
65056         * math/s_catanh.c: Include <float.h>.
65057         (__catanh): Ensure underflow exception occurs for underflowed
65058         result.
65059         * math/s_catanhf.c: Include <float.h>.
65060         (__catanhf): Ensure underflow exception occurs for underflowed
65061         result.
65062         * math/s_catanhl.c: Include <float.h>.
65063         (__catanhl): Ensure underflow exception occurs for underflowed
65064         result.
65065         * math/s_catanl.c: Include <float.h>.
65066         (__catanl): Ensure underflow exception occurs for underflowed
65067         result.
65068         * math/libm-test.inc (catan_test): Add more tests.
65069         (catanh_test): Likewise.
65071         [BZ #15405]
65072         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
65073         underflowed result.
65074         * math/s_ccoshf.c (__ccoshf): Likewise.
65075         * math/s_ccoshl.c (__ccoshl): Likewise.
65076         * math/s_csin.c (__csin): Likewise.
65077         * math/s_csinf.c (__csinf): Likewise.
65078         * math/s_csinh.c (__csinh): Likewise.
65079         * math/s_csinhf.c (__csinhf): Likewise.
65080         * math/s_csinhl.c (__csinhl): Likewise.
65081         * math/s_csinl.c (__csinl): Likewise.
65082         * math/libm-test.inc (ccos_test): Add more tests.
65083         (ccosh_test): Likewise.
65084         (csin_test): Likewise.
65085         (csinh_test): Likewise.
65087 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65089         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
65090         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
65091         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
65092         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
65093         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
65094         powerpc/power5+/fpu folders.
65095         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
65098 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65102 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
65104         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
65105         additions to variable.
65106         [$(config-machine) = x86_64] (modules-names): Likewise.
65107         ($(objpfx)tst-audit3): Remove dependency.
65108         ($(objpfx)tst-audit3.out): Likewise.
65109         ($(objpfx)tst-audit4): Likewise.
65110         ($(objpfx)tst-audit4.out): Likewise.
65111         ($(objpfx)tst-audit5): Likewise.
65112         ($(objpfx)tst-audit5.out): Likewise.
65113         ($(objpfx)tst-audit6): Likewise.
65114         ($(objpfx)tst-audit6.out): Likewise.
65115         ($(objpfx)tst-audit7): Likewise.
65116         ($(objpfx)tst-audit7.out): Likewise.
65117         (tst-audit3-ENV): Remove variable.
65118         (tst-audit4-ENV): Likewise.
65119         (tst-audit5-ENV): Likewise.
65120         (tst-audit6-ENV): Likewise.
65121         (tst-audit7-ENV): Likewise.
65122         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
65123         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
65124         addition to variable.
65125         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
65126         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
65127         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
65128         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
65129         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
65130         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
65131         tst-audit3, tst-audit4 and tst-audit5.
65132         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65133         tst-audit6 and tst-audit7.
65134         [$(subdir) = elf] (modules-names): Add audit modules for those
65135         tests.
65136         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
65137         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
65138         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
65139         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
65140         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
65141         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
65142         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
65143         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
65144         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
65145         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
65146         [$(subdir) = elf] (tst-audit3-ENV): New variable.
65147         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
65148         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
65149         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
65150         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
65151         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
65152         Likewise.
65153         [$(subdir) = elf && $(config-cflags-avx) = yes]
65154         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
65155         [$(subdir) = elf && $(config-cflags-avx) = yes]
65156         (CFLAGS-tst-auditmod4a.c): Likewise.
65157         [$(subdir) = elf && $(config-cflags-avx) = yes]
65158         (CFLAGS-tst-auditmod4b.c): Likewise.
65159         [$(subdir) = elf && $(config-cflags-avx) = yes]
65160         (CFLAGS-tst-auditmod6b.c): Likewise.
65161         [$(subdir) = elf && $(config-cflags-avx) = yes]
65162         (CFLAGS-tst-auditmod6c.c): Likewise.
65163         [$(subdir) = elf && $(config-cflags-avx) = yes]
65164         (CFLAGS-tst-auditmod7b.c): Likewise.
65165         * elf/tst-audit3.c: Move to ...
65166         * sysdeps/x86_64/tst-audit3.c: ... here.
65167         * elf/tst-audit4.c: Move to ...
65168         * sysdeps/x86_64/tst-audit4.c: ... here.
65169         * elf/tst-audit5.c: Move to ...
65170         * sysdeps/x86_64/tst-audit5.c: ... here.
65171         * elf/tst-audit6.c: Move to ...
65172         * sysdeps/x86_64/tst-audit6.c: ... here.
65173         * elf/tst-audit7.c: Move to ...
65174         * sysdeps/x86_64/tst-audit7.c: ... here.
65175         * elf/tst-auditmod3a.c: Move to ...
65176         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65177         * elf/tst-auditmod3b.c: Move to ...
65178         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65179         * elf/tst-auditmod4a.c: Move to ...
65180         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65181         * elf/tst-auditmod4b.c: Move to ...
65182         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65183         * elf/tst-auditmod5a.c: Move to ...
65184         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65185         * elf/tst-auditmod5b.c: Move to ...
65186         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65187         * elf/tst-auditmod6a.c: Move to ...
65188         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65189         * elf/tst-auditmod6b.c: Move to ...
65190         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65191         * elf/tst-auditmod6c.c: Move to ...
65192         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65193         * elf/tst-auditmod7a.c: Move to ...
65194         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65195         * elf/tst-auditmod7b.c: Move to ...
65196         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
65198 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
65200         [BZ #15366]
65201         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
65202         define unconditionally.
65203         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
65204         define unconditionally.
65205         (INT8_C, INT16_C, etc.): Likewise.
65207 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
65209         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
65210         __ehdr_start with hidden visibility.
65212         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
65214 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
65216         * math/libm-test.inc (cos_test): Use accurate hex constants.
65217         (sincost_test): Likewise.
65219 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
65221         * math/libm-test.inc (catan_test): Add more tests.
65222         (catanh_test): Likewise.
65224         * math/s_catanf.c (__catanf): Use suffixed floating-point
65225         constants.
65226         * math/s_catanhf.c (__catanhf): Likewise.
65227         * math/s_catanhl.c (__catanhl): Likewise.
65228         * math/s_catanl.c (__catanl): Likewise.
65230         [BZ #15394]
65231         * math/s_catan.c (__catan): Calculate imaginary part of result
65232         with log1p not log unless computing log of number close to 0.
65233         * math/s_catanf.c (__catanf): Likewise.
65234         * math/s_catanl.c (__catanl): Likewise.
65235         * math/s_catanh.c (__catanh): Calculate real part of result with
65236         log1p not log unless computing log of number close to 0.
65237         * math/s_catanhf.c (__catanhf): Likewise.
65238         * math/s_catanhl.c (__catanhl): Likewise.
65239         * math/libm-test.inc (catan_test): Add more tests.
65240         (catanh_test): Likewise.
65241         * sysdeps/i386/fpu/libm-test-ulps: Update.
65242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65244 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65246         * benchtests/Makefile: Mention files in which fast and slow
65247         paths of math functions are implemented.
65249 2013-04-23  Roland McGrath  <roland@hack.frob.com>
65251         * sysdeps/posix/timespec_get.c: New file.
65253 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65255         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
65256         POWER.
65257         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
65258         for POWER.
65259         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
65260         powerpc/power5/fpu folders.
65261         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
65262         * benchtests/Makefile: Add modf testcase.
65263         * benchtests/bench-modf.c: New file: Benchmark test for mo
65265 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
65267         [BZ #14888]
65268         * time/Makefile (tests): Add tst-strptime-whitespace.
65269         * time/strptime_l.c (get_number): Use ISSPACE.
65270         (__strptime_internal): Likewise.
65271         * time/tst-strptime-whitespace.c: New test case.
65273 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
65275         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65276         member.
65277         (_nss_files_init): Set it here.
65279 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
65281         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65282         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65283         unsigned.
65285 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
65287         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65289 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65291         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65292         size just once.
65294 2013-04-21  David S. Miller  <davem@davemloft.net>
65296         * po/ru.po: Update Russion translation from translation project.
65298 2013-04-17  Adam Conrad  <adconrad@0c3.net>
65300         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65301         and setfsgid.
65303 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
65305         * configure.in: Remove i386 configure warning. Remove i386 case.
65306         * configure: Regenerate.
65307         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65308         Add example to error message.
65309         * sysdeps/i386/configure: Regenerate.
65311 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65313         * benchtests/Makefile (bench): Add cos, tan, slowcos and
65314         slowtan.
65315         * benchtests/cos-inputs: New file.
65316         * benchtests/slowcos-inputs: New file.
65317         * benchtests/slowcos.c: New file.
65318         * benchtests/slowtan-inputs: New file.
65319         * benchtests/slowtan.c: New file.
65320         * benchtests/tan-inputs: New file.
65322 2013-04-16  Roland McGrath  <roland@hack.frob.com>
65324         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65325         considered kosher.
65327 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65329         * benchtests/Makefile: Include cppflags-iterator.mk to add
65330         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65332         * Makefile.in (bench-clean): New target.
65333         * benchtests/Makefile (bench-clean): Likewise.
65335 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65337         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65339 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65341         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65343 2013-04-15  Andreas Schwab  <schwab@suse.de>
65345         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65346         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65347         * nscd/pwdcache.c (cache_addpw): Likewise.
65348         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65349         more than recsize.
65351 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65353         * benchtests/Makefile (bench): Write all output to
65354         bench-out.tmp together.
65356 2013-04-15  Andreas Schwab  <schwab@suse.de>
65358         * nscd/nscd.c (main): Don't fork again after closing files.
65360 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65362         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65364         * benchtests/Rules (bench-deps): Collect dependencies into a
65365         single variable.  Add Makefile to dependencies.
65366         ($(objpfx)bench-%.c): Depend on bench-deps.
65368 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65369             Xavier Roche  <roche+kml2@exalead.com>
65371         [BZ #15361]
65372         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65373         just that it's a file descriptor.
65374         * manual/llio.texi (Synchronizing AIO Operations): Update description
65375         for EBADF error from aio_fsync.
65377 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65379         * Rules (bench): Move target definition...
65380         * benchtests/Makefile: ... here.
65382 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65384         * math/libm-test.inc (cos_test): Fix PI/2 test.
65385         (sincos_test): Likewise.
65386         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65387         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65389 2013-04-11  Andreas Schwab  <schwab@suse.de>
65391         [BZ #13988]
65392         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65393         accept exponent character only when digits were seen.
65394         * stdio-common/Makefile (tests): Add bug26.
65395         * stdio-common/bug26.c: New file.
65397         [BZ #14293]
65398         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65399         non-freeable.
65401 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65403         * Makeconfig (rtld-prefix): Define built linker prefix.
65404         * Rules (run-bench): Use it.
65405         * math/Makefile (run-regen-ulps): Likewise.
65407         * Rules (bench): Remove eval.
65409 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65410             Roland McGrath  <roland@hack.frob.com>
65411             Ondrej Bilka  <neleai@seznam.cz>
65413         [BZ #15346]
65414         * time/getdate.c: Include ctype.h and alloca.h.
65415         (__getdate_r): Trim leading and trailing spaces of input.
65416         * time/tst-getdate.c (tests): Add tests with leading and
65417         trailing spaces.
65419 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65421         [BZ #14280]
65422         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65423         when computing value.
65425 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65427         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65428         Use testrun.sh to run libm tests.
65430         [BZ #15309]
65431         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65433 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65435         [BZ #15264]
65436         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65438 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65440         * Makefile.in (regen-ulps): New target.
65441         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65442         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65443         [ifneq (no,$(PERL)] (regen-ulps): New target.
65444         [ifeq (no,$(PERL)] (regen-ulps): New target.
65445         * math/libm-test.inc (ulps_file_name): Define.
65446         (output_dir): New variable.
65447         (options): Add "output-dir" option.
65448         (parse_opt): Handle 'o' case.
65449         (main): If output_dir is non-NULL use it as a prefix
65450         otherwise use "".
65451         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65453 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65455         [BZ #10060, #10062]
65456         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65457         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65458         fail configure if __sync_val_compare_and_swap is not inlined.
65459         * sysdeps/i386/configure: Regenerate.
65460         * configure.in: Build for i686 when configured for i386.
65461         * configure: Regenerate.
65462         * README: Remove i386 reference.
65464 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65466         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65467         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65469 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65471         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65472         (lmsnanval): New variables.
65473         (F): Add conversion tests.
65474         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65475         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65477         * stdio-common/tstdiomisc.c (F): Properly collect individual
65478         tests' results.
65480         [BZ #14686, #15336]
65481         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65482         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65483         Instead, use input NaN values or generate a qNaN by arithmetic
65484         operation.  Also fix bugs to comply with the standard.
65485         * math/libm-test.inc (remainder_test): Add more tests.
65487         [BZ #15335, #15342]
65488         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65489         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65490         input NaN values or generate a qNaN by arithmetic operation.
65492         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65493         unreachable code.
65495         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65496         definitions.
65498 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65500         [BZ #14478]
65501         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65502         underflowed result.
65503         * math/s_cexpf.c (__cexpf): Likewise.
65504         * math/s_cexpl.c (__cexpl): Likewise.
65505         * math/libm-test.inc (cexp_test): Add more tests.
65507 2013-04-03  Andreas Schwab  <schwab@suse.de>
65509         [BZ #15330]
65510         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65511         order arrays from heap if bigger than alloca cutoff.
65513 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65515         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65516         (SNAN_TESTS_double): Refer to GCC PR56831.
65517         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65518         GCC PR56828.
65520 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65522         * Rules (bench): Move bench.out after the run is complete.
65524         * Rules (bench): Echo currently running benchmark.
65526         * benchtests/Makefile (bench): Add atan and slowatan.
65527         * benchtests/atan-inputs: New file.
65528         * benchtests/slowatan-inputs: New file.
65529         * benchtests/slowatan.c: New file.
65531         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65532         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65533         its value.
65535         [BZ #15305]
65536         * sysdeps/unix/sysv/linux/kernel-features.h
65537         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65538         __ASSUME_XFS_RESTRICTED_CHOWN.
65539         * sysdeps/unix/sysv/linux/pathconf.c
65540         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65541         Save and restore errno.
65543 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65545         [BZ #15327]
65546         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65547         arguments using __kernel_casinh.
65548         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65549         arguments using __kernel_casinhf.
65550         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65551         arguments using __kernel_casinhl.
65552         * math/libm-test.inc (cacosh_test): Add more tests.
65553         * sysdeps/i386/fpu/libm-test-ulps: Update.
65554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65556 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65558         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65559         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65561         * bench/Makefile (bench): Add sin and slowsin.
65562         * benchtests/sin-inputs: New file.
65563         * benchtests/slowsin-inputs: New file.
65564         * benchtests/slowsin.c: New file.
65566         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65567         (bench): Add slowexp and slowpow.
65568         (exp-ITER): Increase iterations.
65569         (pow-ITER): Likewise.
65570         * benchtests/exp-inputs: Change input.
65571         * benchtests/pow-inputs: Likewise.
65572         * benchtests/slowexp-inputs: New file.
65573         * benchtests/slowexp.c: New file.
65574         * benchtests/slowpow-inputs: New file.
65575         * benchtests/slowpow.c: New file.
65577 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65579         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65580         instructions.
65581         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65582         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65583         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65584         * benchtests/Makefile: Add rint benchtest.
65585         * benchtests/rint-inputs: Input for rint benchtest.
65587 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65589         * Versions.def (libm): Add GLIBC_2.18.
65590         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65591         hidden libm prototypes.
65592         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65593         * math/Makefile (libm-calls): Add s_issignaling.
65594         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65595         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65596         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65597         declaration.
65598         * math/math.h [__USE_GNU] (issignaling): New macro.
65599         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65600         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65601         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65602         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65603         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65604         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65605         * manual/arith.texi (issignaling): New section.
65606         * manual/libm-err-tab.pl (@all_functions): Update comment.
65607         * math/gen-libm-test.pl (parse_args): Apply special handling for
65608         issignaling.
65609         * math/libm-test.inc (print_float, issignaling_test): New
65610         functions.
65611         (check_float_internal): Add issignaling checks.
65612         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65613         default definition.
65614         * sysdeps/powerpc/math-tests.h: New file.
65615         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65616         tests.
65617         * math/test-snan.c (TEST_FUNC): Likewise.
65619 2013-03-30  David S. Miller  <davem@davemloft.net>
65621         * po/de.po: Update from translation team.
65623 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
65625         [BZ #10357]
65626         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65627         imaginary part less than 1.0 and real part less than 0.5
65628         specially.
65629         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65630         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65631         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65632         (cacos_test): Add more tests.
65633         (casin_test): Likewise.
65634         (casinh_test): Likewise.
65635         * sysdeps/i386/fpu/libm-test-ulps: Update.
65636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65638 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65640         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65641         ONE with its value.
65643         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65644         (__pow_mp): Replace ONE and MONE with their values.
65645         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65646         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65647         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65648         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65649         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65650         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65652         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65654         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65655         (__pow_mp): Replace ZERO and MZERO with their values.
65656         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65657         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65658         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65659         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65660         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65661         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65662         (__sqr): Likewise.
65664         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65666         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65668 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65670         * include/stdlib.h [!SHARED] (__call_tls_dtors):
65671         Declare with __attribute__ ((weak)).
65672         * stdlib/exit.c (__libc_atexit) [!SHARED]:
65673         Call __call_tls_dtors only if it's not NULL.
65675 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65677         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65678         didn't do it already, then set _dl_phdr and _dl_phnum based on the
65679         magic __ehdr_start linker symbol if it's defined.
65680         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65681         them up here if it was already done.
65683         * elf/dl-support.c (_dl_phdr): Make pointer to const.
65684         (_dl_aux_init): Use const in cast when setting it.
65685         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
65686         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65687         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
65689         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
65690         Declare them here.
65691         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
65692         * csu/libc-tls.c: Nor here.
65693         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
65695         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
65696         (__libc_message): Never call vsyslog.
65698 2013-03-28  Alan Modra  <amodra@gmail.com>
65700         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
65701         Define as empty.
65702         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
65703         Likewise.
65705 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65707         [BZ #15214]
65708         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
65709         underflow.
65710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65712 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65714         [BZ #15304]
65715         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
65716         Don't add gid passed as argument.
65718         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
65720 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
65722         [BZ #15307]
65723         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65724         imaginary part between 1.0 and 1.5 and real part less than 0.5
65725         specially.
65726         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65727         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65728         * math/libm-test.inc (cacos_test): Add more tests.
65729         (casin_test): Likewise.
65730         (casinh_test): Likewise.
65731         * sysdeps/i386/fpu/libm-test-ulps: Update.
65732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65734 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65736         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
65737         constants.
65738         (norm): Likewise.
65739         (denorm): Likewise.
65740         (__dbl_mp): Likewise.
65741         (add_magnitudes): Likewise.
65742         (sub_magnitudes): Likewise.
65743         (__add): Likewise.
65744         (__sub): Likewise.
65745         (__mul): Likewise.
65746         (__sqr): Likewise.
65747         (__inv): Likewise.
65748         (__dvd): Likewise.
65750         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
65751         commented code.
65752         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
65753         (__dubcos): Likewise.
65754         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
65755         (__ieee754_acos): Likewise.
65756         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65757         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
65758         (__exp1): Likewise.
65759         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65761         (log1): Likewise.
65762         (my_log2): Likewise.
65763         (checkint): Likewise.
65764         * sysdeps/ieee754/dbl-64/e_remainder.c
65765         (__ieee754_remainder): Likewise.
65766         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65767         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
65768         (bsloww): Likewise.
65769         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65771         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65772         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
65773         MANTISSA_STORE_T to store computations on mantissa.  Use
65774         macros for rounding and division.
65775         (denorm): Likewise.
65776         (__dbl_mp): Likewise.
65777         (add_magnitudes): Likewise.
65778         (sub_magnitudes): Likewise.
65779         (__mul): Likewise.
65780         (__sqr): Likewise.
65781         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65782         powers of two in terms of TWOPOW macro.
65783         (mp_no): Make type of mantissa as MANTISSA_T.
65784         [!RADIXI]: Define RADIXI.
65785         [!TWO52]: Define TWO52.
65786         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65788 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65790         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
65791         llroundl symbol when building for PPC32.
65793 2013-03-24  Mark H Weaver  <mhw@netris.org>
65795         * manual/arith.texi (Normalization Functions): Fix prototypes for
65796         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
65798 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65800         [BZ #13889]
65801         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
65802         high value to check if expl overflow.
65803         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
65804         to check for underflow and overflow.
65805         * math/libm-test.inc: Add exp test.
65807 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
65809         [BZ #11120]
65810         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
65811         with NOT_IN_libc.
65813 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65815         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
65816         symbol.
65818 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65820         * math/gen-libm-test.pl (parse_args, special_functions): Properly
65821         wrap blocks consisting of several statements.
65823         * sysdeps/generic/math-tests.h: New file.
65824         * sysdeps/i386/fpu/math-tests.h: Likewise.
65825         * math/test-snan.c: Include it.
65826         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
65828 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65830         [BZ #15285]
65831         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
65832         (__ieee754_j0l): Do not improve calculations using cos of twice
65833         input for inputs above LDBL_MAX / 2.0L.
65834         (__ieee754_y0l): Likewise.
65835         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
65836         (__ieee754_j1l): Do not improve calculations using cos of twice
65837         input for inputs above LDBL_MAX / 2.0L.
65838         (__ieee754_y1l): Likewise.
65839         * math/libm-test.inc (j0_test): Add another test.
65840         (j1_test): Likewise.
65841         (y0_test): Likewise.
65842         (y1_test): Likewise.
65843         * sysdeps/i386/fpu/libm-test-ulps: Update.
65845 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65847         * Rules ($(objpfx)bench-%.c): Include code from a C source
65848         file.
65850 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65852         [BZ #15287]
65853         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65854         imaginary part 1.0 and real part less than 0.5 specially.
65855         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65856         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65857         * math/libm-test.inc (cacos_test): Add more tests.
65858         (casin_test): Likewise.
65859         (casinh_test): Likewise.
65860         * sysdeps/i386/fpu/libm-test-ulps: Update.
65861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65863 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65865         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
65866         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
65868 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
65870         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65871         * config.make.in (config-cflags-sse4): Remove variable.
65872         (config-cflags-avx): Likewise.
65873         (config-cflags-sse2avx): Likewise.
65874         (config-cflags-novzeroupper): Likewise.
65875         (config-asflags-i686): Likewise.
65876         (have-mfma4): Likewise.
65877         (have-as-vis3): Likewise.
65878         (MIG): Likewise.
65879         * configure.in (MIG): Do not AC_SUBST.
65880         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
65881         (libc_cv_cc_sse4): Do not AC_SUBST.
65882         (libc_cv_cc_avx): Likewise.
65883         (libc_cv_cc_sse2avx): Likewise.
65884         (libc_cv_cc_novzeroupper): Likewise.
65885         (libc_cv_cc_fma4): Likewise.
65886         (libc_cv_as_i686): Likewise.
65887         (libc_cv_sparc_as_vis3): Likewise.
65888         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
65889         LIBC_CONFIG_VAR.
65890         (config-asflags-i686): Likewise.
65891         (config-cflags-avx): Likewise.
65892         (config-cflags-sse2avx): Likewise.
65893         (have-mfma4): Likewise.
65894         (config-cflags-novzeroupper): Likewise.
65895         * sysdeps/mach/configure.in (MIG): Likewise.
65896         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
65897         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
65898         LIBC_CONFIG_VAR.
65899         (config-cflags-avx): Likewise.
65900         (config-cflags-sse2avx): Likewise.
65901         (have-mfma4): Likewise.
65902         (config-cflags-novzeroupper): Likewise.
65903         * configure: Regenerated.
65904         * sysdeps/i386/configure: Likewise.
65905         * sysdeps/mach/configure: Likewise.
65906         * sysdeps/sparc/configure: Likewise.
65907         * sysdeps/x86_64/configure: Likewise.
65909 2013-03-20  Roland McGrath  <roland@hack.frob.com>
65911         [BZ #14812]
65912         * locale/programs/localedef.c (options): Put N_ translation marker
65913         on argument names, not just descriptions.
65915 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65917         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65919 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
65921         [BZ #14176]
65922         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65924 2013-03-19  Roland McGrath  <roland@hack.frob.com>
65926         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65927         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65928         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65929         [!BEFORE_ABORT] (before_abort): New function.
65930         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65931         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65932         (writev_for_fatal): New function.
65933         (WRITEV_FOR_FATAL): New macro; call that.
65934         (backtrace_and_maps): New function.
65935         (BEFORE_ABORT): New macro; call that.
65936         (struct str_list): Type removed.
65937         (__libc_message, __libc_fatal): Functions removed.
65938         Include <sysdeps/posix/libc_fatal.c> instead.
65940 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
65942         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65943         constants.
65944         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65945         double constants.
65947 2013-03-19  Andreas Schwab  <schwab@suse.de>
65949         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65950         * sysdeps/gnu/configure: Regenerate.
65952         * configure.in: Substitute libc_cv_rtlddir.
65953         * configure: Regenerate.
65954         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65955         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65956         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65957         * elf/Makefile (install-others, CFLAGS-interp.c)
65958         (ldso_install, common-ldd-rewrite): Likewise.
65959         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65960         $(inst_slibdir)/$(rtld-installed-name).
65961         * scripts/rellns-sh: Add -p option.
65962         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65963         for source.
65965 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65967         * manual/nptl.texi: Renamed to ...
65968         * manual/threads.texi: ... this.
65969         * manual/Makefile (chapters): Update.
65971 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65973         [BZ #14812]
65974         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65975         on argument names, not just descriptions.
65976         * malloc/memusagestat.c (options): Likewise.
65977         * nss/getent.c (options): Likewise.
65979 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65981         [BZ #14812]
65982         * iconv/iconv_prog.c (options): Put N_ translation marker
65983         on argument names, not just descriptions.
65984         * iconv/iconvconfig.c (options): Likewise.
65986 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65988         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65989         implementation which is faster on all x86_64 architectures.
65990         Tested on AMD, Intel Nehalem, SNB, IVB.
65991         * sysdeps/x86_64/strnlen.S: Likewise.
65993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65994         Remove all multiarch strlen and strnlen versions.
65995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65996         Remove strlen and strnlen related parts.
65998         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65999         Inline strlen part.
66000         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
66002         * sysdeps/x86_64/multiarch/strlen.S: Remove.
66003         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
66004         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
66005         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
66006         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66007         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
66009 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
66011         * manual/memory.texi (Malloc Tunable Parameters):
66012         Sort parameters alphabetically. Add comments for missing entries.
66014 2013-03-17  David S. Miller  <davem@davemloft.net>
66016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66018 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
66020         [BZ #15283]
66021         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
66022         for arguments at most half maximum finite value.
66023         * math/libm-test.inc (j0_test): Add more tests.
66024         (j1_test): Likewise.
66025         (y0_test): Likewise.
66026         (y1_test): Likewise.
66027         * sysdeps/i386/fpu/libm-test-ulps: Update.
66028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66030         [BZ #14155]
66031         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
66032         1 / x and functions P and Q for arguments above 0x1p256L.
66033         (__ieee754_y0l): Likewise.
66034         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
66035         (__ieee754_y1l): Likewise.
66036         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
66037         (j1_test): Likewise.
66038         (y0_test): Likewise.
66039         (y1_test): Likewise.
66041 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
66043         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
66044         variable.
66046 2013-03-15  Roland McGrath  <roland@hack.frob.com>
66048         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
66049         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
66050         zero since it's initialized to EXEC_PAGESIZE.
66052         * sysdeps/unix/sysv/linux/ldsodefs.h
66053         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
66054         * sysdeps/generic/ldsodefs.h: ... here.
66056 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
66058         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
66060         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
66061         math/test-snan.c.
66062         * math/test-snan.c: Renamed from
66063         sysdeps/powerpc/fpu/test-powerpc-snan.c.
66064         * math/Makefile (tests): Add test-snan.
66065         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
66066         test-powerpc-snan.
66068         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
66069         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
66070         functions.
66071         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
66072         __builtin_nan family of functions.
66073         * math/libm-test.inc (initialize): Initialize qnan_value with
66074         __builtin_nan family of functions.
66075         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
66076         Remove variables.
66077         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
66078         Remove functions.
66079         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
66080         storage class.  Initialize qNaN_var and sNaN_var with
66081         __builtin_nan and __builtin_nans families of functions,
66082         respectively.
66084         * math/libm-test.inc (acosh_test): Also test with qNaN input.
66085         (sqrt_test): Remove duplicate test with qNaN input.
66086         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
66087         (round_test, signbit_test, significand_test): Note missing +/-Inf
66088         as well as qNaN tests.
66090         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
66091         qNaN_var.  Fix a few strings, too.
66092         * math/libm-test.inc (nan_value): Rename to qnan_value.
66093         * math/gen-libm-test.pl (%beautify): Adjust to that.
66094         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
66095         * math/test-misc.c (main): Likewise.
66096         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
66097         to __qnan_bytes, and __qnan_union, respectively.
66098         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
66099         Likewise.
66100         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
66101         and lqnanval, respectively.
66102         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
66103         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
66104         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
66105         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
66107         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
66108         * math/test-misc.c (main) [__x86_64__]: Enable test for long
66109         doubles.
66111         * math/test-misc.c (main): Fix copy'n'pastos.
66112         * misc/tst-efgcvt.c (special): Likewise.
66114         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
66115         Remove declarations.
66117 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66119         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
66120         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
66121         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
66122         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
66124 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66126         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
66127         macro to return vdso values correctly in IFUNC implementations.
66128         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66129         Optimization by using IFUNC.
66131 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66132             Richard Henderson  <rth@redhat.com>
66133             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66135         * Makefile.in (bench): New target.
66136         * NEWS: Mention the benchmark framework.
66137         * Rules (bench): Likewise.
66138         (binaries-bench): Generate binaries for functions to
66139         benchmark.
66140         * benchtests/Makefile: New makefile for benchmark tests.
66141         * benchtests/bench-skeleton.c: New skeleton file for benchmark
66142         programs.
66143         * benchtests/exp-inputs: New input file for EXP function.
66144         * benchtests/pow-inputs: New input file for POW function.
66145         * scripts/bench.pl: New script to generate source files for
66146         benchmark programs.
66148 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66150         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66151         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
66152         computations on mantissa.  Use macros for rounding and
66153         division.
66154         (denorm): Likewise.
66155         (__dbl_mp): Likewise.
66156         (add_magnitudes): Likewise.
66157         (sub_magnitudes): Likewise.
66158         (__mul): Likewise.
66159         (__sqr): Likewise.
66160         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66161         powers of two in terms of TWOPOW macro.
66162         (mp_no): Make type of mantissa as MANTISSA_T.
66163         [!RADIXI]: Define RADIXI.
66164         [!TWO52]: Define TWO52.
66165         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66167         * manual/nptl.texi (cindex): Modify threads to pthreads.
66169 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
66171         * sysdeps/x86_64/preconfigure: Regenerated.
66173 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
66175         [BZ #14155]
66176         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66177         0x1p28 and above.
66178         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66179         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66180         0x1p28 and above.
66181         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66182         * math/libm-test.inc (j0_test): Do not allow one spurious
66183         underflow exception.
66184         (y1_test): Likewise.
66186 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66188         * manual/Makefile (chapters): Add nptl.
66189         * manual/debug.texi (Debugging Support): Add link to Threads
66190         chapter.
66191         * manual/nptl.texi: New file.
66193         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66195 2013-03-14  Petr Baudis  <pasky@ucw.cz>
66197         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
66198         for non-NULL pointer before the memory validity test. Pointed
66199         out by Holger Brunck <holger.brunck@keymile.com>.
66201 2013-03-13  Andreas Schwab  <schwab@suse.de>
66203         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
66204         instead of .os.
66206 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
66208         * timezone/zic.c: Update from tzcode 2013b.
66210 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
66212         * manual/install.texi (Configuring and compiling):
66213         Mention i686 and i586.
66214         * INSTALL: Regenerate.
66216 2013-03-12  Roland McGrath  <roland@hack.frob.com>
66218         * sysdeps/init_array/elf-init.c: New file.
66219         * csu/elf-init.c
66220         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
66221         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
66223         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
66224         __gmon_start__ as global, but as static with a .preinit_array pointer.
66225         * sysdeps/init_array/gmon-start.c: New file.  Use that.
66226         * sysdeps/init_array/crti.S: New file, empty except for comments.
66227         * sysdeps/init_array/crtn.S: Likewise.
66229 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
66231         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
66232         definining bcopy.
66233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66234         Remove Prefer_SSE_for_memop.
66235         * sysdeps/x86_64/multiarch/init-arch.h: Remove
66236         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
66237         HAS_PREFER_SSE_FOR_MEMOP.
66238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
66239         memset-x86-64.
66240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66241         Remove bzero, memset ifunc support.
66242         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
66243         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
66244         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66245         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66247 2013-03-11  Andreas Schwab  <schwab@suse.de>
66249         [BZ #15234]
66250         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
66251         by SHLIB_COMPAT.
66252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
66253         (GLIBC_2.16): Remove pthread_atfork.
66255 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
66257         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
66258         (ptestcases.h): Likewise.
66260 2013-03-08  Roland McGrath  <roland@hack.frob.com>
66262         * Makeconfig ($(common-objpfx)config.status): Depend on
66263         sysdeps/*/preconfigure{,.in} too.
66265 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
66267         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
66268         (__free_hook): Use void * instead of __malloc_ptr_t.
66269         (__malloc_hook): Likewise.
66270         (__realloc_hook): Likewise.
66271         (__memalign_hook): Likewise.
66272         (__after_morecore_hook): Likewise.
66273         * malloc/arena.c (save_malloc_hook): Likewise.
66274         (save_free_hook): Likewise.
66275         * malloc/hooks.c (malloc_hook_ini): Likewise.
66276         (realloc_hook_ini): Likewise.
66277         (memalign_hook_ini): Likewise.
66278         * malloc/malloc.c (malloc_hook_ini): Likewise.
66279         (realloc_hook_ini): Likewise.
66280         (memalign_hook_ini): Likewise.
66281         (__free_hook): Likewise.
66282         (__malloc_hook): Likewise.
66283         (__realloc_hook): Likewise.
66284         (__memalign_hook): Likewise.
66285         (__libc_malloc): Likewise.
66286         (__libc_free): Likewise.
66287         (__libc_realloc): Likewise.
66288         (__libc_memalign): Likewise.
66289         (__libc_valloc): Likewise.
66290         (__libc_pvalloc): Likewise.
66291         (__libc_calloc): Likewise.
66292         (__posix_memalign): Likewise.
66293         * malloc/morecore.c (__sbrk): Likewise.
66294         (__default_morecore): Likewise.
66296         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66298         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66299         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66300         __malloc_ptrdiff_t.
66302         * malloc/malloc.h (__malloc_size_t): Remove macro.
66303         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66304         __malloc_size_t.
66305         (old_memalign_hook): Likewise.
66306         (old_realloc_hook): Likewise.
66307         (struct hdr): Likewise.
66308         (flood): Likewise.
66309         (mallochook): Likewise.
66310         (memalignhook): Likewise.
66311         (reallochook): Likewise.
66312         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66313         (tr_old_realloc_hook): Likewise.
66314         (tr_old_memalign_hook): Likewise.
66315         (tr_mallochook): Likewise.
66316         (tr_reallochook): Likewise.
66317         (tr_memalignhook): Likewise.
66319 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66321         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66322         default_ldbl_pack and using as default implementation.
66323         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66324         implementation.
66325         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66326         redundant definition.
66327         (ldbl_insert_mantissa): Likewise.
66328         (ldbl_canonicalize): Likewise.
66329         (ldbl_nearbyint): Likewise.
66330         (ldbl_pack): Rename to ldbl_pack_ppc.
66331         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66332         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66333         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66335 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66338         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66339         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66340         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66342         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66343         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66344         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66346 2013-03-07  Andreas Jaeger  <aj@suse.de>
66348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66349         bits/mman-linux.h.
66351 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66353         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66354         Include mpa.h and declare __MPEXP.
66355         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66356         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66357         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66358         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66359         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66360         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66361         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66363         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66364         (__slowpow): Use long double EXPL and LOGL functions to
66365         compute POW.
66366         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66367         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66368         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66369         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66370         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66371         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66374         intermediate variable to calculate exponent.
66375         (__sqr): Likewise.
66376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66377         Likewise.
66378         (__sqr): Likewise.
66380         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66381         [!NO__SQR]: Define __sqr.
66382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66383         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66384         sysdeps/ieee754/dbl-64/mpa.c.
66385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66387         [BZ #12723]
66388         * posix/Makefile (tests): Add tst-pathconf.
66389         * posix/tst-pathconf.c: New test case.
66390         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66391         _PC_PIPE_BUF.
66392         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66394 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66396         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66398 2013-03-06  Andreas Jaeger  <aj@suse.de>
66400         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66401         definition via __MAP_ANONYMOUS.
66403         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66404         it's not part of Linux headers.
66406         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66407         (MAP_HUGE_MASK): Define.
66409         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66410         Define.
66411         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66412         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66413         Define.
66414         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66415         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66416         Define.
66417         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66418         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66419         Define.
66420         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66422         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66423         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66424         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66425         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66426         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66427         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66429         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66430         Handle f2fs.
66432         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66433         Handle f2fs and efivarfs.
66435         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66436         f2fs.
66438         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66439         (EFIVARFS_MAGIC): Add.
66440         (F2FS_LINK_MAX): Add.
66442 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66444         * stdio-common/vfprintf.c: Replace __builtin_expect with
66445         __glibc_unlikely.
66447 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66449         [BZ #13550]
66450         * sysdeps/generic/bp-sym.h: Remove file.
66451         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66452         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66453         <bp-sym.h> and <bp-asm.h>.
66454         (__longjmp): Don't use BP_SYM.
66455         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66456         and <bp-asm.h>.
66457         (memcpy): Don't use BP_SYM.
66458         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66459         <bp-sym.h> and <bp-asm.h>.
66460         (memcpy): Don't use BP_SYM.
66461         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66462         <bp-asm.h>.
66463         (memcpy): Don't use BP_SYM.
66464         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66465         <bp-asm.h>.
66466         (memset): Don't use BP_SYM.
66467         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66468         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66469         (__bzero): Don't use BP_SYM.
66470         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66471         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66472         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66473         <bp-sym.h> and <bp-asm.h>.
66474         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66475         pointers.
66476         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66477         <bp-sym.h> and <bp-asm.h>.
66478         (memcpy): Don't use BP_SYM.
66479         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66480         <bp-sym.h> and <bp-asm.h>.
66481         (memset): Don't use BP_SYM.
66482         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66483         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66484         (__bzero): Don't use BP_SYM.
66485         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66486         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66487         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66488         <bp-sym.h> and <bp-asm.h>.
66489         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66490         pointers.
66491         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66492         <bp-sym.h> and <bp-asm.h>.
66493         (memcpy): Don't use BP_SYM.
66494         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66495         <bp-sym.h> and <bp-asm.h>.
66496         (memset): Don't use BP_SYM.
66497         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66498         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66499         (__bzero): Don't use BP_SYM.
66500         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66501         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66502         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66503         <bp-sym.h> and <bp-asm.h>.
66504         (__memchr): Don't use BP_SYM.
66505         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66506         <bp-sym.h> and <bp-asm.h>.
66507         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66508         pointers.
66509         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66510         <bp-sym.h> and <bp-asm.h>.
66511         (memcpy): Don't use BP_SYM.
66512         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66513         <bp-sym.h> and <bp-asm.h>.
66514         (__mempcpy): Don't use BP_SYM.
66515         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66516         <bp-sym.h> and <bp-asm.h>.
66517         (__memrchr): Don't use BP_SYM.
66518         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66519         <bp-sym.h> and <bp-asm.h>.
66520         (memset): Don't use BP_SYM.
66521         (__bzero): Likewise.
66522         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66523         <bp-sym.h> and <bp-asm.h>.
66524         (__rawmemchr): Don't use BP_SYM.
66525         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66526         <bp-sym.h> and <bp-asm.h>.
66527         (__STRCMP): Don't use BP_SYM.
66528         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66529         <bp-sym.h> and <bp-asm.h>.
66530         (strchr): Don't use BP_SYM.
66531         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66532         <bp-sym.h> and <bp-asm.h>.
66533         (__strchrnul): Don't use BP_SYM.
66534         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66535         <bp-sym.h> and <bp-asm.h>.
66536         (strlen): Don't use BP_SYM.
66537         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66538         <bp-sym.h> and <bp-asm.h>.
66539         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66540         pointers.
66541         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66542         <bp-sym.h> and <bp-asm.h>.
66543         (__strnlen): Don't use BP_SYM.
66544         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66545         <bp-sym.h> and <bp-asm.h>.
66546         (__GI__setjmp): Don't use BP_SYM.
66547         (_setjmp): Likewise.
66548         (__sigsetjmp): Likewise.
66549         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66550         (L(start_addresses)): Don't use BP_SYM.
66551         (_start): Likewise.
66552         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66553         <bp-asm.h>.
66554         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66555         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66556         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66557         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66558         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66559         <bp-asm.h>.
66560         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66561         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66562         about bounded pointers.
66563         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66564         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66565         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66566         <bp-asm.h>.
66567         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66568         about bounded pointers.  Remove GKM FIXME comments.
66569         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66570         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66571         <bp-asm.h>.
66572         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66573         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66574         Remove GKM FIXME comments.
66575         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66576         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66577         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66578         <bp-asm.h>.
66579         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66580         about bounded pointers.  Remove GKM FIXME comment.
66581         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66582         and <bp-asm.h>.
66583         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66584         pointers.
66585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66586         <bp-sym.h> and <bp-asm.h>.
66587         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66589         <bp-sym.h> and <bp-asm.h>.
66590         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66591         comment.
66593 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66595         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66596         call free(NULL).
66598 2013-03-05  David S. Miller  <davem@davemloft.net>
66600         * po/es.po: Update from translation team.
66602 2013-03-05  Andreas Jaeger  <aj@suse.de>
66604         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66605         <bits/mman-linux.h>.
66606         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66607         is fine.
66608         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66609         <bits/mman-linux.h> to end of file.
66610         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66611         is fine.
66612         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66613         <bits/mman-linux.h> to end of file.
66614         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66615         is fine.
66616         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66617         <bits/mman-linux.h> to end of file.
66619         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66620         (MCL_CURRENT, MCL_FUTURE): Define here.
66622 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66624         [BZ #15232]
66625         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66626         attribute_hidden.
66627         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66629 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66631         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66632         fourth parameter needed for rt_sigprocmask syscall.
66633         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66634         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66635         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66636         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66637         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66638         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66640 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
66642         [BZ #13550]
66643         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66644         comment about bounded pointers.
66645         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66646         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66648 2013-03-04  Andreas Jaeger  <aj@suse.de>
66650         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66651         common definitions.
66653         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66654         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66655         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66656         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66657         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66660 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66662         [BZ #15055]
66663         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66664         __ieee754_sqrl instead of __sqrl.
66666 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
66668         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66669         * sysdeps/powerpc/fpu_control.h: ... here.
66670         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66671         * sysdeps/powerpc/bits/fenvinline.h: ... here.
66672         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66673         * sysdeps/powerpc/bits/mathinline.h: ... here.
66675 2013-03-01  Roland McGrath  <roland@hack.frob.com>
66677         * elf/dl-hwcaps.c (_dl_important_hwcaps):
66678         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66679         to just [NEED_DL_SYSINFO_DSO].
66680         * elf/dl-support.c: Likewise.
66681         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
66682         * elf/rtld.c (dl_main): Likewise.
66683         * elf/setup-vdso.h (setup_vdso): Likewise.
66684         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
66685         * sysdeps/unix/sysv/linux/dl-sysdep.c
66686         (_dl_discover_osversion): Likewise.
66688 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
66690         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
66691         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66693 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
66695         * NEWS: Mention libm performance improvements and non-x86 PI
66696         futex support.
66698         * csu/libc-start.c (__pthread_initialize_minimal): Change
66699         function arguments.
66700         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66702 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
66704         [BZ #13550]
66705         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
66706         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
66707         <bp-sym.h> and <bp-asm.h>.
66708         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66709         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
66710         and <bp-asm.h>.
66711         (memcpy): Don't use BP_SYM.
66712         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
66713         <bp-asm.h>.
66714         (__mpn_add_n): Don't use BP_SYM.
66715         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
66716         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
66717         and <bp-asm.h>.
66718         (__mpn_addmul_1): Don't use BP_SYM.
66719         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66720         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
66721         <bp-sym.h>.
66722         (_setjmp): Don't use BP_SYM.
66723         (__novmx_setjmp): Likewise.
66724         (__GI__setjmp): Likewise.
66725         (__vmx_setjmp): Likewise.
66726         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
66727         <bp-sym.h>.
66728         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
66729         (__bzero): Don't use BP_SYM.
66730         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66731         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66732         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
66733         <bp-sym.h> and <bp-asm.h>.
66734         (memcpy): Don't use BP_SYM.
66735         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
66736         <bp-sym.h> and <bp-asm.h>.
66737         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66738         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
66739         <bp-sym.h> and <bp-asm.h>.
66740         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66741         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
66742         <bp-asm.h>.
66743         (__mpn_lshift): Don't use BP_SYM.
66744         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66745         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
66746         <bp-asm.h>.
66747         (memset): Don't use BP_SYM.
66748         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66749         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66750         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
66751         <bp-asm.h>.
66752         (__mpn_mul_1): Don't use BP_SYM.
66753         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66754         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
66755         <bp-sym.h> and <bp-asm.h>.
66756         (memcmp): Don't use BP_SYM.
66757         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
66758         <bp-sym.h> and <bp-asm.h>.
66759         (memcpy): Don't use BP_SYM.
66760         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
66761         <bp-sym.h> and <bp-asm.h>.
66762         (memset): Don't use BP_SYM.
66763         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
66764         <bp-sym.h> and <bp-asm.h>.
66765         (strncmp): Don't use BP_SYM.
66766         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
66767         <bp-sym.h> and <bp-asm.h>.
66768         (memcpy): Don't use BP_SYM.
66769         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
66770         <bp-sym.h> and <bp-asm.h>.
66771         (memset): Don't use BP_SYM.
66772         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
66773         <bp-sym.h> and <bp-asm.h>.
66774         (__memchr): Don't use BP_SYM.
66775         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
66776         <bp-sym.h> and <bp-asm.h>.
66777         (memcmp): Don't use BP_SYM.
66778         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
66779         <bp-sym.h> and <bp-asm.h>.
66780         (memcpy): Don't use BP_SYM.
66781         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
66782         <bp-sym.h> and <bp-asm.h>.
66783         (__mempcpy): Don't use BP_SYM.
66784         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
66785         <bp-sym.h> and <bp-asm.h>.
66786         (__memrchr): Don't use BP_SYM.
66787         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
66788         <bp-sym.h> and <bp-asm.h>.
66789         (memset): Don't use BP_SYM.
66790         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
66791         <bp-sym.h> and <bp-asm.h>.
66792         (__rawmemchr): Don't use BP_SYM.
66793         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
66794         <bp-sym.h> and <bp-asm.h>.
66795         (__STRCMP): Don't use BP_SYM.
66796         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
66797         <bp-sym.h> and <bp-asm.h>.
66798         (strchr): Don't use BP_SYM.
66799         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
66800         <bp-sym.h> and <bp-asm.h>.
66801         (__strchrnul): Don't use BP_SYM.
66802         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
66803         <bp-sym.h> and <bp-asm.h>.
66804         (strlen): Don't use BP_SYM.
66805         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
66806         <bp-sym.h> and <bp-asm.h>.
66807         (strncmp): Don't use BP_SYM.
66808         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
66809         <bp-sym.h> and <bp-asm.h>.
66810         (__strnlen): Don't use BP_SYM.
66811         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
66812         <bp-asm.h>.
66813         (__mpn_rshift): Don't use BP_SYM.
66814         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66815         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
66816         <bp-sym.h> and <bp-asm.h>.
66817         (__sigsetjmp): Don't use BP_SYM.
66818         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
66819         (L(start_addresses)): Don't use BP_SYM.
66820         (_start): Likewise.
66821         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
66822         <bp-asm.h>.
66823         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
66824         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66825         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66826         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
66827         <bp-asm.h>.
66828         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
66829         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66830         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66831         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
66832         <bp-asm.h>.
66833         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66834         comments.
66835         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66836         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
66837         <bp-asm.h>.
66838         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
66839         FIXME comments.
66840         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66841         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66842         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
66843         <bp-asm.h>.
66844         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66845         comment.
66846         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
66847         and <bp-asm.h>.
66848         (strncmp): Don't use BP_SYM,
66849         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
66850         <bp-asm.h>.
66851         (__mpn_sub_n): Don't use BP_SYM.
66852         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66853         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
66854         and <bp-asm.h>.
66855         (__mpn_submul_1): Don't use BP_SYM.
66856         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
66858         <bp-sym.h> and <bp-asm.h>.
66859         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
66861         <bp-sym.h> and <bp-asm.h>.
66862         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66863         comment.
66865 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
66868         Use ZK to minimize writes to Z.
66869         (sub_magnitudes): Simplify code a bit.
66870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
66871         Use ZK to minimize writes to Z.
66872         (sub_magnitudes): Simplify code a bit.
66874 2013-02-27  Roland McGrath  <roland@hack.frob.com>
66876         * csu/gmon-start.c: Add special exception to license text.
66878 2013-02-27  Richard Henderson  <rth@redhat.com>
66880         * scripts/config.guess: Update from config.git.
66881         * scripts/config.sub: Likewise.
66883 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66885         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
66887         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
66889         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
66891         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
66893         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
66895 2013-02-26  Roland McGrath  <roland@hack.frob.com>
66897         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
66898         [$(build-shared = yes].
66900 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66902         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
66903         (__mul): Reduce iterations for calculating mantissa.
66905         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
66906         MPTWO.
66907         (__mpranred): Likewise.
66909         [BZ #15160]
66910         * malloc/memusagestat.c (main): Draw graphs for heap and stack
66911         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
66913 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
66915         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
66916         Define __attribute__.
66918 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66920         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66921         unused.
66922         * posix/regex_internal.h (__attribute): Remove.
66923         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66924         (re_string_context_at): Likewise.
66925         (bitset_not): Use __attribute__ and mark function as possibly
66926         unused.
66927         (bitset_merge): Likewise.
66928         (bitset_mask): Likewise.
66929         (re_string_char_size_at): Likewise.
66930         (re_string_wchar_at): Likewise.
66931         (re_string_elem_size_at): Likewise.
66933 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66935         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66936         code.
66937         (cc32): Likewise.
66939         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66940         (__acr): Likewise.
66941         (__cpy): Likewise.
66942         (norm): Likewise.
66943         (denorm): Likewise.
66944         (__dbl_mp): Likewise.
66945         (add_magnitudes): Likewise.
66946         (sub_magnitudes): Likewise.
66947         (__mul): Likewise.
66948         (__inv): Likewise.
66950         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66951         style.
66953         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66954         style.
66956         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66957         code.
66959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66960         up changes with default code.
66961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66962         Likewise.
66964 2013-02-24  Allan McRae  <allan@archlinux.org>
66966         * manual/socket.texi (The Internet Namespace): Order menu items
66967         to match that in the file.
66969         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66970         node listing of the info page menu.
66972 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66974         [BZ #13550]
66975         * sysdeps/i386/bp-asm.h: Remove file.
66976         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66977         (PARMS): Do not use macros from bp-asm.h.
66978         (S1): Likewise.
66979         (S2): Likewise.
66980         (SIZE): Likewise.
66981         (__mpn_add_n): Do not use BP_SYM
66982         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66983         "bp-asm.h".
66984         (PARMS): Do not use macros from bp-asm.h.
66985         (S1): Likewise.
66986         (SIZE): Likewise.
66987         (__mpn_addmul_1): Do not use BP_SYM
66988         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66989         "bp-asm.h".
66990         (PARMS): Do not use macros from bp-asm.h.
66991         (SIGMSK): Likewise.
66992         (_setjmp): Likewise.  Do not use BP_SYM.
66993         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66994         "bp-asm.h".
66995         (PARMS): Do not use macros from bp-asm.h.
66996         (SIGMSK): Likewise.
66997         (setjmp): Likewise.  Do not use BP_SYM.
66998         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66999         "bp-asm.h".
67000         (PARMS): Do not use macros from bp-asm.h.
67001         (__frexp): Do not use BP_SYM.
67002         (frexp): Likewise.
67003         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
67004         "bp-asm.h".
67005         (PARMS): Do not use macros from bp-asm.h.
67006         (__frexpf): Do not use BP_SYM.
67007         (frexpf): Likewise.
67008         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
67009         "bp-asm.h".
67010         (PARMS): Do not use macros from bp-asm.h.
67011         (__frexpl): Do not use BP_SYM.
67012         (frexpl): Likewise.
67013         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
67014         "bp-asm.h".
67015         (PARMS): Do not use macros from bp-asm.h.
67016         (__remquo): Do not use BP_SYM.
67017         (remquo): Likewise.
67018         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
67019         "bp-asm.h".
67020         (PARMS): Do not use macros from bp-asm.h.
67021         (__remquof): Do not use BP_SYM.
67022         (remquof): Likewise.
67023         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
67024         "bp-asm.h".
67025         (PARMS): Do not use macros from bp-asm.h.
67026         (__remquol): Do not use BP_SYM.
67027         (remquol): Likewise.
67028         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
67029         "bp-asm.h".
67030         (PARMS): Do not use macros from bp-asm.h.
67031         (DEST): Likewise.
67032         (SRC): Likewise.
67033         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
67034         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
67035         "bp-asm.h".
67036         (PARMS): Do not use macros from bp-asm.h.
67037         (strlen): Do not use BP_SYM.
67038         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
67039         "bp-asm.h".
67040         (PARMS): Do not use macros from bp-asm.h.
67041         (S1): Likewise.
67042         (S2): Likewise.
67043         (SIZE): Likewise.
67044         (__mpn_add_n): Do not use BP_SYM.
67045         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
67046         "bp-asm.h".
67047         (PARMS): Do not use macros from bp-asm.h.
67048         (S1): Likewise.
67049         (SIZE): Likewise.
67050         (__mpn_addmul_1): Do not use BP_SYM.
67051         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
67052         weak_alias.
67053         (bzero): Likewise.
67054         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
67055         "bp-asm.h".
67056         (PARMS): Do not use macros from bp-asm.h.
67057         (S): Likewise.
67058         (SIZE): Likewise.
67059         (__mpn_lshift): Do not use BP_SYM.
67060         * sysdeps/i386/i586/memcpy.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         (SRC): Likewise.
67065         (LEN): Likewise.
67066         (memcpy): Likewise.  Do not use BP_SYM.
67067         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
67068         libc_hidden_def and weak_alias.
67069         (mempcpy): Do not use BP_SYM in weak_alias.
67070         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
67071         "bp-asm.h".
67072         (PARMS): Do not use macros from bp-asm.h.
67073         (DEST): Likewise.
67074         (LEN): Likewise.
67075         [!BZERO_P] (CHR): Likewise.
67076         (memset): Likewise.  Do not use BP_SYM.
67077         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
67078         "bp-asm.h".
67079         (PARMS): Do not use macros from bp-asm.h.
67080         (S1): Likewise.
67081         (SIZE): Likewise.
67082         (__mpn_mul_1): Do not use BP_SYM.
67083         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
67084         "bp-asm.h".
67085         (PARMS): Do not use macros from bp-asm.h.
67086         (S): Likewise.
67087         (SIZE): Likewise.
67088         (__mpn_rshift): Do not use BP_SYM.
67089         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
67090         "bp-asm.h".
67091         (PARMS): Do not use macros from bp-asm.h.
67092         (STR): Likewise.
67093         (CHR): Likewise.
67094         (strchr): Likewise.  Do not use BP_SYM.
67095         (index): Do not use BP_SYM in weak_alias.
67096         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
67097         "bp-asm.h".
67098         (PARMS): Do not use macros from bp-asm.h.
67099         (DEST): Likewise.
67100         (SRC): Likewise.
67101         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
67102         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
67103         "bp-asm.h".
67104         (PARMS): Do not use macros from bp-asm.h.
67105         (strlen): Do not use BP_SYM.
67106         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
67107         "bp-asm.h".
67108         (PARMS): Do not use macros from bp-asm.h.
67109         (S1): Likewise.
67110         (S2): Likewise.
67111         (SIZE): Likewise.
67112         (__mpn_sub_n): Do not use BP_SYM.
67113         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
67114         "bp-asm.h".
67115         (PARMS): Do not use macros from bp-asm.h.
67116         (S1): Likewise.
67117         (SIZE): Likewise.
67118         (__mpn_submul_1): Do not use BP_SYM.
67119         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
67120         "bp-asm.h".
67121         (PARMS): Do not use macros from bp-asm.h.
67122         (S1): Likewise.
67123         (S2): Likewise.
67124         (SIZE): Likewise.
67125         (__mpn_add_n): Do not use BP_SYM.
67126         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
67127         weak_alias.
67128         (bzero): Likewise.
67129         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
67130         "bp-asm.h".
67131         (PARMS): Do not use macros from bp-asm.h.
67132         (BLK2): Likewise.
67133         (LEN): Likewise.
67134         (memcmp): Do not use BP_SYM.
67135         (bcmp): Do not use BP_SYM in weak_alias.
67136         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
67137         "bp-asm.h".
67138         (PARMS): Do not use macros from bp-asm.h.
67139         (DEST): Likewise.
67140         (SRC): Likewise.
67141         (LEN): Likewise.
67142         (memcpy): Likewise.  Do not use BP_SYM.
67143         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
67144         "bp-asm.h".
67145         (PARMS): Do not use macros from bp-asm.h.
67146         (DEST): Likewise.
67147         (SRC): Likewise.
67148         (LEN): Likewise.
67149         (memmove): Likewise.  Do not use BP_SYM.
67150         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
67151         "bp-asm.h".
67152         (PARMS): Do not use macros from bp-asm.h.
67153         (DEST): Likewise.
67154         (SRC): Likewise.
67155         (LEN): Likewise.
67156         (__mempcpy): Likewise.  Do not use BP_SYM.
67157         (mempcpy): Do not use BP_SYM in weak_alias.
67158         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
67159         "bp-asm.h".
67160         (PARMS): Do not use macros from bp-asm.h.
67161         (DEST): Likewise.
67162         (LEN): Likewise.
67163         [!BZERO_P] (CHR): Likewise.
67164         (memset): Likewise.  Do not use BP_SYM.
67165         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
67166         "bp-asm.h".
67167         (PARMS): Do not use macros from bp-asm.h.
67168         (STR2): Likewise.
67169         (strcmp): Do not use BP_SYM.
67170         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
67171         "bp-asm.h".
67172         (PARMS): Do not use macros from bp-asm.h.
67173         (STR): Likewise.
67174         (DELIM): Likewise.
67175         [USE_AS_STRTOK_R] (SAVE): Likewise.
67176         (FUNCTION): Likewise.  Do not use BP_SYM.
67177         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67178         aliases.
67179         (strtok_r): Likewise.
67180         (__GI___strtok_r): Likewise.
67181         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67182         (PARMS): Do not use macros from bp-asm.h.
67183         (S): Likewise.
67184         (SIZE): Likewise.
67185         (__mpn_lshift): Do not use BP_SYM.
67186         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67187         (PARMS): Do not use macros from bp-asm.h.
67188         (STR): Likewise.
67189         (CHR): Likewise.
67190         (__memchr): Do not use BP_SYM.
67191         (memchr): Do not use BP_SYM in weak_alias.
67192         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67193         (PARMS): Do not use macros from bp-asm.h.
67194         (BLK2): Likewise.
67195         (LEN): Likewise.
67196         (memcmp): Do not use BP_SYM.
67197         (bcmp): Do not use BP_SYM in weak_alias.
67198         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
67199         (PARMS): Do not use macros from bp-asm.h.
67200         (S1): Likewise.
67201         (SIZE): Likewise.
67202         (__mpn_mul_1): Do not use BP_SYM.
67203         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
67204         "bp-asm.h".
67205         (PARMS): Do not use macros from bp-asm.h.
67206         (STR): Likewise.
67207         (CHR): Likewise.
67208         (__rawmemchr): Do not use BP_SYM.
67209         (rawmemchr): Do not use BP_SYM in weak_alias.
67210         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67211         (PARMS): Do not use macros from bp-asm.h.
67212         (S): Likewise.
67213         (SIZE): Likewise.
67214         (__mpn_rshift): Do not use BP_SYM.
67215         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67216         (PARMS): Do not use macros from bp-asm.h.
67217         (SIGMSK): Likewise.
67218         (__sigsetjmp): Likewise.  Do not use BP_SYM.
67219         * sysdeps/i386/start.S: Do not include "bp-sym.h".
67220         (_start): Do not use BP_SYM.
67221         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
67222         (PARMS): Do not use macros from bp-asm.h.
67223         (DEST): Likewise.
67224         (SRC): Likewise.
67225         (__stpcpy): Likewise.  Do not use BP_SYM.
67226         (stpcpy): Do not use BP_SYM in weak_alias.
67227         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
67228         "bp-asm.h".
67229         (PARMS): Do not use macros from bp-asm.h.
67230         (DEST): Likewise.
67231         (SRC): Likewise.
67232         (LEN): Likewise.
67233         (__stpncpy): Likewise.  Do not use BP_SYM.
67234         (stpncpy): Do not use BP_SYM in weak_alias.
67235         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67236         (PARMS): Do not use macros from bp-asm.h.
67237         (STR): Likewise.
67238         (CHR): Likewise.
67239         (strchr): Likewise.  Do not use BP_SYM.
67240         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
67241         "bp-asm.h".
67242         (PARMS): Do not use macros from bp-asm.h.
67243         (STR): Likewise.
67244         (CHR): Likewise.
67245         (__strchrnul): Likewise.  Do not use BP_SYM.
67246         (strchrnul): Do not use BP_SYM in weak_alias.
67247         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
67248         "bp-asm.h".
67249         (PARMS): Do not use macros from bp-asm.h.
67250         (STOP): Likewise.
67251         (strcspn): Do not use BP_SYM.
67252         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
67253         "bp-asm.h".
67254         (PARMS): Do not use macros from bp-asm.h.
67255         (STR): Likewise.
67256         (STOP): Likewise.
67257         (strpbrk): Likewise.  Do not use BP_SYM.
67258         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
67259         "bp-asm.h".
67260         (PARMS): Do not use macros from bp-asm.h.
67261         (STR): Likewise.
67262         (CHR): Likewise.
67263         (strrchr): Likewise.  Do not use BP_SYM.
67264         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
67265         (PARMS): Do not use macros from bp-asm.h.
67266         (SKIP): Likewise.
67267         (strspn): Do not use BP_SYM.
67268         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
67269         (PARMS): Do not use macros from bp-asm.h.
67270         (STR): Likewise.
67271         (DELIM): Likewise.
67272         (SAVE): Likewise.
67273         (FUNCTION): Likewise.  Do not use BP_SYM.
67274         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
67275         aliases.
67276         (strtok_r): Likewise.
67277         (__GI___strtok_r): Likewise.
67278         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67279         (PARMS): Do not use macros from bp-asm.h.
67280         (S1): Likewise.
67281         (S2): Likewise.
67282         (SIZE): Likewise.
67283         (__mpn_sub_n): Do not use BP_SYM.
67284         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67285         "bp-asm.h".
67286         (PARMS): Do not use macros from bp-asm.h.
67287         (S1): Likewise.
67288         (SIZE): Likewise.
67289         (__mpn_submul_1): Do not use BP_SYM.
67290         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67291         <bp-sym.h>.
67292         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67293         and <bp-asm.h>.
67294         (PARMS): Do not use macros from bp-asm.h.
67295         (FLAGS): Likewise.
67296         (PTID): Likewise.
67297         (TLS): Likewise.
67298         (CTID): Likewise.
67299         (__clone): Do not use BP_SYM.
67300         (clone): Do not use BP_SYM in weak_alias.
67301         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67302         and <bp-asm.h>.
67303         (PARMS): Do not use macros from bp-asm.h.
67304         (LEN): Likewise.
67305         (__mmap64): Do not use BP_SYM.
67306         (mmap64): Do not use BP_SYM in weak_alias.
67307         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67308         <bp-sym.h> and <bp-asm.h>.
67309         (PARMS): Do not use macros from bp-asm.h.
67310         (__posix_fadvise64_l64): Do not use BP_SYM.
67311         * sysdeps/unix/sysv/linux/i386/semtimedop.S
67312         (PARMS): Do not use macros from bp-asm.h.
67313         (NSOPS): Likewise.
67314         (semtimedop): Do not use BP_SYM.
67315         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67316         and <bp-asm.h>.
67318 2013-02-21  Allan McRae  <allan@archlinux.org>
67320         * manual/message.texi (Charset conversion in gettext):
67321         Move @end statement to beginning of line.
67323 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67326         static.
67327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67328         Likewise.
67330         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67331         (denorm): Likewise.
67332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67335 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67337         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67338         tail-call to the resolved function if pltexit isn't needed.
67340 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67343         or Y being zero as being unlikely.
67344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67345         Likewise.
67347 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67349         * manual/nss.texi (System Databases and Name Service Switch):
67350         Remove frobnicate @pxref.
67352 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67354         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67355         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67357 2013-02-20  Petr Machata  <pmachata@redhat.com>
67359         * elf/elf.h (R_ARM_TARGET1): New macro.
67360         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67361         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67362         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67363         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67364         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67365         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67366         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67367         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67368         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67369         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67370         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67371         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67372         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67373         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67374         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67375         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67376         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67377         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67378         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67379         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67380         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67381         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67382         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67383         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67384         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67385         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67386         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67387         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67388         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67389         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67390         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67391         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67392         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67393         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67394         (R_ARM_THM_GOT_BREL12): Likewise.
67395         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67396         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67397         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67398         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67399         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67400         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67401         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67402         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67403         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67405 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67407         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67408         __attribute_used__ to __attribute__ ((unused)).
67410 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67412         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67413         powerpc mpa.c.
67414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67415         comment formatting.
67416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67418 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67420         [BZ #13550]
67421         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67422         Remove macro.
67423         (ENTER): Remove both macro definitions.
67424         (LEAVE): Likewise.
67425         (CHECK_BOUNDS_LOW): Likewise.
67426         (CHECK_BOUNDS_HIGH): Likewise.
67427         (CHECK_BOUNDS_BOTH): Likewise.
67428         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67429         (RETURN_BOUNDED_POINTER): Likewise.
67430         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67431         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67432         (POP_ERRNO_LOCATION_RETURN): Likewise.
67433         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67434         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67435         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67436         macros.
67437         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67438         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67439         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67440         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67441         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67442         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67443         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67444         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67445         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67446         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67447         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67448         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67449         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67450         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67451         removed macros.
67452         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67453         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67454         macros.
67455         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67456         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67457         * sysdeps/i386/i586/memset.S (memset): Likewise.
67458         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67459         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67460         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67461         macros.
67462         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67463         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67464         Change uses of L(2) to L(out).
67465         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67466         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67467         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67468         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67469         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67470         removed macros.
67471         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67472         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67473         macros.
67474         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67475         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67476         (RETURN): Do not use macro LEAVE.
67477         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67478         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67479         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67480         * sysdeps/i386/i686/memset.S (memset): Likewise.
67481         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67482         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67483         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67484         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67485         Likewise.
67486         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67487         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67488         L(1_2) and L(1_3) into L(1).
67489         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67490         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67491         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67492         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67493         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67494         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67495         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67496         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67497         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67498         macros.
67499         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67500         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67501         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67502         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67503         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67504         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67505         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67506         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67507         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67508         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67509         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67510         * sysdeps/i386/strspn.S (strspn): Likewise.
67511         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67512         conditional code.
67513         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67514         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67515         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67516         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67517         L(1_3) into L(1_1).
67518         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67519         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67520         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67521         macros.
67522         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67524 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67526         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67527         macro.
67529 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67531         * math/atest-exp.c (exp_mpn): Remove ROUND.
67532         * math/atest-exp2.c (exp_mpn): Likewise.
67533         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67535         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67536         * stdlib/tst-tls-atexit-lib.c: Likewise.
67537         * stdlib/tst-tls-atexit.c: Likewise.
67539 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67541         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67542         and __attribute_alloc_size__.
67544 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67546         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67547         __attribute_alloc_size__.
67548         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67549         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67551 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67553         * include/programs/xmalloc.h: New file.
67554         * catgets/gencat.c: Include it.
67555         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67556         * elf/pldd.c: Likewise.
67557         * iconv/iconv_charmap.c: Likewise.
67558         * iconv/iconvconfig.c: Likewise.
67559         * iconv/strtab.c: Likewise.
67560         * locale/programs/locale.c: Likewise.
67561         * locale/programs/localedef.h: Likewise.
67562         * locale/programs/simple-hash.c: Likewise.
67563         * nscd/nscd.h: Likewise.
67564         * nss/makedb.c: Likewise.
67565         * sysdeps/generic/ldconfig.h: Likewise.
67567 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67569         * Versions.def: Add GLIBC_2.18.
67570         * include/link.h (struct link_map): New member l_tls_dtor_count.
67571         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67572         (__call_tls_dtors): Likewise.
67573         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67574         __cxa_thread_atexit_impl.
67575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67576         Likewise.
67577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67578         Likewise.
67579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67580         Likewise.
67581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67582         Likewise.
67583         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67585         Likewise.
67586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67587         Likewise.
67588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67590         Likewise.
67591         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67592         (tests): Add test case tst-tls-atexit.
67593         (modules-names): Add shared library for tst-tls-atexit.
67594         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67595         (GLIBC_PRIVATE): Add __call_tls_dtors.
67596         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67597         for libstdc++.
67598         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67599         * stdlib/tst-tls-atexit.c: New test case.
67600         * stdlib/tst-tls-atexit-lib.c: New test case.
67602         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67604         * elf/Versions (ld): Add _dl_find_dso_for_object.
67605         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67606         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67607         (dl_open_worker): Use _dl_find_dso_for_object.
67608         * elf/dl-sym.c (do_sym): Likewise.
67609         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67611 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67613         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67614         Syntactic changes only.
67615         (_dl_runtime_profile): Do a tail-call to the resolved function.
67617 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67619         [BZ #13550]
67620         * sysdeps/x86_64/bp-asm.h: Remove file.
67621         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67622         <bp-sym.h> and <bp-asm.h>.
67623         (__clone): Do not use BP_SYM.
67624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67625         <bp-sym.h> and <bp-asm.h>.
67626         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67627         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67628         "bp-asm.h".
67629         (_setjmp): Do not use BP_SYM.
67630         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67631         "bp-asm.h".
67632         (setjmp): Do not use BP_SYM.
67633         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67634         libc_hidden_def.
67635         (mempcpy): Do not use BP_SYM in weak_alias.
67636         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67637         "bp-asm.h".
67638         (strchr): Do not use BP_SYM.
67639         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67640         "bp-asm.h".
67641         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67642         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67643         (_start): Do not use BP_SYM.
67644         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67645         "bp-asm.h".
67646         (strcat): Do not use BP_SYM.
67647         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67648         "bp-asm.h".
67649         (STRCMP): Do not use BP_SYM.
67650         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67651         "bp-asm.h".
67652         (STRCPY): Do not use BP_SYM.
67653         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67654         "bp-asm.h".
67655         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67656         "bp-asm.h".
67657         (FUNCTION): Do not use BP_SYM.
67658         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67659         weak_alias.
67660         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67662 2013-02-17  Andreas Jaeger  <aj@suse.de>
67664         * time/Versions: Sort entries.
67665         * string/Versions: Likewise.
67666         * resolv/Versions: Likewise.
67667         * posix/Versions: Likewise.
67668         * iconv/Versions: Likewise.
67669         * elf/Versions: Likewise.
67670         * wcsmbs/Versions: Likewise.
67672 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67674         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67675         loop termination condition.
67677         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67678         variable to calculate EZ.
67679         (__sqr): Likewise.
67681         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
67682         the lower precision input.
67684 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
67686         [BZ #13550]
67687         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
67688         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
67689         (run-via-rtld-prefix): Do not handle %-bp tests.
67690         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
67691         (all-object-suffixes): Remove .ob.
67692         (bppfx): Remove variable.
67693         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
67694         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
67695         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
67696         [$(build-bounded) = yes] (libtype.ob): Likewise.
67697         * Makerules (elide-routines.ob): Remove variable.
67698         (do-tests-clean): Do not handle *-bp.out.
67699         (common-mostlyclean): Do not handle *-bp and *-bp.out.
67700         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
67701         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
67702         (tests): Do not include $(tests-bp.out).
67703         (xtests): Do not include $(xtests-bp.out).
67704         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
67705         [$(build-bounded) = yes] ($(addprefix
67706         $(objpfx),$(binaries-bounded))): Remove rule.
67707         ($(objpfx)%-bp.out): Remove rule.
67708         * config.make.in (build-bounded): Remove variable.
67709         * crypt/Makefile [$(build-bounded) = yes]
67710         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
67711         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
67712         append to variable.
67713         [$(build-bounded) = yes] (install-lib): Likewise.
67714         [$(build-bounded) = yes] (generated): Likewise.
67715         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
67716         Remove rule.
67717         * intl/Makefile [$(build-bounded) = yes]
67718         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
67719         * math/Makefile [$(build-bounded) = yes]
67720         ($(tests:%=$(objpfx)%-bp): Likewise.
67721         * misc/Makefile [$(build-bounded) = yes]
67722         ($(objpfx)tst-tsearch-bp): Likewise.
67723         * nptl/Makeconfig (bounded-thread-library): Remove variable.
67724         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
67725         Remove dependency.
67726         * string/Makefile (o-objects.ob): Remove variable.
67727         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67728         (CFLAGS-.ob): Remove variable.
67729         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
67730         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
67731         both definitions of variable.
67732         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
67733         (ASFLAGS-.ob): Remove variable.
67735 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
67737         [BZ #13550]
67738         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
67739         Remove __BOUNDED_POINTERS__ from condition.
67740         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
67741         * string/bits/string2.h [!__NO_STRING_INLINES &&
67742         !__BOUNDED_POINTERS__]: Likewise.
67743         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
67744         Likewise.
67745         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
67746         Remove conditional code.
67747         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
67748         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
67749         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
67750         condition.
67752         [BZ #13550]
67753         * csu/libc-start.c: Do not include <bp-sym.h>.
67754         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
67755         * elf/dl-open.c: Do not include <bp-sym.h>.
67756         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
67757         * math/fegetenv.c: Do not include <bp-sym.h>.
67758         (fegetenv): Do not use BP_SYM in versioned symbols.
67759         * nptl/sysdeps/pthread/bits/libc-lockP.h
67760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
67761         <bp-sym.h>.
67762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67763         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
67764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67765         (__pthread_mutex_destroy): Likewise.
67766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67767         (__pthread_mutex_lock): Likewise.
67768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67769         (__pthread_mutex_trylock): Likewise.
67770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67771         (__pthread_mutex_unlock): Likewise.
67772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67773         (__pthread_mutexattr_init): Likewise.
67774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67775         (__pthread_mutexattr_destroy): Likewise.
67776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67777         (__pthread_mutexattr_settype): Likewise.
67778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67779         (__pthread_rwlock_init): Likewise.
67780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67781         (__pthread_rwlock_destroy): Likewise.
67782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67783         (__pthread_rwlock_rdlock): Likewise.
67784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67785         (__pthread_rwlock_tryrdlock): Likewise.
67786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67787         (__pthread_rwlock_wrlock): Likewise.
67788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67789         (__pthread_rwlock_trywrlock): Likewise.
67790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67791         (__pthread_rwlock_unlock): Likewise.
67792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67793         (__pthread_key_create): Likewise.
67794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67795         (__pthread_setspecific): Likewise.
67796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67797         (__pthread_getspecific): Likewise.
67798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
67799         Likewise.
67800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67801         (_pthread_cleanup_push_defer): Likewise.
67802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67803         (_pthread_cleanup_pop_restore): Likewise.
67804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67805         (pthread_setcancelstate): Likewise.
67806         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
67807         <bp-sym.h>.
67808         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
67809         (memchr): Do not use BP_SYM in weak_alias.
67810         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
67811         (fegetenv): Do not use BP_SYM in versioned symbols.
67812         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
67813         (fesetenv): Do not use BP_SYM in versioned symbols.
67814         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67815         (feupdateenv): Do not use BP_SYM in versioned symbols.
67816         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67817         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67818         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
67819         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
67820         (open64): Do not use BP_SYM in weak_alias.
67821         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
67822         (fegetenv): Do not use BP_SYM in versioned symbols.
67823         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
67824         (fesetenv): Do not use BP_SYM in versioned symbols.
67825         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67826         (feupdateenv): Do not use BP_SYM in versioned symbols.
67827         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
67828         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
67829         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
67830         (feraiseexcept): Do not use BP_SYM in versioned symbols.
67831         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67832         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67833         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
67834         <bp-sym.h>.
67835         (__libc_start_main): Do not use BP_SYM.
67837 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
67840         redundant return line.
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.
67850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
67851         (norm): Likewise.
67852         (denorm): Likewise.
67853         (dbl_mp): Likewise.
67854         (sub_magnitudes): Likewise.
67855         (__add): Likewise.
67856         (__sub): Likewise.
67857         (__mul): Likewise.
67858         (__inv): Likewise.
67859         (__dvd): Likewise.
67861         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
67862         instead of __mul.
67863         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67864         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
67865         (cc32): Likewise.
67867         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
67868         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
67869         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
67870         of __mul for squares.
67871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
67872         function
67873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
67874         Likewise.
67875         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
67876         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67878 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
67880         [BZ #13550]
67881         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
67882         code.
67883         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
67884         prototype or function definition.  Rename ubp_* variables and
67885         parameters.  Remove argv definitions conditional on
67886         [__BOUNDED_POINTERS__].
67887         * debug/backtrace.c (__backtrace): Do not use __unbounded.
67888         * elf/dl-runtime.c (_dl_fixup): Likewise.
67889         * include/set-hooks.h (RUN_HOOK): Likewise.
67890         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
67891         definition.
67892         * string/strcpy.c (strcpy): Do not use __unbounded.
67893         * sysdeps/generic/frame.h (struct layout): Likewise.
67894         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
67895         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
67896         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
67897         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
67898         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
67899         (__backtrace): Likewise.
67900         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
67901         use __ptrvalue.
67902         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
67903         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
67904         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
67905         Likewise.
67906         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
67907         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
67908         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
67909         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67910         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
67911         Do not use __unbounded.
67912         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
67913         Rename __unboundedrlimits parameter to rlimits in prototype.
67914         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
67915         Do not use __unbounded.
67916         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
67917         not use __ptrvalue.
67918         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67919         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67920         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67921         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67922         __ptrvalue or __unbounded.
67923         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67924         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67925         use __unbounded.
67926         (__new_msgctl): Do not use __ptrvalue.
67927         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67928         __unbounded.
67929         (__libc_msgrcv): Do not use __ptrvalue.
67930         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67931         startup_info): Do not use __unbounded.
67932         (__libc_start_main): Likewise.  Rename ubp_* variables and
67933         parameters.  Remove argv definitions conditional on
67934         [__BOUNDED_POINTERS__].
67935         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67936         __ptrvalue.
67937         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67938         use __unbounded.
67939         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67940         or __ptrvalue.
67941         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67942         use __unbounded.
67943         (__new_shmctl): Do not use __ptrvalue.
67944         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67945         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67946         Likewise.
67947         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67948         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67949         (__libc_sigaction): Likewise.
67950         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67951         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67952         Likewise.
67953         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67955 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67957         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67959         * string/mempcpy.c: Implement by calling memcpy.
67961 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67965         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67966         evaluation.
67968         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67969         values in the mantissa.
67971         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67972         minimize writes to Z.
67973         (sub_magnitudes): Simplify code a bit.
67975 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67977         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67978         from the message.  The linker prefixes all warnings with that already.
67980 2013-02-12  Andreas Schwab  <schwab@suse.de>
67982         [BZ #15078]
67983         * posix/regexec.c (extend_buffers): Add parameter min_len.
67984         (check_matching): Pass minimum needed length.
67985         (clean_state_log_if_needed): Likewise.
67986         (get_subexp): Likewise.
67987         * posix/Makefile (tests): Add bug-regex34.
67988         (bug-regex34-ENV): Define.
67989         * posix/bug-regex34.c: New file.
67991         [BZ #11561]
67992         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67993         elements compare against the byte sequence of it, not its name.
67994         * posix/Makefile (tests): Add bug-regex35.
67995         (bug-regex35-ENV): Define.
67996         * posix/bug-regex35.c: New file.
67998 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68000         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
68001         comment.
68002         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
68003         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
68004         (CHECK_EOL): Add undef.
68006 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
68008         * bits/stdlib-bsearch.h: New file.
68009         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
68010         * stdlib/stdlib.h: Likewise.
68012 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68014         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
68015         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
68016         declaration.
68017         * manual/search.texi (Array Search Function): Add missing const in
68018         lfind prototype.
68019         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68020         declaration to use rlim_t.
68021         (Basic Scheduling Functions): Remove erroneous const from
68022         sched_getparam prototype.  Remove erroneous * from
68023         sched_get_priority_max and sched_get_priority_min prototypes.
68024         (Resource Usage): Fix summary @comment on vtimes to refer to
68025         sys/vtimes.h rather than vtimes.h.
68026         Add missing *s in vtimes prototype.
68027         (Limits on Resources): Fix ulimit prototype to return long int.
68028         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
68029         prototypes to use long int rather than double.
68030         (BSD Random): Fix initstate and setstate to use char *, not void *.
68031         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
68032         prototype to make second argument 'struct aiocb64 *const[]'.
68033         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
68034         (Status of AIO Operations): Remove erroneous const in aio_return and
68035         aio_return64 prototypes.
68036         (Synchronizing I/O): Fix sync prototype to return void.
68037         * manual/startup.texi (Suboptions): Remove an erroneous const in
68038         getsubopt prototype.
68039         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
68040         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
68041         use size_t rather than int.
68042         (Scanning All Users): Likewise for getpwent_r.
68043         (Setting Groups): Add missing const to setgroups prototype.
68044         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
68045         * manual/socket.texi (Host Names): Fix gethostbyaddr and
68046         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68047         'const void *' rather than 'const char *'.
68048         (Host Address Functions): Likewise for inet_ntop.
68049         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
68050         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
68051         ssize_t for return value.
68052         (Sending Data): Likewise for send, sendto, sendmsg.
68053         (Socket Option Functions): Add a missing const in setsockopt prototype.
68054         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
68055         use wchar_t for the argument.
68056         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
68057         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
68058         take no arguments.
68059         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
68060         double/float/long double for second argument.
68061         Fix return types of significand, significandf, significandl.
68062         * manual/filesys.texi (Setting Permissions): Use mode_t for second
68063         argument in fchmod prototype.
68064         (File Owner): Use uid_t and gid_t in fchown prototype.
68065         (File Times): Add const to utimes, futimes, and lutimes prototypes.
68066         (Making Special Files): Use mode_t and dev_t in mknod prototype.
68067         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
68068         use 'const struct dirent **' as argument types to CMP function pointer
68069         argument.
68070         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
68071         (File Times): Fix summary magic @comment for struct utimbuf and utime
68072         to refer to utime.h, not time.h.
68073         * manual/string.texi (Argz Functions): Add missing const in
68074         argz_extract and argz_next prototypes.
68075         (Finding Tokens in a String): Likewise for basename.
68076         (String/Array Comparison): Fix typo in wcscasecmp prototype.
68077         (Copying and Concatenation): Fix typo in wmemmove prototype.
68078         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68079         (Signal Stack): Remove erroneous const in sigstack prototype.
68080         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
68081         prototype.
68082         (Simple Calendar Time): Likewise for stime.
68083         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
68084         prototype.
68085         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
68086         say sys/sysctl.h instead.
68087         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
68088         and vsyslog prototypes.
68090 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68092         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
68093         Remove.
68095 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68097         * misc/sys/mman.h: Fix typo in mremap comment.
68099 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68101         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
68102         the '\0' terminator.
68104 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68106         [BZ #13550]
68107         * debug/segfault.c: Don't include <bp-checks.h>.
68108         * sysdeps/generic/bp-checks.h: Remove file.
68109         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
68110         (__GETDENTS): Don't use CHECK_N.
68111         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
68112         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
68113         (__getgroups): Don't use CHECK_N.
68114         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
68115         (setgroups): Don't use CHECK_N.
68116         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
68117         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
68118         (__libc_msgrcv): Don't use CHECK_N.
68119         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
68120         (__libc_msgsnd): Don't use CHECK_N.
68121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
68122         <bp-checks.h>.
68123         (__libc_pread): Don't use CHECK_N.
68124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
68125         include <bp-checks.h>.
68126         (__libc_pread64): Don't use CHECK_N.
68127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
68128         include <bp-checks.h>.
68129         (__libc_pwrite): Don't use CHECK_N.
68130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
68131         include <bp-checks.h>.
68132         (__libc_pwrite64): Don't use CHECK_N.
68133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
68134         <bp-checks.h>.
68135         (__libc_pread): Don't use CHECK_N.
68136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
68137         include <bp-checks.h>.
68138         (__libc_pread64): Don't use CHECK_N.
68139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
68140         include <bp-checks.h>.
68141         (__libc_pwrite): Don't use CHECK_N.
68142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
68143         include <bp-checks.h>.
68144         (__libc_pwrite64): Don't use CHECK_N.
68145         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
68146         (do_pread): Don't use CHECK_N.
68147         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
68148         (do_pread64): Don't use CHECK_N.
68149         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
68150         (do_pwrite): Don't use CHECK_N.
68151         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
68152         (do_pwrite64): Don't use CHECK_N.
68153         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
68154         (__libc_readv): Don't use CHECK_N.
68155         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
68156         (semop): Don't use CHECK_N.
68157         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
68158         <bp-checks.h>.
68159         (semtimedop): Don't use CHECK_N.
68160         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
68161         (__libc_pread): Don't use CHECK_N.
68162         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
68163         <bp-checks.h>.
68164         (__libc_pread64): Don't use CHECK_N.
68165         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68166         <bp-checks.h>.
68167         (__libc_pwrite): Don't use CHECK_N.
68168         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
68169         <bp-checks.h>.
68170         (__libc_pwrite64): Don't use CHECK_N.
68171         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
68172         <bp-checks.h>.
68173         (__libc_msgrcv): Don't use CHECK_N.
68174         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
68175         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
68176         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68177         (__libc_writev): Don't use CHECK_N.
68179 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68181         * string/strcpy.c: Removed unused variable.
68183         * Makeconfig (+sysdep-includes): Define with := rather than =.
68184         Use an existing include/ subdir of each sysdeps dir before it.
68186 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68188         * nscd/connection.c (register_traced_file): Comment function.
68189         [HAVE_INOTIFY] (union __inev): Define.
68190         [HAVE_INOTIFY] (inotify_check_files): New function.
68191         [HAVE_INOTIFY] (clear_db_cache): Likewise.
68192         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68193         clear_db_cache.
68194         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68196 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68198         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
68199         loaded if not already and that a failure is permanent.
68201 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68203         [BZ #15006]
68204         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
68205         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
68207 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68209         [BZ #13550]
68210         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
68211         (CHECK_1_NULL_OK): Likewise.
68212         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
68213         (__fxstat): Do not use CHECK_1.
68214         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
68215         <bp-checks.h>.
68216         (___fxstat64): Do not use CHECK_1.
68217         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
68218         <bp-checks.h>.
68219         (__fxstatat): Do not use CHECK_1.
68220         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
68221         <bp-checks.h>.
68222         (__fxstatat64): Do not use CHECK_1.
68223         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
68224         <bp-checks.h>.
68225         (__fxstat): Do not use CHECK_1.
68226         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
68227         <bp-checks.h>.
68228         (__fxstatat): Do not use CHECK_1.
68229         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68230         <bp-checks.h>.
68231         (__getresgid): Do not use CHECK_1.
68232         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68233         <bp-checks.h>.
68234         (__getresuid): Do not use CHECK_1.
68235         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
68236         <bp-checks.h>.
68237         (__lxstat): Do not use CHECK_1.
68238         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68239         <bp-checks.h>.
68240         (__old_msgctl): Do not use CHECK_1.
68241         (__new_msgctl): Likewise.
68242         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
68243         <bp-checks.h>.
68244         (__new_setrlimit): Do not use CHECK_1.
68245         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68246         <bp-checks.h>.
68247         (__old_shmctl): Do not use CHECK_1.
68248         (__new_shmctl): Likewise.
68249         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
68250         <bp-checks.h>.
68251         (__xstat): Do not use CHECK_1.
68252         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
68253         (__lxstat): Do not use CHECK_1.
68254         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
68255         <bp-checks.h>.
68256         (___lxstat64): Do not use CHECK_1.
68257         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
68258         (__old_msgctl): Do not use CHECK_1.
68259         (__new_msgctl): Likewise.
68260         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
68261         <bp-checks.h>.
68262         (__gettimeofday): Do not use CHECK_1.
68263         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
68264         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
68265         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
68266         <bp-checks.h>.
68267         (__gettimeofday): Do not use CHECK_1.
68268         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68269         (__old_shmctl): Do not use CHECK_1_NULL_OK.
68270         (__new_shmctl): Do not use CHECK_1.
68271         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
68272         <bp-checks.h>.
68273         (do_sigtimedwait): Do not use CHECK_1.
68274         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
68275         <bp-checks.h>.
68276         (do_sigwaitinfo): Do not use CHECK_1.
68277         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68278         <bp-checks.h>.
68279         (msgctl): Do not use CHECK_1.
68280         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68281         <bp-checks.h>.
68282         (shmctl): Do not use CHECK_1.
68283         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68284         (ustat): Do not use CHECK_1.
68285         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68286         <bp-checks.h>.
68287         (__fxstat): Do not use CHECK_1.
68288         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68289         <bp-checks.h>.
68290         (__fxstatat): Do not use CHECK_1.
68291         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68292         <bp-checks.h>.
68293         (__lxstat): Do not use CHECK_1.
68294         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68295         <bp-checks.h>.
68296         (__xstat): Do not use CHECK_1.
68297         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68298         (__xstat): Do not use CHECK_1.
68299         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68300         (___xstat64): Do not use CHECK_1.
68302         [BZ #13550]
68303         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68304         definitions.
68305         (CHECK_BOUNDS_HIGH): Likewise.
68306         * string/strcpy.c: Do not include <bp-checks.h>.
68307         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68309 2013-02-07  Roland McGrath  <roland@hack.frob.com>
68311         * nscd/nscd-client.h (__nscd_drop_map_ref):
68312         Add __attribute__ ((unused)).
68313         * nis/nss-nisplus.h (niserr2nss): Likewise.
68315         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68316         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68318         * csu/libc-tls.c (init_static_tls, init_slotinfo):
68319         Remove inline keyword.
68320         * include/rounding-mode.h (round_away): Likewise.
68321         * libio/wfileops.c (adjust_wide_data): Likewise.
68322         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68323         (__m128i_strloadu_tolower): Likewise.
68324         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68325         (__m128i_strloadu_tolower): Likewise.
68326         * time/mktime.c (ydhms_diff): Likewise.
68327         * locale/elem-hash.h (elem_hash): Likewise.
68328         * locale/setlocale.c (setdata): Likewise.
68329         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68330         (re_string_wchar_at): Likewise.
68331         (bitset_not, bitset_merge, bitset_mask): Likewise.
68332         [!(__GNUC__ > 3)] (inline): Remove macro.
68333         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68334         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68335         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68336         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68337         * string/memcmp.c (memcmp_bytes): Likewise.
68338         * locale/programs/locarchive.c (compute_hashval): Likewise.
68339         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68340         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68341         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68342         * nss/getent.c (print_rpc, print_protocols): Likewise.
68343         (print_passwd, print_group, print_aliases): Likewise.
68344         * nis/nss-nisplus.h (niserr2nss): Likewise.
68345         * nscd/connections.c (restart_p): Likewise.
68346         Change return type to bool.
68348 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68350         * Makeconfig (all-Depend-files): Add existing
68351         $(sorted-subdirs:=/Depend) files.
68352         (all-subdirs): Remove nss.
68353         * sysdeps/unix/inet/Subdirs: Add it here instead.
68354         * hesiod/Depend: New file.
68356         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68357         instead of calling alloca.
68359         * io/lseek.c (__lseek): Rename to __libc_lseek.
68360         Define __lseek as an alias.
68362         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68364 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68366         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68367         else clause and remove check for non-standard endianness.
68369 2013-02-04  David S. Miller  <davem@davemloft.net>
68371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68373 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68375         [BZ #13550]
68376         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68377         (__ubp_memchr): Remove prototype.
68378         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68379         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68380         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68381         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68382         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68383         Remove alias.
68384         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68385         (__ubp_memchr): Likewise.
68386         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68387         (__ubp_memchr): Likewise.
68388         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68389         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68390         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68391         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68392         CHECK_STRING.
68393         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68394         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68395         (__getcwd): Do not use CHECK_STRING.
68396         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68397         <bp-checks.h>.
68398         (__real_chown): Do not use CHECK_STRING.
68399         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68400         <bp-checks.h>.
68401         (fchownat): Do not use CHECK_STRING.
68402         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68403         CHECK_STRING.
68404         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68405         <bp-checks.h>.
68406         (__lchown): Do not use CHECK_STRING.
68407         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68408         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68409         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68410         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68412         include <bp-checks.h>.
68413         (truncate64): Do not use CHECK_STRING.
68414         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68415         <bp-checks.h>.
68416         (__real_chown): Do not use CHECK_STRING.
68417         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68418         <bp-checks.h>.
68419         (__lchown): Do not use CHECK_STRING.
68420         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68421         <bp-checks.h>.
68422         (__chown): Do not use CHECK_STRING.
68423         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68424         <bp-checks.h>.
68425         (truncate64): Do not use CHECK_STRING.
68426         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68427         Likewise.
68428         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68429         (__xmknod): Do not use CHECK_STRING.
68430         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68431         <bp-checks.h>.
68432         (__xmknodat): Do not use CHECK_STRING.
68433         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68434         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68436 2013-02-04  Andreas Schwab  <schwab@suse.de>
68438         [BZ #14142]
68439         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68440         * include/netdb.h: Likewise for h_errno.
68441         * elf/tst-stackguard1.c: Include <tls.h>.
68443 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68445         * elf/link.h (struct link_map): Extend the l_addr comment.
68446         * include/link.h (struct link_map): Likewise.
68448 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68450         [BZ #13550]
68451         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68452         (BOUNDED_1): Remove macro.
68453         * debug/backtrace.c: Don't include <bp-checks.h>.
68454         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68455         (__backtrace): Likewise.
68456         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68457         <bp-checks.h>.
68458         (__backtrace): Don't use BOUNDED_1.
68459         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68460         <bp-checks.h>.
68461         (__backtrace): Don't use BOUNDED_1.
68462         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68463         (__backtrace): Don't use BOUNDED_1.
68464         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68465         (shmat): Don't use BOUNDED_N.
68467 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68469         [BZ #13550]
68470         * sysdeps/generic/bp-start.h: Remove file.
68471         * csu/libc-start.c: Don't include <bp-start.h>.
68472         (LIBC_START_MAIN): Set up __environ directly instead of using
68473         INIT_ARGV_and_ENVIRON.
68474         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68475         <bp-start.h>.
68477         [BZ #13550]
68478         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68479         definitions.
68480         (CHECK_FCNTL): Likewise.
68481         (CHECK_N_PAGES): Likewise.
68483         [BZ #13550]
68484         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68485         definitions.
68486         (CHECK_SIGSET_NULL_OK): Likewise.
68487         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68488         <bp-checks.h>.
68489         (sigpending): Don't use CHECK_SIGSET.
68490         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68491         <bp-checks.h>.
68492         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68493         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68494         <bp-checks.h>.
68495         (do_sigsuspend): Don't use CHECK_SIGSET.
68496         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68497         use CHECK_SIGSET.
68498         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68499         (do_sigwait): Don't use CHECK_SIGSET.
68500         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68501         use CHECK_SIGSET.
68502         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68503         include <bp-checks.h>.
68504         (sigpending): Don't use CHECK_SIGSET.
68505         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68506         include <bp-checks.h>.
68507         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68508         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68509         <bp-checks.h>.
68510         (sigpending): Don't use CHECK_SIGSET.
68511         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68512         <bp-checks.h>.
68513         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68515         [BZ #13550]
68516         * sysdeps/generic/bp-semctl.h: Remove file.
68517         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68518         <bp-checks.h> and <bp-semctl.h>.
68519         (__old_semctl): Don't use CHECK_SEMCTL.
68520         (__new_semctl): Likewise.
68521         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68522         and <bp-semctl.h>.
68523         (__old_semctl): Don't use CHECK_SEMCTL.
68524         (__new_semctl): Likewise.
68525         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68526         <bp-checks.h> and <bp-semctl.h>.
68527         (__old_semctl): Don't use CHECK_SEMCTL.
68528         (__new_semctl): Likewise.
68529         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68530         <bp-checks.h> and <bp-semctl.h>.
68531         (semctl): Don't use CHECK_SEMCTL.
68533         [BZ #13550]
68534         * Makerules (elide-bp-thunks): Remove variable.
68535         (elide-routines.oS): Don't use $(elide-bp-thunks).
68536         (elide-routines.os): Likewise.
68537         (elide-routines.o): Likewise.
68538         (elide-routines.op): Likewise.
68539         (elide-routines.og): Likewise.
68540         (objects): Don't use $(bp-thunks).
68541         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68542         include.
68543         (common-generated): Do not add s-proto-bp.d.
68544         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68545         (int): Likewise.
68546         (typ): Likewise.
68547         Do not generate makefile rules for bounded-pointer thunks.
68548         * sysdeps/generic/bp-thunks.h: Remove file.
68549         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68550         * sysdeps/unix/s-proto-bp.S: Likewise.
68552         [BZ #15062]
68553         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68554         parts of result separately when argument is not close to line from
68555         -i to i and one part of argument is small.
68556         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68557         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68558         * math/libm-test.inc (cacos_test): Add more tests.
68559         (casin_test): Likewise.
68560         (casinh_test): Likewise.
68561         * sysdeps/i386/fpu/libm-test-ulps: Update.
68562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68564 2013-01-31  David S. Miller  <davem@davemloft.net>
68566         * po/de.po: Update from translation team.
68568 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68570         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68572 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68574         * configure.in (_AC_PROG_CC_C89): New definition.
68575         * configure: Regenerate.
68577         * configure.in (AC_PROG_CPP): New definition.
68578         * configure: Regenerate.
68580 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68582         * debug/tst-backtrace.h: New file.
68583         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68584         (ret): Remove variable.
68585         (x): Likewise.
68586         (FAIL): Remove macro.
68587         (NO_INLINE): Likewise.
68588         (fn1): Use match function instead of strstr.
68589         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68590         (ret): Remove variable.
68591         (x): Likewise.
68592         (FAIL): Remove macro.
68593         (NO_INLINE): Likewise.
68594         (fn): Use match function instead of strstr.
68595         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68596         (ret): Remove variable.
68597         (x): Likewise.
68598         (FAIL): Remove macro.
68599         (NO_INLINE): Likewise.
68600         (handle_signal): Use match function instead of strstr.
68601         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68602         (ret): Remove variable.
68603         (x): Likewise.
68604         (FAIL): Remove macro.
68605         (NO_INLINE): Likewise.
68606         (handle_signal): Use match function instead of strstr.
68608 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68610         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68612 2013-01-23  David S. Miller  <davem@davemloft.net>
68614         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68615         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68616         argument of CAS if possible.
68617         * sysdeps/sparc/sparc64/bits/atomic.h
68618         (__arch_compare_and_exchange_val_32_acq): Likewise.
68619         (__arch_compare_and_exchange_val_64_acq): Likewise.
68621 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
68623         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68624         * sysdeps/posix/ulimit.c: ... this.
68625         Include <limits.h>.
68626         * sysdeps/unix/bsd/ulimit.c: Remove file.
68628 2013-01-23  Adam Conrad  <adconrad@0c3.net>
68630         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68631         (LDFLAGS-tst-array5): Likewise.
68633 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68635         [BZ #15036]
68636         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68637         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68638         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68639         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68641 2013-01-21  David S. Miller  <davem@davemloft.net>
68643         * sysdeps/sparc/backtrace.c: New file.
68644         * sysdeps/sparc/sparc32/backtrace.h: New file.
68645         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68646         * sysdeps/sparc/sparc64/backtrace.h: New file.
68647         * sysdeps/sparc/sparc64/backtrace.c: Delete.
68648         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68649         -funwind-tables.
68651 2013-01-21  Andreas Schwab  <schwab@suse.de>
68653         [BZ #15020]
68654         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68655         closed its stdout.
68657 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
68659         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68660         "mpa2.h".
68661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68663 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
68664             Mark Mitchell  <mark@codesourcery.com>
68665             Tom de Vries  <tom@codesourcery.com>
68666             Paul Pluzhnikov  <ppluzhnikov@google.com>
68668         * debug/tst-backtrace2.c: New file.
68669         * debug/tst-backtrace3.c: Likewise.
68670         * debug/tst-backtrace4.c: Likewise.
68671         * debug/tst-backtrace5.c: Likewise.
68672         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68673         (CFLAGS-tst-backtrace3.c): Likewise.
68674         (CFLAGS-tst-backtrace4.c): Likewise.
68675         (CFLAGS-tst-backtrace5.c): Likewise.
68676         (LDFLAGS-tst-backtrace2): Likewise.
68677         (LDFLAGS-tst-backtrace3): Likewise.
68678         (LDFLAGS-tst-backtrace4): Likewise.
68679         (LDFLAGS-tst-backtrace5): Likewise.
68680         (tests): Add new tests tst-backtrace2, tst-backtrace3,
68681         tst-backtrace4 and tst-backtrace5.
68683 2013-01-18  Anton Blanchard  <anton@samba.org>
68684             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68686         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
68687         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
68688         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
68689         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68691         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
68692         "+r" and remove output regs list as redundant.  Add explicit inline
68693         asm to specify register of return val to work around compiler codegen
68694         bug.  Remove (int) cast on return value.  Add return type parameter to
68695         use in macro so that this macro does not truncate return value for
68696         64-bit values.
68697         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
68698         pass to INTERNAL_VSYSCALL_NCS.
68699         (INLINE_VSYSCALL): Add 'long int' as return type to
68700         INTERNAL_VSYSCALL_NCS macro invocation.
68701         (INTERNAL_VSYSCALL): Add 'long int' as return type to
68702         INTERNAL_VSYSCALL_NCS macro invocation.
68703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68705 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68707         [BZ #14496]
68708         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
68709         Fix application of SIMD FP exception mask.
68711         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
68712         mp_no from a power of two.
68713         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
68714         __mpexp_twomm1.  Use __pow_mp.
68716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
68717         multiplication.
68719 2013-01-17  David S. Miller  <davem@davemloft.net>
68721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68723 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68725         [BZ #15023]
68726         * include/complex.h: Condition contents on [!_COMPLEX_H].
68727         (__kernel_casinhf): New prototype.
68728         (__kernel_casinh): Likewise.
68729         (__kernel_casinhl): Likewise.
68730         * math/Makefile (libm_calls): Add k_casinh.
68731         * math/k_casinh.c: New file.
68732         * math/k_casinhf.c: Likewise.
68733         * math/k_casinhl.c: Likewise.
68734         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
68735         finite nonzero arguments.
68736         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
68737         finite nonzero arguments.
68738         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
68739         finite nonzero arguments.
68740         * math/s_casinh.c: Do not include <float.h>.
68741         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
68742         * math/s_casinhf.c: Do not include <float.h>.
68743         (__casinhf): Move code for finite nonzero arguments to
68744         k_casinhf.c.
68745         * math/s_casinhl.c: Do not include <float.h>.
68746         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
68747         redefine.
68748         (__casinhl): Move code for finite nonzero arguments to
68749         k_casinhl.c.
68750         * math/libm-test.inc (cacos_test): Add more tests.
68751         * sysdeps/i386/fpu/libm-test-ulps: Update.
68752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68754 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
68756         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
68757         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
68758         [!HAVE_MREMAP]: Remove [defined linux] case.
68759         * malloc/arena.c: Do not include <malloc-sysdep.h>.
68761 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68763         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
68765 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
68767         * elf/elf.h (R_386_SIZE32): New relocation.
68768         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
68769         R_386_SIZE32.
68770         (elf_machine_rela): Likewise.
68771         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68772         R_X86_64_SIZE64 and R_X86_64_SIZE32.
68774 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68776         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
68777         (FP_FAST_FMA): Do not define.
68778         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
68779         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
68780         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
68781         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
68782         !_SOFT_FLOAT]: Likewise.
68783         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
68784         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
68785         value.
68786         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
68787         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
68788         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
68789         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
68790         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
68791         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
68792         file.
68794 2013-01-16  Andreas Schwab  <schwab@suse.de>
68796         [BZ #14327]
68797         * include/stdlib.h (__mktemp): Add declaration.
68798         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
68799         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
68801 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68803         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
68804         definitions.
68805         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68806         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
68807         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
68808         definitions here.
68809         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
68810         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
68811         definitions.
68812         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
68813         and ONE.
68814         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
68815         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
68816         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
68817         definitions.
68818         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
68819         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
68820         definitions.
68821         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68823         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
68825 2013-01-15  David S. Miller  <davem@davemloft.net>
68827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68828         trunc{,f} to libm-sysdep_routes.
68829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
68831         file.
68832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
68833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
68834         file.
68835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
68836         file.
68837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
68838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
68839         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
68840         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
68841         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
68842         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
68843         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
68844         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
68846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68847         nearbyint{,f} to libm-sysdep_routes.
68848         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
68850         New file.
68851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
68852         file.
68853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
68854         New file.
68855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
68856         file.
68857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
68858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
68859         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
68860         file.
68861         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
68862         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
68863         file.
68864         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
68865         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
68866         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
68868         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
68869         libc_feholdexcept and libc_fesetenv.
68871 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
68873         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
68875 2013-01-14  David S. Miller  <davem@davemloft.net>
68877         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
68878         (SPARC_ASM_VIS2_IFUNC): Likewise.
68879         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
68880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
68881         use of 'siam' instruction.
68882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
68883         Likewise.
68884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
68885         Likewise.
68886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
68887         Likewise.
68888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
68889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
68890         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
68891         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
68893         file.
68894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
68895         file.
68896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
68897         file.
68898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
68899         file.
68900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
68901         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
68902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
68903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
68904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
68905         new VIS2 routines.
68906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68909         Likewise.
68910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
68915         routines to libm-sysdep_routines.
68916         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68919         fdim/fdimf to libm-sysdep_routines.
68920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68921         file.
68922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68924         file.
68925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68928         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68929         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68930         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68931         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68933 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68935         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68936         to optimize copies.
68938         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68940         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68943         local variable MPTWO.
68944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68945         Likewise.
68947 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68949         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68950         GLOB_NOESCAPE.
68952 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68954         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68956 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68958         * manual/pattern.texi (glob_t): Document gl_flags.
68959         (glob64_t): Likewise.
68961 2013-01-11  David S. Miller  <davem@davemloft.net>
68963         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68964         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68965         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68966         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68967         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68968         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68969         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68970         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68971         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68972         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68973         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68974         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68975         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68977         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68978         sparc V9 rather than using V8 code.
68979         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68980         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68982         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68983         Move to...
68984         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68985         Here.
68987 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68989         [BZ #14941]
68990         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68991         not in the main loop.
68992         * configure: Regenerated.
68994 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68996         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68997         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68998         to just #else.
68999         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
69000         [!__GLIBC_HAVE_LONG_LONG] case.
69001         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
69002         condition to just #else.
69003         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
69004         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
69005         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
69006         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
69007         unconditional.
69008         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
69009         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69010         #elif condition to just #else.
69011         * sysdeps/unix/sysv/linux/sys/sysmacros.h
69012         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
69013         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69014         #elif condition to just #else.
69016 2013-01-11  Steve Ellcey  <sellcey@mips.com>
69018         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
69019         (EF_MIPS_ARCH_64): Fix value.
69020         (EF_MIPS_ARCH_32R2): New.
69021         (EF_MIPS_ARCH_64R2): New.
69023 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
69025         * Makeconfig (+link-pie-before-libc): New.
69026         (+link-pie-after-libc): Likewise.
69027         (+link-pie-tests): Likewise.
69028         (+link-pie): Rewritten.
69029         (link-before-libc): Remove $(config-LDFLAGS).
69030         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
69031         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
69032         (config-LDFLAGS): Renamed to ...
69033         (rtld-LDFLAGS): This.
69034         (rtld-tests-LDFLAGS): New macro.
69035         (link-libc-rpath-link): Likewise.
69036         (link-libc-tests-rpath-link): Likewise.
69037         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
69038         (link-libc): Prepand $(link-libc-rpath-link).
69039         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
69040         (test-program-prefix): New macro.
69041         (test-via-rtld-prefix): Likewise.
69042         (test-program-cmd): Likewise.
69043         (host-test-program-cmd): Likewise.
69044         * Makefile ($(common-objpfx)testrun.sh): Replace
69045         $(run-program-prefix) with $(test-program-prefix).
69046         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
69047         $(rtld-LDFLAGS).
69048         ($(common-objpfx)shlib.lds): Likewise.
69049         (build-module-helper): Likewise.
69050         ($(common-objpfx)format.lds): Likewise.
69051         * Rules (binaries-pie-tests): New.
69052         (binaries-pie-notests): Likewise.
69053         (binaries-pie): Rewritten.
69054         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
69055         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
69056         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
69057         (make-test-out): Replace $(host-built-program-cmd) with
69058         $(host-test-program-cmd).
69059         * config.make.in (build-hardcoded-path-in-tests): New variable.
69060         * configure.in (--enable-hardcoded-path-in-tests): New configure
69061         option.
69062         (hardcoded_path_in_tests): New AC_SUBST.
69063         * configure: Regenerated.
69064         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
69065         $(built-program-cmd) with $(test-program-cmd).
69066         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
69067         (test_program_cmd): This.
69068         * elf/Makefile ($(objpfx)order.out): Run test with
69069         $(test-program-prefix).
69070         ($(objpfx)order2.out): Likewise.
69071         ($(objpfx)tst-initorder.out): Likewise.
69072         ($(objpfx)tst-initorder2.out): Likewise.
69073         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
69074         $(test-program-cmd).
69075         ($(objpfx)tst-array1-static.out): Likewise.
69076         ($(objpfx)tst-array2.out): Likewise.
69077         ($(objpfx)tst-array3.out): Likewise.
69078         ($(objpfx)tst-array4.out): Likewise.
69079         ($(objpfx)tst-array5.out): Likewise.
69080         ($(objpfx)tst-array5-static.out): Likewise.
69081         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
69082         $(test-program-cmd).
69083         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69084         $(run-program-prefix) with $(test-program-prefix).
69085         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
69086         (test_program_prefix): This.
69087         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
69088         $(run-program-prefix) with $(test-program-prefix).
69089         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
69090         (test_program_prefix): This.
69091         * iconvdata/tst-tables.sh: Likewise.
69092         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
69093         $(run-program-prefix) with $(test-program-prefix).
69094         ($(objpfx)tst-translit.out): Likewise.
69095         ($(objpfx)tst-gettext2.out): Likewise.
69096         ($(objpfx)tst-gettext4.out): Likewise.
69097         ($(objpfx)tst-gettext6.out): Likewise.
69098         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
69099         (test_program_prefix): This.
69100         * intl/tst-gettext2.sh: Likewise.
69101         * intl/tst-gettext4.sh  Likewise.
69102         * intl/tst-gettext6.sh: Likewise.
69103         * intl/tst-translit.sh: Likewise.
69104         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
69105         with $(test-program-cmd).
69106         * libio/Makefile ($(objpfx)test-freopen.out): Replace
69107         $(run-program-prefix) with $(test-program-prefix).
69108         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
69109         (test_program_prefix): This.
69110         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
69111         $(run-program-prefix) with $(test-program-prefix).
69112         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
69113         (test_program_prefix): This.
69114         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
69115         * posix/Makefile ($(objpfx)globtest.out): Replace
69116         $(run-via-rtld-prefix) and $(test-wrapper) with
69117         $(test-program-prefix) and $(test-via-rtld-prefix).
69118         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
69119         $(test-program-prefix).
69120         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
69121         $(host-test-program-cmd).
69122         (tst-spawn-ARGS): Likewise.
69123         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
69124         $(test-program-prefix).
69125         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
69126         (test_via_rtld_prefix): This.
69127         (test_wrapper): Renamed to ...
69128         (test_program_prefix): This.
69129         (run_program_prefix): Replaced by test_program_prefix.
69130         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
69131         (test_program_prefix): This.
69132         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
69133         with $(host-test-program-cmd).
69134         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
69135         $(run-program-prefix) with $(test-program-prefix).
69136         ($(objpfx)tst-printf.out): Likewise.
69137         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
69138         $(test-program-cmd).
69139         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
69140         (test_program_prefix): This.
69141         * stdio-common/tst-unbputc.sh: Likewise.
69142         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
69143         $(run-program-prefix) with $(test-program-prefix).
69144         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
69145         (test_program_prefix): This.
69146         * string/Makefile ($(objpfx)tst-svc.out):  Replace
69147         $(built-program-cmd) with $(test-program-cmd).
69149 2013-01-11  Andreas Jaeger  <aj@suse.de>
69151         [BZ #15003]
69152         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
69153         value. Sync with Linux 3.7.
69155 2013-01-10  David S. Miller  <davem@davemloft.net>
69157         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
69158         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69159         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69161 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69163         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
69164         never set.
69165         * configure: Regenerated.
69167 2013-01-10  David S. Miller  <davem@davemloft.net>
69169         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69170         sparc V9 rather than using V8 code.
69171         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69172         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69174 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69176         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69177         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69178         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69179         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69180         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69181         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69182         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69183         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69184         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69185         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69186         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69187         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69188         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69189         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69190         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69191         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69192         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69193         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69194         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69195         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69196         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
69197         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
69198         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
69199         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
69200         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
69201         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
69202         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
69204 2013-01-10  David S. Miller  <davem@davemloft.net>
69206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69208 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69210         * posix/Makefile (tests-static): New variable.
69211         (tests): Add $(tests-static).
69212         (tst-exec-static-ARGS): New variable.
69213         (tst-spawn-static-ARGS): Likewise.
69214         * posix/tst-exec-static.c: New file.
69215         * posix/tst-spawn-static.c: Likewise.
69216         * posix/tst-exec.c: Support run directly.
69217         * posix/tst-spawn.c: Likewise.
69219 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
69221         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
69222         long.
69223         * math/bits/mathcalls.h (llrint): Likewise.
69224         (llround): Likewise.
69225         * stdlib/stdlib.h (struct drand48_data): Likewise.
69226         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
69227         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
69228         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69229         Likewise.
69230         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
69231         Likewise.
69232         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
69233         (elf_greg_t): Likewise.
69234         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69235         (__jmp_buf): Likewise.
69236         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
69237         definitions.
69238         (llrint): Likewise, for all definitions.
69239         (llrintl): Likewise.
69241         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69242         Remove [__GNUC__] condition.
69243         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
69244         condition to just [__USE_ISOC99].
69245         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
69247 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69249         [BZ #14200]
69250         * sysdeps/unix/sysv/linux/x86/bits/environments.h
69251         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
69252         defined.
69253         (_POSIX_V6_ILP32_OFF32): Likewise.
69254         (_XBS5_ILP32_OFF32): Likewise.
69255         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
69256         (__ILP32_OFFBIG_LDFLAGS): Likewise.
69258 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69260         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
69262         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
69263         doubles __mpexp_twomm1.  Adjust usage.
69264         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
69265         Remove.
69267 2013-01-10  Andreas Schwab  <schwab@suse.de>
69269         [BZ #14964]
69270         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
69271         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
69273 2013-01-09  David S. Miller  <davem@davemloft.net>
69275         [BZ #15003]
69276         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69277         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69278         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69279         (TCP_FASTOPEN): Define.
69280         (tcp_repair_opt): New structure.
69281         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69282         enum values.
69283         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69284         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69285         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69286         (tcp_cookie_transactions): New structure.
69288 2013-01-09  Anton Blanchard  <anton@samba.org>
69290         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69291         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69292         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69293         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69295 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
69297         * include/features.h (__USE_ANSI): Remove.
69299 2013-01-09  Roland McGrath  <roland@hack.frob.com>
69301         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69303         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69305 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
69307         * sysdeps/s390/fpu/libm-test-ulps: Update.
69309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69311         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69312         (__acr): Likewise.
69313         (__cpy): Likewise.
69314         (norm): Likewise.
69315         (denorm): Likewise.
69316         (__mp_dbl): Likewise.
69317         (__dbl_mp): Likewise.
69318         (add_magnitudes): Likewise.
69319         (sub_magnitudes): Likewise.
69320         (__add): Likewise.
69321         (__sub): Likewise.
69322         (__mul): Likewise.
69323         (__inv): Likewise.
69324         (__dvd): Likewise.
69325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69326         (__acr): Likewise.
69327         (__cpy): Likewise.
69328         (norm): Likewise.
69329         (denorm): Likewise.
69330         (__mp_dbl): Likewise.
69331         (__dbl_mp): Likewise.
69332         (add_magnitudes): Likewise.
69333         (sub_magnitudes): Likewise.
69334         (__add): Likewise.
69335         (__sub): Likewise.
69336         (__mul): Likewise.
69337         (__inv): Likewise.
69338         (__dvd): Likewise.
69339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69340         (__acr): Likewise.
69341         (__cpy): Likewise.
69342         (norm): Likewise.
69343         (denorm): Likewise.
69344         (__mp_dbl): Likewise.
69345         (__dbl_mp): Likewise.
69346         (add_magnitudes): Likewise.
69347         (sub_magnitudes): Likewise.
69348         (__add): Likewise.
69349         (__sub): Likewise.
69350         (__mul): Likewise.
69351         (__inv): Likewise.
69352         (__dvd): Likewise.
69354 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69356         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69357         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69358         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69359         2 && __USE_EXTERN_INLINES]: Likewise.
69361 2013-01-08  Andreas Jaeger  <aj@suse.de>
69363         [BZ #14985]
69364         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69365         Remove.
69366         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69367         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69369 2013-01-07  Anton Blanchard  <anton@samba.org>
69371         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69372         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69373         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69374         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69375         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69376         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69377         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69378         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69380         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69381         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69382         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69383         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69384         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69385         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69386         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69387         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69388         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69389         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69390         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69391         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69392         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69393         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69394         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69395         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69396         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69397         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69398         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69399         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69400         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69401         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69403         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69404         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69405         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69406         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69407         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69408         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69409         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69410         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69411         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69412         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69413         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69415 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69417         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69418         (__MALLOC_PMT): Likewise.
69419         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69420         [__GNUC__], only on [_LIBC].
69421         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69422         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69423         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69424         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69425         forward declaration.
69426         (realloc_hook_ini): Likewise.
69427         (memalign_hook_ini): Likewise.
69428         (__libc_memalign): Do not use __MALLOC_PMT in variable
69429         declaration.
69430         (__libc_valloc): Likewise.
69431         (__libc_pvalloc): Likewise.
69432         (__libc_calloc): Likewise.
69433         (__posix_memalign): Likewise.
69435         [BZ #14996]
69436         * math/s_casinh.c: Include <float.h>.
69437         (__casinh): Do not do computation with squaring and square root
69438         for large arguments.
69439         * math/s_casinhf.c: Include <float.h>.
69440         (__casinhf): Do not do computation with squaring and square root
69441         for large arguments.
69442         * math/s_casinhl.c: Include <float.h>.
69443         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69444         (__casinhl): Do not do computation with squaring and square root
69445         for large arguments.
69446         * math/libm-test.inc (casin_test): Add more tests.
69447         (casinh_test): Likewise.
69448         * sysdeps/i386/fpu/libm-test-ulps: Update.
69449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69451 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69453         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69454         (__x86_64_raw_data_cache_size): Likewise.
69455         (__x86_64_data_cache_size_half): Likewise.
69456         (__x86_64_raw_data_cache_size_half): Likewise.
69457         (__x86_64_shared_cache_size): Likewise.
69458         (__x86_64_raw_shared_cache_size): Likewise.
69459         (__x86_64_shared_cache_size_half): Likewise.
69460         (__x86_64_raw_shared_cache_size_half): Likewise.
69461         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69462         to ...
69463         (__x86_data_cache_size): This.
69464         (__x86_64_raw_data_cache_size): Renamed to ...
69465         (__x86_raw_data_cache_size): This.
69466         (__x86_64_data_cache_size_half): Renamed to ...
69467         (__x86_data_cache_size_half): This.
69468         (__x86_64_raw_data_cache_size_half): Renamed to ...
69469         (__x86_raw_data_cache_size_half): This.
69470         (__x86_64_shared_cache_size): Renamed to ...
69471         (__x86_shared_cache_size): This.
69472         (__x86_64_raw_shared_cache_size): Renamed to ...
69473         (__x86_raw_shared_cache_size): This.
69474         (__x86_64_shared_cache_size_half): Renamed to ...
69475         (__x86_shared_cache_size_half): This.
69476         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69477         (__x86_raw_shared_cache_size_half): This.
69478         * sysdeps/x86_64/memcpy.S: Updated.
69479         * sysdeps/x86_64/memset.S: Likewise.
69480         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69481         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69482         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69484 2013-01-04  David S. Miller  <davem@davemloft.net>
69486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69488 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69490         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69491         1 to avoid redefinition warning.
69492         (__USE_GNU): Don't define.
69493         (init_signaling_nan): Protoize.
69495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69497 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69499         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69501         (__cpymn): Likewise.
69502         (norm): Remove commented code.
69503         (denorm): Likewise.
69504         (__mp_dbl): Likewise.
69505         (__inv): Likewise.
69506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69507         (__cpymn): Likewise.
69508         (norm): Remove commented code.
69509         (denorm): Likewise.
69510         (__mp_dbl): Likewise.
69511         (__inv): Likewise.
69513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69514         mp_no value for 1.0 and 2.0.
69515         (norm): Use RADIXI instead of radixi.d.
69516         (denorm): Likewise.
69517         (__mul): Use 0.0 instead of zero.d.
69518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69519         mp_no value for 1.0 and 2.0.
69520         (norm): Use RADIXI instead of radixi.d.
69521         (denorm): Likewise.
69522         (__mul): Use 0.0 instead of zero.d.
69524 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69526         [BZ #14994]
69527         * math/s_casinh.c (__casinh): Reduce finite argument to first
69528         quadrant then set signs of results at the end.
69529         * math/s_casinhf.c (__casinhf): Likewise.
69530         * math/s_casinhl.c (__casinhl): Likewise.
69531         * math/libm-test.inc (casin_test): Add more tests.
69532         (casinh_test): Likewise.
69533         * sysdeps/i386/fpu/libm-test-ulps: Update.
69534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69536 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69538         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69540         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69542         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69543         declarations.
69544         (denorm): Likewise.
69545         (__mp_dbl): Likewise.
69546         (__inv): Likewise.
69548         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69549         and adjust the header comment.
69551         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69552         variable name from declaration.
69554 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69556         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69557         Initialize COMMON_CPUID_INDEX_7 element.
69558         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69559         (CPUID_RTM): Likewise.
69560         (HAS_RTM): Likewise.
69561         (COMMON_CPUID_INDEX_7): New enum.
69563 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69565         [BZ #14981]
69566         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69567         size is zero, record memory as freed.
69569 2013-01-03  Andreas Jaeger  <aj@suse.de>
69571         * po/ia.po: Add new Interlingua translation.
69573 2012-01-03  Allan McRae  <allan@archlinux.org>
69575         * locale/programs/localedef.c: Fix description of '--posix' flag.
69577 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69579         * NEWS: Update dates in second copyright notice.
69580         * README: Update copyright dates in example.
69581         * manual/libc.texinfo: Update copyright dates.
69582         * scripts/test-installation.pl: Update copyright date in --version
69583         output.
69585         * hurd/ctty-input.c: Fix copyright notice formatting.
69586         * hurd/ctty-output.c: Likewise.
69587         * hurd/dtable.c: Likewise.
69588         * hurd/hurd-raise.c: Likewise.
69589         * hurd/hurdprio.c: Likewise.
69590         * hurd/msgportdemux.c: Likewise.
69591         * misc/sys/file.h: Likewise.
69592         * misc/sys/ioctl.h: Likewise.
69593         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69594         * sysdeps/mach/hurd/chdir.c: Likewise.
69595         * sysdeps/mach/hurd/fchdir.c: Likewise.
69596         * sysdeps/mach/hurd/rename.c: Likewise.
69597         * sysdeps/mach/hurd/rmdir.c: Likewise.
69598         * sysdeps/mach/hurd/seekdir.c: Likewise.
69599         * sysdeps/mach/hurd/setsid.c: Likewise.
69600         * sysdeps/posix/wait3.c: Likewise.
69602         * All files with FSF copyright notices: Update copyright dates
69603         using scripts/update-copyrights.
69604         * intl/plural.c: Regenerated.
69605         * locale/programs/charmap-kw.h: Likewise.
69606         * locale/programs/locfile-kw.h: Likewise.
69608 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69610         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69611         four values.
69613         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69614         calculation loop and add branch prediction.
69616         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69617         check access beyond bounds of m1np.
69619         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69620         MPTWO.
69621         (__inv): Remove local variable MPTWO to use the global
69622         constant.
69623         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69624         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69625         variable MPTWO.
69626         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69627         MP3HALFS static const.
69629 2013-01-01  David S. Miller  <davem@davemloft.net>
69631         * po/ca.po: Update from translation team.
69633 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
69635         * scripts/update-copyrights: New file.
69636         * Makeconfig: Reformat copyright notice.
69637         * ctype/ctype.h: Likewise.
69638         * debug/swprintf_chk.c: Likewise.
69639         * elf/dl-cache.c: Likewise.
69640         * elf/dl-debug.c: Likewise.
69641         * elf/dl-object.c: Likewise.
69642         * grp/initgroups.c: Likewise.
69643         * hurd/Makefile: Likewise.
69644         * hurd/hurd/signal.h: Likewise.
69645         * hurd/hurdfault.c: Likewise.
69646         * hurd/hurdioctl.c: Likewise.
69647         * hurd/hurdlookup.c: Likewise.
69648         * hurd/intr-msg.c: Likewise.
69649         * iconv/gconv_open.c: Likewise.
69650         * libio/swprintf.c: Likewise.
69651         * locale/lc-ctype.c: Likewise.
69652         * locale/nl_langinfo.c: Likewise.
69653         * mach/Machrules: Likewise.
69654         * mach/Makefile: Likewise.
69655         * malloc/obstack.h: Likewise.
69656         * manual/Makefile: Likewise.
69657         * manual/tsort.awk: Likewise.
69658         * misc/bits/stab.def: Likewise.
69659         * nis/nis_print_group_entry.c: Likewise.
69660         * nis/nis_table.c: Likewise.
69661         * nis/nss_compat/compat-pwd.c: Likewise.
69662         * nis/nss_compat/compat-spwd.c: Likewise.
69663         * po/Makefile: Likewise.
69664         * posix/fnmatch.c: Likewise.
69665         * posix/regex.h: Likewise.
69666         * resolv/Makefile: Likewise.
69667         * resolv/nss_dns/dns-network.c: Likewise.
69668         * resolv/res_hconf.c: Likewise.
69669         * scripts/gen-sorted.awk: Likewise.
69670         * soft-fp/soft-fp.h: Likewise.
69671         * stdio-common/printf.h: Likewise.
69672         * stdlib/monetary.h: Likewise.
69673         * stdlib/random.c: Likewise.
69674         * stdlib/random_r.c: Likewise.
69675         * sysdeps/generic/Makefile: Likewise.
69676         * sysdeps/gnu/Makefile: Likewise.
69677         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69678         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69679         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69680         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69681         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69682         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69683         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69684         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69685         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69686         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69687         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69688         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69689         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69690         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69691         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
69692         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69693         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69694         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69695         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69696         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69697         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69698         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69699         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69700         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
69701         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
69702         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69703         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
69704         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
69705         * sysdeps/mach/hurd/errnos.awk: Likewise.
69706         * sysdeps/mach/hurd/fork.c: Likewise.
69707         * sysdeps/mach/hurd/getcwd.c: Likewise.
69708         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
69709         * sysdeps/mach/hurd/mmap.c: Likewise.
69710         * sysdeps/mach/hurd/utimes.c: Likewise.
69711         * sysdeps/mach/hurd/xmknod.c: Likewise.
69712         * sysdeps/posix/profil.c: Likewise.
69713         * sysdeps/posix/readdir_r.c: Likewise.
69714         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69715         * sysdeps/powerpc/bits/setjmp.h: Likewise.
69716         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
69717         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69719         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69720         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69721         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69723         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69724         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69725         * sysdeps/pthread/lio_listio.c: Likewise.
69726         * sysdeps/sparc/dl-procinfo.h: Likewise.
69727         * sysdeps/unix/i386/sysdep.S: Likewise.
69728         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
69729         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
69730         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
69731         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
69732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69733         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
69734         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
69735         * sysdeps/unix/sysv/linux/speed.c: Likewise.
69736         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
69737         * sysdeps/wordsize-32/divdi3.c: Likewise.
69738         * time/sys/time.h: Likewise.
69739         * wcsmbs/Makefile: Likewise.
69741 2013-01-01  David S. Miller  <davem@davemloft.net>
69743         * po/fr.po: Update from translation team.
69745         * catgets/gencat.c: Update copyright year.
69746         * csu/version.c: Likewise.
69747         * debug/catchsegv.sh: Likewise.
69748         * debug/pcprofiledump.c: Likewise.
69749         * debug/xtrace.sh: Likewise.
69750         * elf/ldconfig.c: Likewise.
69751         * elf/ldd.bash.in: Likewise.
69752         * elf/pldd.c: Likewise.
69753         * elf/sotruss.ksh: Likewise.
69754         * elf/sprof.c: Likewise.
69755         * iconv/iconv_prog.c: Likewise.
69756         * iconv/iconvconfig.c: Likewise.
69757         * locale/programs/locale.c: Likewise.
69758         * locale/programs/localedef.c: Likewise.
69759         * login/programs/pt_chown.c: Likewise.
69760         * malloc/memusage.sh: Likewise.
69761         * malloc/memusagestat.c: Likewise.
69762         * malloc/mtrace.pl: Likewise.
69763         * nscd/nscd.c: Likewise.
69764         * nss/getent.c: Likewise.
69765         * nss/makedb.c: Likewise.
69766         * posix/getconf.c: Likewise.
69768 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69770         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
69771         numbers.
69773 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
69775         * math/bits/mathcalls.h (modf): Use __nonnull.
69777 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69779         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
69780         (split): Use macro CN instead of the bare value.
69781         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
69782         could be used.
69783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
69784         instead of the bare value.
69785         (power1): Likewise.
69787 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69789         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
69790         __ATAN_TWOM.
69791         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69793         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
69794         their values.
69795         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69796         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69797         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
69798         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69800 2012-12-28  Andreas Jaeger  <aj@suse.de>
69802         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
69803         values are from Linux 3.7.
69805         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
69806         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
69808 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69810         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
69811         TRUE case.
69813         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
69814         (norm): Likewise.
69815         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
69816         variables with preprocessor constants.
69817         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69818         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69819         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69821 2012-12-27  Bruno Haible  <bruno@clisp.org>
69823         [BZ #14317]
69824         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
69825         only if needed.
69827 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
69830         and use variable directly.
69831         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
69833         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69834         MPONE.
69835         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
69836         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69837         variable MPONE.
69838         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69840         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
69841         include directive.  Remove local variable MPONE.
69842         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
69843         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
69844         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69846 2012-12-25  David S. Miller  <davem@davemloft.net>
69848         * version.h (RELEASE): Set to "development".
69849         (VERSION): Set to "2.17.90".
69850         * NEWS: Add 2.18 section.
69852 2012-12-21  David S. Miller  <davem@davemloft.net>
69854         * po/hr.po: Update from translation team.
69856 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69858         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
69860 2012-12-19  Steve Ellcey  <sellcey@mips.com>
69862         * NEWS:  Mention new memcpy for MIPS.
69864 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69866         * manual/contrib.texi (Contributors): Spelling correction.
69868 2012-12-15  David S. Miller  <davem@davemloft.net>
69870         * po/ru.po: Update from translation team.
69872 2012-12-13  David S. Miller  <davem@davemloft.net>
69874         * NEWS: Mention IFUNC testsuite enhancements.
69876         * po/pl.po: Update from translation team.
69877         * po/bg.po: Likewise.
69879         * manual/contrib.texi (Contributors): Update entries for Hongjiu
69880         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
69882 2012-12-11  David S. Miller  <davem@davemloft.net>
69884         * po/sv.po: Update from translation team.
69886         * po/vi.po: Update from translation team.
69888         * po/cs.po: Update from translation team.
69890         * po/de.po: Update from translation team.
69891         * po/eo.po: Likewise.
69892         * po/nl.po: Likewise.
69894 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
69896         [BZ #14246]
69897         * manual/argp.texi (Argp Helper Functions): Move node to follow
69898         Argp Parsing State.
69900         [BZ #14872]
69901         * manual/conf.texi (Limits on File System Capacity): Mention if
69902         terminating null is included in the max size.
69904 2012-12-10  Andreas Jaeger  <aj@suse.de>
69906         * po/cs.po: Update from translation team.
69908 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69910         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
69911         void pointer and cast to uintptr_t.
69912         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
69913         path.
69914         * sysdeps/s390/s390-64/memcpy.S: Likewise.
69915         * sysdeps/s390/s390-64/memset.S: Likewise.
69917 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
69919         [BZ #14833]
69920         * menual/message.texi (Message Translation): Fix typos.
69921         (Helper programs for gettext): Likewise.
69923 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
69925         [BZ #14898]
69926         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69927         Change to -1.
69929 2012-12-07  David S. Miller  <davem@davemloft.net>
69931         * po/libc.pot: Update.
69933 2012-12-07  Richard Henderson  <rth@redhat.com>
69935         [BZ #10114]
69936         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69937         normal/normal case to before the switch.
69938         (_FP_DIV): Likewise.
69940 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
69941             Mike Frysinger  <vapier@gentoo.org>
69943         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69944         check for __NR_fadvise64_64.
69946 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
69948         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69949         0, not just to plain "0" as a statement.
69950         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69951         with cw.
69953 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69955         * NEWS: Use sourceware.org in Bugzilla URL.
69957 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69960         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69962         * stdio-common/tst-put-error.c (do_test): Add newline to the
69963         padded test to ensure flush.
69965 2012-12-05  Jeff Law  <law@redhat.com>
69967         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69969 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69971         * README: Don't refer to ports add-on as distributed separately.
69972         Mention AArch64 in list of systems supported in the ports add-on.
69974         * LICENSES: Add more non-FSF copyright and license notices.
69976         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69977         ((unused)).
69979         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69981         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69982         10000 as width of padded output.
69984 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69986         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69988         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69989         variable LX with __attribute__ ((unused)).
69990         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69991         Likewise.
69992         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69993         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69994         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69995         with __attribute__ ((unused)).
69997 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69999         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
70001 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70003         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
70004         (CFLAGS-nldbl-acos.c): New variable.
70005         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
70006         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
70007         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
70008         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
70009         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
70010         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
70011         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
70012         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
70013         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
70014         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
70015         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
70016         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
70017         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
70018         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
70019         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
70020         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
70021         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
70022         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
70023         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
70024         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
70025         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70026         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
70027         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
70028         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
70029         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
70030         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
70031         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
70032         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
70033         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70034         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
70035         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
70036         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
70037         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
70038         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
70039         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
70040         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
70041         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
70042         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
70043         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
70044         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
70045         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
70046         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
70047         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
70048         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
70049         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
70050         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
70051         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
70052         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
70053         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
70054         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70055         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
70056         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
70057         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
70058         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
70059         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
70060         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
70061         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
70062         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
70063         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
70064         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
70065         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70066         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
70067         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
70068         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
70069         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
70070         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
70071         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
70072         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
70073         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
70074         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
70075         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
70076         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
70077         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
70078         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
70079         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
70080         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
70081         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
70082         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
70083         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
70084         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
70085         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
70086         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
70087         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
70088         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
70089         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
70090         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
70091         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
70092         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
70093         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
70094         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
70095         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
70096         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
70097         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
70098         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
70099         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
70100         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
70101         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
70103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70104         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70106         [BZ #14914]
70107         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
70108         whole low double instead of just low 47 bits when splitting values
70109         into two parts.
70111 2012-12-03  Allan McRae  <allan@archlinux.org>
70113         * manual/stdio.texi (Predefined Printf Handlers): Remove
70114         @hsep and @vsep usage.
70116 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
70118         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
70119         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
70121 2012-12-03  Jeff Law  <law@redhat.com>
70123         * time/sys/time.h (settimeofday): Do not mark TV argument
70124         as __nonnull.
70126 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
70128         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
70129         when currently writing and seek to current position when not.
70130         * libio/Makefile (tests): Remove bug-fclose1.
70131         * libio/bug-fclose1.c: Delete.
70133 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
70135         * manual/arith.texi (feenableexcept): Fix typo.
70136         (fedisableexcept): Likewise.
70138 2012-11-30  Roland McGrath  <roland@hack.frob.com>
70140         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
70141         second, differently-typed declaration, rather than a cast.
70143 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70145         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
70146         * include/rpc/svc.h: ... here.
70148 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
70150         [BZ #13013]
70151         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
70152         depending n and resplen2 to catch cases where answer
70153         equals answerp2.
70155 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
70157         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
70158         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
70160 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
70162         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
70164 2012-11-29  Roland McGrath  <roland@hack.frob.com>
70166         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
70168 2012-11-28  Jeff Law  <law@redhat.com>
70170         [BZ #13761]
70171         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
70172         dataset_temporary.  Track alloca usage into alloca_used.
70173         If dataset is large allocate and release it via malloc/free.
70175 2012-06-04  Florian Weimer  <fweimer@redhat.com>
70177         [BZ #14197]
70178         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70180 2012-11-28  David S. Miller  <davem@davemloft.net>
70182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70184 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70186         [BZ #14803]
70187         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70188         of pi/2 rounded to nearest to 64 bits.
70189         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70190         nearest to 64 bits.
70191         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70192         bits.
70194 2012-11-28  Jeff Law <law@redhat.com>
70195             Martin Osvald <mosvald@redhat.com>
70197         [BZ #14889]
70198         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
70199         * sunrpc/svc.c: Include time.h.
70200         (__svc_accept_failed): New function.
70201         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
70202         any reason other than EINTR, call __svc_accept_failed.
70203         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
70204         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
70206 2012-11-28  Andreas Schwab  <schwab@suse.de>
70208         * scripts/abilist.awk: Also handle indirect functions in .opd
70209         section.
70211 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70213         [BZ #13881]
70214         * sysdeps/x86/fpu/powl_helper.c: New file.
70215         * sysdeps/x86/fpu/Makefile: Likewise.
70216         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70217         (p3): New object.
70218         (__ieee754_powl): Use __powl_helper for finite arguments except
70219         integer exponents below 8.
70220         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
70221         (p3): New object.
70222         (__ieee754_powl): Use __powl_helper for finite arguments except
70223         integer exponents below 8.
70224         * math/libm-test.inc (pow_test): Add more tests and enable some
70225         previously disabled tests.
70226         * sysdeps/i386/fpu/libm-test-ulps: Update.
70227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70229 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70230             Carlos O'Donell  <carlos_odonell@mentor.com>
70232         * nss/makedb.c (is_prime): Assert that input is odd and greater
70233         than 4.  Note that fact in a comment too.
70234         (next_prime): Add 4 to input.
70236 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70238         [BZ #11741]
70239         * libio/Makefile (tests): Add test case tst-fwrite-error.
70240         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
70241         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
70242         * libio/tst-fwrite-error.c: New test case.
70244 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
70246         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
70247         before casting to void *.
70248         * include/libc-internal.h (__pointer_type): New macro.
70249         (__integer_if_pointer_type_sub): Likewise.
70250         (__integer_if_pointer_type): Likewise.
70251         (cast_to_integer): Likewise.
70252         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
70253         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
70254         before casting to atomic64_t.
70255         (atomic_exchange_acq): Likewise.
70256         (__arch_exchange_and_add_body): Likewise.
70257         (__arch_add_body): Likewise.
70258         (atomic_add_negative): Likewise.
70259         (atomic_add_zero): Likewise.
70261 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
70263         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
70264         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
70265         (add_fdes): Likewise.
70266         (linear_search_fdes): Likewise.
70267         (binary_search_unencoded_fdes): Likewise.
70269 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
70271         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
70273 2012-11-24  Adam Conrad  <adconrad@0c3.net>
70275         * configure.in: Autodetect C++ header directories.
70276         * configure: Regenerated.
70278 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
70280         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70282 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
70284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70286 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
70288         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70289         LDBL_MANT_DIG == 106]: Disable some tests.
70290         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70291         Likewise.
70292         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70293         Likewise.
70295         [BZ #14871]
70296         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70297         input for small inputs.  Return +/- pi/2 for large inputs.
70298         * math/libm-test.inc (atan_test): Add more tests.
70300         * sysdeps/generic/unwind-dw2-fde-glibc.c
70301         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70302         __attribute__ ((unused)).
70304         [BZ #14645]
70305         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70306         x * y if x and y are nonzero and z is zero.
70308         [BZ #14811]
70309         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70310         nonzero exponents with absolute value below 0x1p-117 to +/-
70311         0x1p-117.
70313         [BZ #14869]
70314         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70315         up arguments below 2**-450, not just those below 2**-500.
70316         * math/libm-test.inc (hypot_test): Add another test.
70318         [BZ #14868]
70319         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70320         Return a+b for ratio over 2**120, not 2**60.
70321         * math/libm-test.inc (hypot_test): Add another test.
70323         * math/libm-test.inc (clog_test): Use
70324         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70325         (clog10_test): Likewise.
70327         [BZ #6778]
70328         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70330 2012-11-22  Andreas Schwab  <schwab@suse.de>
70332         * sysdeps/i386/fpu/libm-test-ulps: Update.
70334 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70336         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70337         printf output with newline.
70339 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70341         [BZ #14865]
70342         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70343         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70344         -z nodlopen, -z initfirst and -z execstack support.
70345         * configure: Regenerated.
70347         * elf/elf.h (DF_1_NODIRECT): New macro.
70348         (DF_1_IGNMULDEF): Likewise.
70349         (DF_1_NOKSYMS): Likewise.
70350         (DF_1_NOHDR): Likewise.
70351         (DF_1_EDITED): Likewise.
70352         (DF_1_NORELOC): Likewise.
70353         (DF_1_SYMINTPOSE): Likewise.
70354         (DF_1_GLOBAUDIT): Likewise.
70355         (DF_1_SINGLETON): Likewise.
70356         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70357         DT_1_SUPPORTED_MASK bits.
70358         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70360 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70362         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70364 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70366         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70367         macro.
70369         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70370         (sendmmsg): Move declarations...
70371         * socket/sys/socket.h: ... here.
70372         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70373         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70374         include it from...
70375         * socket/recvmmsg.c: ... this new file.
70376         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70377         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70378         definition of __sendmmsg hidden.
70379         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70380         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70381         Move ENOSYS stub into and include it from...
70382         * socket/sendmmsg.c: ... this new file.
70383         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70384         (sysdep_routines): Move recvmmsg and sendmmsg...
70385         * socket/Makefile (routines): ... here.
70386         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70387         (GLIBC_PRIVATE): Add __sendmmsg.
70388         * include/sys/socket.h (__sendmmsg): Add declarations.
70389         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70390         sendmmsg.
70392 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70394         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70395         variable I1 with __attribute__ ((unused)).
70396         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70398 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70400         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70401         DUMMY variables with __attribute__ ((unused)).
70403         * bits/byteswap.h: Include <bits/types.h>.
70404         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70406 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70408         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70409         string_t.  Do not manually set errno.
70410         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70411         length with __strnlen.  Make sure to both set errno and return it on
70412         failure.
70414 2012-11-19  David S. Miller  <davem@davemloft.net>
70416         With help from Joseph Myers.
70417         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70418         very large arguments properly.
70419         * math/libm-test.inc (atan_test): New tests.
70420         (atan2_test): New tests.
70421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70424 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70426         [BZ #14856]
70427         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70428         Define to 3.
70430         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70431         [POSIX] (EADDRNOTAVAIL): Likewise.
70432         [POSIX] (EAFNOSUPPORT): Likewise.
70433         [POSIX] (EALREADY): Likewise.
70434         [POSIX] (ECONNABORTED): Likewise.
70435         [POSIX] (ECONNREFUSED): Likewise.
70436         [POSIX] (ECONNRESET): Likewise.
70437         [POSIX] (EDESTADDRREQ): Likewise.
70438         [POSIX] (EDQUOT): Likewise.
70439         [POSIX] (EHOSTUNREACH): Likewise.
70440         [POSIX] (EIDRM): Likewise.
70441         [POSIX] (EISCONN): Likewise.
70442         [POSIX] (ELOOP): Likewise.
70443         [POSIX] (EMULTIHOP): Likewise.
70444         [POSIX] (ENETDOWN): Likewise.
70445         [POSIX] (ENETUNREACH): Likewise.
70446         [POSIX] (ENOBUFS): Likewise.
70447         [POSIX] (ENODATA): Likewise.
70448         [POSIX] (ENOLINK): Likewise.
70449         [POSIX] (ENOMSG): Likewise.
70450         [POSIX] (ENOPROTOOPT): Likewise.
70451         [POSIX] (ENOSR): Likewise.
70452         [POSIX] (ENOSTR): Likewise.
70453         [POSIX] (ENOTCONN): Likewise.
70454         [POSIX] (ENOTSOCK): Likewise.
70455         [POSIX] (EOPNOTSUPP): Likewise.
70456         [POSIX] (EOVERFLOW): Likewise.
70457         [POSIX] (EPROTO): Likewise.
70458         [POSIX] (EPROTONOSUPPORT): Likewise.
70459         [POSIX] (EPROTOTYPE): Likewise.
70460         [POSIX] (ESTALE): Likewise.
70461         [POSIX] (ETIME): Likewise.
70462         [POSIX] (ETXTBSY): Likewise.
70463         [POSIX] (EWOULDBLOCK): Likewise.
70464         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70465         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70466         [POSIX] (SEEK_CUR): Likewise.
70467         [POSIX] (SEEK_END): Likewise.
70468         [POSIX || UNIX98] (mode_t): Do not require.
70469         [POSIX] (off_t): Likewise.
70470         [POSIX] (pid_t): Likewise.
70471         [POSIX] (sys/stat.h): Do not allow header.
70472         [POSIX] (unistd.h): Likewise.
70473         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70474         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70475         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70476         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70477         require.
70478         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70479         sigevent): Specify elements.
70480         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70481         entry.
70482         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70483         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70485         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70486         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70487         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70488         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70489         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70490         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70491         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70492         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70493         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70494         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70495         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70496         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70497         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70498         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70499         Likewise.
70500         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70501         Likewise.
70502         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70503         Likewise.
70504         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70505         Likewise.
70506         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70507         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70508         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70509         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70510         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70511         Specify lower bound on value.
70512         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70513         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70514         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70515         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70516         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70517         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70518         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70519         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70520         value.
70521         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70522         as optional.
70523         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70524         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70525         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70526         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70527         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70528         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70529         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70530         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70531         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70532         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70533         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70534         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70535         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70536         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70537         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70538         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70539         entry.
70540         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70541         optional.
70542         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70543         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70544         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70545         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70546         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70547         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70548         Likewise.
70549         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70550         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70551         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70552         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70553         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70554         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70555         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70556         as optional.
70557         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70558         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70559         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70560         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70561         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70562         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70563         specify as optional.
70564         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70565         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70566         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70567         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70568         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70569         [XPG3] (NL_LANGMAX): Likewise.
70570         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70571         [POSIX || XPG3] (NL_NMAX): Likewise.
70572         [POSIX || XPG3] (NL_SETMAX): Likewise.
70573         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70574         [XPG3] (NZERO): Likewise.
70575         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70576         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70577         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70578         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70579         (REG_ERANGE): Expect.
70580         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70581         optional-constant.
70582         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70583         Use (void) in prototype.
70584         [POSIX] (*_t): Allow.
70585         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70586         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70587         (WRDE_BADVAL): Expect.
70589         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70590         expect.
70591         [XPG3 || XPG4] (O_RSYNC): Likewise.
70592         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70593         Likewise.
70594         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70595         [XPG3 || XPG4] (sigqueue): Likewise.
70596         [XPG3 || XPG4] (sigtimedwait): Likewise.
70597         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70598         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70599         [XPG3 || XPG4] (vsnprintf): Likewise.
70600         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70601         Likewise.
70602         [XPG3 || XPG4] (blksize_t): Likewise.
70603         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70604         Likewise.
70605         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70606         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70607         [XPG3 || XPG4] (struct itimerspec): Likewise.
70608         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70609         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70610         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70611         [XPG3 || XPG4] (clockid_t): Likewise.
70612         [XPG3 || XPG4] (timer_t): Likewise.
70613         [XPG3 || XPG4] (clock_getres): Likewise.
70614         [XPG3 || XPG4] (clock_gettime): Likewise.
70615         [XPG3 || XPG4] (clock_settime): Likewise.
70616         [XPG3 || XPG4] (nanosleep): Likewise.
70617         [XPG3 || XPG4] (timer_create): Likewise.
70618         [XPG3 || XPG4] (timer_delete): Likewise.
70619         [XPG3 || XPG4] (timer_gettime): Likewise.
70620         [XPG3 || XPG4] (timer_getoverrun): Likewise.
70621         [XPG3 || XPG4] (timer_settime): Likewise.
70622         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70623         [XPG3 || XPG4] (getlogin_r): Likewise.
70624         [XPG3 || XPG4] (pread): Likewise.
70625         [XPG3 || XPG4] (pthread_atfork): Likewise.
70626         [XPG3 || XPG4] (pwrite): Likewise.
70628         [BZ #14835]
70629         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70630         <bits/siginfo.h>.
70632 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70634         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70635         finalizing MALLSTREAM.
70637         * sysdeps/mach/hurd/syncfs.c: New file.
70639 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70641         [BZ #14719]
70642         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70643         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70644         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70645         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70646         (_nss_dns_gethostbyname4_r): Likewise.
70647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70648         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70650 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
70652         [BZ #13763]
70653         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70655 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
70657         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70658         * elf/cache.c (print_entry): Print ",AArch64" for
70659         FLAG_AARCH64_LIB64
70661         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70662         * elf/cache.c (print_entry): Print ",hard-float" for
70663         FLAG_ARM_LIBHF.
70665 2012-11-18  David S. Miller  <davem@davemloft.net>
70667         With help from Joseph Myers.
70668         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70669         cutoff to 2**-13.
70670         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70671         cutoff to 2**-25.
70672         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70673         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70674         small.
70675         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70676         * math/libm-test.inc (y0_test): New tests.
70677         (y1_test): New tests.
70678         * sysdeps/i386/fpu/libm-test-ulps: Update.
70679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70682 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
70684         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
70685         64-bit targets.
70686         * configure: Regenerated.
70688 2012-11-17  David S. Miller  <davem@davemloft.net>
70690         [BZ #14811]
70691         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
70692         nonzero exponents with absolute value below 0x1p-128 to +/-
70693         0x1p-128.
70695 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
70697         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
70699         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
70701         * posix/getconf-speclist.c: New file.
70702         * posix/posix-envs.def: Likewise.
70703         * posix/confstr.c (START_ENV_GROUP): New macro.
70704         (END_ENV_GROUP): Likewise.
70705         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70706         (KNOWN_PRESENT_ENV_STRING): Likewise.
70707         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70708         (UNKNOWN_ENVIRONMENT): Likewise.
70709         (confstr): Include posix-envs.def instead of handling
70710         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
70711         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
70712         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
70713         (END_ENV_GROUP): Likewise.
70714         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70715         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70716         (UNKNOWN_ENVIRONMENT): Likewise.
70717         (__sysconf): Include posix-envs.def instead of handling associated
70718         cases directly here.
70719         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
70720         preprocessing getconf-speclist.c rather than running getconf or
70721         generating empty file.
70723 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
70725         * scripts/check-local-headers.sh: Ignore 'mach' headers.
70727 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
70729         [BZ #14672]
70730         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
70732 2012-11-16  David S. Miller  <davem@davemloft.net>
70734         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
70735         smaller than LDBL_EPSILON/2.0L, just return xm1.
70737 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
70739         * elf/tst-array1.c (init): Set constructor priority to 1000.
70740         (fini): Set destructor priority to 1000.
70741         * elf/tst-array2dep.c: Likewise.
70743 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70745         [BZ #11741]
70746         * libio/fileops.c (_IO_new_file_write): Correctly return error.
70747         (_IO_new_file_xsputn): Also return EOF if none of the input
70748         data was written when overflow failed.
70749         * libio/iopadn.c (_IO_padn): Likewise.
70750         * libio/iowpadn.c (_IO_wpadn): Likewise.
70751         * stdio-common/tst-put-error.c: Add copyright notice.
70752         (do_test): Add case for printing padded string.
70753         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
70754         _IO_padn returned error.
70755         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
70756         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
70757         return EOF.
70759 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70761         * libio/libioP.h: Add comment note that the references to C++
70762         bits are now obsolete.
70764 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70766         * math/libm-test.inc (check_complex): Use asprintf.
70768 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
70770         * debug/pcprofiledump.c (print_version): Update copyright year.
70771         * malloc/memusagestat.c (print_version): Likewise.
70773 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
70775         [BZ #14831]
70776         * elf/Makefile (tests): Add tst-audit8.
70777         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
70778         ($(objpfx)tst-audit8.out): New target.
70779         (tst-audit8-ENV): New variable.
70780         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
70781         audit if l_reloc_result is NULL.
70782         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
70783         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
70784         * elf/tst-audit8.c: New file.
70786 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70788         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
70789         * misc/Makefile (CFLAGS-select.c): Define.
70790         * posix/Makefile (CFLAGS-pause.c): Define.
70792 2012-11-13  David S. Miller  <davem@davemloft.net>
70794         * crypt/Makefile: Move test targets after toplevel Rules
70795         inclusion.  Grab any necessary sysdep routines when linking.
70796         * crypt/md5.c (md5_process_block): Remove define, we will always
70797         name it __md5_process_block.
70798         (md5_finish_ctx): Update md5_process_block call.
70799         (md5_stream): Likewise.
70800         (md5_process_bytes): Likewise.
70801         (md5_process_block): Rename to __md5_process_block and move to ...
70802         * crypt/md5-block.c: ... here.
70803         * crypt/sha256.c (sha256_process_block): Move to ...
70804         * crypt/sha256-block.c: ... here.
70805         * crypt/sha512.c (sha512_process_block): Move to ...
70806         * crypt/sha512-block.c: ... here.
70807         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
70808         path.
70809         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
70810         * sysdeps/sparc/sparc64/multiarch/Makefile
70811         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
70812         crypt subdir.
70813         (localedef-aux): Add md5 crypto assembler when in locale subdir.
70814         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
70815         multiarch changes.
70816         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
70817         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
70818         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
70819         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
70820         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
70821         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
70822         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
70823         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
70824         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
70825         file.
70826         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
70827         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70828         file.
70829         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
70831 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
70833         * timezone/tzselect.ksh: Update from tzcode git revision
70834         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
70835         * timezone/zdump.c: Likewise.
70836         * timezone/zic.c: Likewise.
70837         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
70838         in TZVERSION setting, not $(PKGVERSION).
70839         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
70840         REPORT_BUGS_TO settings.
70842         [BZ #14838]
70843         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
70844         macro.
70846 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70848         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
70849         detection to immediately after _FP_ROUND().
70850         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
70851         bits are 0.
70853 2012-11-11  David S. Miller  <davem@davemloft.net>
70855         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
70856         inttypes.h
70857         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
70858         __close rather than their public counterparts.
70860 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
70862         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
70863         file.
70864         [UNIX98] (sem_timedwait): Do not expect.
70865         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
70866         [XPG4 || UNIX98] (sockatmark): Do not expect.
70867         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
70868         (clock_getcpuclockid): Do not expect.
70869         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
70870         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
70871         Do not expect.
70872         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
70873         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
70874         [UNIX98] (vwscanf): Likewise.
70875         [UNIX98] (vswscanf): Likewise.
70877 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
70879         * timezone/version.h: Remove file.
70880         * timezone/README: Do not refer to version.h.
70881         * timezone/Makefile ($(objpfx)zic.o): New dependency on
70882         $(objpfx)version.h.
70883         ($(objpfx)zdump.o): Likewise.
70884         ($(objpfx)version.h): New target.
70886         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
70887         2012i.
70888         * timezone/README: Don't mention modification to tzselect.ksh.
70889         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
70890         work on unmodified tzselect.ksh.  Substitute version numbers in
70891         tzselect.ksh.
70893         * Makefile (format-me): Remove.
70894         (INSTALL): Adjust indentation.  Use commands directly instead of
70895         using $(format-me).
70897         * aclocal.m4 (ACX_PKGVERSION): New macro.
70898         (ACX_BUGURL): Likewise.
70899         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70900         (PKGVERSION): New AC_DEFINE_UNQUOTED.
70901         (REPORT_BUGS_TO): Likewise.
70902         * configure: Regenerated.
70903         * config.h.in (PKGVERSION): New macro.
70904         (REPORT_BUGS_TO): Likewise.
70905         * config.make.in (PKGVERSION): New variable.
70906         (PKGVERSION_TEXI): Likewise.
70907         (REPORT_BUGS_TO): Likewise.
70908         (REPORT_BUGS_TEXI): Likewise.
70909         * Makefile (format-me): Use -I$(common-objpfx)manual.
70910         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
70911         ($(common-objpfx)manual/%): New target.
70912         (manual/%): Remove target.
70913         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
70914         (print_version): Use PKGVERSION.
70915         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
70916         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
70917         and REPORT_BUGS_TO.
70918         ($(objpfx)xtrace): Likewise.
70919         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70920         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70921         (print_version): Use PKGVERSION.
70922         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70923         (do_version): Use PKGVERSION.
70924         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70925         REPORT_BUGS_TO.
70926         (common-ldd-rewrite): Likewise.
70927         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70928         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70929         (print_version): Use PKGVERSION.
70930         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70931         * elf/pldd.c (argp_program_bug_address): Remove variable.
70932         (more_help): New function.
70933         (argp): Use more_help.
70934         (print_version): Use PKGVERSION.
70935         * elf/sln.c (main): Use PKGVERSION.
70936         (usage): Use REPORT_BUGS_TO.
70937         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70938         (top level): Use PKGVERSION.
70939         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70940         (print_version): Use PKGVERSION.
70941         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70942         (print_version): Use PKGVERSION.
70943         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70944         (print_version): Use PKGVERSION.
70945         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70946         (print_version): Use PKGVERSION.
70947         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70948         (print_version): Use PKGVERSION.
70949         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70950         (print_version): Use PKGVERSION.
70951         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70952         and BUGURL.
70953         ($(objpfx)memusage): Likewise.
70954         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70955         (do_version): Use PKGVERSION.
70956         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70957         (print_version): Use PKGVERSION.
70958         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70959         ($PKGVERSION): New variable.
70960         ($REPORT_BUGS_TO): Likewise.
70961         (usage): Use $REPORT_BUGS_TO.
70962         (top level): Use $PKGVERSION.
70963         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70964         ($(objpfx)pkgvers.texi): New rule.
70965         ($(objpfx)stamp-pkgvers): Likewise.
70966         * manual/install.texi: Include pkgvers.texi.
70967         (--with-pkgversion): Document new configure option.
70968         (--with-bugurl): Likewise.
70969         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70970         than necessarily for this particular distribution.  Use
70971         REPORT_BUGS_TO for where to report bugs.
70972         * INSTALL: Regenerated.
70973         * manual/libc.texinfo: Include pkgvers.texi.
70974         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70975         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70976         (print_version): Use PKGVERSION.
70977         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70978         (print_version): Use PKGVERSION.
70979         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70980         (print_version): Use PKGVERSION.
70981         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70982         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70983         macro.
70984         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70985         (print_version): Use PKGVERSION.
70986         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70987         (print_version): Use PKGVERSION.
70988         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70989         and PKGVERSION.
70991         * timezone/checktab.awk: Update from tzcode 2012i.
70992         * timezone/ialloc.c: Likewise.
70993         * timezone/private.h: Likewise.
70994         * timezone/scheck.c: Likewise.
70995         * timezone/tzfile.h: Likewise.
70996         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70997         (TZVERSION): Hardcode tzcode version number.
70998         * timezone/zdump.c: Update from tzcode 2012i.
70999         * timezone/zic.c: Likewise.
71000         * timezone/version.h: New file.
71001         * timezone/README: Describe version.h.  Update upstream location.
71003         [BZ #14824]
71004         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
71005         (mktemp): Enable declaration.
71006         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
71007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
71008         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
71009         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
71010         Likewise.
71011         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
71012         Likewise.
71013         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
71014         Likewise.
71015         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
71016         Likewise.
71017         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
71018         Likewise.
71019         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
71020         Likewise.
71022         [BZ #14821]
71023         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
71024         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
71025         for copies of such integer values.
71026         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71027         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71029 2012-11-09  Andreas Jaeger  <aj@suse.de>
71031         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
71032         definitions and declarations that are provided by
71033         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71035 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71037         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
71038         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
71039         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
71040         definition.
71042 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71044         * elf/elf.h: Update comment before AArch64 relocations.
71046 2012-11-07  David S. Miller  <davem@davemloft.net>
71048         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
71049         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71050         (__start_context): Declare.
71051         (__makecontext_ret): Delete.
71052         (__makecontext): Hook up __start_context instead of
71053         __makecontext_ret.
71054         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
71055         (sysdep_routines): Add __start_context when in stdlib.
71057 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71059         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
71060         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
71061         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
71062         hardcoded "nm".
71063         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
71064         (READELF): New variable.  Use it instead of hardcoded "readelf".
71066 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71068         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
71069         * sysdeps/x86/Makefile: Here.
71070         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
71071         * sysdeps/x86/tst-xmmymm.sh: This.
71073 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71075         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
71076         expectations.
71077         [UNIX98] (pthread_barrier_t): Do not expect.
71078         [UNIX98] (pthread_barrierattr_t): Likewise.
71079         [UNIX98] (pthread_spinlock_t): Likewise.
71080         [UNIX98] (pthread_barrier_destroy): Likewise.
71081         [UNIX98] (pthread_barrier_init): Likewise.
71082         [UNIX98] (pthread_barrier_wait): Likewise.
71083         [UNIX98] (pthread_barrierattr_destroy): Likewise.
71084         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
71085         [UNIX98] (pthread_barrierattr_init): Likewise.
71086         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
71087         [UNIX98] (pthread_getcpuclockid): Likewise.
71088         [UNIX98] (pthread_mutex_timedlock): Likewise.
71089         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71090         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
71091         [UNIX98] (pthread_sigmask): Likewise.
71092         [UNIX98] (pthread_spin_destroy): Likewise.
71093         [UNIX98] (pthread_spin_init): Likewise.
71094         [UNIX98] (pthread_spin_lock): Likewise.
71095         [UNIX98] (pthread_spin_trylock): Likewise.
71096         [UNIX98] (pthread_spin_unlock): Likewise.
71097         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
71098         Do not expect.
71099         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
71100         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
71101         [XPG3 || XPG4] (pthread_cond_t): Likewise.
71102         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
71103         [XPG3 || XPG4] (pthread_key_t): Likewise.
71104         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71105         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
71106         [XPG3 || XPG4] (pthread_once_t): Likewise.
71107         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
71108         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
71109         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
71110         [XPG3 || XPG4] (pthread_t): Likewise.
71112         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
71113         not expect.
71114         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71116         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
71117         Change function return type to int.
71119         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
71120         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
71121         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
71122         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
71123         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
71124         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
71125         [!POSIX] (posix_madvise): Likewise.
71126         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
71127         && !UNIX98].
71128         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
71129         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
71130         (mode_t): Likewise.
71131         (posix_mem_offset): Likewise.
71132         (posix_typed_mem_get_info): Likewise.
71133         (posix_typed_mem_open): Likewise.
71135         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71136         Change condition to [XOPEN2K8].
71138         * conform/conformtest.pl: Preprocess allow-header data with -x c
71139         instead of from stdin.
71140         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
71141         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
71142         [C99-based standards] (cerfc): Likewise.
71143         [C99-based standards] (cexp2): Likewise.
71144         [C99-based standards] (cexpm1): Likewise.
71145         [C99-based standards] (clog10): Likewise.
71146         [C99-based standards] (clog1p): Likewise.
71147         [C99-based standards] (clog2): Likewise.
71148         [C99-based standards] (clgamma): Likewise.
71149         [C99-based standards] (ctgamma): Likewise.
71150         [C99-based standards] (cerff): Likewise.
71151         [C99-based standards] (cerfcf): Likewise.
71152         [C99-based standards] (cexp2f): Likewise.
71153         [C99-based standards] (cexpm1f): Likewise.
71154         [C99-based standards] (clog10f): Likewise.
71155         [C99-based standards] (clog1pf): Likewise.
71156         [C99-based standards] (clog2f): Likewise.
71157         [C99-based standards] (clgammaf): Likewise.
71158         [C99-based standards] (ctgammaf): Likewise.
71159         [C99-based standards] (cerfl): Likewise.
71160         [C99-based standards] (cerfcl): Likewise.
71161         [C99-based standards] (cexp2l): Likewise.
71162         [C99-based standards] (cexpm1l): Likewise.
71163         [C99-based standards] (clog10l): Likewise.
71164         [C99-based standards] (clog1pl): Likewise.
71165         [C99-based standards] (clog2l): Likewise.
71166         [C99-based standards] (clgammal): Likewise.
71167         [C99-based standards] (ctgammal): Likewise.
71168         * conform/data/inttypes.h-data [C99-based standards]: Include
71169         stdint.h-data.  Remove all expectations for stdint.h contents.
71170         [C99-based standards] (PRI*): Do not allow.
71171         [C99-based standards] (SCN*): Likewise.
71172         [C99-based standards] (*_t): Likewise.
71173         [C99-based-standards] (PRId8): Expect macro.
71174         [C99-based-standards] (PRIi8): Likewise.
71175         [C99-based-standards] (PRIo8): Likewise.
71176         [C99-based-standards] (PRIu8): Likewise.
71177         [C99-based-standards] (PRIx8): Likewise.
71178         [C99-based-standards] (PRIX8): Likewise.
71179         [C99-based-standards] (SCNd8): Likewise.
71180         [C99-based-standards] (SCNi8): Likewise.
71181         [C99-based-standards] (SCNo8): Likewise.
71182         [C99-based-standards] (SCNu8): Likewise.
71183         [C99-based-standards] (SCNx8): Likewise.
71184         [C99-based-standards] (PRIdLEAST8): Likewise.
71185         [C99-based-standards] (PRIiLEAST8): Likewise.
71186         [C99-based-standards] (PRIoLEAST8): Likewise.
71187         [C99-based-standards] (PRIuLEAST8): Likewise.
71188         [C99-based-standards] (PRIxLEAST8): Likewise.
71189         [C99-based-standards] (PRIXLEAST8): Likewise.
71190         [C99-based-standards] (SCNdLEAST8): Likewise.
71191         [C99-based-standards] (SCNiLEAST8): Likewise.
71192         [C99-based-standards] (SCNoLEAST8): Likewise.
71193         [C99-based-standards] (SCNuLEAST8): Likewise.
71194         [C99-based-standards] (SCNxLEAST8): Likewise.
71195         [C99-based-standards] (PRIdFAST8): Likewise.
71196         [C99-based-standards] (PRIiFAST8): Likewise.
71197         [C99-based-standards] (PRIoFAST8): Likewise.
71198         [C99-based-standards] (PRIuFAST8): Likewise.
71199         [C99-based-standards] (PRIxFAST8): Likewise.
71200         [C99-based-standards] (PRIXFAST8): Likewise.
71201         [C99-based-standards] (SCNdFAST8): Likewise.
71202         [C99-based-standards] (SCNiFAST8): Likewise.
71203         [C99-based-standards] (SCNoFAST8): Likewise.
71204         [C99-based-standards] (SCNuFAST8): Likewise.
71205         [C99-based-standards] (SCNxFAST8): Likewise.
71206         [C99-based-standards] (PRId16): Likewise.
71207         [C99-based-standards] (PRIi16): Likewise.
71208         [C99-based-standards] (PRIo16): Likewise.
71209         [C99-based-standards] (PRIu16): Likewise.
71210         [C99-based-standards] (PRIx16): Likewise.
71211         [C99-based-standards] (PRIX16): Likewise.
71212         [C99-based-standards] (SCNd16): Likewise.
71213         [C99-based-standards] (SCNi16): Likewise.
71214         [C99-based-standards] (SCNo16): Likewise.
71215         [C99-based-standards] (SCNu16): Likewise.
71216         [C99-based-standards] (SCNx16): Likewise.
71217         [C99-based-standards] (PRIdLEAST16): Likewise.
71218         [C99-based-standards] (PRIiLEAST16): Likewise.
71219         [C99-based-standards] (PRIoLEAST16): Likewise.
71220         [C99-based-standards] (PRIuLEAST16): Likewise.
71221         [C99-based-standards] (PRIxLEAST16): Likewise.
71222         [C99-based-standards] (PRIXLEAST16): Likewise.
71223         [C99-based-standards] (SCNdLEAST16): Likewise.
71224         [C99-based-standards] (SCNiLEAST16): Likewise.
71225         [C99-based-standards] (SCNoLEAST16): Likewise.
71226         [C99-based-standards] (SCNuLEAST16): Likewise.
71227         [C99-based-standards] (SCNxLEAST16): Likewise.
71228         [C99-based-standards] (PRIdFAST16): Likewise.
71229         [C99-based-standards] (PRIiFAST16): Likewise.
71230         [C99-based-standards] (PRIoFAST16): Likewise.
71231         [C99-based-standards] (PRIuFAST16): Likewise.
71232         [C99-based-standards] (PRIxFAST16): Likewise.
71233         [C99-based-standards] (PRIXFAST16): Likewise.
71234         [C99-based-standards] (SCNdFAST16): Likewise.
71235         [C99-based-standards] (SCNiFAST16): Likewise.
71236         [C99-based-standards] (SCNoFAST16): Likewise.
71237         [C99-based-standards] (SCNuFAST16): Likewise.
71238         [C99-based-standards] (SCNxFAST16): Likewise.
71239         [C99-based-standards] (PRId32): Likewise.
71240         [C99-based-standards] (PRIi32): Likewise.
71241         [C99-based-standards] (PRIo32): Likewise.
71242         [C99-based-standards] (PRIu32): Likewise.
71243         [C99-based-standards] (PRIx32): Likewise.
71244         [C99-based-standards] (PRIX32): Likewise.
71245         [C99-based-standards] (SCNd32): Likewise.
71246         [C99-based-standards] (SCNi32): Likewise.
71247         [C99-based-standards] (SCNo32): Likewise.
71248         [C99-based-standards] (SCNu32): Likewise.
71249         [C99-based-standards] (SCNx32): Likewise.
71250         [C99-based-standards] (PRIdLEAST32): Likewise.
71251         [C99-based-standards] (PRIiLEAST32): Likewise.
71252         [C99-based-standards] (PRIoLEAST32): Likewise.
71253         [C99-based-standards] (PRIuLEAST32): Likewise.
71254         [C99-based-standards] (PRIxLEAST32): Likewise.
71255         [C99-based-standards] (PRIXLEAST32): Likewise.
71256         [C99-based-standards] (SCNdLEAST32): Likewise.
71257         [C99-based-standards] (SCNiLEAST32): Likewise.
71258         [C99-based-standards] (SCNoLEAST32): Likewise.
71259         [C99-based-standards] (SCNuLEAST32): Likewise.
71260         [C99-based-standards] (SCNxLEAST32): Likewise.
71261         [C99-based-standards] (PRIdFAST32): Likewise.
71262         [C99-based-standards] (PRIiFAST32): Likewise.
71263         [C99-based-standards] (PRIoFAST32): Likewise.
71264         [C99-based-standards] (PRIuFAST32): Likewise.
71265         [C99-based-standards] (PRIxFAST32): Likewise.
71266         [C99-based-standards] (PRIXFAST32): Likewise.
71267         [C99-based-standards] (SCNdFAST32): Likewise.
71268         [C99-based-standards] (SCNiFAST32): Likewise.
71269         [C99-based-standards] (SCNoFAST32): Likewise.
71270         [C99-based-standards] (SCNuFAST32): Likewise.
71271         [C99-based-standards] (SCNxFAST32): Likewise.
71272         [C99-based-standards] (PRId64): Likewise.
71273         [C99-based-standards] (PRIi64): Likewise.
71274         [C99-based-standards] (PRIo64): Likewise.
71275         [C99-based-standards] (PRIu64): Likewise.
71276         [C99-based-standards] (PRIx64): Likewise.
71277         [C99-based-standards] (PRIX64): Likewise.
71278         [C99-based-standards] (SCNd64): Likewise.
71279         [C99-based-standards] (SCNi64): Likewise.
71280         [C99-based-standards] (SCNo64): Likewise.
71281         [C99-based-standards] (SCNu64): Likewise.
71282         [C99-based-standards] (SCNx64): Likewise.
71283         [C99-based-standards] (PRIdLEAST64): Likewise.
71284         [C99-based-standards] (PRIiLEAST64): Likewise.
71285         [C99-based-standards] (PRIoLEAST64): Likewise.
71286         [C99-based-standards] (PRIuLEAST64): Likewise.
71287         [C99-based-standards] (PRIxLEAST64): Likewise.
71288         [C99-based-standards] (PRIXLEAST64): Likewise.
71289         [C99-based-standards] (SCNdLEAST64): Likewise.
71290         [C99-based-standards] (SCNiLEAST64): Likewise.
71291         [C99-based-standards] (SCNoLEAST64): Likewise.
71292         [C99-based-standards] (SCNuLEAST64): Likewise.
71293         [C99-based-standards] (SCNxLEAST64): Likewise.
71294         [C99-based-standards] (PRIdFAST64): Likewise.
71295         [C99-based-standards] (PRIiFAST64): Likewise.
71296         [C99-based-standards] (PRIoFAST64): Likewise.
71297         [C99-based-standards] (PRIuFAST64): Likewise.
71298         [C99-based-standards] (PRIxFAST64): Likewise.
71299         [C99-based-standards] (PRIXFAST64): Likewise.
71300         [C99-based-standards] (SCNdFAST64): Likewise.
71301         [C99-based-standards] (SCNiFAST64): Likewise.
71302         [C99-based-standards] (SCNoFAST64): Likewise.
71303         [C99-based-standards] (SCNuFAST64): Likewise.
71304         [C99-based-standards] (SCNxFAST64): Likewise.
71305         [C99-based-standards] (PRIdMAX): Likewise.
71306         [C99-based-standards] (PRIiMAX): Likewise.
71307         [C99-based-standards] (PRIoMAX): Likewise.
71308         [C99-based-standards] (PRIuMAX): Likewise.
71309         [C99-based-standards] (PRIxMAX): Likewise.
71310         [C99-based-standards] (PRIXMAX): Likewise.
71311         [C99-based-standards] (SCNdMAX): Likewise.
71312         [C99-based-standards] (SCNiMAX): Likewise.
71313         [C99-based-standards] (SCNoMAX): Likewise.
71314         [C99-based-standards] (SCNuMAX): Likewise.
71315         [C99-based-standards] (SCNxMAX): Likewise.
71316         [C99-based-standards] (PRIdPTR): Likewise.
71317         [C99-based-standards] (PRIiPTR): Likewise.
71318         [C99-based-standards] (PRIoPTR): Likewise.
71319         [C99-based-standards] (PRIuPTR): Likewise.
71320         [C99-based-standards] (PRIxPTR): Likewise.
71321         [C99-based-standards] (PRIXPTR): Likewise.
71322         [C99-based-standards] (SCNdPTR): Likewise.
71323         [C99-based-standards] (SCNiPTR): Likewise.
71324         [C99-based-standards] (SCNoPTR): Likewise.
71325         [C99-based-standards] (SCNuPTR): Likewise.
71326         [C99-based-standards] (SCNxPTR): Likewise.
71327         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71328         allow.
71329         * conform/data/stdint.h-data: Update comments to clarify
71330         requirements.
71331         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71332         type.
71333         [C99-based standards] (INT8_MAX): Likewise.
71334         [C99-based standards] (INT16_MIN): Likewise.
71335         [C99-based standards] (INT16_MAX): Likewise.
71336         [C99-based standards] (INT32_MIN): Likewise.
71337         [C99-based standards] (INT32_MAX): Likewise.
71338         [C99-based standards] (INT64_MIN): Likewise.
71339         [C99-based standards] (INT64_MAX): Likewise.
71340         [C99-based standards] (UINT8_MAX): Likewise.
71341         [C99-based standards] (UINT16_MAX): Likewise.
71342         [C99-based standards] (UINT32_MAX): Likewise.
71343         [C99-based standards] (UINT64_MAX): Likewise.
71344         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71345         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71346         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71347         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71348         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71349         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71350         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71351         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71352         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71353         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71354         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71355         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71356         [C99-based standards] (INT_FAST8_MIN): Likewise.
71357         [C99-based standards] (INT_FAST8_MAX): Likewise.
71358         [C99-based standards] (INT_FAST16_MIN): Likewise.
71359         [C99-based standards] (INT_FAST16_MAX): Likewise.
71360         [C99-based standards] (INT_FAST32_MIN): Likewise.
71361         [C99-based standards] (INT_FAST32_MAX): Likewise.
71362         [C99-based standards] (INT_FAST64_MIN): Likewise.
71363         [C99-based standards] (INT_FAST64_MAX): Likewise.
71364         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71365         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71366         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71367         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71368         [C99-based standards] (INTPTR_MIN): Likewise.
71369         [C99-based standards] (INTPTR_MAX): Likewise.
71370         [C99-based standards] (UINTPTR_MAX): Likewise.
71371         [C99-based standards] (INTMAX_MIN): Likewise.
71372         [C99-based standards] (INTMAX_MAX): Likewise.
71373         [C99-based standards] (UINTMAX_MAX): Likewise.
71374         [C99-based standards] (PTRDIFF_MIN): Likewise.
71375         [C99-based standards] (PTRDIFF_MAX): Likewise.
71376         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71377         [C99-based standards] (SIZE_MAX): Likewise.
71378         [C99-based standards] (WCHAR_MAX): Likewise.
71379         [C99-based standards] (WINT_MAX): Likewise.
71380         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71381         constraint on value.
71382         [C99-based standards] (WCHAR_MIN): Likewise.
71383         [C99-based standards] (WINT_MIN): Likewise.
71384         [C99-based standards] (*_t): Allow.
71385         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71386         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71387         Include math.h-data and complex.h-data.  Remove all expectations
71388         of math.h and complex.h contents.
71389         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71390         at end of line.
71391         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71392         (struct tm): Expect tag.
71393         [C99-based-standards] (wcstof): Expect function.
71394         [C99-based-standards] (wcstold): Likewise.
71395         [C99-based-standards] (wcstoll): Likewise.
71396         [C99-based-standards] (wcstoull): Likewise.
71397         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71398         macro-int-constant.  Specify type.
71399         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71400         constraint on value.
71401         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71402         Specify type.
71403         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71404         Specify value.
71405         [ISO C standards]: Do not allow headers.
71406         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71407         wcs[abcdefghijklmnopqrstuvwxyz]*.
71408         [ISO C standards] (*_t): Do not allow.
71409         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71410         Expect function.
71411         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71412         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71413         Specify type.
71414         [ISO C standards]: Do not allow headers.
71415         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71416         is[abcdefghijklmnopqrstuvwxyz]*.
71417         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71418         to[abcdefghijklmnopqrstuvwxyz]*.
71419         [ISO C standards] (*_t): Do not allow.
71420         * conform/data/stdalign.h-data: New file.
71421         * conform/data/stdbool.h-data: Likewise.
71422         * conform/data/stdnoreturn.h-data: Likewise.
71424 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71426         [BZ #14815]
71427         * manual/filesys.texi (Directory Entries): Typo fix.
71428         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71430 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71432         * elf/elf.h (EM_AARCH64): New macro.
71433         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71434         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71435         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71436         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71437         (R_AARCH64_TLSDESC): Likewise.
71438         (NT_ARM_TLS): Likewise.
71439         (NT_ARM_HW_BREAK): Likewise.
71440         (NT_ARM_HW_WATCH): Likewise.
71442 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71444         [BZ #14811]
71445         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71446         (__ieee754_powl): Saturate nonzero exponents with absolute value
71447         below 0x1p-79 to +/- 0x1p-79.
71448         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71449         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71450         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71451         nonzero exponents with absolute value below 0x1p-32 to +/-
71452         0x1p-32.
71453         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71454         (__ieee754_powl): Saturate nonzero exponents with absolute value
71455         below 0x1p-79 to +/- 0x1p-79.
71456         * math/libm-test.inc (pow_test): Add more tests.
71458 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71460         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71461         _dl_s390_cap_flags with kernel. Increase string length.
71462         (_dl_s390_platforms): Add z196 and zEC12.
71464 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71466         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71467         Change XOPEN21K to XOPEN2K.
71469 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71471         * string/memmove.c: Use memcpy when possible.
71473 2012-11-06  Andreas Jaeger  <aj@suse.de>
71475         * po/eo.po: Update from translation team.
71477 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71479         [BZ #14793]
71480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71481         exponent and small x and y exponents, scale x or y up.  Increase
71482         by 2 the exponent used in scaling up.
71483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71484         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71485         * math/libm-test.inc (fma_test): Add more tests.
71486         (fma_test_towardzero): Likewise.
71487         (fma_test_downward): Likewise.
71488         (fma_test_upward): Likewise.
71490 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71492         [BZ #14805]
71493         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71494         fenv_t *.
71496         [BZ #14801]
71497         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71498         namespace for names of struct fields.
71499         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71500         fenv_t fields.
71501         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71502         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71504 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71506         [BZ #3665]
71507         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71509 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71511         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71512         PTR_DEMANGLE.
71514         [BZ #5246]
71515         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71516         PTR_DEMANGLE.
71518 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71520         [BZ #14797]
71521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71522         definitely overflow as x * y not x * y + z.
71523         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71524         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71525         * math/libm-test.inc (fma_test): Add more tests.
71526         (fma_test_towardzero): Likewise.
71527         (fma_test_downward): Likewise.
71528         (fma_test_upward): Likewise.
71530 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71532         [BZ #157]
71534         * include/stub-tag.h: Remove file.
71535         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71536         '#include' of it.
71537         * manual/maint.texi (Porting): Don't reference it.
71538         * Makerules ($(objpfx)stubs): Likewise.
71539         * dirent/closedir.c: Don't include <stub-tag.h>.
71540         * dirent/dirfd.c: Likewise.
71541         * dirent/fdopendir.c: Likewise.
71542         * dirent/getdents.c: Likewise.
71543         * dirent/getdents64.c: Likewise.
71544         * dirent/opendir.c: Likewise.
71545         * dirent/readdir.c: Likewise.
71546         * dirent/readdir64.c: Likewise.
71547         * dirent/readdir64_r.c: Likewise.
71548         * dirent/readdir_r.c: Likewise.
71549         * dirent/rewinddir.c: Likewise.
71550         * dirent/seekdir.c: Likewise.
71551         * dirent/telldir.c: Likewise.
71552         * gmon/profil.c: Likewise.
71553         * grp/setgroups.c: Likewise.
71554         * inet/if_index.c: Likewise.
71555         * io/access.c: Likewise.
71556         * io/chdir.c: Likewise.
71557         * io/chmod.c: Likewise.
71558         * io/chown.c: Likewise.
71559         * io/close.c: Likewise.
71560         * io/dup.c: Likewise.
71561         * io/dup2.c: Likewise.
71562         * io/dup3.c: Likewise.
71563         * io/euidaccess.c: Likewise.
71564         * io/faccessat.c: Likewise.
71565         * io/fchdir.c: Likewise.
71566         * io/fchmod.c: Likewise.
71567         * io/fchmodat.c: Likewise.
71568         * io/fchown.c: Likewise.
71569         * io/fchownat.c: Likewise.
71570         * io/fcntl.c: Likewise.
71571         * io/flock.c: Likewise.
71572         * io/fstatfs.c: Likewise.
71573         * io/fstatfs64.c: Likewise.
71574         * io/fstatvfs.c: Likewise.
71575         * io/fstatvfs64.c: Likewise.
71576         * io/futimens.c: Likewise.
71577         * io/fxstat.c: Likewise.
71578         * io/fxstat64.c: Likewise.
71579         * io/fxstatat.c: Likewise.
71580         * io/fxstatat64.c: Likewise.
71581         * io/getcwd.c: Likewise.
71582         * io/isatty.c: Likewise.
71583         * io/lchmod.c: Likewise.
71584         * io/lchown.c: Likewise.
71585         * io/link.c: Likewise.
71586         * io/linkat.c: Likewise.
71587         * io/lseek.c: Likewise.
71588         * io/lseek64.c: Likewise.
71589         * io/lxstat64.c: Likewise.
71590         * io/mkdir.c: Likewise.
71591         * io/mkdirat.c: Likewise.
71592         * io/mkfifo.c: Likewise.
71593         * io/mkfifoat.c: Likewise.
71594         * io/open.c: Likewise.
71595         * io/open64.c: Likewise.
71596         * io/openat.c: Likewise.
71597         * io/openat64.c: Likewise.
71598         * io/pipe.c: Likewise.
71599         * io/pipe2.c: Likewise.
71600         * io/poll.c: Likewise.
71601         * io/posix_fadvise.c: Likewise.
71602         * io/posix_fadvise64.c: Likewise.
71603         * io/posix_fallocate.c: Likewise.
71604         * io/posix_fallocate64.c: Likewise.
71605         * io/read.c: Likewise.
71606         * io/readlink.c: Likewise.
71607         * io/readlinkat.c: Likewise.
71608         * io/rmdir.c: Likewise.
71609         * io/sendfile.c: Likewise.
71610         * io/sendfile64.c: Likewise.
71611         * io/statfs.c: Likewise.
71612         * io/statfs64.c: Likewise.
71613         * io/statvfs.c: Likewise.
71614         * io/statvfs64.c: Likewise.
71615         * io/symlink.c: Likewise.
71616         * io/symlinkat.c: Likewise.
71617         * io/ttyname.c: Likewise.
71618         * io/ttyname_r.c: Likewise.
71619         * io/umask.c: Likewise.
71620         * io/unlink.c: Likewise.
71621         * io/unlinkat.c: Likewise.
71622         * io/utime.c: Likewise.
71623         * io/utimensat.c: Likewise.
71624         * io/write.c: Likewise.
71625         * io/xmknod.c: Likewise.
71626         * io/xmknodat.c: Likewise.
71627         * io/xstat.c: Likewise.
71628         * io/xstat64.c: Likewise.
71629         * login/getpt.c: Likewise.
71630         * login/grantpt.c: Likewise.
71631         * login/unlockpt.c: Likewise.
71632         * math/e_acoshl.c: Likewise.
71633         * math/e_acosl.c: Likewise.
71634         * math/e_asinl.c: Likewise.
71635         * math/e_atan2l.c: Likewise.
71636         * math/e_atanhl.c: Likewise.
71637         * math/e_coshl.c: Likewise.
71638         * math/e_expl.c: Likewise.
71639         * math/e_fmodl.c: Likewise.
71640         * math/e_gammal_r.c: Likewise.
71641         * math/e_hypotl.c: Likewise.
71642         * math/e_j0l.c: Likewise.
71643         * math/e_j1l.c: Likewise.
71644         * math/e_jnl.c: Likewise.
71645         * math/e_lgammal_r.c: Likewise.
71646         * math/e_log10l.c: Likewise.
71647         * math/e_log2l.c: Likewise.
71648         * math/e_logl.c: Likewise.
71649         * math/e_powl.c: Likewise.
71650         * math/e_rem_pio2l.c: Likewise.
71651         * math/e_sinhl.c: Likewise.
71652         * math/e_sqrtl.c: Likewise.
71653         * math/fclrexcpt.c: Likewise.
71654         * math/fedisblxcpt.c: Likewise.
71655         * math/feenablxcpt.c: Likewise.
71656         * math/fegetenv.c: Likewise.
71657         * math/fegetexcept.c: Likewise.
71658         * math/fegetround.c: Likewise.
71659         * math/feholdexcpt.c: Likewise.
71660         * math/fesetenv.c: Likewise.
71661         * math/fesetround.c: Likewise.
71662         * math/feupdateenv.c: Likewise.
71663         * math/fgetexcptflg.c: Likewise.
71664         * math/fraiseexcpt.c: Likewise.
71665         * math/fsetexcptflg.c: Likewise.
71666         * math/ftestexcept.c: Likewise.
71667         * math/k_cosl.c: Likewise.
71668         * math/k_rem_pio2l.c: Likewise.
71669         * math/k_sinl.c: Likewise.
71670         * math/k_tanl.c: Likewise.
71671         * math/s_asinhl.c: Likewise.
71672         * math/s_atanl.c: Likewise.
71673         * math/s_cbrtl.c: Likewise.
71674         * math/s_erfl.c: Likewise.
71675         * math/s_expm1l.c: Likewise.
71676         * math/s_log1pl.c: Likewise.
71677         * math/s_tanhl.c: Likewise.
71678         * misc/acct.c: Likewise.
71679         * misc/brk.c: Likewise.
71680         * misc/chflags.c: Likewise.
71681         * misc/chroot.c: Likewise.
71682         * misc/fchflags.c: Likewise.
71683         * misc/fgetxattr.c: Likewise.
71684         * misc/flistxattr.c: Likewise.
71685         * misc/fremovexattr.c: Likewise.
71686         * misc/fsetxattr.c: Likewise.
71687         * misc/fsync.c: Likewise.
71688         * misc/ftruncate.c: Likewise.
71689         * misc/futimes.c: Likewise.
71690         * misc/futimesat.c: Likewise.
71691         * misc/getdomain.c: Likewise.
71692         * misc/getdtsz.c: Likewise.
71693         * misc/gethostid.c: Likewise.
71694         * misc/gethostname.c: Likewise.
71695         * misc/getloadavg.c: Likewise.
71696         * misc/getpagesize.c: Likewise.
71697         * misc/getsysstats.c: Likewise.
71698         * misc/getxattr.c: Likewise.
71699         * misc/gtty.c: Likewise.
71700         * misc/ioctl.c: Likewise.
71701         * misc/lgetxattr.c: Likewise.
71702         * misc/listxattr.c: Likewise.
71703         * misc/llistxattr.c: Likewise.
71704         * misc/lremovexattr.c: Likewise.
71705         * misc/lsetxattr.c: Likewise.
71706         * misc/lutimes.c: Likewise.
71707         * misc/madvise.c: Likewise.
71708         * misc/mincore.c: Likewise.
71709         * misc/mlock.c: Likewise.
71710         * misc/mlockall.c: Likewise.
71711         * misc/mmap.c: Likewise.
71712         * misc/mprotect.c: Likewise.
71713         * misc/msync.c: Likewise.
71714         * misc/munlock.c: Likewise.
71715         * misc/munlockall.c: Likewise.
71716         * misc/munmap.c: Likewise.
71717         * misc/preadv.c: Likewise.
71718         * misc/preadv64.c: Likewise.
71719         * misc/ptrace.c: Likewise.
71720         * misc/pwritev.c: Likewise.
71721         * misc/pwritev64.c: Likewise.
71722         * misc/readv.c: Likewise.
71723         * misc/reboot.c: Likewise.
71724         * misc/remap_file_pages.c: Likewise.
71725         * misc/removexattr.c: Likewise.
71726         * misc/revoke.c: Likewise.
71727         * misc/select.c: Likewise.
71728         * misc/setdomain.c: Likewise.
71729         * misc/setegid.c: Likewise.
71730         * misc/seteuid.c: Likewise.
71731         * misc/sethostid.c: Likewise.
71732         * misc/sethostname.c: Likewise.
71733         * misc/setregid.c: Likewise.
71734         * misc/setreuid.c: Likewise.
71735         * misc/setxattr.c: Likewise.
71736         * misc/sstk.c: Likewise.
71737         * misc/stty.c: Likewise.
71738         * misc/swapoff.c: Likewise.
71739         * misc/swapon.c: Likewise.
71740         * misc/sync.c: Likewise.
71741         * misc/syncfs.c: Likewise.
71742         * misc/syscall.c: Likewise.
71743         * misc/truncate.c: Likewise.
71744         * misc/ualarm.c: Likewise.
71745         * misc/usleep.c: Likewise.
71746         * misc/ustat.c: Likewise.
71747         * misc/utimes.c: Likewise.
71748         * misc/vhangup.c: Likewise.
71749         * misc/writev.c: Likewise.
71750         * posix/_exit.c: Likewise.
71751         * posix/alarm.c: Likewise.
71752         * posix/execve.c: Likewise.
71753         * posix/fexecve.c: Likewise.
71754         * posix/fork.c: Likewise.
71755         * posix/fpathconf.c: Likewise.
71756         * posix/getaddrinfo.c: Likewise.
71757         * posix/getegid.c: Likewise.
71758         * posix/geteuid.c: Likewise.
71759         * posix/getgid.c: Likewise.
71760         * posix/getgroups.c: Likewise.
71761         * posix/getlogin.c: Likewise.
71762         * posix/getlogin_r.c: Likewise.
71763         * posix/getpgid.c: Likewise.
71764         * posix/getpid.c: Likewise.
71765         * posix/getppid.c: Likewise.
71766         * posix/getresgid.c: Likewise.
71767         * posix/getresuid.c: Likewise.
71768         * posix/getsid.c: Likewise.
71769         * posix/getuid.c: Likewise.
71770         * posix/glob64.c: Likewise.
71771         * posix/nanosleep.c: Likewise.
71772         * posix/pathconf.c: Likewise.
71773         * posix/pause.c: Likewise.
71774         * posix/posix_madvise.c: Likewise.
71775         * posix/pread.c: Likewise.
71776         * posix/pread64.c: Likewise.
71777         * posix/pwrite.c: Likewise.
71778         * posix/pwrite64.c: Likewise.
71779         * posix/sched_getaffinity.c: Likewise.
71780         * posix/sched_getp.c: Likewise.
71781         * posix/sched_gets.c: Likewise.
71782         * posix/sched_primax.c: Likewise.
71783         * posix/sched_primin.c: Likewise.
71784         * posix/sched_rr_gi.c: Likewise.
71785         * posix/sched_setaffinity.c: Likewise.
71786         * posix/sched_setp.c: Likewise.
71787         * posix/sched_sets.c: Likewise.
71788         * posix/sched_yield.c: Likewise.
71789         * posix/setgid.c: Likewise.
71790         * posix/setlogin.c: Likewise.
71791         * posix/setpgid.c: Likewise.
71792         * posix/setresgid.c: Likewise.
71793         * posix/setresuid.c: Likewise.
71794         * posix/setsid.c: Likewise.
71795         * posix/setuid.c: Likewise.
71796         * posix/sleep.c: Likewise.
71797         * posix/spawni.c: Likewise.
71798         * posix/sysconf.c: Likewise.
71799         * posix/times.c: Likewise.
71800         * posix/wait.c: Likewise.
71801         * posix/wait3.c: Likewise.
71802         * posix/wait4.c: Likewise.
71803         * posix/waitpid.c: Likewise.
71804         * resolv/gai_sigqueue.c: Likewise.
71805         * resource/getpriority.c: Likewise.
71806         * resource/getrlimit.c: Likewise.
71807         * resource/getrusage.c: Likewise.
71808         * resource/nice.c: Likewise.
71809         * resource/setpriority.c: Likewise.
71810         * resource/setrlimit.c: Likewise.
71811         * resource/ulimit.c: Likewise.
71812         * rt/aio_cancel.c: Likewise.
71813         * rt/aio_fsync.c: Likewise.
71814         * rt/aio_read.c: Likewise.
71815         * rt/aio_sigqueue.c: Likewise.
71816         * rt/aio_suspend.c: Likewise.
71817         * rt/aio_write.c: Likewise.
71818         * rt/clock_getres.c: Likewise.
71819         * rt/clock_gettime.c: Likewise.
71820         * rt/clock_nanosleep.c: Likewise.
71821         * rt/clock_settime.c: Likewise.
71822         * rt/lio_listio.c: Likewise.
71823         * rt/mq_close.c: Likewise.
71824         * rt/mq_getattr.c: Likewise.
71825         * rt/mq_notify.c: Likewise.
71826         * rt/mq_open.c: Likewise.
71827         * rt/mq_receive.c: Likewise.
71828         * rt/mq_send.c: Likewise.
71829         * rt/mq_setattr.c: Likewise.
71830         * rt/mq_timedreceive.c: Likewise.
71831         * rt/mq_timedsend.c: Likewise.
71832         * rt/mq_unlink.c: Likewise.
71833         * rt/shm_open.c: Likewise.
71834         * rt/shm_unlink.c: Likewise.
71835         * rt/timer_create.c: Likewise.
71836         * rt/timer_delete.c: Likewise.
71837         * rt/timer_getoverr.c: Likewise.
71838         * rt/timer_gettime.c: Likewise.
71839         * rt/timer_settime.c: Likewise.
71840         * setjmp/__longjmp.c: Likewise.
71841         * setjmp/setjmp.c: Likewise.
71842         * signal/kill.c: Likewise.
71843         * signal/killpg.c: Likewise.
71844         * signal/raise.c: Likewise.
71845         * signal/sigaction.c: Likewise.
71846         * signal/sigaltstack.c: Likewise.
71847         * signal/sigblock.c: Likewise.
71848         * signal/sigignore.c: Likewise.
71849         * signal/sigintr.c: Likewise.
71850         * signal/signal.c: Likewise.
71851         * signal/sigpause.c: Likewise.
71852         * signal/sigpending.c: Likewise.
71853         * signal/sigqueue.c: Likewise.
71854         * signal/sigreturn.c: Likewise.
71855         * signal/sigset.c: Likewise.
71856         * signal/sigsetmask.c: Likewise.
71857         * signal/sigstack.c: Likewise.
71858         * signal/sigsuspend.c: Likewise.
71859         * signal/sigtimedwait.c: Likewise.
71860         * signal/sigvec.c: Likewise.
71861         * signal/sigwait.c: Likewise.
71862         * signal/sigwaitinfo.c: Likewise.
71863         * signal/sysv_signal.c: Likewise.
71864         * socket/accept.c: Likewise.
71865         * socket/accept4.c: Likewise.
71866         * socket/bind.c: Likewise.
71867         * socket/connect.c: Likewise.
71868         * socket/getpeername.c: Likewise.
71869         * socket/getsockname.c: Likewise.
71870         * socket/getsockopt.c: Likewise.
71871         * socket/isfdtype.c: Likewise.
71872         * socket/listen.c: Likewise.
71873         * socket/recv.c: Likewise.
71874         * socket/recvfrom.c: Likewise.
71875         * socket/recvmsg.c: Likewise.
71876         * socket/send.c: Likewise.
71877         * socket/sendmsg.c: Likewise.
71878         * socket/sendto.c: Likewise.
71879         * socket/setsockopt.c: Likewise.
71880         * socket/shutdown.c: Likewise.
71881         * socket/sockatmark.c: Likewise.
71882         * socket/socket.c: Likewise.
71883         * socket/socketpair.c: Likewise.
71884         * stdio-common/ctermid.c: Likewise.
71885         * stdio-common/cuserid.c: Likewise.
71886         * stdio-common/remove.c: Likewise.
71887         * stdio-common/rename.c: Likewise.
71888         * stdio-common/renameat.c: Likewise.
71889         * stdio-common/tempname.c: Likewise.
71890         * stdlib/getcontext.c: Likewise.
71891         * stdlib/makecontext.c: Likewise.
71892         * stdlib/setcontext.c: Likewise.
71893         * stdlib/swapcontext.c: Likewise.
71894         * stdlib/system.c: Likewise.
71895         * streams/fattach.c: Likewise.
71896         * streams/fdetach.c: Likewise.
71897         * streams/getmsg.c: Likewise.
71898         * streams/getpmsg.c: Likewise.
71899         * streams/putmsg.c: Likewise.
71900         * streams/putpmsg.c: Likewise.
71901         * sysdeps/unix/bsd/getpt.c: Likewise.
71902         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
71903         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
71904         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
71905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71906         Likewise.
71907         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
71908         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71909         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
71910         * sysvipc/msgctl.c: Likewise.
71911         * sysvipc/msgget.c: Likewise.
71912         * sysvipc/msgrcv.c: Likewise.
71913         * sysvipc/msgsnd.c: Likewise.
71914         * sysvipc/semctl.c: Likewise.
71915         * sysvipc/semget.c: Likewise.
71916         * sysvipc/semop.c: Likewise.
71917         * sysvipc/semtimedop.c: Likewise.
71918         * sysvipc/shmat.c: Likewise.
71919         * sysvipc/shmctl.c: Likewise.
71920         * sysvipc/shmdt.c: Likewise.
71921         * sysvipc/shmget.c: Likewise.
71922         * termios/tcdrain.c: Likewise.
71923         * termios/tcflow.c: Likewise.
71924         * termios/tcflush.c: Likewise.
71925         * termios/tcgetattr.c: Likewise.
71926         * termios/tcgetpgrp.c: Likewise.
71927         * termios/tcsendbrk.c: Likewise.
71928         * termios/tcsetattr.c: Likewise.
71929         * termios/tcsetpgrp.c: Likewise.
71930         * time/adjtime.c: Likewise.
71931         * time/clock.c: Likewise.
71932         * time/getitimer.c: Likewise.
71933         * time/gettimeofday.c: Likewise.
71934         * time/setitimer.c: Likewise.
71935         * time/settimeofday.c: Likewise.
71936         * time/stime.c: Likewise.
71937         * time/time.c: Likewise.
71939 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
71941         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71942         /usr/old/bin.
71944         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71945         instead of spaces.
71946         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71948 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
71950         [BZ #14796]
71951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71952         FE_TONEAREST before applying Dekker multiplication and Knuth
71953         addition.  Clear inexact exceptions and check for exact zero
71954         results afterwards.
71955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71956         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71957         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71958         * math/libm-test.inc (fma_test): Add more tests.
71959         (fma_test_towardzero): Likewise.
71960         (fma_test_downward): Likewise.
71961         (fma_test_upward): Likewise.
71962         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71963         function.
71964         (libc_fesetround): New macro.
71965         (libc_fesetroundf): Likewise.
71966         (libc_fesetroundl): Likewise.
71967         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71968         function.
71969         (libc_fesetround_387): Likewise.
71970         (libc_fesetroundf): New macro.
71971         (libc_fesetround): Likewise.
71972         (libc_fesetroundl): Likewise.
71973         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71974         function.
71975         (libc_fesetroundf): New macro.
71976         (libc_fesetround): Likewise.
71977         (libc_fesetroundl): Likewise.
71978         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71979         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71980         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71981         libm_hidden_ver.
71982         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71983         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71984         libm_hidden_def.
71985         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71986         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71987         libm_hidden_ver.
71988         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71989         libm_hidden_def.
71991         [BZ #3439]
71992         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71993         integer constant usable in #if and use that to give value to enum
71994         constant.
71995         (FE_DIVBYZERO): Likewise.
71996         (FE_UNDERFLOW): Likewise.
71997         (FE_OVERFLOW): Likewise.
71998         (FE_INVALID): Likewise.
71999         (FE_INVALID_SNAN): Likewise.
72000         (FE_INVALID_ISI): Likewise.
72001         (FE_INVALID_IDI): Likewise.
72002         (FE_INVALID_ZDZ): Likewise.
72003         (FE_INVALID_IMZ): Likewise.
72004         (FE_INVALID_COMPARE): Likewise.
72005         (FE_INVALID_SOFTWARE): Likewise.
72006         (FE_INVALID_SQRT): Likewise.
72007         (FE_INVALID_INTEGER_CONVERSION): Likewise.
72008         (FE_TONEAREST): Likewise.
72009         (FE_TOWARDZERO): Likewise.
72010         (FE_UPWARD): Likewise.
72011         (FE_DOWNWARD): Likewise.
72012         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
72013         (FE_DIVBYZERO): Likewise.
72014         (FE_OVERFLOW): Likewise.
72015         (FE_UNDERFLOW): Likewise.
72016         (FE_INEXACT): Likewise.
72017         (FE_TONEAREST): Likewise.
72018         (FE_DOWNWARD): Likewise.
72019         (FE_UPWARD): Likewise.
72020         (FE_TOWARDZERO): Likewise.
72021         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
72022         (FE_UNDERFLOW): Likewise.
72023         (FE_OVERFLOW): Likewise.
72024         (FE_DIVBYZERO): Likewise.
72025         (FE_INVALID): Likewise.
72026         (FE_TONEAREST): Likewise.
72027         (FE_TOWARDZERO): Likewise.
72028         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
72029         (FE_OVERFLOW): Likewise.
72030         (FE_UNDERFLOW): Likewise.
72031         (FE_DIVBYZERO): Likewise.
72032         (FE_INEXACT): Likewise.
72033         (FE_TONEAREST): Likewise.
72034         (FE_TOWARDZERO): Likewise.
72035         (FE_UPWARD): Likewise.
72036         (FE_DOWNWARD): Likewise.
72037         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
72038         (FE_DIVBYZERO): Likewise.
72039         (FE_OVERFLOW): Likewise.
72040         (FE_UNDERFLOW): Likewise.
72041         (FE_INEXACT): Likewise.
72042         (FE_TONEAREST): Likewise.
72043         (FE_DOWNWARD): Likewise.
72044         (FE_UPWARD): Likewise.
72045         (FE_TOWARDZERO): Likewise.
72047 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
72049         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
72051 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
72053         * scripts/cross-test-ssh.sh (command): Use newlines to separate
72054         commands.  Quote $PWD.
72055         (blacklist_exports): Don't use remove_newlines.  Replace "declare
72056         -x" by "export".
72057         (remove_newlines): Remove.
72059 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
72061         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
72062         * stdlib/stdlib.h (atof): Moved to ...
72063         * include/bits/stdlib-float.h: Here.  New file.
72064         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
72065         * stdlib/bits/stdlib-float.h: New file.
72066         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
72067         -mno-sse -mno-mmx.
72068         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
72069         <xmmintrin.h>.
72071 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72073         * conform/conformtest.pl (@headers): Add fenv.h.
72074         * conform/data/fenv.h-data: New file.
72075         * include/fenv.h [_ISOMAC]: Disable all contents of file except
72076         include of <math/fenv.h>.
72078         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
72079         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
72080         && !UNIX98].  Enables tests for XOPEN2K8.
72081         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
72082         POSIX2008]: Likewise.
72084         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
72085         (struct rusage): Do not expect type or its members.
72087         [BZ #3439]
72088         * math/math.h (FP_NAN): Define macro to integer constant usable in
72089         #if and use that to give value to enum constant.
72090         (FP_INFINITE): Likewise.
72091         (FP_ZERO): Likewise.
72092         (FP_SUBNORMAL): Likewise.
72093         (FP_NORMAL): Likewise.
72095 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
72097         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
72098         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
72099         arguments.
72101 2012-11-02  Roland McGrath  <roland@hack.frob.com>
72103         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
72104         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
72105         autoconf-time if not.
72106         * configure.in: Remove AC_PREREQ.
72108 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72110         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
72111         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
72112         of the internal implementation.
72114 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72116         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
72117         except include of <misc/sys/syslog.h>.
72119 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72122         function returns with a NULL context exit with zero.
72124 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72126         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
72128 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
72130         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
72131         (run_program_cmd): This.
72132         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
72133         (tst_langinfo): New variable.  Use it.
72135 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
72137         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
72138         floating point opcodes.
72140 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72142         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
72143         variable.
72145         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
72147         * sysdeps/mach/hurd/powerpc: Remove directory.
72148         * sysdeps/mach/powerpc: Likewise.
72150 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72152         * scripts/check-local-headers.sh: Ignore c++ headers.
72154 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72156         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
72157         __libc_cleanup_region_start argument.
72159 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
72161         [BZ #14784]
72162         [BZ #14785]
72163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
72164         x * y using scaling, not as x * y + z.
72165         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72166         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72167         * math/libm-test.inc (fma_test): Add more tests.
72168         (fma_test_towardzero): Likewise.
72169         (fma_test_downward): Likewise.
72170         (fma_test_upward): Likewise.
72172 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72174         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72176 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72178         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72179         New variable.
72181 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
72183         * rt/tst-shm.c (worker): Correct checking for mmap failure.
72185 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72188         Fix sort order.
72189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72190         Likewise.
72192 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72195         Fix the order of the list for glibc 2.17.
72196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72197         Likewise.
72199 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72203 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72205         [BZ #14610]
72206         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
72207         for low part of x being zero before using __atanl (y).
72208         * math/libm-test.inc (atan2_test): Add another test.
72210         * manual/install.texi (Configuring and compiling): Document
72211         general use of test-wrapper and test-wrapper-env.
72212         * INSTALL: Regenerated.
72214         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
72215         (__fma): Do not extract and scale down low bits on after-rounding
72216         systems when result rounded to normal precision would have normal
72217         exponent.
72218         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
72219         (__fmal): Do not extract and scale down low bits on after-rounding
72220         systems when result rounded to normal precision would have normal
72221         exponent.
72222         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
72223         (__fmal): Do not extract and scale down low bits on after-rounding
72224         systems when result rounded to normal precision would have normal
72225         exponent.
72226         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
72227         macro.
72228         (fma_test): Add more tests.
72229         (fma_test_towardzero): Likewise.
72230         (fma_test_downward): Likewise.
72231         (fma_test_upward): Likewise.
72233 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
72235         * sysdeps/i386/tininess.h: Renamed to ...
72236         * sysdeps/x86/tininess.h: This.
72237         * sysdeps/x86_64/tininess.h: Removed.
72239 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72241         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
72242         input.  Use $(build-program-cmd).
72243         ($(objpfx)tst-array1-static.out): Likewise.
72244         ($(objpfx)tst-array2.out): Likewise.
72245         ($(objpfx)tst-array3.out): Likewise.
72246         ($(objpfx)tst-array4.out): Likewise.
72247         ($(objpfx)tst-array5.out): Likewise.
72248         ($(objpfx)tst-array5-static.out): Likewise.
72250 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
72252         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
72253         if defined.
72255         * nss/nsswitch.h (nss_interface_function): Provide new
72256         macro for use with NSS functions.
72257         * grp/initgroups.c: Use new macro.
72258         * nss/getXXbyYY.c: Likewise.
72259         * nss/getXXbyYY_r.c: Likewise.
72260         * nss/getXXent.c: Likewise.
72261         * nss/getXXent_r.c: Likewise.
72262         * sysdeps/posix/getaddrinfo.c: Likewise.
72264 2012-10-30  Andreas Jaeger  <aj@suse.de>
72266         * po/ru.po: Update Russion translation from translation project.
72268 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72270         [BZ #14152]
72271         [BZ #14783]
72272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
72273         result and shift together with sticky bit instead of replicating
72274         round-to-nearest rounding.
72275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72276         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72277         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
72278         missing underflow exceptions.
72279         (fma_test_towardzero): Add more tests.
72280         (fma_test_downward): Likewise.
72281         (fma_test_upward): Likewise.
72283         [BZ #14047]
72284         * sysdeps/generic/tininess.h: New file.
72285         * sysdeps/i386/tininess.h: Likewise.
72286         * sysdeps/sh/tininess.h: Likewise.
72287         * sysdeps/x86_64/tininess.h: Likewise.
72288         * stdlib/tst-strtod-underflow.c: Likewise.
72289         * stdlib/tst-tininess.c: Likewise.
72290         * stdlib/strtod_l.c: Include <tininess.h>.
72291         (round_and_return): Do not set errno for exact underflow cases.
72292         Force an underflow exception when setting errno for underflow.
72293         Determine underflow based on rounding to normal precision if
72294         TININESS_AFTER_ROUNDING.
72295         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72296         ERANGE for exact underflow cases.
72297         * stdlib/Makefile (tests): Add tst-tininess and
72298         tst-strtod-underflow.
72299         ($(objpfx)tst-tininess): Use $(link-libm).
72300         ($(objpfx)tst-strtod-underflow): Likewise.
72302 2012-10-30  Andreas Jaeger  <aj@suse.de>
72304         [BZ #14767]
72305         * elf/Makefile (tests): Remove conditional for have-initfini-array
72306         since this is now always required and the variable does not exist
72307         anymore.
72308         (tests-static): Likewise.
72309         (modules-names): Likewise.
72311         * po/eo.po: Add Esperanto translation from translation project.
72313         * elf/tst-array1.c (fini_array): Make writeable so that it can be
72314         merged with constructor/destructor.
72315         (init_array): Likewise.
72316         * elf/tst-array2dep.c (fini_array): Likewise.
72317         (init_array): Likewise.
72319 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
72321         * manual/message.texi: Delete @cartouche tags.
72323 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
72325         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72326         EOPNOTSUPP.
72327         * sysdeps/mach/hurd/fsync.c: Likewise.
72329         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72330         [_POSIX_REALTIME_SIGNALS]: Change condition to
72331         [_POSIX_REALTIME_SIGNALS > 0].
72333 2012-10-27  Andreas Jaeger  <aj@suse.de>
72335         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72336         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72337         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72338         [__WORDSIZE != 64]: Likewise.
72340 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72342         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72343         *  iconvdata/tst-tables.sh: Likewise.
72345 2012-10-25  David S. Miller  <davem@davemloft.net>
72347         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72348         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72349         of strtoull.
72351         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72352         ifunc-impl-list.c
72353         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72354         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72355         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72356         file.
72358 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72360         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72361         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72362         __getdirentries.
72364 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72365             Jim Blandy  <jimb@codesourcery.com>
72367         * scripts/cross-test-ssh.sh: New file.
72368         * manual/install.texi (Configuring and compiling): Document use of
72369         cross-test-ssh.sh.
72370         * INSTALL: Regenerated.
72372 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72374         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72375         EOPNOTSUPP.
72377 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72379         * Makeconfig (run-program-prefix): Fix comment.
72381 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72382             Jim Blandy  <jimb@codesourcery.com>
72384         * Makeconfig (test-wrapper): New variable,
72385         (test-wrapper-env): Likewise.
72386         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72387         (run-built-tests): Define to yes.
72388         (run-program-prefix): Use $(test-wrapper).
72389         (built-program-cmd): Likewise.
72390         * Rules (make-test-out): Use $(test-wrapper-env) and
72391         $(host-built-program-cmd).
72392         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72393         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72394         tst-pathopt.sh.
72395         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72396         $(test-wrapper-env) to tst-rtld-load-self.sh.
72397         ($(objpfx)order2.out): Use $(test-wrapper).
72398         ($(objpfx)tst-initorder.out): Likewise.
72399         ($(objpfx)tst-initorder2.out): Likewise.
72400         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72401         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72402         (test_wrapper_env): New variable.  Use it to run ld.so.
72403         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72404         Use it to run ld.so.
72405         (test_wrapper_env): Likewise.
72406         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72407         $(test-wrapper) to run-iconv-test.sh.
72408         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72409         (ICONV): Use $test_wrapper.
72410         * posix/Makefile ($(objpfx)globtest.out): Pass
72411         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72412         globtest.sh, not $(run-program-prefix).
72413         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72414         (test_wrapper): Likewise.
72415         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72416         set together with run_via_rtld_prefix.
72417         (run_program_prefix): Define in terms of test_wrapper and
72418         run_via_rtld_prefix.
72420 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72422         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72423         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72424         Targets removed.
72426         [BZ #14743]
72427         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72428         Declare __clock_getres, __clock_gettime, __clock_settime,
72429         __clock_nanosleep, and __clock_getcpuclockid.
72430         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72431         Remove librt_hidden_def (clock_gettime).
72432         * sysdeps/unix/clock_gettime.c: Likewise.
72433         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72434         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72435         * rt/clock_getres.c: Define __clock_getres as an alias.
72436         * sysdeps/posix/clock_getres.c: Likewise.
72437         * rt/clock_settime.c: Define __clock_settime as an alias.
72438         * sysdeps/unix/clock_settime.c: Likewise.
72439         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72440         * sysdeps/unix/clock_nanosleep.c: Likewise.
72441         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72442         * rt/clock-compat.c: New file.
72443         * rt/Makefile (librt-routines): Add clock-compat and move
72444         $(clock-routines) to ...
72445         (routines): ... here, new variable.
72446         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72447         Don't add get_clockfreq here.
72448         * rt/Versions (libc: GLIBC_2.17): New version set.
72449         Add clock_* symbols here.
72450         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72451         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72452         (GLIBC_2.17): Add clock_* symbols.
72453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72455         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72457         Likewise.
72458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72459         Likewise.
72460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72464         * NEWS: Mention the move.
72466         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72467         Use __open, __read, __close rather than their public counterparts.
72468         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72469         (__get_clockfreq_via_cpuinfo): Likewise.
72470         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72471         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72473         * config.h.in (HAVE_IFUNC): New #undef.
72474         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72475         was successful.
72476         * configure: Regenerated.
72478 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72480         * configure.in: Move READELF check to start of file.
72481         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72482         libc_cv_asm_gnu_indirect_function in the process.
72483         * configure: Regenerated.
72485 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72487         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72488         send the output to /dev/null.
72489         (libc_cv_cc_with_libunwind): Likewise.
72490         (libc_cv_as_noexecstack): Likewise.
72491         * configure: Regenerate.
72493 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72495         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72497         * posix/globtest.sh (TMPDIR): Do not set.
72498         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72499         (testout): Likewise.
72501 2012-10-24  Andreas Jaeger  <aj@suse.de>
72503         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72504         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72505         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72506         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72507         posix_fadvise64, posix_fallocate64.
72509         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72510         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72511         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72512         Likewise.
72513         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72514         Likewise.
72515         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72518         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72519         <bits/fcntl-linux.h>.
72520         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72522         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72523         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72524         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72525         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72526         [__WORDSIZE != 64]: Likewise.
72528 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72530         * Makeconfig (run-built-tests): New variable.
72531         * Rules [$(cross-compiling) = yes]: Change condition to
72532         [$(run-built-tests) = no].
72533         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72534         to [$(run-built-tests) = yes].
72535         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72536         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72537         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72538         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72539         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72540         * io/Makefile [$(cross-compiling) = no]: Likewise.
72541         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72542         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72543         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72544         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72545         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72546         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72547         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72548         * string/Makefile [$(cross-compiling) = no]: Likewise.
72550         * posix/Makefile ($(objpfx)globtest.out): Pass
72551         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72552         $(rtld-installed-name).
72553         * posix/globtest.sh (elf_objpfx): Remove variable.
72554         (rtld_installed_name): Likewise.
72555         (library_path): Likewise.
72556         (run_program_prefix): New variable.  Use for running globtest
72557         binary.
72559 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72560             Joseph Myers  <joseph@codesourcery.com>
72562         * Makeconfig (host-built-program-cmd): New variable.
72563         * elf/Makefile (tst-stackguard1-ARGS): Use
72564         $(host-built-program-cmd).
72565         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72566         (tst-spawn-ARGS): Likewise.
72567         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72569 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72570             Jim Blandy  <jimb@codesourcery.com>
72572         * Makeconfig (run-via-rtld-prefix): New variable.
72573         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72574         (built-program-cmd): Likewise.
72576 2012-10-22  Andreas Jaeger  <aj@suse.de>
72578         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72579         __O_RSYNC if it exists, otherwise to O_SYNC.
72581 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72582             Joseph Myers  <joseph@codesourcery.com>
72584         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72585         /dev/null.
72586         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72587         from /dev/null
72588         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72589         /dev/null.
72591 2012-10-22  Andreas Jaeger  <aj@suse.de>
72593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72594         Define always.
72595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72598         bits/fcntl-linux.h.
72600         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72601         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72603         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72604         to __O_LARGEFILE.
72605         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72606         to __O_LARGEFILE.
72608 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72609             Joseph Myers  <joseph@codesourcery.com>
72611         * config.make.in (NM): New variable.
72613 2012-10-21  Andreas Jaeger  <aj@suse.de>
72615         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72616         definitions and declarations that are provided by
72617         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72619 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72621         [BZ #14683]
72622         * elf/Makefile (tests-static): Add tst-leaks1-static.
72623         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72624         ($(objpfx)tst-leaks1-static): New rule.
72625         ($(objpfx)tst-leaks1-static-mem): Likewise.
72626         (tst-leaks1-static-ENV): New macro.
72627         * elf/dl-open.c (dl_open_worker): Check the main application
72628         only if SHARED is defined.
72629         * elf/tst-leaks1-static.c: New file.
72631 2012-10-20  Andreas Jaeger  <aj@suse.de>
72633         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72634         generic values for Linux.
72635         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72636         and declarations that are provided by <bits/fcntl-linux.h> and
72637         include <bits/fcntl-linux.h>.
72638         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72641 2012-10-20  Roland McGrath  <roland@hack.frob.com>
72643         * io/fcntl.h: Move include of <bits/types.h> to the top and
72644         include it unconditionally.
72646 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72648         * wcsmbs/Makefile (tests-ifunc): New variable.
72649         (tests): Add $(tests-ifunc).
72650         * wcsmbs/test-wcschr-ifunc.c: New file.
72651         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72652         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72653         * wcsmbs/test-wcslen-ifunc.c: Likewise.
72654         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72655         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72657         * string/Makefile (tests-ifunc): New variable.
72658         (tests): Add $(tests-ifunc).
72659         * string/test-memccpy.c (TEST_NAME): New macro.
72660         * string/test-memchr.c (TEST_NAME): Likewise.
72661         * string/test-memcmp.c (TEST_NAME): Likewise.
72662         * string/test-memcpy.c (TEST_NAME): Likewise.
72663         * string/test-memmem.c (TEST_NAME): Likewise.
72664         * string/test-memmove.c (TEST_NAME): Likewise.
72665         * string/test-memset.c (TEST_NAME): Likewise.
72666         * string/test-rawmemchr.c (TEST_NAME): Likewise.
72667         * string/test-stpcpy.c (TEST_NAME): Likewise.
72668         * string/test-stpncpy.c (TEST_NAME): Likewise.
72669         * string/test-strcasecmp.c (TEST_NAME): Likewise.
72670         * string/test-strcasestr.c (TEST_NAME): Likewise.
72671         * string/test-strcat.c (TEST_NAME): Likewise.
72672         * string/test-strchr.c (TEST_NAME): Likewise.
72673         * string/test-strcmp.c(TEST_NAME): Likewise.
72674         * string/test-strcpy.c (TEST_NAME): Likewise.
72675         * string/test-strcspn.c (TEST_NAME): Likewise.
72676         * string/test-strlen.c (TEST_NAME): Likewise.
72677         * string/test-strncasecmp.c (TEST_NAME): Likewise.
72678         * string/test-strncmp.c (TEST_NAME): Likewise.
72679         * string/test-strncpy.c (TEST_NAME): Likewise.
72680         * string/test-strnlen.c (TEST_NAME): Likewise.
72681         * string/test-strpbrk.c (TEST_NAME): Likewise.
72682         * string/test-strrchr.c (TEST_NAME): Likewise.
72683         * string/test-strspn.c (TEST_NAME): Likewise.
72684         * string/test-strstr.c (TEST_NAME): Likewise.
72685         * string/test-bcopy-ifunc.c: New file.
72686         * string/test-bzero-ifunc.c: Likewise.
72687         * string/test-memccpy-ifunc.c: Likewise.
72688         * string/test-memchr-ifunc.c: Likewise.
72689         * string/test-memcmp-ifunc.c: Likewise.
72690         * string/test-memcpy-ifunc.c: Likewise.
72691         * string/test-memmem-ifunc.c: Likewise.
72692         * string/test-memmove-ifunc.c: Likewise.
72693         * string/test-mempcpy-ifunc.c: Likewise.
72694         * string/test-memset-ifunc.c: Likewise.
72695         * string/test-rawmemchr-ifunc.c: Likewise.
72696         * string/test-stpcpy-ifunc.c: Likewise.
72697         * string/test-stpncpy-ifunc.c: Likewise.
72698         * string/test-strcasecmp-ifunc.c: Likewise.
72699         * string/test-strcasestr-ifunc.c: Likewise.
72700         * string/test-strcat-ifunc.c: Likewise.
72701         * string/test-strchr-ifunc.c: Likewise.
72702         * string/test-strchrnul-ifunc.c: Likewise.
72703         * string/test-strcmp-ifunc.c: Likewise.
72704         * string/test-strcpy-ifunc.c: Likewise.
72705         * string/test-strcspn-ifunc.c: Likewise.
72706         * string/test-strlen-ifunc.c: Likewise.
72707         * string/test-strncasecmp-ifunc.c: Likewise.
72708         * string/test-strncat-ifunc.c: Likewise.
72709         * string/test-strncmp-ifunc.c: Likewise.
72710         * string/test-strncpy-ifunc.c: Likewise.
72711         * string/test-strnlen-ifunc.c: Likewise.
72712         * string/test-strpbrk-ifunc.c: Likewise.
72713         * string/test-strrchr-ifunc.c: Likewise.
72714         * string/test-strspn-ifunc.c: Likewise.
72715         * string/test-strstr-ifunc.c: Likewise.
72717         * debug/Makefile (tests-ifunc): New variable.
72718         (tests): Add $(tests-ifunc).
72719         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
72720         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
72721         * debug/test-stpcpy_chk-ifunc.c: New file.
72722         * debug/test-strcpy_chk-ifunc.c: Likewise.
72724 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
72726         [BZ #13601]
72727         * elf/dl-load.c (open_verify): Retry read if the entire ELF
72728         header is not read in.
72730 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
72732         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
72733         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
72734         directly.  Pass built executable to script as
72735         $(built-program-cmd).
72736         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
72737         $testprogram without using LD_LIBRARY_PATH and $ldso.
72739         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
72740         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
72741         $(rtld-installed-name).
72742         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
72743         (rtld_installed_name): Likewise.
72744         (library_path): Likewise.
72745         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
72746         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
72747         $(run-program-prefix) to tst-tables.sh.
72748         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
72749         it to run tst-table-from and tst-table-to.
72750         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
72751         Pass it to tst-table.sh.
72752         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
72753         $(run-program-prefix) to tst-gettext.sh.
72754         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
72755         tst-translit.sh.
72756         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
72757         tst-gettext2.sh.
72758         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
72759         to run tst-gettext.
72760         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
72761         to run tst-gettext2.
72762         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
72763         to run tst-translit.
72764         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
72765         $(run-program-prefix) to tst-mtrace.sh.
72766         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
72767         to run tst-mtrace.
72768         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
72769         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
72770         $(rtld-installed-name).
72771         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
72772         (rtld_installed_name): Likewise.
72773         (run_program_prefix): New variable.  Use it to run wordexp-test.
72775         * Makeconfig (ARCH): Remove all definitions.
72776         (machine): Likewise.
72777         [ARCH]: Remove conditional code.
72778         [!objdir]: Give error.
72779         [!objdir] (objpfx): Remove.
72780         [!objdir] (common-objpfx): Likewise.
72781         [!objdir] (common-objdir): Likewise.
72782         * configure.in (config_makefile): Remove.  Hardcode Makefile in
72783         AC_CONFIG_FILES call.
72784         * configure: Regenerated.
72786         [BZ #13888]
72787         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
72788         or TMPDIR.
72789         (testout): Likewise.
72791         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
72792         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
72793         $(rtld-installed-name).
72794         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
72795         (rtld_installed_name): Likewise.
72796         (runit): Remove function.
72797         (run_getconf): New variable,  Use it for running getconf binary.
72799 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
72801         [BZ #14716]
72802         * string/test-memmem.c (check_result): New function.
72803         (do_one_test): Use it.
72804         (check1): New function.
72805         (test_main): Use it.
72807 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
72809         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
72811 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
72813         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
72814         (_G_LSEEK64): Likewise.
72815         (_G_MMAP64): Likewise.
72816         (_G_FSTAT64): Likewise.
72817         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
72818         (_G_LSEEK64): Likewise.
72819         (_G_MMAP64): Likewise.
72820         (_G_FSTAT64): Likewise.
72821         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
72822         unconditional.  Call __mmap64 directly.
72823         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
72824         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
72825         __lseek64 directly.
72826         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
72827         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
72828         __mmap64 directly.
72829         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
72830         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72831         __lseek64 directly.
72832         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
72833         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72834         __lseek64 directly.
72835         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
72836         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
72837         __lseek64 directly.
72838         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
72839         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
72840         __fxstat64 directly.
72841         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
72842         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
72843         unconditional.
72844         (freopen64) [!_G_OPEN64]: Remove conditional code.
72845         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
72846         unconditional.
72847         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
72848         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
72849         unconditional.
72850         (ftello64) [!_G_LSEEK64]: Remove conditional code.
72851         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
72852         unconditional.
72853         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72854         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
72855         unconditional.
72856         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
72857         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
72858         unconditional.
72859         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72860         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
72861         unconditional.
72862         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72863         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
72864         unconditional.
72865         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72867 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72869         [BZ #12140]
72870         * manual/memory.texi (Malloc Tunable Parameters): Add note
72871         about free list pointers overwriting some perturb bytes.
72872         Wording suggested by Roland McGrath.
72874 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
72876         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
72877         (lgamma_test): Likewise.
72878         (tgamma_test): Likewise.
72880 2012-10-16  Florian Weimer  <fweimer@redhat.com>
72882         [BZ #14700]
72883         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
72884         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
72886 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
72888         * NEWS: Mention BZ #14716.
72889         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
72890         when removing AVAILABLE1_USES_J macro.
72892 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
72894         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
72895         (__bswap_64): __uint64_t for unsigned 64-bit int.
72897 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
72899         * include/string.h (memmem): Declare libc hidden alias.
72900         * string/memmem.c (memmem): Define libc hidden alias.
72901         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
72902         __read, __close instead of open, read, close.
72904 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
72906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
72907         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
72908         global and hidden.
72909         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
72910         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
72911         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
72912         Likewise.
72913         (__rawmemchr_sse2): Likewise.
72914         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
72915         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
72916         (__strchr_sse2): Likewise.
72917         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72918         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72919         (__strcasecmp_sse2): Likewise.
72920         (__strncasecmp_sse2): Likewise.
72921         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72922         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72923         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72924         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72925         (__strrchr_sse2): Likewise.
72926         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72927         ifunc-impl-list.c.
72928         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72929         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72930         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72931         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72932         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72933         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72934         * sysdeps/x86_64/multiarch/memset.S: Likewise.
72935         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72936         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72937         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72938         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72939         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72940         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72941         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72942         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72943         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72944         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72945         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72946         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72947         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72948         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72949         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72950         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72951         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72952         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72953         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72954         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72955         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72956         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72957         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72959         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72960         global and hidden.
72961         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72962         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72963         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72964         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72965         Likewise.
72966         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72967         Likewise.
72968         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72969         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72970         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72971         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72972         ifunc-impl-list.c.
72973         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72974         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72975         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72976         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72977         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72978         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72979         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72980         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72981         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72982         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72983         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72984         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72985         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72986         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72987         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72988         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72989         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72990         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72991         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72992         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72993         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72994         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72995         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72996         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72997         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72998         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72999         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
73000         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
73001         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
73002         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73003         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
73004         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73005         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73006         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
73007         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73008         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73009         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73010         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73011         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73012         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73013         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
73015         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
73016         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
73017         * include/ifunc-impl-list.h: New file.
73018         * misc/ifunc-impl-list.c: Likewise.
73019         * misc/Makefile (routines): Add ifunc-impl-list.
73020         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
73021         * string/test-string.h: Include <ifunc-impl-list.h>.
73022         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
73023         TEST_NAME]: New variables.
73024         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
73025         are defined.
73026         (test_init): Call __libc_ifunc_impl_list to initialize
73027         func_list if TEST_IFUNC and TEST_NAME are defined.
73029         * string/Makefile (strop-tests): Add bcopy and bzero.
73030         * string/test-bcopy.c: New file.
73031         * string/test-bzero.c: Likewise.
73032         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
73033         defined.
73034         * string/test-memset.c: Support bzero test if TEST_BZERO is
73035         defined.
73036         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
73037         __libc_memmove.
73038         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
73039         __libc_memset.
73040         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
73041         of memset.
73043 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
73045         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
73046         * configure: Regenerated.
73048         * Makeconfig (+link-static-before-libc): Don't include
73049         $(link-static-libc).
73051         * libio/libio.h (_IO_pos_t): Remove.
73053 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73055         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
73056         McGrath.
73058 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73060         * crypt/crypt-entry.c: Include fips-private.h.
73061         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
73062         * crypt/md5c-test.c (main): Tolerate disabled MD5.
73063         * sysdeps/unix/sysv/linux/fips-private.h: New file.
73064         * sysdeps/generic/fips-private.h: New file, dummy fallback.
73066 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73068         * crypt/crypt-private.h: Include stdbool.h.
73069         (_ufc_setup_salt_r): Return bool.
73070         * crypt/crypt-entry.c: Include errno.h.
73071         (__crypt_r): Return NULL with EINVAL for bad salt.
73072         * crypt/crypt_util.c (bad_for_salt): New.
73073         (_ufc_setup_salt_r): Check that salt is long enough and within
73074         the specified alphabet.
73075         * crypt/badsalttest.c: New file.
73076         * crypt/Makefile (tests): Add it.
73077         ($(objpfx)badsalttest): New.
73079 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
73081         * NEWS: Add entry for BZ #14602.
73083 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73085         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
73086         type-generic.
73087         * math/libm-test.inc: Update comment listing what functions and
73088         macros are tested.
73089         (isgreater_test): New function.
73090         (isgreaterequal_test): Likewise.
73091         (isless_test): Likewise.
73092         (islessequal_test): Likewise.
73093         (islessgreater_test): Likewise.
73094         (isunordered_test): Likewise.
73095         (main): Call the new functions.
73097 2012-10-09  Roland McGrath  <roland@hack.frob.com>
73099         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
73100         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
73101         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
73102         * sysdeps/i386/configure: Regenerated.
73103         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
73104         * sysdeps/mach/configure: Regenerated.
73105         * sysdeps/mach/hurd/configure: Regenerated.
73106         * sysdeps/powerpc/configure: Regenerated.
73107         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73108         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73109         * sysdeps/s390/s390-32/configure: Regenerated.
73110         * sysdeps/s390/s390-64/configure: Regenerated.
73111         * sysdeps/sh/configure: Regenerated.
73112         * sysdeps/sparc/configure: Regenerated.
73113         * sysdeps/unix/sysv/linux/configure: Regenerated.
73114         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73115         * sysdeps/x86_64/configure: Regenerated.
73117         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
73118         defined.  Don't check if MAP is NULL.
73120 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73122         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
73123         (_G_stat64): Likewise.
73124         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73125         (_G_stat64): Likewise.
73126         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
73127         instead of struct _G_stat64.
73128         * libio/fileops.c (mmap_remap_check): Likewise.
73129         (decide_maybe_mmap): Likewise.
73130         (_IO_new_file_seekoff): Likewise.
73131         (_IO_file_stat): Likewise.
73132         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
73133         _G_off64_t.
73134         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
73135         instead of struct _G_stat64.
73136         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73138 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
73140         [BZ #14602]
73141         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73142         Replace with ...
73143         (CHECK_EOL): New macro.
73144         (two_way_short_needle): Check beginning of haystack for EOL.  Use
73145         CHECK_EOL.
73146         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73147         Replace with CHECK_EOL.
73148         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73149         Replace with CHECK_EOL.
73151 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
73153         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
73154         type-generic.
73155         * math/libm-test.inc: Update comment listing what functions and
73156         macros are tested.
73157         (finite_test): New function.
73158         (isinf_test): Likewise.
73159         (isnan_test): Likewise.
73160         (fpclassify_test): Test subnormal input.
73161         (isfinite_test): Likewise.
73162         (isnormal_test): Likewise.
73163         (main): Call the new functions.
73165 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
73167         [BZ #14660]
73168         * Makerules (%.dynsym): Force C locale when running
73169         $(OBJDUMP) --dynamic-syms.
73171 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
73173         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
73174         <stdint.h>.
73176 2012-10-06  David S. Miller  <davem@davemloft.net>
73178         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73179         upper 32-bits of the length value in %o2 since we use branch-on-register
73180         tests which consider the entire 64-bit register.
73182 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
73184         * string/test-strstr.c (check2): Add a test for page boundary.
73186 2012-10-05  David S. Miller  <davem@davemloft.net>
73188         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73189         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73190         file.
73191         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73192         sysdep_routines.
73193         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73194         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73195         and bzero when HWCAP_SPARC_CRYPTO is present.
73197 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
73199         [BZ #14602]
73200         * string/test-strstr.c (check2): New function.
73201         (test_main): Call check2.
73203         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
73204         and bug-strchr1.
73205         * string/bug-strcasestr1.c (do_test): Moved to ...
73206         * string/test-strcasestr.c (check1): Here.  New function.
73207         (do_one_test): Break out result checking code into ...
73208         (check_result): This.  New function.
73209         (do_one_test): Call check_result.
73210         (test_main): Call check1.
73211         * string/bug-strchr1.c (do_test): Moved to ...
73212         * string/test-strchr.c (check1): Here.  New function.
73213         (do_one_test): Break out result checking code into ...
73214         (check_result): This.  New function.
73215         (do_one_test): Call check_result.
73216         (test_main): Call check1.
73217         * string/bug-strstr1.c (main): Moved to ...
73218         * string/test-strstr.c (check1): Here.  New function.
73219         (do_one_test): Break out result checking code into ...
73220         (check_result): This.  New function.
73221         (do_one_test): Call check_result.
73222         (test_main): Call check1.
73223         * string/bug-strcasestr1.c: Removed.
73224         * string/bug-strchr1.c: Likewise.
73225         * string/bug-strstr1.c: Likewise.
73227         * elf/Makefile (dl-routines): Add hwcaps.
73228         * elf/dl-support.c (_dl_important_hwcaps): Removed.
73229         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
73230         (_dl_important_hwcaps): Moved to ...
73231         * elf/dl-hwcaps.c: Here.  New file.
73232         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
73234         [BZ #14557]
73235         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
73236         if IS_IN_rtld isn't defined.
73238         * elf/dl-support.c (_dl_sysinfo_map): New.
73239         Include "get-dynamic-info.h" and "setup-vdso.h".
73240         (_dl_non_dynamic_init): Call setup_vdso.
73241         * elf/dynamic-link.h: Don't include <assert.h>.
73242         (elf_get_dynamic_info): Moved to ...
73243         * elf/get-dynamic-info.h: Here.  New file.
73244         * elf/dynamic-link.h: Include "get-dynamic-info.h".
73245         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
73246         * elf/setup-vdso.h: Here.  New file.
73247         * elf/rtld.c: Include "setup-vdso.h".
73248         (dl_main): Call setup_vdso.
73250 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
73252         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
73253         creal in comment listing functions tested.  List finite, isinf,
73254         isnan, isless, islessequal, isgreater, isgreaterequal,
73255         islessgreater, isunordered, lgamma_r and pow10 as functions and
73256         macros not tested.  Mention which functions not tested are aliases
73257         for other functions.  Fix typo.  Note that signs of NaNs are not
73258         tested.
73260         * scripts/config.guess: Update from config.git.
73261         * scripts/config.sub: Likewise.
73263 2012-10-04  Roland McGrath  <roland@hack.frob.com>
73265         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
73266         * misc/madvise.c (madvise): Renamed to __madvise.
73267         Make madvise a weak alias.
73268         * include/sys/mman.h: Declare __madvise.
73269         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
73270         * sysdeps/unix/syscalls.list
73271         (madvise): Make __madvise the strong name, and madvise a weak alias.
73272         * sysdeps/unix/sysv/linux/syscalls.list
73273         (madvise, mmap): Remove redundant entries.
73274         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
73275         * malloc/malloc.c (mtrim): Likewise.
73276         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73278 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73280         * sysdeps/mach/hurd/dl-cache.c: File removed.
73281         * config.h.in (USE_LDCONFIG): New #undef.
73282         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73283         * configure: Regenerated.
73284         * elf/Makefile (dl-routines): Add dl-cache only under
73285         [$(use-ldconfig) = yes].
73286         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73287         cache on [USE_LDCONFIG].
73288         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73289         [USE_LDCONFIG].
73290         * elf/rtld.c (dl_main): Likewise.
73292 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
73294         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73295         _SC_LEVEL4_CACHE_LINESIZE.
73297 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73299         * sysdeps/unix/bsd/confstr.h: File removed.
73301 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
73303         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73304         sys/sdt-config.h.
73306 2012-10-02  Roland McGrath  <roland@hack.frob.com>
73308         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73309         Make 'mapoff' field ElfW(Off) rather than off_t.
73311 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
73313         * nscd/Makefile: Remove nscd-cflags and all its users.
73314         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73315         (CFLAGS-nonlib): Add compiler flags for nscd modules.
73317         [BZ #10631]
73318         * malloc.c (malloc_printerr): Clarify error message.
73320 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
73322         [BZ #14648]
73323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73324         Set bit_FMA_Usable if FMA is supported.
73325         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73326         macro.
73327         (bit_FMA4_Usable): Updated.
73328         (index_FMA_Usable): New macro.
73329         (CPUID_FMA): Likewise.
73330         (HAS_FMA): Defined with bit_FMA_Usable.
73332 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73334         * bits/types.h (__swblk_t): Type removed.
73335         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73336         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73337         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73338         (__SWBLK_T_TYPE): Likewise.
73339         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73340         (__SWBLK_T_TYPE): Likewise.
73341         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73342         (__SWBLK_T_TYPE): Likewise.
73343         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73344         (__SWBLK_T_TYPE): Likewise.
73346 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73347             Honza Horak <hhorak@redhat.com>
73349         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73350         (xdr_mapname): Use YPMAXMAP as maxsize.
73351         (xdr_peername): Use YPMAXPEER as maxsize.
73352         (xdr_keydat): Use YPAXRECORD as maxsize.
73353         (xdr_valdat): Use YPMAXRECORD as maxsize.
73355 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73357         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73359         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73360         * csu/init-first.c: ... here.
73361         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73362         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73363         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73364         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73365         * sysdeps/i386/init-first.c: File removed.
73366         * sysdeps/sh/init-first.c: File removed.
73368 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73370         [BZ #14645]
73371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73372         if x * y might underflow to zero and z is zero.
73373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73374         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73375         * math/libm-test.inc (min_subnorm_value): New variable.
73376         (fma_test): Add more tests.
73377         (fma_test_towardzero): Likewise.
73378         (fma_test_downward): Likewise.
73379         (fma_test_upward): Likewise.
73380         (initialize): Set min_subnorm_value.
73382 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73384         [BZ #14638]
73385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73386         0 + 0.
73387         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73388         mode for addition resulting in exact zero.
73389         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73391         exact 0 + 0.
73392         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73394         * math/libm-test.inc (fma_test): Add more tests.
73395         (fma_test_towardzero): New function.
73396         (fma_test_downward): Likewise.
73397         (fma_test_upward): Likewise.
73398         (main): Call the new functions.
73400 2012-09-28  David S. Miller  <davem@davemloft.net>
73402         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73404 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73406         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73407         instead of SIGALRM.
73409         * sysdeps/gnu/_G_config.h: Moved to ...
73410         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73411         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73412         * sysdeps/generic/_G_config.h: ... here.
73414         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73416         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73418         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73419         Conditionalize target on [libnss_test1.so-version].
73421         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73423         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73424         (elfobjdir): Move out of conditionals.
73426         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73427         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73428         (__nss_lookup_function): Conditionalize label remove_from_tree on
73429         [!DO_STATIC_NSS || SHARED], matching its only use.
73431 2012-09-28  David S. Miller  <davem@davemloft.net>
73433         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73434         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73435         file.
73436         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73437         sysdep_routines.
73438         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73440         when HWCAP_SPARC_CRYPTO is present.
73442 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73444         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73446 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73448         [BZ #6530]
73449         * stdio-common/vfprintf.c (process_string_arg): Revert
73450         2000-07-22 change.
73452 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73454         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73455         for testcase.
73456         * stdio-common/tst-sprintf.c: Include <locale.h>
73457         (main): Test sprintf's handling of incomplete multibyte
73458         characters.
73460 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73462         * elf/dl-runtime.c (VERSYMIDX): Removed.
73463         * elf/dl-version.c (VERSYMIDX): Likewise.
73464         * elf/do-rel.h (VERSYMIDX): Likewise.
73465         (VALIDX): Likewise.
73466         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73467         * elf/rtld.c (VALIDX): Likewise.
73468         (ADDRIDX): Likewise.
73469         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73470         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73471         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73472         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73473         (VALIDX): Likewise.
73474         (ADDRIDX): Likewise.
73476 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73478         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73480 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73482         [BZ #11438]
73483         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73484         to global scope.
73485         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73486         addresses are in the same scope as 192.0.2/24.
73487         * posix/gai.conf: Document new scope table defaults.
73489 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73491         [BZ #5298]
73492         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73493         for ftell.  Compute offsets from write pointers instead.
73494         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73496 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73498         [BZ #14543]
73499         * libio/Makefile (tests): New test case tst-fseek.
73500         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73501         combination works in wide mode.
73502         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73503         state when the external buffer state changes.
73505 2012-09-27  David S. Miller  <davem@davemloft.net>
73507         [BZ #14376]
73508         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73509         pass reloc->r_addend in as the 'high' argument to
73510         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73514 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73516         * rt/tst-aio2.c: Include <pthread.h>.
73517         * rt/tst-aio3.c: Likewise.
73519 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73521         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73523 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73525         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73526         contents on [SHARED].
73528 2012-09-26  Marek Polacek  <polacek@redhat.com>
73530         [BZ #14530]
73531         [BZ #13741]
73532         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73533         for C++ and GCC <4.3 as well as for non GCC compilers.
73535 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73539 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73541         * Makefile.in (all, install): Declare with .PHONY.
73542         Reported by Michael Hope <michael.hope@linaro.org>.
73544 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73546         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73547         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73548         system header.
73549         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73550         Likewise.
73551         (sydep_routines): Add the new and the internal functions.
73552         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73553         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73555         (GLIBC_2.17): Add the new function.
73556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73557         (GLIBC_2.17): Likewise.
73558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73559         (GLIBC_2.17): Likewise.
73560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73561         (GLIBC_2.17): Likewise.
73562         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73564 2012-09-25  Alan Modra  <amodra@gmail.com>
73566         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73567         Add release barrier before setting once_control to say
73568         initialisation is done.  Add hints on lwarx.  Use macro in
73569         place of isync.
73570         (clear_once_control): Add release barrier.
73572 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73574         [BZ #13629]
73575         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73576         specially.
73577         * math/s_clog10.c (__clog10): Likewise.
73578         * math/s_clog10f.c (__clog10f): Likewise.
73579         * math/s_clog10l.c (__clog10l): Likewise.
73580         * math/s_clogf.c (__clogf): Likewise.
73581         * math/s_clogl.c (__clogl): Likewise.
73582         * math/Makefile (libm-calls): Add x2y2m1.
73583         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73584         (__x2y2m1): Likewise.
73585         (__x2y2m1l): Likewise.
73586         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73587         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73588         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73589         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73590         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73591         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73592         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73593         * sysdeps/i386/fpu/libm-test-ulps: Update.
73594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73596         [BZ #14621]
73597         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73598         int as type of variable DEPTH.
73599         (glob): Use size_t instead of int as type of variables NEWCOUNT
73600         and OLD_PATHC.
73602 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73604         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73605         Add s_sincosf-sse2.
73606         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73607         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73608         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73609         macros for using routine as __sincosf_ia32.
73610         Use macro for function declaration and weak_alias.
73611         * sysdeps/i386/fpu/libm-test-ulps: Update.
73613         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73614         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73616         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73617         subnormal argument.
73618         * math/s_cexpf.c (__cexpf): Likewise.
73619         * math/s_csinf.c (__csinf): Likewise.
73620         * math/s_csinhf.c (__csinhf): Likewise.
73621         * math/s_ctanf.c (__ctanf): Likewise.
73622         * math/s_ctanhf.c (__ctanhf): Likewise.
73623         * math/s_ccosh.c (__ccoshf): Likewise.
73624         * math/s_cexp.c (__cexpl): Likewise.
73625         * math/s_csin.c (__csin): Likewise.
73626         * math/s_csinh.c (__csinh): Likewise.
73627         * math/s_ctan.c (__ctan): Likewise.
73628         * math/s_ctanh.c (ctanh): Likewise.
73629         * math/s_ccoshl.c (__ccoshl): Likewise.
73630         * math/s_cexpl.c (__cexpl): Likewise.
73631         * math/s_csinl.c (__csinl): Likewise.
73632         * math/s_csinhl.c (__csinhl): Likewise.
73633         * math/s_ctanl.c (__ctanl): Likewise.
73634         * math/s_ctanhl.c (__ctanhl): Likewise.
73636 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73638         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73639         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73640         (_IO_off_t): Define to __off_t, not _G_off_t.
73641         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73642         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73643         (_IO_wint_t): Define to wint_t, not _G_wint_t.
73644         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73645         type of __dummy and __dummy2 fields.
73646         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73647         (_G_ssize_t): Likewise.
73648         (_G_off_t): Likewise.
73649         (_G_pid_t): Likewise.
73650         (_G_uid_t): Likewise.
73651         (_G_wchar_t): Likewise.
73652         (_G_wint_t): Likewise.
73653         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73654         (_G_ssize_t): Likewise.
73655         (_G_off_t): Likewise.
73656         (_G_pid_t): Likewise.
73657         (_G_uid_t): Likewise.
73658         (_G_wchar_t): Likewise.
73659         (_G_wint_t): Likewise.
73660         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73661         (_G_ssize_t): Likewise.
73662         (_G_off_t): Likewise.
73663         (_G_pid_t): Likewise.
73664         (_G_uid_t): Likewise.
73665         (_G_wchar_t): Likewise.
73666         (_G_wint_t): Likewise.
73668 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73670         * malloc/arena.c: Include malloc-sysdep.h.
73671         (shrink_heap): Use check_may_shrink_heap to decide if madvise
73672         is sufficient to shrink the heap or an unmap is needed.
73673         * sysdeps/generic/malloc-sysdep.h: New file.  Define
73674         new function check_may_shrink_heap.
73675         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
73676         new function check_may_shrink_heap.
73678 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73680         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73681         comments.
73683 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
73685         * catgets/test-gencat.sh: Add "set -e".
73686         * elf/tst-pathopt.sh: Likewise.
73687         * grp/tst_fgetgrent.sh: Likewise.
73688         * iconvdata/run-iconv-test.sh: Likewise.
73689         * intl/tst-gettext.sh: Likewise.
73690         * intl/tst-gettext2.sh: Likewise.
73691         * intl/tst-gettext4.sh: Likewise.
73692         * intl/tst-gettext6.sh: Likewise.
73693         * intl/tst-translit.sh: Likewise.
73694         * io/ftwtest-sh: Likewise.
73695         * libio/test-freopen.sh: Likewise.
73696         * malloc/tst-mtrace.sh: Likewise.
73697         * posix/globtest.sh: Likewise.
73698         * posix/tst-getconf.sh: Likewise.
73699         * posix/wordexp-tst.sh: Likewise.
73700         * stdio-common/tst-printf.sh: Likewise.
73701         * stdio-common/tst-unbputc.sh: Likewise.
73702         * stdlib/tst-fmtmsg.sh: Likewise.
73703         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73704         * catgets/Makefile: Do not specify -e option when running
73705         testsuite shell scripts.
73706         * elf/Makefile: Likewise.
73707         * grp/Makefile: Likewise.
73708         * iconvdata/Makefile: Likewise.
73709         * intl/Makefile: Likewise.
73710         * io/Makefile: Likewise.
73711         * libio/Makefile: Likewise.
73712         * malloc/Makefile: Likewise.
73713         * posix/Makefile: Likewise.
73714         * stdio-common/Makefile: Likewise.
73715         * stdlib/Makefile: Likewise.
73716         * sysdeps/x86_64/Makefile: Likewise.
73718         * io/ftwtest-sh: Add copyright header.
73719         * posix/globtest.sh: Likewise.
73720         * posix/tst-getconf.sh: Likewise.
73721         * posix/wordexp-tst.sh: Likewise.
73722         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73724 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
73726         [BZ #13679]
73727         * Makeconfig (+link): Defined as $(+link-static) if
73728         $(build-shared) isn't yes.
73729         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
73730         isn't yes.
73731         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
73733         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
73735         [BZ #14562]
73736         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
73737         new chunk size with MALLOC_ALIGN_MASK.
73739 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
73741         [BZ #5044]
73742         * stdio-common/printf_fphex.c: Include <stdbool.h> and
73743         <rounding-mode.h>.
73744         (__printf_fphex): Determine rounding using get_rounding_mode and
73745         round_away.
73746         * stdio-common/tst-printf-round.c (struct hex_test): New
73747         structure.
73748         (hex_tests): New variable.
73749         (test_hex_in_one_mode): New function.
73750         (do_test): Also run tests for hex float output.
73752 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
73754         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73755         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73756         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
73757         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73758         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73759         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
73760         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73761         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73763 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
73765         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
73766         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
73767         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
73768         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
73770 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
73772         [BZ #14579]
73773         * elf/rtld.c (dl_main): Limit the check for self loading to normal
73774         mode only.
73775         * elf/tst-rtld-load-self.sh: New test.
73776         * elf/Makefile: Run it.
73778 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
73780         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
73781         (tst-writev-ENV): Remove.
73782         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
73784 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
73786         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
73788 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
73790         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
73791         unconditional.
73792         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
73793         Likewise.
73794         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
73795         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73796         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
73797         Likewise.
73799 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
73801         [BZ #14587]
73802         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
73803         * config.make.in (have-cpp-asm-debuginfo): Removed.
73804         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
73805         * configure: Regenerated.
73807 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
73809         [BZ #5044]
73810         * stdio-common/printf_fp.c: Include <stdbool.h> and
73811         <rounding-mode.h>.
73812         (___printf_fp): Determine rounding using get_rounding_mode and
73813         round_away.
73814         * stdio-common/tst-printf-round.c: New file.
73815         * stdio-common/Makefile (tests): Add tst-printf-round.
73816         (link-libm): New variable.
73817         ($(objpfx)tst-printf-round): Depend in $(link-libm).
73819 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
73821         [BZ #14576]
73822         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
73823         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
73824         Likewise.
73825         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
73826         Likewise.
73828 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
73830         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
73831         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73832         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73833         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73835 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
73837         [BZ #14518]
73838         * include/rounding-mode.h: New file.
73839         * sysdeps/generic/get-rounding-mode.h: Likewise.
73840         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
73841         * stdlib/strtod_l.c: Include <rounding-mode.h>.
73842         (MAX_VALUE): New macro.
73843         (MIN_VALUE): Likewise.
73844         (overflow_value): New function.
73845         (underflow_value): Likewise.
73846         (round_and_return): Use overflow_value and underflow_value to
73847         determine return values in overflow and underflow cases.  Use
73848         round_away to determine rounding depending on rounding mode.
73849         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73850         determine return values in overflow and underflow cases.
73851         * stdlib/tst-strtod-round.c: Include <fenv.h>.
73852         (struct test_results): New structure.
73853         (struct test): Use struct test_results to store expected results
73854         for all rounding modes.
73855         (TEST): Include expected results for all rounding modes.
73856         (test_in_one_mode): New function.
73857         (do_test): Use test_in_one_mode to compute and check results.
73858         Check results for all rounding modes.
73859         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
73860         $(link-libm).
73862 2012-12-09  Allan McRae  <allan@archlinux.org>
73864         * sysdeps/i386/fpu/libm-test-ulps: Update
73866 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
73868         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
73869         (_G_int32_t): Likewise.
73870         (_G_uint16_t): Likewise.
73871         (_G_uint32_t): Likewise.
73872         (_G_HAVE_BOOL): Likewise.
73873         (_G_HAVE_ATEXIT): Likewise.
73874         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73875         (_G_HAVE_IO_FILE_OPEN): Likewise.
73876         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
73877         (_G_int32_t): Likewise.
73878         (_G_uint16_t): Likewise.
73879         (_G_uint32_t): Likewise.
73880         (_G_HAVE_BOOL): Likewise.
73881         (_G_HAVE_ATEXIT): Likewise.
73882         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73883         (_G_HAVE_IO_FILE_OPEN): Likewise.
73884         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
73885         (_G_int32_t): Likewise.
73886         (_G_uint16_t): Likewise.
73887         (_G_uint32_t): Likewise.
73888         (_G_HAVE_BOOL): Likewise.
73889         (_G_HAVE_ATEXIT): Likewise.
73890         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73891         (_G_HAVE_IO_FILE_OPEN): Likewise.
73893 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
73895         * csu/libc-tls.c: Update copyright years.
73897 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
73899         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
73900         [!_G_USING_THUNKS]: Remove conditional code.
73901         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
73902         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
73904         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
73905         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
73906         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73907         (_G_VTABLE_LABEL_PREFIX): Likewise.
73908         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73909         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73910         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73911         (_G_VTABLE_LABEL_PREFIX): Likewise.
73912         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73913         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73914         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73915         (_G_VTABLE_LABEL_PREFIX): Likewise.
73916         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73918 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
73920         * libio/Makefile: Include ../Makeconfig before tests.
73921         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73922         only if $(build-shared) is yes.
73924         * iconv/gconv_db.c: Update copyright years.
73926 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73928         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73929         unwind info if defined PIC. Fix special cases description.
73930         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73932         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73933         DP_HI_MASK entry.
73934         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73936 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
73938         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73940         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73941         is NULL.
73943         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73944         (LDLIBS-tst-chk4): This.
73945         (LDFLAGS-tst-chk5): Renamed to ...
73946         (LDLIBS-tst-chk5): This.
73947         (LDFLAGS-tst-chk6): Renamed to ...
73948         (LDLIBS-tst-chk6): This.
73949         (LDFLAGS-tst-lfschk4): Renamed to ...
73950         (LDLIBS-tst-lfschk4): This.
73951         (LDFLAGS-tst-lfschk5): Renamed to ...
73952         (LDLIBS-tst-lfschk5): This.
73953         (LDFLAGS-tst-lfschk6): Renamed to ...
73954         (LDLIBS-tst-lfschk6): This.
73956         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73957         on $(common-objpfx)soversions.mk.
73959 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73961         [BZ #10014]
73962         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73963         example host name.
73965 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73967         * malloc/arena.c (arena_get_retry): New function that gets
73968         another arena for the caller to try its request on.
73969         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73970         current arena cannot fulfill the request.
73971         (__libc_memalign): Likewise.
73972         (__libc_memalign): Likewise.
73973         (__libc_pvalloc): Likewise.
73974         (__libc_calloc): Likewise.
73976 2012-09-05  John Tobey  <john.tobey@gmail.com>
73978         [BZ #13542]
73979         * manual/arith.texi (Operations on Complex): Fix description
73980         of carg branch cut.
73982 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73984         [BZ #10014]
73985         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73986         host name.
73988         [BZ #10038]
73989         * manual/memory.texi (Memory): Make order of menu items match
73990         order of sections.
73992 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73994         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73995         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73996         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73998 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74000         * csu/libc-tls.c (static_dtv): Renamed to ...
74001         (_dl_static_dtv): This.  Make it global.
74002         (_dl_initial_dtv): Removed.
74003         (__libc_setup_tls): Updated.
74004         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
74005         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
74006         DL_INITIAL_DTV.
74008 2012-09-06  Petr Machata  <pmachata@redhat.com>
74010         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74011         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
74012         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
74013         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
74015 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74017         [BZ #14545]
74018         * csu/libc-tls.c (_dl_initial_dtv): New variable.
74019         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
74020         freeing dtv[-1].
74022 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74024         [BZ #14544]
74025         * Makeconfig (link-static-before-libc): Replace $(+prector)
74026         with $(+prectorT).
74027         (link-static-after-libc): Replace $(+postctor) with
74028         $(+postctorT).
74029         (link-bounded): Replace $(+prector)/$(+postctor) with
74030         $(+prectorT)/$(+postctorT).
74031         (+prectorT): New macro.
74032         (+postctorT): Likewise.
74034 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74036         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
74037         (round_str): Handle values above the maximum for IBM long double
74038         as inexact.
74039         * stdlib/tst-strtod-round.c (tests): Regenerated.
74041 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74043         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
74044         assembler flag.
74045         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
74046         zarch_nohighgprs around the zarch optimized routines.
74047         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
74048         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
74049         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
74050         for zarch.
74052 2012-09-05  David S. Miller  <davem@davemloft.net>
74054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74056         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
74057         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
74058         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
74059         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74060         entries.
74062 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74064         * malloc/arena.c: Fold copyright years.
74065         * malloc/mcheck.c, malloc/memusage.c: Likewise.
74067 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74069         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
74071 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74073         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
74075 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74077         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
74078         change internal state upon failure.
74080 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74082         * malloc/mcheck.c (mcheck_check_all): Fix typo.
74083         * malloc/memusage.c (mmap): Likewise.
74084         (mmap64, mremap): Likewise.  Adjust name in comment.
74086 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74088         * libio/fileops.c: Fix typos in comments.
74089         * libio/oldfileops.c: Likewise.
74090         * libio/wfileops.c: Likewise.
74092 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74094         [BZ #1349]
74095         * malloc/Makefile (tests): Add tst-malloc-usable test case.
74096         (tst-malloc-usable-ENV): Set environment for test case.
74097         * malloc/hooks.c (malloc_check_get_size): New function to get
74098         requested size.
74099         * malloc/malloc.c (musable): Use malloc_check_get_size.
74100         * malloc/tst-malloc-usable.c: New test case.
74102 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74104         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
74106 2012-09-05  Allan McRae  <allan@archlinux.org>
74108         [BZ #13966]
74109         * configure.in (CXX_SYSINCLUDES): Use compiler output to
74110         determine header location.
74111         * configure: Regenerated.
74113 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74115         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
74116         float format.
74117         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
74118         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
74119         format.
74120         (test): Regenerate.
74122 2012-09-04  David S. Miller  <davem@davemloft.net>
74124         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74125         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
74126         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
74128 2012-09-04  Florian Weimer  <fweimer@redhat.com>
74130         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
74131         failures.
74133         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
74135 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
74137         [BZ #9914]
74138         * libio/iogetdelim.c: Include <limits.h>.
74139         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
74140         + len + 1 would overflow.
74142 2012-09-03  Andreas Jaeger  <aj@suse.de>
74144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74145         * sysdeps/i386/fpu/libm-test-ulps: Update.
74147 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74149         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74150         Add s_sinf-sse2, s_conf-sse2.
74152         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
74153         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
74154         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
74155         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
74157         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
74158         for using routine as __sinf_ia32.
74159         Use macro for function declaration and weak_alias.
74160         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
74161         for using routine as __cosf_ia32.
74162         Use macro for function declaration and weak_alias.
74164         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74165         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
74167         * sysdeps/x86_64/fpu/s_sinf.S: New file.
74168         * sysdeps/x86_64/fpu/s_cosf.S: New file.
74169         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74171         * math/libm-test.inc (cos_test): Add more test cases.
74172         (sin_test): Likewise.
74173         (sincos_test): Likewise.
74175 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74177         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74178         (IFUNC_RESOLVE): Make pointers to the specialized implementations
74179         hidden.
74180         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74182 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
74184         [BZ #14538]
74185         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74186         first element of the GOT.
74187         (elf_machine_load_address): Return the difference between
74188         the runtime address of _DYNAMIC and elf_machine_dynamic ().
74190 2012-09-01  Allan McRae  <allan@archlinux.org>
74192         [BZ #13412]
74193         * configure.in (AWK): Require gawk version 3.0 or later.
74194         * configure: Regenerated.
74196 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
74198         * sysdeps/unix/sysv/linux/kernel-features.h
74199         (__ASSUME_POSIX_CPU_TIMERS): Remove.
74200         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74201         [__NR_clock_getres]: Make code unconditional.
74202         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
74203         (clock_getcpuclockid): Remove code left unreachable by removal of
74204         conditionals.
74205         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
74206         code unconditional.
74207         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74208         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74209         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
74210         Make code unconditional.
74211         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74212         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74213         * sysdeps/unix/sysv/linux/clock_settime.c
74214         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74215         conditional code.
74216         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
74217         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74219 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
74221         [BZ #14476]
74222         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
74223         scripts/test-installation.pl.
74225         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
74226         and $ld_so_version if it is set.
74228 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
74230         [BZ #14516]
74231         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
74232         failure if reading from procfs failed.
74233         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
74235 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74237         * sysdeps/unix/sysv/linux/kernel-features.h
74238         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
74239         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74240         Remove conditional code.
74241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74242         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
74243         Remove conditional code.
74244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74245         * sysdeps/unix/sysv/linux/i386/fxstat.c
74246         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74248         * sysdeps/unix/sysv/linux/i386/fxstatat.c
74249         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74251         * sysdeps/unix/sysv/linux/i386/lxstat.c
74252         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74253         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74254         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74255         Remove conditional code.
74256         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74257         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74258         Remove conditional code.
74259         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74260         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
74261         <kernel-features.h>.
74262         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74263         Remove.
74264         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
74265         Remove conditional code.
74266         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74267         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
74268         Remove conditional.
74270 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
74272         [BZ #5400]
74273         * NEWS: Add fixed bug number.
74275 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74277         [BZ #14519]
74278         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74279         underflowing exponent in case of negative sign.
74280         * stdlib/tst-strtod-round-data: Add more tests.
74281         * stdlib/tst-strtod-round.c (tests): Regenerated.
74283         [BZ #3479]
74284         * stdlib/strtod_l.c (NDIG): Remove.
74285         (HEXNDIG): Likewise.
74286         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74287         smallest representable value.
74288         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74289         lie within an exact representation of 1/2 ulp of the result.
74290         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74291         unconditionally.
74292         (TENS_P9_IDX): Define unconditionally.
74293         (TENS_P9_SIZE): Likewise.
74294         (TENS_P10_IDX): Likewise.
74295         (TENS_P10_SIZE): Likewise.
74296         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74297         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74298         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74299         entries for 10^2^13 and 10^2^14.
74300         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74301         (TENS_P13_IDX): Define.
74302         (TENS_P13_SIZE): Likewise.
74303         (TENS_P14_IDX): Likewise.
74304         (TENS_P14_SIZE): Likewise.
74305         (_fpioconst_pow10): Change array size to
74306         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
74307         unconditional.
74308         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74309         1024]: Add entries for 10^2^13 and 10^2^14.
74310         [LAST_POW10 > _LAST_POW10]: Remove #error.
74311         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74312         (_fpioconst_pow10): Change array size to
74313         FPIOCONST_POW10_ARRAY_SIZE.
74314         * stdlib/gen-fpioconst.c: New file.
74315         * stdlib/gen-tst-strtod-round.c: Likewise.
74316         * stdlib/tst-strtod-round-data: Likewise.
74317         * stdlib/tst-strtod-round.c: Likewise.
74318         * stdlib/Makefile (tests): Add tst-strtod-round.
74320         [BZ #14459]
74321         * stdlib/strtod_l.c: Include <stdint.h>.
74322         (NDEBUG): Do not define.
74323         (round_and_return): Change EXPONENT parameter to type intmax_t.
74324         Rearrange calculations to avoid internal overflow possibilities.
74325         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74326         Rearrange calculations to avoid internal overflow possibilities.
74327         Assert that number fits inside MPNSIZE limbs.
74328         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74329         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74330         calculations and add assertions to avoid internal overflow
74331         possibilities.  Add casts to avoid signed/unsigned operations.
74332         * stdlib/tst-strtod-overflow.c: New file.
74333         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74335 2012-08-25  Marek Polacek  <polacek@redhat.com>
74337         * time/time.h: Fix some typos in comments.
74339 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74341         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74342         * posix/tst-rfc3484-2.c: Likewise.
74343         * posix/tst-rfc3484-3.c: Likewise.
74345 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74347         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74348         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74350 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74352         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74353         #include of fxstatat64.c.
74355 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74357         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74358         * shadow/getspent_r.c: Likewise.
74359         * shadow/getspnam.c: Likewise.
74360         * shadow/getspnam_r.c: Likewise.
74361         * gshadow/getsgent.c: Likewise.
74362         * gshadow/getsgent_r.c: Likewise.
74363         * gshadow/getsgnam.c: Likewise.
74364         * gshadow/getsgnam_r.c: Likewise.
74365         * inet/getnetbyad.c: Likewise.
74366         * inet/getnetbyad_r.c: Likewise.
74367         * inet/getnetbynm.c: Likewise.
74368         * inet/getnetbynm_r.c: Likewise.
74369         * inet/getnetent.c: Likewise.
74370         * inet/getnetent_r.c: Likewise.
74371         * inet/getproto.c: Likewise.
74372         * inet/getproto_r.c: Likewise.
74373         * inet/getprtent.c: Likewise.
74374         * inet/getprtent_r.c: Likewise.
74375         * inet/getprtname.c: Likewise.
74376         * inet/getprtname_r.c: Likewise.
74377         * inet/getrpcbyname.c: Likewise.
74378         * inet/getrpcbyname_r.c: Likewise.
74379         * inet/getrpcbynumber.c: Likewise.
74380         * inet/getrpcbynumber_r.c: Likewise.
74381         * inet/getrpcent.c: Likewise.
74382         * inet/getrpcent_r.c: Likewise.
74383         * inet/getaliasent.c: Likewise.
74384         * inet/getaliasent_r.c: Likewise.
74385         * inet/getaliasname.c: Likewise.
74386         * inet/getaliasname_r.c: Likewise.
74387         * nscd/getgrgid_r.c: Likewise.
74388         * nscd/getgrnam_r.c: Likewise.
74389         * nscd/gethstbyad_r.c: Likewise.
74390         * nscd/gethstbynm3_r.c: Likewise.
74391         * nscd/getpwnam_r.c: Likewise.
74392         * nscd/getpwuid_r.c: Likewise.
74393         * nscd/getsrvbynm_r.c: Likewise.
74394         * nscd/getsrvbypt_r.c: Likewise.
74395         * nscd/gai.c: Likewise.
74397         * configure.in (build_nscd): New substituted variable, set
74398         by --disable-build-nscd and defaults to $use_nscd.
74399         * configure: Regenerated.
74400         * config.make.in (build-nscd): New substituted variable.
74401         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74402         Change conditional to require [$(build-nscd) = yes] as well.
74403         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74405         [BZ #13696]
74406         * configure.in (use_nscd): New substituted variable, set by
74407         --disable-nscd.  If enabled, define USE_NSCD.
74408         * configure: Regenerated.
74409         * config.h.in: Add USE_NSCD.
74410         * config.make.in (use-nscd): New substituted variable.
74411         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74412         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74413         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74414         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74415         (CFLAGS-getgrnam_r.c): Likewise.
74416         (CFLAGS-initgroups.c): Likewise.
74417         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74418         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74419         Variables removed.
74420         * inet/getnetgrent_r.c
74421         (nscd_setnetgrent): New function, broken out of ...
74422         (setnetgrent): ... here.  Call it.
74423         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74424         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74425         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74426         * nscd/Makefile (routines, aux): Move definitions after include of
74427         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74428         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74429         Conditionalize on [USE_NSCD].
74430         (is_nscd, nscd_init_cb): Likewise.
74431         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74432         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74433         * nss/nss_db/db-init.c: Likewise.
74434         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74435         [USE_NSCD].
74436         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74437         (make_request): Use it.
74438         (cache_valid_p): New function.
74439         (__check_pf): Use it.
74440         * NEWS: Add item for --disable-nscd.
74442 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74444         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74445         to support sed >= 4.2.1-20-ga9bf076.
74446         * configure: Regenerated.
74448 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74450         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74451         Conditionalize whole body on [IREL].
74453 2012-08-22  Jeff Law <law@redhat.com>
74455         [BZ #14505]
74456         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74457         if the family is PF_UNSPEC.
74459 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74461         * Makerules (lib-version): Rename from V.
74462         (install-lib-nosubdir): Change V to lib-version.
74464 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74466         [BZ #14252]
74467         * powerpc32/power6/wcschr.c: New file.
74468         * powerpc32/power6/wcscpy.c: New file.
74469         * powerpc32/power6/wcsrchr.c: New file.
74470         * powerpc64/power6/wcschr.c: New file.
74471         * powerpc64/power6/wcscpy.c: New file.
74472         * powerpc64/power6/wcsrchr.c: New file.
74474 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74476         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74477         (two_way_short_needle): Use it.
74478         * string/strstr.c (AVAILABLE1_USES_J): Define.
74479         * string/strcasestr.c: Likewise.
74481         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74482         array references.
74483         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74485         [BZ #11607]
74486         * NEWS: Add an entry.
74487         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74488         define their defaults.
74489         (two_way_short_needle): Detect end-of-string on-the-fly.
74490         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74491         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74492         * string/bug-strcasestr1.c: New test.
74493         * string/Makefile: Run it.
74495 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74497         [BZ #11607]
74498         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74499         the first character.
74501 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74503         * csu/elf-init.c (__libc_csu_irel): Function removed.
74504         * csu/libc-start.c (apply_irel): New function.
74505         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74507 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74509         * sysdeps/unix/sysv/linux/kernel-features.h
74510         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74511         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74512         <kernel-features.h>.
74513         [__NR_fadvise64_64]: Make code unconditional.
74514         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74515         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74516         !__NR_fadvise64_64)]: Likewise.
74517         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74518         !__NR_fadvise64_64))]: Likewise.
74519         [__NR_fadvise64]: Make code unconditional.
74520         [!__NR_fadvise64]: Remove conditional code.
74521         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74522         <kernel-features.h>.
74523         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74524         unconditional.
74525         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74526         conditional code.
74527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74528         not include <kernel-features.h>.
74529         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74530         unconditional.
74531         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74532         conditional code.
74533         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74534         include <kernel-features.h>.
74535         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74536         unconditional.
74537         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74538         conditional code.
74540 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74542         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74543         slight instruction rearrangements per scrollpipe analysis.
74544         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74546 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74548         * manual/syslog.texi (syslog; vsyslog, closelog):
74549         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74550         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74552         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74553         DSOCAPS to match condition on defining it.
74555 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74557         * sysdeps/unix/sysv/linux/kernel-features.h
74558         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74560         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74561         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74563         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74564         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74566         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74567         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74569         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74570         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74572         * sysdeps/unix/sysv/linux/kernel-features.h
74573         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74574         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74575         unconditional.
74576         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74577         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74578         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74579         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74580         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74581         Make code unconditional.
74582         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74583         (__mmap64) [!__NR_mmap2]: Likewise.
74584         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74585         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74586         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74587         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74588         [__NR_mmap2]: Make code unconditional.
74589         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74590         (__mmap64) [!__NR_mmap2]: Likewise.
74592 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74594         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74596 2012-08-18  Andreas Jaeger  <aj@suse.de>
74598         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74600 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74602         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74603         * include/unistd.h (__have_sock_cloexec): Likewise.
74604         (__have_pipe2): Likewise.
74605         (__have_dup3): Likewise.
74607 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74609         [BZ #9685]
74610         * include/unistd.h (__have_pipe2): Change define into an extern int.
74611         (__have_dup3): Likewise.
74612         * socket/have_sock_cloexec.c: Include fcntl.h.
74613         (__have_pipe2): New variable.
74614         (__have_dup3): Likewise.
74616 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74618         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74620 2012-08-17  Marek Polacek  <polacek@redhat.com>
74622         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74623         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74625 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74627         * configure.in: Add AC_SUBST for sysheaders.
74628         * configure: Regenerated.
74629         * config.make.in (sysheaders): New substituted variable.
74631         * sysdeps/unix/mkfifo.c: Moved ...
74632         * sysdeps/posix/mkfifo.c: ... here.
74633         * sysdeps/unix/mkfifoat.c: Moved ...
74634         * sysdeps/posix/mkfifoat.c: ... here.
74636         * sysdeps/unix/utime.c: Moved ...
74637         * sysdeps/posix/utime.c: ... here.
74639         * sysdeps/unix/time.c: Moved ...
74640         * sysdeps/posix/time.c: ... here.
74641         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74642         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74644         * sysdeps/unix/nice.c: Moved ...
74645         * sysdeps/posix/nice.c: ... here.
74647         * sysdeps/unix/alarm.c: Moved ...
74648         * sysdeps/posix/alarm.c: ... here.
74650         * intl/Makefile ($(codeset_mo)): Depend on the input file.
74652 2012-08-17  Jeff Law <law@redhat.com>
74654         * intl/Makefile (codeset_mo): New variable.
74655         ($(codeset_mo)): New target.
74656         (tst-codeset.out): Depend on that.  Remove explicit rule.
74657         (tst-gettext3.out, tst-gettext5.out): Likewise.
74658         (LOCPATH-ENV, tst-codeset-ENV): New variables.
74659         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74660         * intl/tst-codeset.sh: Remove.
74661         * intl/tst-gettext3.sh: Likewise.
74662         * intl/tst-gettext5.sh: Likewise.
74664 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74666         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
74667         * sysdeps/unix/syscalls.list: ... here.
74669         * sysdeps/posix/getaddrinfo.c
74670         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74671         (gaiconf_init, gaiconf_reload): Use them.
74672         [!_STATBUF_ST_NSEC]
74673         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74674         Define using time_t rather than struct timespec.
74676         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74677         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74678         Macros removed.
74679         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74680         [!NO_THREADS].
74681         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
74682         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
74683         Likewise.
74685         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
74686         __libc_cleanup_push argument.
74688         * bits/param.h: New file.
74689         * misc/sys/param.h: New file.
74690         * include/sys/param.h: New file.
74691         * misc/Makefile (headers): Add bits/param.h.
74692         * sysdeps/generic/sys/param.h: File removed.
74693         * sysdeps/unix/sysv/linux/bits/param.h: New file.
74694         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
74695         * sysdeps/mach/hurd/bits/param.h: New file.
74696         * sysdeps/mach/hurd/sys/param.h: File removed.
74698         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
74699         last change.
74701         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
74702         [_IO_MTSAFE_IO].
74703         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
74704         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
74705         New macros.
74707         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
74708         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
74709         rather than -D_IO_MTSAFE_IO conditionally.
74710         * stdio-common/Makefile (CPPFLAGS): Likewise.
74711         * wcsmbs/Makefile (CPPFLAGS): Likewise.
74712         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
74713         Use $(libio-mtsafe).
74714         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
74715         of -D_IO_MTSAFE_IO.
74716         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
74717         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
74718         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
74719         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
74720         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
74721         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
74722         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
74723         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
74724         (CFLAGS-fread_u_chk.c): Likewise.
74725         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
74726         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
74727         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
74728         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
74729         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
74730         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
74731         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
74732         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
74733         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
74735         * libio/Makefile: Test [$(libc-reentrant) = yes]
74736         instead of [$(filter %REENTRANT, $(defines)) nonempty].
74738         * Makeconfig
74739         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
74740         * sysdeps/pthread/configure: File removed.
74741         * sysdeps/pthread/Makeconfig: New file.
74742         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
74743         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
74745 2012-08-16  Gary Benson  <gbenson@redhat.com>
74747         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
74748         unmapping the first object in a namespace.
74750 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74752         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
74753         (__internal_setnetgrent): ... this.  Add internal_function to
74754         definition.  Add libc_hidden_def.
74755         (setnetgrent): Update caller.
74756         (internal_endnetgrent): Renamed to ...
74757         (__internal_endnetgrent): ... this.  Add internal_function to
74758         definition.  Add libc_hidden_def.
74759         (endnetgrent): Update caller.
74760         (internal_getnetgrent_r): Renamed to ...
74761         (__internal_getnetgrent_r): ... this.  Add internal_function to
74762         definition.  Add libc_hidden_def.
74763         (__getnetgrent_r): Update caller.
74764         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
74766 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74768         * stdlib/longlong.h: Update from GCC.
74770 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74772         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
74773         on _QL, which is set by umul_ppmm but never used.
74774         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
74775         variables, which are set by GMP macros but never used.
74776         * stdio-common/_itowa.c (_itowa): Likewise.
74777         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
74778         * stdlib/mod_1.c (mpn_mod_1): Likewise.
74780 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
74782         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
74783         struct La_sh_regs is not constant.
74784         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
74785         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
74786         and struct La_sparc64_regs are not constant.
74788 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74790         * sysdeps/unix/sysv/linux/kernel-features.h
74791         (__ASSUME_POSIX_TIMERS): Remove.
74792         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74794         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
74795         Make code unconditional.
74796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74797         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
74798         Make code unconditional.
74799         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74800         * sysdeps/unix/sysv/linux/clock_nanosleep.c
74801         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
74802         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74803         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
74804         Make code unconditional.
74805         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74806         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
74807         (__libc_missing_posix_timers): Remove.
74809 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74811         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
74812         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
74814         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
74816         * elf/dl-sym.c: Include <stdlib.h>.
74818         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
74819         constants, which avoids warnings in 32-bit builds.
74821         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
74822         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74824         * misc/lseek.c: File moved to ...
74825         * io/lseek.c: ... here.
74827         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
74829         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
74830         shifting LEN more than 31 bits at once.
74832 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74834         [BZ #14195]
74835         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
74836         segmentation fault for a case of two empty input strings.
74837         * string/test-strncasecmp.c (check1): Renamed to...
74838         (bz12205): ...this.
74839         (bz14195): Add new testcase for two empty input strings and N > 0.
74840         (test_main): Call new testcase, adapt for renamed function.
74842 2012-08-15  Andreas Jaeger  <aj@suse.de>
74844         [BZ #14090]
74845         * crypt/md5test2.c: New test, based on test supplied by Serge
74846         Belyshev <belyshev@depni.sinp.msu.ru>.
74847         * crypt/Makefile (xtests): Add md5test-giant..
74848         * crypt/Makefile ($(objpfx)md5test-giant): Add.
74850 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
74852         [BZ #14090]
74853         * crypt/md5.c (md5_process_block): Don't assume the buffer
74854         length is less than 2**32.
74855         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
74856         length is less than 2**64.
74858 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74860         * string/str-two-way.h: Include <sys/param.h>.
74861         (MAX): Macro removed.
74863         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
74864         Move #define and #undef of memmove to just before and after
74865         including <string.h>.
74867         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
74868         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
74869         and after including <string.h>.  Move declarations of
74870         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
74871         to before #include "string/memmove.c".
74873         * include/dirent.h: Declare __getdirentries.
74875         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
74876         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
74878 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
74880         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
74881         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
74882         * sysdeps/i386/configure: Regenerated.
74883         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
74884         STABS_CURRENT_FILE, and STABS_FUN.
74885         (END): Remove call to STABS_FUN_END.
74886         (STABS_CURRENT_FILE1): Delete.
74887         (STABS_CURRENT_FILE): Likewise.
74888         (STABS_FUN): Likewise.
74889         (STABS_FUN_END): Likewise.
74890         (STABS_FUN2): Likewise.
74891         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
74892         * sysdeps/x86_64/configure: Regenerated.
74894 2012-08-14  Roland McGrath  <roland@hack.frob.com>
74896         * elf/dl-open.c: Include <atomic.h>.
74897         * elf/dl-lookup.c: Likewise.
74899 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
74901         * sysdeps/unix/sysv/linux/kernel-features.h
74902         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
74903         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
74904         unconditionally.
74905         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
74906         unconditionally.
74907         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
74908         condition on __ASSUME_CLONE_THREAD_FLAGS.
74910 2012-08-14  Andreas Jaeger  <aj@suse.de>
74912         * sysdeps/i386/fpu/libm-test-ulps: Update.
74914 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
74916         * include/atomic.h (atomic_exchange_and_add): Split into ...
74917         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74918         New atomic macros.
74920 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
74922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74924 2012-08-13  Jeff Law <law@redhat.com>
74926         * manual/stdio.texi (snprintf): Clarify handling of the trailing
74927         null byte in the output string.
74929 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
74931         * sysdeps/unix/sysv/linux/kernel-features.h
74932         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74933         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74934         (__ASSUME_ARG_MAX_STACK_BASED): Define.
74935         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74936         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74937         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
74938         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74940 2012-08-09  Jeff Law <law@redhat.com>
74942         [BZ #13939]
74943         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74944         When avoid_arena is set, don't retry in the that arena.  Pick the
74945         next one, whatever it might be.
74946         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74947         (arena_lock): Pass in new parameter to arena_get2.
74948         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74949         arena_get2.
74950         (__libc_malloc): Unify retrying after main arena failure with
74951         __libc_memalign version.
74952         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74954 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74956         [BZ #14166]
74957         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74958         to __redirect_strstr.
74959         (__strstr_sse42): Use typeof __redirect_strstr.
74960         (__strstr_ia32): Likewise.
74961         (__libc_strstr): New prototype.
74962         (strstr): Renamed to ...
74963         (__libc_strstr): This.
74964         (strstr): New strong alias of __libc_strstr.
74965         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74966         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74967         __redirect_time.
74968         Include <time.h>.
74969         (__libc_time): New prototype.
74970         (time_ifunc): Replace time with __libc_time.
74971         (time): New strong alias and hidden definition of __libc_time.
74972         (__GI_time): Remove strong alias.
74973         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74974         Include <stddef.h>.
74975         (memmove): Redefined to __redirect_memmove.
74976         (__memmove_sse2): Use typeof __redirect_memmove.
74977         (__memmove_ssse3): Likewise.
74978         (__memmove_ssse3_back): Likewise.
74979         (__libc_memmove): New prototype.
74980         (memmove): Renamed to ...
74981         (__libc_memmove): This.
74982         (memmove): New strong alias of __libc_memmove.
74984 2012-08-08  Mark Salter  <msalter@redhat.com>
74986         * elf/elf.h
74987         (R_MN10300_TLS_GD): Define.
74988         (R_MN10300_TLS_LD): Likewise.
74989         (R_MN10300_TLS_LDO): Likewise.
74990         (R_MN10300_TLS_GOTIE): Likewise.
74991         (R_MN10300_TLS_IE): Likewise.
74992         (R_MN10300_TLS_LE): Likewise.
74993         (R_MN10300_TLS_DTPMOD): Likewise.
74994         (R_MN10300_TLS_DTPOFF): Likewise.
74995         (R_MN10300_TLS_TPOFF): Likewise.
74996         (R_MN10300_SYM_DIFF): Likewise.
74997         (R_MN10300_ALIGN): Likewise.
74998         (R_MN10300_NUM): Update.
75000 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
75002         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
75003         Remove.
75005 2012-08-08  Roland McGrath  <roland@hack.frob.com>
75007         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
75009         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
75010         sysdeps/unix -> sysdeps/posix move.
75011         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
75013 2012-08-07      Allan McRae     <allan@archlinux.org>
75015         [BZ #14303]
75016         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
75017         (SUNOS_CPP): Likewise.
75018         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
75019         not found.
75020         (open_input): Call CPP using execvp.
75022 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75024         * sysdeps/unix/sysv/linux/kernel-features.h
75025         (__ASSUME_PROT_GROWSUPDOWN): Remove.
75026         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75027         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75028         (__ASSUME_WAITID_SYSCALL): Likewise.
75029         * sysdeps/unix/sysv/linux/dl-execstack.c
75030         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
75031         code unconditional.
75032         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
75033         conditional code.
75034         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
75035         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
75036         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
75037         code.
75038         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
75039         unconditional.
75040         [__ASSUME_WAITID_SYSCALL]: Likewise.
75041         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
75043 2012-08-07  Roland McGrath  <roland@hack.frob.com>
75045         * sysdeps/unix/closedir.c: Renamed to ...
75046         * sysdeps/posix/closedir.c: ... here.
75047         * sysdeps/unix/dirfd.c: Renamed to ...
75048         * sysdeps/posix/dirfd.c: ... here.
75049         * sysdeps/unix/dirstream.h: Renamed to ...
75050         * sysdeps/posix/dirstream.h: ... here.
75051         * sysdeps/unix/fdopendir.c: Renamed to ...
75052         * sysdeps/posix/fdopendir.c: ... here.
75053         * sysdeps/unix/opendir.c: Renamed to ...
75054         * sysdeps/posix/opendir.c: ... here.
75055         * sysdeps/unix/readdir.c: Renamed to ...
75056         * sysdeps/posix/readdir.c: ... here.
75057         * sysdeps/unix/readdir_r.c: Renamed to ...
75058         * sysdeps/posix/readdir_r.c: ... here.
75059         * sysdeps/unix/rewinddir.c: Renamed to ...
75060         * sysdeps/posix/rewinddir.c: ... here.
75061         * sysdeps/unix/seekdir.c: Renamed to ...
75062         * sysdeps/posix/seekdir.c: ... here.
75063         * sysdeps/unix/telldir.c: Renamed to ...
75064         * sysdeps/posix/telldir.c: ... here.
75065         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
75066         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
75067         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
75068         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
75070         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
75071         * bits/fcntl.h: ... here.
75073         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75074         not 0.
75075         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
75076         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
75077         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
75078         (struct flock): Move l_start, l_len to the beginning.
75079         Use __pid_t for l_pid.
75080         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
75081         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
75082         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
75083         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
75084         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
75085         [__USE_LARGEFILE64] (struct flock64): New type.
75086         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
75088         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
75089         * bits/dirent.h: ... here.
75091         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
75092         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
75094 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75096         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75097         Change from 2.6.0 to 2.6.16.
75098         * sysdeps/unix/sysv/linux/configure: Regenerated.
75099         * sysdeps/unix/sysv/linux/kernel-features.h
75100         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
75101         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
75102         version.
75103         (__ASSUME_UTIMES): Likewise.
75104         (__ASSUME_CLONE_STOPPED): Remove.
75105         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
75106         architectures, not kernel version.
75107         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
75108         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75109         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75110         (__ASSUME_WAITID_SYSCALL): Likewise.
75111         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
75112         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
75113         * README: State 2.6.16 as minimum Linux kernel version.  Do not
75114         refer to older versions.
75116 2012-08-06  Roland McGrath  <roland@hack.frob.com>
75118         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
75119         Define alphasort64 as an alias.
75120         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
75121         Define versionsort64 as an alias.
75122         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
75123         Define scandir64 as an alias.
75124         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
75125         Define scandirat64 as an alias.
75126         * dirent/alphasort64.c (alphasort64):
75127         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
75128         * dirent/versionsort64.c: Likewise.
75129         * dirent/scandir64.c: Likewise.
75130         * dirent/scandirat64.c: Likewise.
75131         * sysdeps/wordsize-64/alphasort.c: File removed.
75132         * sysdeps/wordsize-64/alphasort64.c: File removed.
75133         * sysdeps/wordsize-64/scandir.c: File removed.
75134         * sysdeps/wordsize-64/scandir64.c: File removed.
75135         * sysdeps/wordsize-64/scandirat.c: File removed.
75136         * sysdeps/wordsize-64/scandirat64.c: File removed.
75137         * sysdeps/wordsize-64/versionsort.c: File removed.
75138         * sysdeps/wordsize-64/versionsort64.c: File removed.
75139         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
75140         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
75141         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
75142         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
75143         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
75144         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
75145         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
75146         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
75148         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
75149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75150         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
75151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75152         [defined __arch64__ || defined __sparcv9]
75153         (__INO_T_MATCHES_INO64_T): New macro.
75154         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75155         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
75156         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
75157         * sysdeps/unix/sysv/linux/bits/dirent.h
75158         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
75159         (_DIRENT_MATCHES_DIRENT64): New macro.
75161         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
75162         Define lockf64 as an alias.
75163         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
75164         Define fseeko64 as an alias.
75165         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
75166         Define ftello64 as an alias.
75167         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
75168         Define _IO_fgetpos64 and fgetpos64 as aliases.
75169         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
75170         Define _IO_fsetpos64 and fsetpos64 as aliases.
75171         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
75172         Conditionalize body on this.
75173         * libio/fseeko64.c: Likewise.
75174         * libio/ftello64.c: Likewise.
75175         * libio/iofgetpos64.c: Likewise.
75176         * libio/iofsetpos64.c: Likewise.
75177         * sysdeps/wordsize-64/lockf.c: File removed.
75178         * sysdeps/wordsize-64/lockf64.c: File removed.
75179         * sysdeps/wordsize-64/fseeko.c: File removed.
75180         * sysdeps/wordsize-64/fseeko64.c: File removed.
75181         * sysdeps/wordsize-64/ftello.c: File removed.
75182         * sysdeps/wordsize-64/ftello64.c: File removed.
75183         * sysdeps/wordsize-64/iofgetpos.c: File removed.
75184         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75185         * sysdeps/wordsize-64/iofsetpos.c: File removed.
75186         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75187         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75188         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75189         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75190         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75191         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75192         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75193         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75194         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75195         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75196         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
75198         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75199         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75200         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
75201         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75202         [defined __arch64__ || defined __sparcv9]
75203         (__OFF_T_MATCHES_OFF64_T): New macro.
75204         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75205         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75206         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75207         (__OFF_T_MATCHES_OFF64_T): New macro.
75209 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75211         * stdlib/secure-getenv.c (__secure_getenv): Replace
75212         GLIBC_2_16 with GLIBC_2_17.
75214 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75216         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
75217         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75219 2012-08-03  David S. Miller  <davem@davemloft.net>
75221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75223 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
75226         Remove.
75227         (__ASSUME_CORRECT_SI_PID): Likewise.
75228         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
75229         (__ASSUME_TMPFS_NAME): Likewise.
75230         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
75231         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
75232         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
75233         (HAVE_AUX_SECURE): Make definition unconditional.
75234         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
75235         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
75237 2012-08-03  Roland McGrath  <roland@hack.frob.com>
75239         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
75240         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
75241         * sysdeps/mach/hurd/eloop-threshold.h: New file.
75242         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75243         __eloop_threshold instead of SYMLOOP_MAX.
75245         * sysdeps/generic/eloop-threshold.h: New file.
75246         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
75247         of MAXSYMLINKS.
75248         * elf/chroot_canon.c (chroot_canon): Likewise.
75250 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75252         [BZ #13717]
75253         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75254         Change to 2.6.0 everywhere.
75255         * sysdeps/unix/sysv/linux/configure: Regenerated.
75256         * sysdeps/unix/sysv/linux/kernel-features.h
75257         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
75258         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
75259         kernel versions.
75260         (__ASSUME_POSIX_TIMERS): Define unconditionally.
75261         (__ASSUME_FUTEX_REQUEUE): Remove.
75262         (__ASSUME_STATFS64): Define unconditionally.
75263         (__ASSUME_AT_SECURE): Likewise.
75264         (__ASSUME_CORRECT_SI_PID): Likewise.
75265         (__ASSUME_TGKILL): Define without depending on kernel version for
75266         i386.
75267         (__ASSUME_UTIMES): Likewise.
75268         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
75269         kernel version.
75270         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
75271         (__ASSUME_TMPFS_NAME): Likewise.
75272         * README: Update reference to Linux kernel versions.
75274 2012-08-02  Marek Polacek  <polacek@redhat.com>
75276         [BZ #14150]
75277         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
75278         libc_cv_asm_type_prefix with %.
75279         * configure: Regenerated.
75280         * include/libc-symbols.h: Remove comment about
75281         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75282         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75283         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75284         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75285         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75286         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75287         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75288         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75289         * elf/tst-unique2mod1.c: Likewise.
75290         * elf/tst-unique1mod2.c: Likewise.
75291         * elf/tst-unique1mod1.c: Likewise.
75292         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75293         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75294         Replace ASM_TYPE_DIRECTIVE with .type.
75295         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75296         * sysdeps/i386/sysdep.h: Likewise.
75297         * sysdeps/x86_64/sysdep.h: Likewise.
75298         * sysdeps/sh/sysdep.h: Likewise.
75299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75300         Do not define ASM_TYPE_DIRECTIVE.
75301         * sysdeps/powerpc/sysdep.h: Likewise.
75302         * sysdeps/powerpc/powerpc32/sysdep.h:
75303         Replace ASM_TYPE_DIRECTIVE with .type.
75304         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75305         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75306         * sysdeps/i386/fpu/e_powf.S: Likewise.
75307         * sysdeps/i386/fpu/e_expl.S: Likewise.
75308         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75309         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75310         * sysdeps/i386/fpu/e_pow.S: Likewise.
75311         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75312         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75313         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75314         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75315         * sysdeps/i386/fpu/e_log2.S: Likewise.
75316         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75317         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75318         * sysdeps/i386/fpu/e_powl.S: Likewise.
75319         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75320         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75321         * sysdeps/i386/fpu/e_logl.S: Likewise.
75322         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75323         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75324         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75325         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75326         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75327         * sysdeps/i386/fpu/e_log.S: Likewise.
75328         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75329         * sysdeps/i386/fpu/e_logf.S: Likewise.
75330         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75331         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75332         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75333         * sysdeps/i386/fpu/e_log10.S: Likewise.
75334         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75335         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75336         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75337         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75338         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75339         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75340         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75341         * sysdeps/i386/i686/strtok.S: Likewise.
75342         * sysdeps/i386/i386-mcount.S: Likewise.
75343         * sysdeps/i386/strtok.S: Likewise.
75344         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75345         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75346         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75347         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75348         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75349         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75350         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75351         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75352         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75353         * sysdeps/x86_64/_mcount.S: Likewise.
75354         * sysdeps/x86_64/strtok.S: Likewise.
75355         * sysdeps/sh/_mcount.S: Likewise.
75357 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75359         * libio/iofopen.c: Include <fcntl.h>.
75360         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75361         (_IO_fopen64, fopen64): Define as aliases.
75362         * libio/iofopen64.c: Include <fcntl.h>.
75363         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75364         Conditionalize body on this.
75365         * sysdeps/wordsize-64/iofopen.c: File removed.
75366         * sysdeps/wordsize-64/iofopen64.c: File removed.
75368 2012-08-01  Marek Polacek  <polacek@redhat.com>
75370         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75371         Use dlfcn directly instead of a variable.
75372         (binfmt-subdir): Do not define.
75373         (dlfcn): Likewise.
75375 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75377         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75378         Remove all definitions.
75379         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75380         <kernel-features.h>.
75381         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75382         (miss_F_GETOWN_EX): Remove all definitions.
75383         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75384         macro definition.
75385         [!__ASSUME_FCNTL64]: Remove conditional code.
75386         [__ASSUME_FCNTL64]: Make code unconditional.
75387         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75388         <kernel-features.h>.
75389         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75390         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75391         (lockf64) [__NR_fcntl64]: Make code unconditional.
75392         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75394         * sysdeps/unix/sysv/linux/kernel-features.h
75395         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75396         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75397         Make code unconditional.
75398         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75399         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75401         [__NR_vfork]: Make code unconditional.
75402         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75403         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75405         [__NR_vfork]: Make code unconditional.
75406         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75407         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75409 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75411         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75412         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75414         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75415         Define mkstemp64 as an alias.
75416         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75417         Define mkstemps64 as an alias.
75418         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75419         Define mkostemp64 as an alias.
75420         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75421         Define mkostemps64 as an alias.
75422         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75423         Conditionalize body on this.
75424         * misc/mkostemp64.c: Likewise.
75425         * misc/mkostemps64.c: Likewise.
75426         * misc/mkstemps64.c: Likewise.
75427         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75428         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75429         * sysdeps/wordsize-64/mkostemp.c: File removed.
75430         * sysdeps/wordsize-64/mkstemp.c: File removed.
75431         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75432         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75433         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75434         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75436         [BZ #14138]
75437         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75438         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75439         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75440         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75442         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75443         compat_symbol macros from <shlib-compat.h> rather than the underlying
75444         default_symbol_version and symbol_version macros, so that DEFAULT
75445         lines in shlib-versions are respected.
75446         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75448 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75450         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75451         Declare with warn_unused_result.
75452         (setgid, setregid, setegid, setresgid): Likewise.
75453         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75454         Likewise.
75455         * WUR-REPORT: Remove set*id functions.
75457 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75459         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75461 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75463         [BZ #10191]
75464         * include/sys/socket.h (__libc_accept, __libc_accept4):
75465         Add attribute_hidden.
75466         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75468         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75469         use of PTR_MANGLE.
75470         * inet/getnetgrent_r.c (setup): Likewise.
75472         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75474 2012-07-31  David S. Miller  <davem@davemloft.net>
75476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75478 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75480         [BZ #13629]
75481         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75482         value between 1.0 and 2.0 and smaller part has absolute value less
75483         than 1.0.
75484         * math/s_clog10.c (__clog10): Likewise.
75485         * math/s_clog10f.c (__clog10f): Likewise.
75486         * math/s_clog10l.c (__clog10l): Likewise.
75487         * math/s_clogf.c (__clogf): Likewise.
75488         * math/s_clogl.c (__clogl): Likewise.
75489         * math/libm-test.inc (clog_test): Add more tests.
75490         (clog10_test): Likewise.
75491         * sysdeps/i386/fpu/libm-test-ulps: Update.
75492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75494 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75496         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75497         Exit with zero in case no suitable GID is found, and write a
75498         message to standard error.
75500 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75502         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75503         rather than to 1.
75504         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75505         (MAXPATHLEN): Removed.
75506         (NOGROUP, NODEV): New macros.
75507         (setbit, clrbit, isset, isclr): New macros.
75508         (howmany, roundup, powerof2): New macros.
75509         (DEV_BSIZE): New macro.
75511         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75512         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75514         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75515         definition on [!__NO_LONG_DOUBLE_MATH].
75517         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75518         PTR_MANGLE and PTR_DEMANGLE.
75520         * socket/accept4.c (accept4): Rename to __libc_accept4.
75521         Define accept4 as a weak alias.
75523         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75524         on [_DIRENT_HAVE_D_TYPE].
75525         * io/ftw.c (ftw_dir): Likewise.
75527         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75529         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75531         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75532         Use the BSD numbers rather than the arbitrary ones we had.
75533         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75534         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75535         (SIGXCPU, SIGXFSZ): New macros.
75536         (_NSIG): Now 32.
75538         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75539         initializer on [_LIBC_REENTRANT].
75541         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75542         definitions inside [_POSIX_MAPPED_FILES].
75544         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75546         * dirent/opendir.c: Include <fcntl.h>.
75548         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75549         (__libc_getspecific): Likewise.
75550         (__libc_key_create): Likewise.
75552         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75553         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75554         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75555         (tmpfile64): Define as alias.
75556         * sysdeps/wordsize-64/tmpfile.c: File removed.
75557         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75558         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75559         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75561         * stdio-common/vfscanf.c: Include <stdbool.h>.
75562         * nss/makedb.c: Likewise.
75563         * stdio-common/_i18n_number.h: Likewise.
75564         * argp/argp-help.c: Likewise.
75565         * posix/wordexp.c: Likewise.
75566         * sysdeps/posix/spawni.c: Likewise.
75567         * nss/nss_files/files-initgroups.c: Likewise.
75568         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75569         * nss/nss_files/files-initgroups.c: Likewise.
75570         * nss/nss_db/db-netgrp.c: Likewise.
75571         * nss/nss_db/db-initgroups.c: Likewise.
75572         * io/fchmodat.c: Include <sys/stat.h>.
75574         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75575         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75577         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75578         [HAVE_MMAP].
75580         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75581         Add multiple inclusion protection.
75583 2012-07-27  David S. Miller  <davem@davemloft.net>
75585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75587 2012-07-27  Gary Benson  <gbenson@redhat.com>
75589         [BZ #14298]
75590         * elf/rtld.c: Include <stap-probe.h>.
75591         (dl_main): Added static probes "init_start" and "init_complete".
75592         * elf/dl-load.c: Include <stap-probe.h>.
75593         (lose): Take new parameter "nsid".
75594         Added static probe "map_failed".
75595         (_dl_map_object_from_fd): Pass namespace id to lose.
75596         Added static probe "map_start".
75597         (open_verify): Pass namespace id to lose.
75598         * elf/dl-open.c: Include <stap-probe.h>.
75599         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75600         and "reloc_complete".
75601         * elf/dl-close.c: Include <stap-probe.h>.
75602         (_dl_close_worker): Added static probes "unmap_start" and
75603         "unmap_complete".
75604         * elf/rtld-debugger-interface.txt: New file documenting the above.
75606 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75608         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75609         rather than a string variable.
75610         * sunrpc/rpc_main.c (h_output): Likewise.
75611         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75613 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75615         * inet/check_native.c: New file.
75617 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75619         [BZ #13629]
75620         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75621         if larger part has absolute value 1.0.
75622         * math/s_clog10.c (__clog10): Likewise.
75623         * math/s_clog10f.c (__clog10f): Likewise.
75624         * math/s_clog10l.c (__clog10l): Likewise.
75625         * math/s_clogf.c (__clogf): Likewise.
75626         * math/s_clogl.c (__clogl): Likewise.
75627         * math/libm-test.inc (clog_test): Add more tests.
75628         (clog10_test): Likewise.
75629         * sysdeps/i386/fpu/libm-test-ulps: Update.
75630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75632         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75633         (pltexit): Likewise.
75634         (La_regs): Likewise.
75635         (La_retval): Likewise.
75636         (int_retval): Likewise.
75637         Update #error for removed macros to refer only to definitions in
75638         tst-audit.h.
75639         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75640         macro.
75641         (pltexit): Likewise.
75642         (La_regs): Likewise.
75643         (La_retval): Likewise.
75644         (int_retval): Likewise.
75645         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75646         macro.
75647         (pltexit): Likewise.
75648         (La_regs): Likewise.
75649         (La_retval): Likewise.
75650         (int_retval): Likewise.
75651         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75652         macro.
75653         (pltexit): Likewise.
75654         (La_regs): Likewise.
75655         (La_retval): Likewise.
75656         (int_retval): Likewise.
75657         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75658         macro.
75659         (pltexit): Likewise.
75660         (La_regs): Likewise.
75661         (La_retval): Likewise.
75662         (int_retval): Likewise.
75663         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75664         macro.
75665         (pltexit): Likewise.
75666         (La_regs): Likewise.
75667         (La_retval): Likewise.
75668         (int_retval): Likewise.
75669         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75670         macro.
75671         (pltexit): Likewise.
75672         (La_regs): Likewise.
75673         (La_retval): Likewise.
75674         (int_retval): Likewise.
75675         * sysdeps/generic/tst-audit.h: Update comment to refer only to
75676         macro definitions in tst-audit.h.
75677         * sysdeps/i386/tst-audit.h: New file.
75678         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75679         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75680         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75681         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
75682         * sysdeps/sh/tst-audit.h: Likewise.
75683         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
75684         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
75685         * sysdeps/x86_64/tst-audit.h: Likewise.
75687 2012-07-26  Andreas Jaeger  <aj@suse.de>
75689         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
75690         ptrace.
75692         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
75693         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
75694         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
75695         PTRACE_O_MASK.
75696         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
75697         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
75698         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
75700         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
75701         value.
75703         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75704         _sigsys.
75705         (si_call_addr, si_syscall, si_arch): Define new macro.
75706         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
75707         _sigsys.
75708         (si_call_addr, si_syscall, si_arch): Define new marcro.
75709         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
75710         _sigsys.
75711         (si_call_addr, si_syscall, si_arch): Define new macro.
75712         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
75713         _sigsys.
75714         (si_call_addr, si_syscall, si_arch): Define new macro.
75716 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75718         [BZ #13717]
75719         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75720         Change to 2.4.21 where previously 2.4.1.
75721         * sysdeps/unix/sysv/linux/configure: Regenerated.
75722         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
75723         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
75724         Linux kernel version.
75725         (__ASSUME_STD_AUXV): Remove.
75726         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
75727         kernel version.
75728         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
75729         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
75730         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
75731         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
75732         (__ASSUME_NETLINK_SUPPORT): Likewise.
75733         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
75734         (__no_netlink_support): Remove conditional definition.
75735         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
75736         Remove.
75737         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75738         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
75739         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
75740         (if_nameindex_ioctl): Remove.
75741         (if_nameindex_netlink): Do not handle __no_netlink_support.
75742         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75743         code.
75744         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
75745         Remove conditional code.
75746         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75747         code.
75748         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
75749         unconditional.
75750         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75751         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
75752         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
75753         Remove.
75754         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
75755         [!__ASSUME_STD_AUXV]: Remove conditional code.
75756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
75757         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
75758         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
75759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
75760         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
75761         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75762         code.
75763         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
75765         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
75766         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75767         conditional code.
75768         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
75770         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75771         code.
75772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
75773         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75774         conditional code.
75775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
75776         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75777         code unconditional.
75778         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75779         conditional code.
75780         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75781         unconditional.
75782         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75783         conditional code.
75784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75785         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75786         unconditional.
75787         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75788         conditional code.
75789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
75790         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75791         code unconditional.
75792         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75793         conditional code.
75794         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75795         unconditional.
75796         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75797         conditional code.
75798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
75799         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75800         code unconditional.
75801         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75802         conditional code.
75803         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75804         unconditional.
75805         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75806         conditional code.
75808 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
75810         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
75811         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
75812         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
75813         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
75814         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
75815         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
75816         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
75817         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
75818         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
75819         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
75820         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
75821         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
75822         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
75823         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
75824         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75825         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
75826         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
75827         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
75828         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
75829         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
75830         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
75831         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
75832         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75834 2012-07-25  Florian Weimer  <fweimer@redhat.com>
75836         * Versions.def: Add GLIBC_2.17.
75837         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
75838         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
75839         Introduce __libc_secure_getenv.
75840         * stdlib/Versions (2.17): Add secure_getenv
75841         (GLIBC_PRIVATE): Add __libc_secure_getenv.
75842         * stdlib/secure-getenv.c: Rename __secure_getenv to
75843         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
75844         symbol __secure_getenv for GLIBC_2.0.
75845         * stdlib/tst-secure-getenv.c: New.
75846         * stdlib/Makefile (tests): Add testcase.
75847         * manual/startup.texi (Environment Access): Document
75848         secure_getenv.
75849         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
75850         __libc_secure_getenv.
75851         * inet/ruserpass.c (ruserpass): Likewise.
75852         * malloc/mtrace.c (mtrace): Likewise.
75853         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
75854         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
75855         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
75856         * sysdeps/posix/tempname.c: Likewise.  Evaluate
75857         HAVE_SECURE_GETENV.
75858         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
75859         __secure_getenv to __libc_secure_getenv.
75860         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
75861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75862         Likewise.
75863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75864         Likewise.
75865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75867         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75873 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75875         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
75876         (struct La_i86_retval): Likewise.
75877         (struct La_x86_64_regs): Likewise.
75878         (struct La_x86_64_retval): Likewise.
75879         (struct La_x32_regs): Likewise.
75880         (struct La_x32_retval): Likewise.
75881         (struct La_ppc32_regs): Likewise.
75882         (struct La_ppc32_retval): Likewise.
75883         (struct La_ppc64_regs): Likewise.
75884         (struct La_ppc64_retval): Likewise.
75885         (struct La_sh_regs): Likewise.
75886         (struct La_sh_retval): Likewise.
75887         (struct La_s390_32_regs): Likewise.
75888         (struct La_s390_32_retval): Likewise.
75889         (struct La_s390_64_regs): Likewise.
75890         (struct La_s390_64_retval): Likewise.
75891         (struct La_sparc32_regs): Likewise.
75892         (struct La_sparc32_retval): Likewise.
75893         (struct La_sparc64_regs): Likewise.
75894         (struct La_sparc64_retval): Likewise.
75895         (struct audit_ifaces): Remove architecture-specific pltenter and
75896         pltexit members.
75897         * sysdeps/i386/ldsodefs.h: New file.
75898         * sysdeps/powerpc/ldsodefs.h: Likewise.
75899         * sysdeps/s390/ldsodefs.h: Likewise.
75900         * sysdeps/sh/ldsodefs.h: Likewise.
75901         * sysdeps/sparc/ldsodefs.h: Likewise.
75902         * sysdeps/x86_64/ldsodefs.h: Likewise.
75904 2012-07-25  Marek Polacek  <polacek@redhat.com>
75906         [BZ #6808]
75907         * math/libm-test.inc (yn_test): Add another test.
75908         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
75909         to ERANGE when the result is +-Inf.
75910         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
75911         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
75912         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
75913         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
75915 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
75917         * conform/data/time.h-data (NULL): Use macro-constant.  Require
75918         equal to 0.
75919         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
75920         clock_t.
75921         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
75923 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
75925         * configure.in <sysdeps resolving>: Correct printing
75926         Implies_before.
75927         * configure: Regenerate.
75929 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
75931         * math/w_ilogb.c: Include <limits.h>.
75932         * math/w_ilogbl.c: Likewise.
75934 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75936         * manual/lang.texi (__va_copy): Document primarily as ISO C99
75937         va_copy.  Document allowing for unavailable va_copy only as
75938         pre-C99 compatibility.
75939         * manual/string.texi (Copying and Concatenation): Use va_copy
75940         instead of __va_copy in concat example.
75942 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
75944         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75945         (__sendto): Use create_address_port.  Initialize APORT and deallocate
75946         it if not null.
75948         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75949         with O_NOLINK passed to __file_name_lookup.
75951         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75952         with O_NOLINK passed to __file_name_lookup.
75954         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75955         negative N or less than NGIDS.
75957         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75958         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75959         enough.  Use memcpy instead of strncpy.
75961 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75963         * elf/Makefile (check-data): Remove.
75964         (localplt.data): New vpath directive.
75965         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75966         instead of $(check-data).
75967         * scripts/data/localplt-generic.data: Move to ...
75968         * sysdeps/generic/localplt.data: ... here.
75969         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75970         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75971         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75973         ... here.
75974         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75976         ... here.
75977         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75979         ... here.
75980         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75982         ... here.
75983         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75985         ... here.
75986         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75988         ... here.
75990 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75992         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75993         PPC32 and PPC64 files.
75994         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75995         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75997 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75999         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
76000         __makecontext_ret to ...
76001         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
76002         ... here and call exit if uc_link is NULL.  New file.
76003         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
76004         __makecontext_ret.S.
76005         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
76006         __makecontext_ret to ...
76007         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
76008         ... here and call exit if uc_link is NULL.  New file.
76009         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
76010         __makecontext_ret.S.
76012 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76014         * elf/elf.h (R_390_IRELATIVE): New definition.
76015         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
76016         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
76017         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
76018         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
76019         (elf_machine_lazy_rel): Likewise.
76020         * sysdeps/s390/dl-irel.h: New file.
76021         * sysdeps/s390/s390-64/memcpy.S: New asm code.
76022         * sysdeps/s390/s390-64/memset.S: New asm code.
76023         * sysdeps/s390/s390-64/memcmp.S: New asm code.
76024         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
76025         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
76026         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
76027         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
76028         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
76029         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
76030         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
76031         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
76032         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
76033         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
76034         * sysdeps/s390/s390-32/memcpy.S: New asm code.
76035         * sysdeps/s390/s390-32/memset.S: New asm code.
76036         * sysdeps/s390/s390-32/memcmp.S: New asm code.
76038 2012-07-17  Marek Polacek  <polacek@redhat.com>
76040         [BZ #14349]
76041         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
76042         * sysdeps/s390/s390-64/configure.in: Likewise.
76043         * sysdeps/sparc/configure.in: Likewise.
76044         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
76045         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
76046         * sysdeps/i386/configure.in: Likewise.
76047         * sysdeps/x86_64/configure.in: Likewise.
76048         * sysdeps/sh/configure.in: Likewise.
76049         * sysdeps/s390/s390-32/configure: Regenerated.
76050         * sysdeps/s390/s390-64/configure: Likewise.
76051         * sysdeps/x86_64/configure: Likewise.
76052         * sysdeps/sh/configure: Likewise.
76053         * sysdeps/powerpc/powerpc64/configure: Likewise.
76054         * sysdeps/powerpc/powerpc32/configure: Likewise.
76055         * sysdeps/sparc/configure: Likewise.
76056         * sysdeps/i386/configure: Likewise.
76058         * elf/dl-open.c: Comment fixes.
76060 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
76062         * Makefile [CXX] (check-data): Remove.
76063         [CXX] (c++-types.data): New vpath directive.
76064         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
76065         vpath.  Do not allow for C++ type data being missing.
76066         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
76067         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
76068         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
76069         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
76070         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
76071         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76072         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
76073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
76074         ... here.
76075         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
76076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
76077         ... here.
76078         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
76079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
76080         ... here.
76081         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
76082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
76083         ... here.
76084         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
76085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
76086         ... here.
76087         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
76088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
76089         ... here.
76090         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
76091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
76092         ... here.
76093         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
76094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
76096         * elf/tls-macros.h (TLS_LE): Move architecture-specific
76097         definitions to architecture-specific files.
76098         (TLS_IE): Likewise.
76099         (TLS_LD): Likewise.
76100         (TLS_GD): Likewise.
76101         * sysdeps/i386/tls-macros.h: New file.
76102         * sysdeps/powerpc/tls-macros.h: Likewise.
76103         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
76104         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
76105         * sysdeps/sh/tls-macros.h: Likewise.
76106         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
76107         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
76108         * sysdeps/x86_64/tls-macros.h: Likewise.
76110 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76112         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76113         zero value for regular exit case.
76115         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
76116         (__start_context): Preserve zero value for regular exit case.
76118 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76119             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76121         * manual/setjmp.texi (setcontext): Clarify normal process
76122         termination when uc_link is the null pointer.
76123         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
76124         exit call.
76126 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
76128         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
76129         preprocessor.  Test for each exception mask separately.
76131 2012-07-16  Andreas Jaeger  <aj@suse.de>
76133         * po/ru.po: Update from translation team.
76135 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
76137         * conform/data/string.h-data (NULL): Use macro-constant.  Require
76138         equal to 0.
76139         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76140         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76141         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
76142         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
76143         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76145 2012-07-13  Andreas Jaeger  <aj@suse.de>
76147         * po/fr.po: Update from translation team.
76149 2012-07-12  Marek Polacek  <polacek@redhat.com>
76151         [BZ #14173]
76152         * math/libm-test.inc (yn_test): Add test for BZ #14173.
76153         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
76154         loop condition.
76156 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
76158         [BZ #13717]
76159         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76160         Change to 2.4.1 where previously 2.4.0.
76161         * sysdeps/unix/sysv/linux/configure: Regenerated.
76162         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
76163         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
76164         version.
76165         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
76166         (__ASSUME_AT_CLKTCK): Remove.
76167         (__ASSUME_AT_PAGESIZE): Likewise.
76168         (__ASSUME_AT_XID): Likewise.
76169         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
76170         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
76171         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
76172         unconditionally.
76173         (HAVE_AUX_PAGESIZE): Likewise.
76174         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
76175         [__ASSUME_AT_CLKTCK]: Make code unconditional.
76176         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76178 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
76180         [BZ #14307]
76181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76182         the temporary buffer used to invoke __gethostbyname2_r,
76183         __gethostbyaddr_r and gethostbyname4_r to make room for struct
76184         host_data / struct gaih_addrtuple.
76185         * resolv/nss_dns/dns-host.c (global scope): Move definition of
76186         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76187         header file nss/nsswitch.h.
76188         * nss/nsswitch.h (global scope): Add definition of implementation
76189         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76190         resolv/nss_dns/dns-host.c).
76192 2012-07-11  Andreas Jaeger  <aj@suse.de>
76194         * po/fr.po: Update from translation team.
76196         * po/sv.po: Update from translation team
76197         * po/fr.po: Another update from translation team.
76199 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76201         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
76202         for subnormals or multiply small sinh result by itself.
76203         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76206 2012-07-11  David S. Miller  <davem@davemloft.net>
76208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76210 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
76212         [BZ #14347]
76213         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
76214         (INTERNAL_MARK): Shift it here.
76216 2012-07-10  Marek Polacek  <polacek@redhat.com>
76218         [BZ #14151]
76219         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
76220         libc_cv_asm_global_directive with .globl.
76221         * configure: Regenerated.
76222         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
76223         with .globl.
76224         * sysdeps/i386/configure: Regenerated.
76225         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
76226         with .globl.
76227         * sysdeps/x86_64/configure: Regenerated.
76228         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
76229         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
76230         * elf/tst-unique2mod2.c: Likewise.
76231         * elf/tst-unique2mod1.c: Likewise.
76232         * elf/tst-unique1mod2.c: Likewise.
76233         * elf/tst-unique1mod1.c: Likewise.
76234         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76235         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76236         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76237         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76238         * sysdeps/mach/sysdep.h: Likewise.
76239         * sysdeps/i386/sysdep.h: Likewise.
76240         * sysdeps/i386/i386-mcount.S: Likewise.
76241         * sysdeps/x86_64/_mcount.S: Likewise.
76242         * sysdeps/x86_64/sysdep.h: Likewise.
76243         * sysdeps/sh/_mcount.S: Likewise.
76244         * sysdeps/sh/sysdep.h: Likewise.
76245         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
76246         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
76247         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
76248         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76249         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
76250         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
76251         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
76252         * locale/localeinfo.h: Likewise.
76253         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
76254         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
76256 2012-07-09  Roland McGrath  <roland@hack.frob.com>
76258         [BZ #14336]
76259         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
76260         system".
76261         * manual/message.texi (The Uniforum approach): Likewise.
76262         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
76263         (glibc iconv Implementation): Likewise.
76265 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
76267         [BZ #14337]
76268         * math/s_clog.c (__clog): Avoid scaling a value down where that
76269         could result in underflow.
76270         * math/s_clog10.c (__clog10): Likewise.
76271         * math/s_clog10f.c (__clog10f): Likewise.
76272         * math/s_clog10l.c (__clog10l): Likewise.
76273         * math/s_clogf.c (__clogf): Likewise.
76274         * math/s_clogl.c (__clogl): Likewise.
76275         * math/libm-test.inc (clog_test): Add more tests.
76276         (clog10_test): Likewise.
76277         * sysdeps/i386/fpu/libm-test-ulps: Update.
76278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76280 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
76282         [BZ #14283]
76283         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76284         by 7 not 8 to examine high bit of fractional part.
76286         [BZ #14042]
76287         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76288         for call to __mcount_internal.
76289         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76290         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76291         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76293 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
76295         [BZ #14154]
76296         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76297         approximation for values within 0x1p-13f of an odd multiple of
76298         pi/4.
76299         * math/libm-test.inc (tan_test): Do not allow spurious underflow
76300         exception.  Add more tests.
76301         * sysdeps/i386/fpu/libm-test-ulps: Update.
76303         [BZ #6778]
76304         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76305         inputs and return -1 for them.  Do not check for +Inf in case not
76306         reachable for +Inf.
76307         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76308         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76309         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76310         and return -1 for them.  Do not check for +Inf in case not
76311         reachable for +Inf.
76312         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76313         define.
76314         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76315         and return -1 for them.  Do not check for +Inf in case not
76316         reachable for +Inf.
76317         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
76318         spurious underflow.
76319         * sysdeps/i386/fpu/libm-test-ulps: Update.
76320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76322 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
76324         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76326 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76328         [BZ #14157]
76329         [BZ #14331]
76330         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76331         could result in spurious underflow.  Scale down values above
76332         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76333         * math/s_csqrtf.c (__csqrtf): Likewise.
76334         * math/s_csqrtl.c (__csqrtl): Likewise.
76335         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76336         spurious underflow.
76337         * sysdeps/i386/fpu/libm-test-ulps: Update.
76338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76340 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76342         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76343         xopen-msg.sed.
76344         * catgets/xopen-msg.awk: New file.
76345         * catgets/xopen-msg.sed: Removed.
76347         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76348         po2text.sed.
76349         * intl/po2test.awk: New file.
76350         * intl/po2test.sed: Removed.
76352 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76354         [BZ #14328]
76355         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76356         or multiply small sinh result by itself.
76357         * math/s_ctanf.c (__ctanf): Likewise.
76358         * math/s_ctanh.c (__ctanh): Likewise.
76359         * math/s_ctanhf.c (__ctanhf): Likewise.
76360         * math/s_ctanhl.c (__ctanhl): Likewise.
76361         * math/s_ctanl.c (__ctanl): Likewise.
76362         * math/libm-test.inc (ctan_test_tonearest): New function.
76363         (ctan_test_towardzero): Likewise.
76364         (ctan_test_downward): Likewise.
76365         (ctan_test_upward): Likewise.
76366         (ctanh_test_tonearest): Likewise.
76367         (ctanh_test_towardzero): Likewise.
76368         (ctanh_test_downward): Likewise.
76369         (ctanh_test_upward): Likewise.
76370         (main): Call these new functions.
76371         * sysdeps/i386/fpu/libm-test-ulps: Update.
76372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76374 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76376         * .gitignore: Delete /ports entry.
76378 2012-07-03  Andreas Jaeger  <aj@suse.de>
76380         * po/bg.po: Update from translation team.
76381         * po/cs.po: Likewise.
76382         * po/de.po: Likewise.
76383         * po/hr.po: Likewise.
76384         * po/nl.pl: Likewise.
76385         * po/pl.po: Likewise.
76386         * po/vi.po: Likewise.
76388 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76390         * Makeconfig [!+link] (+link-before-libc): New variable.
76391         [!+link] (+link-after-libc): Likewise.
76392         [!+link] (+link-tests): Likewise.
76393         [!+link] (+link): Define in terms of $(+link-before-libc) and
76394         $(+link-after-libc).
76395         [!+link-static] (+link-static-before-libc): New variable.
76396         [!+link-static] (+link-static-after-libc): Likewise.
76397         [!+link-static] (+link-static-tests): Likewise.
76398         [!+link-static] (+link-static): Define in terms of
76399         $(+link-static-before-libc) and $(+link-static-after-libc).
76400         [build-shared] (link-libc-before-gnulib): New variable.
76401         [build-shared] (link-libc-tests): Likewise.
76402         [build-shared] (link-libc): Define in terms of
76403         $(link-libc-before-gnulib).
76404         [!build-shared] (link-libc-tests): New variable.
76405         (link-libc-static-tests): New variable.
76406         [!gnulib] (gnulib-arch): New variable.
76407         [!gnulib] (gnulib-tests): Likewise.
76408         [!gnulib] (static-gnulib-arch): Likewise.
76409         [!gnulib] (static-gnulib-tests): Likewise.
76410         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76411         Define with "=" instead of ":=".
76412         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76413         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76414         * Rules (binaries-all-notests): New variable.
76415         (binaries-all-tests): Likewise.
76416         (binaries-static-notests): Likewise.
76417         (binaries-static-tests): Likewise.
76418         (binaries-all): Define using $(binaries-all-notests) and
76419         $(binaries-all-tests).
76420         (binaries-static): Define using $(binaries-static-notests) and
76421         $(binaries-static-tests).
76422         (binaries-shared-tests): New variable.
76423         (binaries-shared-notests): Likewise.
76424         (binaries-shared): Remove variable.
76425         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76426         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76427         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76428         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76429         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76430         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76431         * elf/Makefile (sln-modules): New variable.
76432         (extra-objs): Add $(sln-modules:=.o).
76433         (ldconfig-modules): Add static-stubs.
76434         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76435         * elf/static-stubs.c: New file.
76437         [BZ #14283]
76438         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76439         by 7 not 8 to examine high bit of fractional part.  Use volatile
76440         variables when splitting into final array of floats if
76441         __FLT_EVAL_METHOD__ != 0.
76442         * math/libm-test.inc (cos_test): Add another test.
76443         (sin_test): Likewise.
76444         * sysdeps/i386/fpu/libm-test-ulps: Update.
76446         [BZ #14273]
76447         * math/libm-test.inc (cosh_test): Add more tests.
76449         * version.h (RELEASE): Set to "development".
76450         (VERSION): Set to "2.16.90".
76452 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76454         * NEWS: Update copyright. Remove last-updated date.
76455         Mention math library bug fixes and timezone data changes.
76456         * README: Mention GNU/Hurd, x32, and HPPA support status.
76458 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76460         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76462 2012-06-27  Andreas Jaeger  <aj@suse.de>
76464         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76466 2012-06-25  Andreas Jaeger  <aj@suse.de>
76468         * sysdeps/s390/fpu/libm-test-ulps: Update.
76470 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76471             Thomas Schwinge  <thomas@codesourcery.com>
76473         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76474         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76475         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76476         fanotify_mark.
76478 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76480         * sysdeps/mach/start.c: Remove file.
76481         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76482         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76483         * sysdeps/sh/init-first.c: Likewise.
76485         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76486         registers for frame unwinding purposes, add CFI directives.
76487         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76488         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76489         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76490         Likewise.
76492         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76493         __fortify_fail returning.
76494         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76496         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76497         sysdeps/sh/____longjmp_chk.S.
76498         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76499         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76500         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76501         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76503         * sysdeps/sh/abort-instr.h: New file.
76504         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76505         process in case exit returns.
76507         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76508         initialize the GOT register before use.
76510         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76511         calculation of ARGC > 4.
76513         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76514         meaningful names to some local labels.
76516 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76517             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76519         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76520         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76521         (__arch_compare_and_exchange_val_16_acq): Likewise.
76522         (__arch_compare_and_exchange_val_32_acq): Likewise.
76523         (atomic_exchange_and_add): Fix gUSA sequence.
76524         (atomic_add): Likewise.
76525         (atomic_add_negative): Likewise.
76526         (atomic_add_zero): Likewise.
76527         (atomic_bit_test_set): Likewise.
76529 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76531         [BZ #13579]
76532         * include/link.h (struct link_map): Add l_free_initfini.
76533         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76534         l_initfini.
76535         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76536         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76537         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76538         set.
76540 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76542         * configure.in: Use AC_LANG_SOURCE.
76543         * configure: Regenerate.
76545 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76547         * configure.in (libc_cv_localstatedir): New substituted variable.
76548         * configure: Regenerated.
76549         * config.make.in (localstatedir): New variable, substituted from
76550         libc_cv_localstatedir.
76551         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76552         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76553         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76554         * sysdeps/gnu/configure: Regenerated.
76556 2012-06-21  Jeff Law  <law@redhat.com>
76558         [BZ #14277]
76559         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76560         free.  Simplify list management for _LIBC case.
76562 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76564         [BZ #14273]
76565         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76566         Clear sign bit of 64-bit integer value before comparing against
76567         overflow value.
76569         * sysdeps/mach/configure: Regenerated.
76571 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76573         [BZ #14278]
76574         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76576 2012-06-21  Jeff Law  <law@redhat.com>
76578         [BZ #13882]
76579         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76580         uint16_t for elements in the "seen" array to avoid char overflows.
76581         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76582         * elf/dl-open.c (dl_open_worker): Likewise.
76584 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76586         * scripts/list-sources.sh: Scan PORTS for translations.
76587         * po/libc.pot: Regenerated.
76589 2012-06-21  Andreas Jaeger  <aj@suse.de>
76591         [BZ #12194]
76592         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76593         warning.
76594         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76595         * bits/byteswap-16.h (__bswap_16): Likewise.
76596         * bits/byteswap.h (__bswap_constant_16): Likewise.
76598 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76600         [BZ #14117]
76601         * sysdeps/i386/fpu_control.h: Removed.
76602         * sysdeps/x86_64/fpu_control.h: Moved to ...
76603         * sysdeps/x86/fpu_control.h: Here.
76605         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76606         (_FPU_SETCW): Likewise.
76608 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76610         [BZ #14117]
76611         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76612         * sysdeps/x86/fpu/bits/mathinline.h: This.
76613         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76615         [BZ #14050]
76616         [BZ #14117]
76617         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76618         functions if __x86_64__ is defined.
76620 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
76622         * string/endian.h: Add !__ASSEMBLER__ condition for including
76623         conversion interfaces.
76625 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
76627         [BZ #14241]
76628         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76629         of ABS(x) in calculating zero to negative powers other than odd
76630         integers.
76631         * math/libm-test.inc (pow_test): Add more tests.
76633 2012-06-15  Andreas Jaeger  <aj@suse.de>
76635         * manual/contrib.texi (Contributors): Update entry of Liubov
76636         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76637         Machado Filho.
76639 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
76641         * string/string.h: Add __wur to GNU version of strerror_r.
76643 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
76645         [BZ #14229]
76646         * string/Makefile (tests): Add tst-strtok_r.
76647         * string/tst-strtok_r.c: New file.
76648         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76649         RAX_LP/RDX_LP on SAVE_PTR.
76651 2012-06-14  Roland McGrath  <roland@hack.frob.com>
76653         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76655 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
76657         * libm_test.inc (csqrt_test): Allow more spurious underflow
76658         exceptions.
76659         (j0_test): Likewise.
76660         (j1_test): Likewise.
76661         (y0_test): Likewise.
76662         (y1_test): Likewise.
76664 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
76666         * po/Makefile (libc.pot): Use UTF-8 charset.
76668 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
76670         [BZ #14210]
76671         Suppress sign-conversion warning from FD_SET.
76672         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76673         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76674         not unsigned long int.
76675         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76677 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
76679         [BZ #14050]
76680         [BZ #14117]
76681         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
76682         __extern_always_inline instead of __extern_inline.
76683         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
76684         (__signbit): Likewise.
76685         (__signbitl): Support C++ namespace.
76686         (lrintf): New inline function.
76687         (lrint): Likewise.
76688         (llrintf): Likewise.
76689         (llrint): Likewise.
76690         (fmaxf): Likewise.
76691         (fmax): Likewise.
76692         (fminf): Likewise.
76693         (fmin): Likewise.
76694         (rint): Likewise.
76695         (rintf): Likewise.
76696         (ceil): Likewise.
76697         (ceilf): Likewise.
76698         (floor): Likewise.
76699         (floorf): Likewise.
76700         (nearbyint): Likewise.
76701         (nearbyintf): Likewise.
76703 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
76705         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
76706         non-default versions.
76708 2012-06-11  Roland McGrath  <roland@hack.frob.com>
76710         [BZ #14218]
76711         * manual/argp.texi (Argp): Reword argp_parse description slightly.
76713 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
76715         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
76716         (FE_UPWARD, FE_DOWNWARD): Don't define.
76717         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
76718         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76720         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
76721         reading it.
76722         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76723         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76725 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76727         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
76729         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
76730         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
76732 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
76734         [BZ #14117]
76735         * sysdeps/i386/fpu/bits/fenv.h: Removed.
76736         * sysdeps/i386/fpu/Implies: New file.
76737         * sysdeps/x86_64/fpu/Implies: Likewise.
76738         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
76739         * sysdeps/x86/fpu/bits/fenv.h: This.
76741         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
76742         __SSE_MATH__.
76744 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
76746         [BZ #14134]
76747         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
76748         character 0xffff that matches the last element of the
76749         conversion table.
76751 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76753         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
76754         fmodl commit.
76756 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
76759         values higher than 25.6283.
76761 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76763         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
76764         subnormal exponent extraction and add some __builtin_expect.
76765         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
76766         Fix for subnormal mantissa calculation.
76768 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
76770         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
76771         cpu2 is -1 and errno is not ENOSYS.
76773 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
76775         [BZ #14117]
76776         * sysdeps/i386/i486/bits/string.h: Renamed to ...
76777         * sysdeps/x86/bits/string.h: This.
76778         * sysdeps/x86_64/bits/string.h: Removed.
76780         * sysdeps/i386/i486/bits/string.h: Define inline functions only
76781         if not compiling for x86-64, but compiling for >= i486.
76783         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
76784         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
76786         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
76787         New macro from Linux kernel 3.4.0.
76788         (FP_XSTATE_MAGIC2): Likewise.
76789         (FP_XSTATE_MAGIC2_SIZE): Likewise.
76790         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
76791         (struct _fpx_sw_bytes): New struct.
76792         (struct _xsave_hdr): Likewise.
76793         (struct _ymmh_state): Likewise.
76794         (struct _xstate): Likewise.
76796         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
76797         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
76798         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
76799         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
76800         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
76801         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
76803         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
76804         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
76805         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
76806         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76807         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
76808         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
76810 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76812         [BZ #13743]
76813         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
76814         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
76815         (sysdep_headers): Include sys/platform/ppc.h.
76816         * sysdeps/powerpc/test-gettimebase.c: Test for
76817         __ppc_get_timebase() to catch future ISA opcode/insn changes.
76818         * manual/Makefile (appendices): Include platform.texi.
76819         * manual/contrib.texi (Contributors): Update @node pointers.
76820         * manual/maint.texi (Maintenance): Likewise.
76821         (Platform): New node.
76822         * manual/platform.texi: New file.  Document the new features.
76824 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
76825             Jakub Jelinek  <jakub@redhat.com>
76827         [BZ #14188]
76828         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
76829         where __builtin_expect is unavailable.
76831 2012-06-03  David S. Miller  <davem@davemloft.net>
76833         * stdlib/longlong.h: Updated from GCC.
76835 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
76837         [BZ #14042]
76838         * sysdeps/powerpc/powerpc32/mcount.c: New file.
76839         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
76840         __mcount_internal.
76841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76842         (GLIBC_2.16): Likewise.
76844 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76846         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
76848 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
76851         (default-abi): New variable.
76852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
76853         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
76854         variable.
76855         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
76856         Likewise.
76857         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76858         Likewise.
76859         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
76860         Likewise.
76862         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
76863         definition.  Document in comment.
76865 2012-06-01  David S. Miller  <davem@davemloft.net>
76867         * stdlib/longlong.h: Updated from GCC.
76869 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76871         [BZ #14117]
76872         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
76873         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
76874         sys/debugreg.h sys/io.h here.
76875         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
76876         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
76877         sys/io.h.
76878         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
76879         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
76880         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
76881         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
76882         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
76883         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
76885         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
76886         Define only if __x86_64__ is defined.
76888 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76890         [BZ #14048]
76891         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
76892         Use int64_t for variable i.
76893         * math/libm-test.inc (fmod_test): Add more tests.
76895         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
76896         z computation is not scheduled after fetestexcept.
76897         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
76898         Use math_force_eval instead of asm to ensure calculation scheduled
76899         before exception test.
76900         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
76901         Ensure a1 + u.d computation is not scheduled after fetestexcept.
76903 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
76905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
76906         computation is not scheduled after fetestexcept.
76908 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76910         [BZ #14117]
76911         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
76912         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
76914 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76916         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
76917         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76919 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76921         [BZ #14117]
76922         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76923         <bits/wordsize.h>.
76924         (__WCHAR_MIN): Support __WORDSIZE == 64.
76925         (__WCHAR_MAX): Likewise.
76927         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76928         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76930         [BZ #14183]
76931         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76932         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76934         [BZ #14117]
76935         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76936         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76938         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76939         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76941         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76942         Defined to 1 if __x86_64__ isn't defined.
76943         (_STAT_VER_LINUX_OLD): New.
76944         (st_atime): Remove duplicate.
76945         (st_mtime): Likewise.
76946         (st_ctime): Likewise.
76948 2012-05-31  David S. Miller  <davem@davemloft.net>
76950         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76951         entries.
76953 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76955         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76956         gen-libm-test.pl.
76958         [BZ #14132]
76959         * elf/dl-reloc.c: Include <_itoa.h>.
76960         (_dl_reloc_bad_type): Remove use of INTUSE.
76961         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76962         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76963         * stdio-common/psiginfo.c (psiginfo): Likewise.
76964         * stdio-common/psignal.c (psignal): Likewise.
76965         * string/strsignal.c (strsignal): Likewise.
76966         * include/signal.h (_sys_siglist): Declare hidden proto.
76967         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76968         INTVARDEF with libc_hidden_data_def.
76969         * stdio-common/itoa-udigits.c: Likewise.
76970         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76971         (_itoa_lower_digits_internal): Remove declaration.
76972         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76973         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76974         (_sys_sigabbrev_internal): Remove aliases.
76975         (_sys_siglist): Define hidden alias.
76977 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76979         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76980         bits/sysctl.h.
76982 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76984         [BZ #14117]
76985         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76986         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76988         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76989         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76990         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76991         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76992         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76993         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76995         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76996         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76997         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76999         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
77000         with __addr.
77001         (insw): Likewise.
77002         (insl): Likewise.
77003         (outsb): Likewise.
77004         (outsw): Likewise.
77005         (outsl): Likewise.
77007         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
77008         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
77009         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
77011         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
77012         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
77013         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77014         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
77015         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
77016         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
77018         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
77019         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
77021         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
77022         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77024         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
77025         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
77026         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
77028         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77029         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
77030         to ...
77031         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
77033         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
77034         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
77035         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
77037         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
77038         for x86-64.
77039         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
77041 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
77043         * math/math.h (M_El): Use two more decimal places.
77044         (M_LOG2El): Likewise.
77045         (M_LOG10El): Likewise.
77046         (M_LN2l): Likewise.
77047         (M_LN10l): Likewise.
77048         (M_PIl): Likewise.
77049         (M_PI_2l): Likewise.
77050         (M_PI_4l): Likewise.
77051         (M_1_PIl): Likewise.
77052         (M_2_PIl): Likewise.
77053         (M_2_SQRTPIl): Likewise.
77054         (M_SQRT2l): Likewise.
77055         (M_SQRT1_2l): Likewise.
77057 2012-05-31  David S. Miller  <davem@davemloft.net>
77059         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
77060         values between float registers.
77061         * sysdeps/sparc/sparc64/memset.S: Likewise.
77062         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77064 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
77066         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
77067         -D_FORTIFY_SOURCE=1.
77068         (CPPFLAGS-tst-longjmp_chk.c): Define.
77069         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
77070         (CPPFLAGS-tst-longjmp_chk2.c): Define.
77071         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77072         CFLAGS-tst-wchar-h.c.
77074 2012-05-31  Marek Polacek  <polacek@redhat.com>
77076         [BZ #14132]
77077         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
77078         __endmntent_internal): Remove declaration.
77079         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77080         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
77081         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
77083 2012-05-30  David S. Miller  <davem@davemloft.net>
77085         * sysdeps/sparc/sparc32/soft-fp/q_util.c
77086         (___Q_simulate_exceptions): Use real FP ops rather than writing
77087         into the %fsr.
77088         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
77089         Likewise.
77091 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77093         [BZ #14117]
77094         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
77095         * sysdeps/x86/bits/xtitypes.h: This.
77097         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
77098         * sysdeps/x86/bits/wordsize.h: This.
77100         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
77101         * sysdeps/x86/bits/huge_vall.h: This.
77103         * sysdeps/i386/bits/select.h: Removed.
77104         * sysdeps/x86_64/bits/select.h: Renamed to ...
77105         * sysdeps/x86/bits/select.h: This.
77107         * sysdeps/i386/bits/setjmp.h: Removed.
77108         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
77109         * sysdeps/x86/bits/setjmp.h: This.
77111         * sysdeps/i386/bits/mathdef.h: Removed.
77112         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
77113         * sysdeps/x86/bits/mathdef.h: This.
77115 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
77117         [BZ #14132]
77118         * include/sys/socket.h (__connect_internal)
77119         (__libc_sa_len_internal): Remove declaration.
77120         (__connect, __libc_sa_len): Declare hidden_proto.
77121         (SA_LEN): Remove use of INTUSE.
77122         * socket/connect.c: Add libc_hidden_def.
77123         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
77124         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
77125         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
77126         alias.
77127         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
77128         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
77129         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
77130         of adding _internal alias.
77132 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77134         [BZ #14117]
77135         * sysdeps/i386/bits/link.h: Removed.
77136         * sysdeps/i386/bits/linkmap.h: Likewise.
77137         * sysdeps/x86_64/bits/link.h: Renamed to ...
77138         * sysdeps/x86/bits/link.h: This.
77139         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
77140         * sysdeps/x86/bits/linkmap.h: This.
77142         * sysdeps/i386/bits/endian.h: Removed.
77143         * sysdeps/x86_64/bits/endian.h: Renamed to ...
77144         * sysdeps/x86/bits/endian.h: This.
77146         * sysdeps/i386/bits/byteswap.h: Removed.
77147         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77148         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
77149         * sysdeps/x86/bits/byteswap.h: This.
77150         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
77151         * sysdeps/x86/bits/byteswap-16.h: This.
77152         * sysdeps/i386/Implies: Add x86.
77153         * sysdeps/x86_64/Implies: Likewise.
77155 2012-05-30  David S. Miller  <davem@davemloft.net>
77157         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
77158         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
77159         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
77160         (FP_TRAPPING_EXCEPTIONS): Define.
77161         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
77162         (FP_TRAPPING_EXCEPTIONS): Define.
77163         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
77164         subnormals only when inexact has been signalled or underflow
77165         exceptions are enabled.
77166         (_FP_PACK_CANONICAL): Likewise.
77168 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77170         [BZ #14183]
77171         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
77172         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
77174 2012-05-30  Richard Henderson  <rth@twiddle.net>
77176         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77177         with #ifndef NOT_IN_libc.
77179         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
77180         marked to avoid plt entry.
77182 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77184         [BZ #14112]
77185         * Makeconfig (default-abi): New macro.
77186         (abi-includes): Likewise.
77187         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
77188         $(abi-$(default-abi)-lib-soname) for soname if defined.
77189         ($(common-objpfx)gnu/lib-names.stmp): Generate from
77190         abi-variants.
77191         * Makefile (installed-stubs): Likewise.
77192         * include/stubs-biarch.h: Removed.
77193         * scripts/lib-names.awk: Only handle one library at a time.
77194         * scripts/soversions.awk: Remove WORDSIZE support.
77195         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77196         entries.
77197         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
77198         Removed.
77199         (syscall-list-default-condition): Likewise.
77200         (syscall-list-default-condition): Likewise.
77201         (syscall-list-includes): Likewise.
77202         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
77203         syscall-list-* with abi-*.  Handle undefined abi-variants.
77204         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
77205         * sysdeps/unix/sysv/linux/i386/Implies: New file.
77206         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
77207         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
77208         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
77209         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
77210         Removed.
77211         (syscall-list-32-options): Likewise.
77212         (syscall-list-32-condition): Likewise.
77213         (syscall-list-64-options): Likewise.
77214         (syscall-list-64-condition): Likewise.
77215         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
77216         macro.
77217         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
77218         Renamed to ...
77219         (abi-*): This.
77220         (abi-64-ld-soname): New macro.
77221         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
77222         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
77223         Renamed to ...
77224         (abi-*): This.
77225         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
77226         * sysdeps/x86_64/x32/shlib-versions: Likewise.
77228 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
77230         * sysdeps/unix/sysv/linux/kernel-features.h
77231         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
77232         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
77233         include <kernel-features.h>.
77234         [!__NR_ftruncate64]: Remove conditional code.
77235         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77236         [__NR_ftruncate64]: Make code unconditional.
77237         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77238         * sysdeps/unix/sysv/linux/truncate64.c: Do not
77239         include <kernel-features.h>.
77240         [!__NR_ftruncate64]: Remove conditional code.
77241         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77242         [__NR_ftruncate64]: Make code unconditional.
77243         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
77245         include <kernel-features.h>.
77246         [!__NR_ftruncate64]: Remove conditional code.
77247         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77248         [__NR_ftruncate64]: Make code unconditional.
77249         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
77251         include <kernel-features.h>.
77252         [!__NR_ftruncate64]: Remove conditional code.
77253         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77254         [__NR_ftruncate64]: Make code unconditional.
77255         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77257         * configure.in (libc_cv_fpie): Weaken to a compile test using
77258         LIBC_TRY_CC_OPTION.
77259         * configure: Regenerated.
77261 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
77264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
77265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
77266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77267         Refreshed.
77268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
77269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
77270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
77271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
77272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
77273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77274         Refreshed.
77276 2012-05-27  David S. Miller  <davem@davemloft.net>
77278         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77279         (___Q_zero): New.
77280         (__Q_simulate_exceptions): Return void.  Change to simulate
77281         exceptions by writing into the %fsr.
77282         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77283         (__Qp_handle_exceptions): Likewise.
77284         (numbers): Delete.
77285         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77286         __Qp_handle_exceptions.
77287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77288         __Qp_handle_exceptions.
77289         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77290         as unused and give dummy FP_RND_NEAREST initializer.
77291         (FP_INHIBIT_RESULTS): Define.
77292         (___Q_simulate_exceptions): Update declaration.
77293         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77294         formatting.
77295         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77296         as unused and give dummy FP_RND_NEAREST initializer.
77297         (__Qp_handle_exceptions): Update declaration.
77298         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77299         formatting.
77301 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
77303         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77304         the temporary FPU control word.
77305         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77306         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77307         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77308         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77309         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77310         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77311         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77312         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77313         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77314         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77315         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77317 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77319         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77320         fields.
77322 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
77324         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77325         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77326         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77327         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77328         Likewise.
77329         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77330         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77331         Likewise.
77333 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77335         * po/h.po: Update from translation team.
77337 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77339         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77341         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77342         handling of denormals.
77343         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77344         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77345         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77346         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77349         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77350         Likewise.
77352 2012-05-26  Marek Polacek  <polacek@redhat.com>
77354         [BZ #14152]
77355         * math/libm-test.inc (fma_test): Don't always expect underflow
77356         exception.
77358 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77360         [BZ #12416]
77361         * elf/tst-execstack.c: Include stackinfo.h.
77362         (do_test): Adjust test case to ensure that pthread_getattr_np
77363         behaviour remains the same after marking stack executable.
77365 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77367         * sysdeps/unix/sysv/linux/kernel-features.h
77368         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77369         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77370         kernel-features.h.
77371         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77372         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77373         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77374         kernel-features.h.
77375         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77376         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77378 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77380         * configure.in: Define the default includes to being none.
77381         * configure: Regenerated.
77383 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77385         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77386         * sysdeps/x86_64/setjmp.S: Likewise.
77387         * sysdeps/i386/bsd-setjmp.S: Likewise.
77388         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77389         * sysdeps/i386/setjmp.S: Likewise.
77390         * sysdeps/i386/__longjmp.S: Likewise.
77391         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77392         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77394         * include/stap-probe.h: New file.
77395         * configure.in: Handle --enable-systemtap.
77396         * configure: Regenerated.
77397         * config.h.in (USE_STAP_PROBE): New #undef.
77398         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77399         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77400         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77402 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77404         [BZ #13717]
77405         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77406         to 2.4.0 where earlier.
77407         * sysdeps/unix/sysv/linux/configure: Regenerated.
77408         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77409         <kernel-features.h>.
77410         [__ASSUME_32BITUIDS]: Make code unconditional.
77411         [!__ASSUME_32BITUIDS]: Remove conditional code.
77412         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77413         <kernel-features.h>.
77414         [__ASSUME_32BITUIDS]: Make code unconditional.
77415         [!__ASSUME_32BITUIDS]: Remove conditional code.
77416         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77417         [__ASSUME_32BITUIDS]: Make code unconditional.
77418         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77419         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77420         <kernel-features.h>.
77421         [__ASSUME_32BITUIDS]: Make code unconditional.
77422         [!__ASSUME_32BITUIDS]: Remove conditional code.
77423         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77424         <kernel-features.h>.
77425         [__ASSUME_32BITUIDS]: Make code unconditional.
77426         [!__ASSUME_32BITUIDS]: Remove conditional code.
77427         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77428         <kernel-features.h>.
77429         [__ASSUME_32BITUIDS]: Make code unconditional.
77430         [!__ASSUME_32BITUIDS]: Remove conditional code.
77431         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77432         <kernel-features.h>.
77433         [__ASSUME_32BITUIDS]: Make code unconditional.
77434         [!__ASSUME_32BITUIDS]: Remove conditional code.
77435         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77436         <kernel-features.h>.
77437         [__ASSUME_32BITUIDS]: Make code unconditional.
77438         [!__ASSUME_32BITUIDS]: Remove conditional code.
77439         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77440         <kernel-features.h>.
77441         [__ASSUME_32BITUIDS]: Make code unconditional.
77442         [!__ASSUME_32BITUIDS]: Remove conditional code.
77443         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77444         <kernel-features.h>.
77445         [__ASSUME_32BITUIDS]: Make code unconditional.
77446         [!__ASSUME_32BITUIDS]: Remove conditional code.
77447         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77448         <kernel-features.h>.
77449         [__ASSUME_32BITUIDS]: Make code unconditional.
77450         [!__ASSUME_32BITUIDS]: Remove conditional code.
77451         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77452         <kernel-features.h>.
77453         [__ASSUME_32BITUIDS]: Make code unconditional.
77454         [!__ASSUME_32BITUIDS]: Remove conditional code.
77455         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77456         <kernel-features.h>.
77457         [__ASSUME_32BITUIDS]: Make code unconditional.
77458         [!__ASSUME_32BITUIDS]: Remove conditional code.
77459         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77460         <kernel-features.h>.
77461         [__NR_setresgid] (__setresgid): Do not declare.
77462         [__ASSUME_32BITUIDS]: Make code unconditional.
77463         [!__ASSUME_32BITUIDS]: Remove conditional code.
77464         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77465         <kernel-features.h>.
77466         [__NR_setresuid] (__setresuid): Do not declare.
77467         [__ASSUME_32BITUIDS]: Make code unconditional.
77468         [!__ASSUME_32BITUIDS]: Remove conditional code.
77469         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77470         <kernel-features.h>.
77471         [__ASSUME_32BITUIDS]: Make code unconditional.
77472         [!__ASSUME_32BITUIDS]: Remove conditional code.
77473         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77474         <kernel-features.h>.
77475         [__ASSUME_32BITUIDS]: Make code unconditional.
77476         [!__ASSUME_32BITUIDS]: Remove conditional code.
77477         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77478         <kernel-features.h>.
77479         [__ASSUME_32BITUIDS]: Make code unconditional.
77480         [!__ASSUME_32BITUIDS]: Remove conditional code.
77481         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77482         <kernel-features.h>.
77483         [__ASSUME_32BITUIDS]: Make code unconditional.
77484         [!__ASSUME_32BITUIDS]: Remove conditional code.
77485         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77486         <kernel-features.h>.
77487         [__ASSUME_32BITUIDS]: Make code unconditional.
77488         [!__ASSUME_32BITUIDS]: Remove conditional code.
77489         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77490         <kernel-features.h>.
77491         [__ASSUME_32BITUIDS]: Make code unconditional.
77492         [!__ASSUME_32BITUIDS]: Remove conditional code.
77493         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77494         <kernel-features.h>.
77495         [__ASSUME_32BITUIDS]: Make code unconditional.
77496         [!__ASSUME_32BITUIDS]: Remove conditional code.
77497         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77498         <kernel-features.h>.
77499         [__ASSUME_32BITUIDS]: Make code unconditional.
77500         [!__ASSUME_32BITUIDS]: Remove conditional code.
77501         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77502         <kernel-features.h>.
77503         [__ASSUME_32BITUIDS]: Make code unconditional.
77504         [!__ASSUME_32BITUIDS]: Remove conditional code.
77505         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77506         <kernel-features.h>.
77507         [__ASSUME_32BITUIDS]: Make code unconditional.
77508         [!__ASSUME_32BITUIDS]: Remove conditional code.
77509         * sysdeps/unix/sysv/linux/kernel-features.h
77510         (__ASSUME_SETRESUID_SYSCALL): Remove.
77511         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77512         (__ASSUME_32BITUIDS): Likewise.
77513         (__ASSUME_LDT_WORKS): Likewise.
77514         (__ASSUME_O_DIRECTORY): Likewise.
77515         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77516         architecture but not kernel version.
77517         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77518         (__ASSUME_MMAP2_SYSCALL): Likewise.
77519         (__ASSUME_STAT64_SYSCALL): Likewise.
77520         (__ASSUME_IPC64): Likewise.
77521         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77522         <kernel-features.h>.
77523         [__ASSUME_32BITUIDS]: Make code unconditional.
77524         [!__ASSUME_32BITUIDS]: Remove conditional code.
77525         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77526         <kernel-features.h>.
77527         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77528         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77529         132096]: Remove conditional code.
77530         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77531         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77532         <kernel-features.h>.
77533         [__ASSUME_32BITUIDS]: Make code unconditional.
77534         [!__ASSUME_32BITUIDS]: Remove conditional code.
77535         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77536         <kernel-features.h>.
77537         [__ASSUME_32BITUIDS]: Make code unconditional.
77538         [!__ASSUME_32BITUIDS]: Remove conditional code.
77539         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77540         <kernel-features.h>.
77541         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77542         unconditional.
77543         (__setresgid): Do not declare.
77544         [__ASSUME_32BITUIDS]: Make code unconditional.
77545         [!__ASSUME_32BITUIDS]: Remove conditional code.
77546         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77547         <kernel-features.h>.
77548         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77549         unconditional.
77550         (__setresuid): Do not declare.
77551         [__ASSUME_32BITUIDS]: Make code unconditional.
77552         [!__ASSUME_32BITUIDS]: Remove conditional code.
77553         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77554         <kernel-features.h>.
77555         [__ASSUME_32BITUIDS]: Make code unconditional.
77556         [!__ASSUME_32BITUIDS]: Remove conditional code.
77557         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77558         <kernel-features.h>.
77559         [__ASSUME_32BITUIDS]: Make code unconditional.
77560         [!__ASSUME_32BITUIDS]: Remove conditional code.
77562 2012-05-25  Richard Henderson  <rth@twiddle.net>
77564         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77565         dl_hwcap to ifunc resolver.
77566         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77567         elf_ifunc_invoke.
77568         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77569         dl_hwcap to ifunc resolver.
77570         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77572 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77574         [BZ #14153]
77575         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77576         for |x| <= 2**-26, not 2**-57.
77577         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77578         exception.
77580 2012-05-24  Jeff Law  <law@redhat.com>
77582         * stdio-common/Makefile (tests): Add bug25.
77583         * stdio-common/bug25.c: New test.
77585 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77587         [BZ #13576]
77588         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77589         multiple of MALLOC_ALIGNMENT in size.
77590         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77592 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77594         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77595         Require >= 256.
77596         (FILENAME_MAX): Use macro-int-constant.
77597         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77598         (_IOFBF): Use macro-int-constant.
77599         (_IOLBF): Likewise.
77600         (_IONBF): Likewise.
77601         (SEEK_CUR): Likewise.
77602         (SEEK_END): Likewise.
77603         (SEEK_SET): Likewise.
77604         (TMP_MAX): Likewise.
77605         (EOF): Use macro-int-constant.  Require < 0.
77606         (NULL): Use macro-constant.  Require == 0.
77607         (stdin): Require type to be FILE *.
77608         (stdout): Likewise.
77609         (stderr): Likewise.
77610         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77611         macro-int-constant.
77612         (EXIT_SUCCESS): Likewise.
77613         (NULL): Use macro-constant.  Require == 0.
77614         (RAND_MAX): Use macro-int-constant.
77615         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77616         [C99-based standards] (strtof): Require function.
77617         [C99-based standards] (strtold): Likewise.
77618         [C99-based standards] (strtoll): Likewise.
77619         [C99-based standards] (strtoull): Likewise.
77620         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77621         [ISO || ISO99 || ISO11] (limits.h): Likewise.
77622         [ISO || ISO99 || ISO11] (math.h): Likewise.
77623         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77624         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77625         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77627 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
77629         [BZ #14132]
77630         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77631         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77632         * intl/dgettext.c (DCGETTEXT): Likewise.
77633         * intl/gettext.c (DCGETTEXT): Likewise.
77634         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77635         * posix/regex_internal.h (gettext): Likewise.
77636         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77637         Remove declaration.
77638         * include/argz.h (__argz_count_internal)
77639         (__argz_stringify_internal): Remove declaration.
77640         (__argz_count, __argz_stringify): Declare hidden proto.
77641         * intl/dcgettext.c: Remove use of INTDEF.
77642         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77643         * string/argz-stringify.c: Likewise.
77644         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77645         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77646         Declare hidden proto.
77647         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77648         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77649         Declare hidden proto.
77650         * include/stdio.h (__asprintf_internal): Don't declare.
77651         (__asprintf): Don't define as macro.  Declare hidden proto.
77652         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77653         (__fsetlocking): Declare hidden proto.
77654         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77655         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77656         hidden proto.
77657         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77658         (_IO_setlinebuf): Remove use of INTUSE.
77659         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77660         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77661         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77662         Remove declaration.
77663         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77664         (_IO_do_flush): Remove use of INTUSE.
77665         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77666         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77667         (_IO_adjust_column, _IO_least_wmarker)
77668         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77669         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77670         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77671         (_IO_default_doallocate, _IO_wdefault_doallocate)
77672         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77673         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77674         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77675         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77676         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77677         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77678         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77679         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77680         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77681         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
77682         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
77683         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
77684         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
77685         proto.
77686         (_IO_flush_all_internal, _IO_adjust_column_internal)
77687         (_IO_default_uflow_internal, _IO_default_finish_internal)
77688         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
77689         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
77690         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
77691         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
77692         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
77693         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
77694         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
77695         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
77696         (_IO_file_close_internal, _IO_file_close_it_internal)
77697         (_IO_file_underflow_internal, _IO_file_overflow_internal)
77698         (_IO_file_init_internal, _IO_file_attach_internal)
77699         (_IO_file_fopen_internal, _IO_file_read_internal)
77700         (_IO_file_sync_internal, _IO_file_seek_internal)
77701         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
77702         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
77703         (_IO_str_underflow_internal, _IO_str_overflow_internal)
77704         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
77705         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
77706         (_IO_list_all_internal, _IO_link_in_internal)
77707         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
77708         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
77709         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
77710         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
77711         (_IO_do_write_internal, _IO_padn_internal)
77712         (_IO_getline_info_internal, _IO_getline_internal)
77713         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
77714         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
77715         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
77716         (_IO_vfscanf_internal, _IO_vfprintf_internal)
77717         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
77718         (_IO_init_internal, _IO_un_link_internal): Don't declare.
77719         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
77720         with libc_hidden_ver, remove use of INTUSE.
77721         * libio/genops.c: Likewise.
77722         * libio/freopen.c: Likewise.
77723         * libio/freopen64.c: Likewise.
77724         * libio/iofclose.c: Likewise.
77725         * libio/iofdopen.c: Likewise.
77726         * libio/iofflush.c: Likewise.
77727         * libio/iofflush_u.c: Likewise.
77728         * libio/iofgets.c: Likewise.
77729         * libio/iofgets_u.c: Likewise.
77730         * libio/iofopen.c: Likewise.
77731         * libio/iofopncook.c: Likewise.
77732         * libio/iofread.c: Likewise.
77733         * libio/iofread_u.c: Likewise.
77734         * libio/ioftell.c: Likewise.
77735         * libio/iofwrite.c: Likewise.
77736         * libio/iogetline.c: Likewise.
77737         * libio/iogets.c: Likewise.
77738         * libio/iogetwline.c: Likewise.
77739         * libio/iopadn.c: Likewise.
77740         * libio/iopopen.c: Likewise.
77741         * libio/ioseekoff.c: Likewise.
77742         * libio/ioseekpos.c: Likewise.
77743         * libio/iosetbuffer.c: Likewise.
77744         * libio/iosetvbuf.c: Likewise.
77745         * libio/ioungetc.c: Likewise.
77746         * libio/ioungetwc.c: Likewise.
77747         * libio/iovdprintf.c: Likewise.
77748         * libio/iovsprintf.c: Likewise.
77749         * libio/iovsscanf.c: Likewise.
77750         * libio/memstream.c: Likewise.
77751         * libio/obprintf.c: Likewise.
77752         * libio/oldfileops.c: Likewise.
77753         * libio/oldiofclose.c: Likewise.
77754         * libio/oldiofdopen.c: Likewise.
77755         * libio/oldiofopen.c: Likewise.
77756         * libio/oldiopopen.c: Likewise.
77757         * libio/oldstdfiles.c: Likewise.
77758         * libio/putc.c: Likewise.
77759         * libio/setbuf.c: Likewise.
77760         * libio/setlinebuf.c: Likewise.
77761         * libio/stdfiles.c: Likewise.
77762         * libio/strops.c: Likewise.
77763         * libio/vasprintf.c: Likewise.
77764         * libio/vscanf.c: Likewise.
77765         * libio/vsnprintf.c: Likewise.
77766         * libio/vswprintf.c: Likewise.
77767         * libio/wfiledoalloc.c: Likewise.
77768         * libio/wfileops.c: Likewise.
77769         * libio/wgenops.c: Likewise.
77770         * libio/wmemstream.c: Likewise.
77771         * libio/wstrops.c: Likewise.
77772         * libio/__fpurge.c: Likewise.
77773         * libio/__fsetlocking.c: Likewise.
77774         * assert/assert.c: Likewise.
77775         * debug/fgets_chk.c: Likewise.
77776         * debug/fgets_u_chk.c: Likewise.
77777         * debug/fread_chk.c: Likewise.
77778         * debug/fread_u_chk.c: Likewise.
77779         * debug/gets_chk.c: Likewise.
77780         * debug/obprintf_chk.c: Likewise.
77781         * debug/vasprintf_chk.c: Likewise.
77782         * debug/vdprintf_chk.c: Likewise.
77783         * debug/vsnprintf_chk.c: Likewise.
77784         * debug/vsprintf_chk.c: Likewise.
77785         * malloc/mtrace.c: Likewise.
77786         * misc/error.c: Likewise.
77787         * misc/syslog.c: Likewise.
77788         * stdio-common/asprintf.c: Likewise.
77789         * stdio-common/fxprintf.c: Likewise.
77790         * stdio-common/getw.c: Likewise.
77791         * stdio-common/isoc99_fscanf.c: Likewise.
77792         * stdio-common/isoc99_scanf.c: Likewise.
77793         * stdio-common/isoc99_vfscanf.c: Likewise.
77794         * stdio-common/isoc99_vscanf.c: Likewise.
77795         * stdio-common/isoc99_vsscanf.c: Likewise.
77796         * stdio-common/printf-prs.c: Likewise.
77797         * stdio-common/printf_fp.c: Likewise.
77798         * stdio-common/printf_fphex.c: Likewise.
77799         * stdio-common/printf_size.c: Likewise.
77800         * stdio-common/putw.c: Likewise.
77801         * stdio-common/scanf.c: Likewise.
77802         * stdio-common/sprintf.c: Likewise.
77803         * stdio-common/tmpfile.c: Likewise.
77804         * stdio-common/vfprintf.c: Likewise.
77805         * stdio-common/vfscanf.c: Likewise.
77806         * stdlib/strfmon_l.c: Likewise.
77807         * sunrpc/openchild.c: Likewise.
77808         * sunrpc/xdr_stdio.c: Likewise.
77809         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
77810         * sysdeps/mach/hurd/tmpfile.c: Likewise.
77812 2012-05-24  Roland McGrath  <roland@hack.frob.com>
77814         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77816         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
77817         in the third column, to generate for the shared library an IFUNC
77818         that uses _dl_vdso_vsym.
77819         * Makerules (COMPILE.c, compile-stdin.c): New variables.
77820         * Makeconfig (object-suffixes-noshared): New variable.
77822         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
77823         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
77824         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
77825         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
77827         [BZ #14132]
77828         * include/sys/time.h (__gettimeofday): Remove macro.
77829         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
77830         * time/gettimeofday.c (__gettimeofday): Remove #undef.
77831         Remove INTDEF.
77832         (__gettimeofday): Add libc_hidden_def.
77833         (gettimeofday): Add libc_hidden_weak.
77834         * sysdeps/mach/gettimeofday.c: Likewise.
77835         * sysdeps/posix/gettimeofday.c: Likewise.
77836         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77837         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
77838         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
77839         (__gettimeofday_internal): Remove strong_alias.
77840         (__gettimeofday): Add libc_hidden_def.
77841         (gettimeofday): Add libc_hidden_weak.
77842         * sysdeps/unix/syscalls.list (gettimeofday):
77843         Remove __gettimeofday_internal alias.
77845 2012-05-24  Daniel Jacobowitz  <drow@false.org>
77846             H.J. Lu  <hongjiu.lu@intel.com>
77848         [BZ #12495]
77849         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
77850         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
77851         (largebin_index_32_big): New.
77852         (largebin_index): Use it for 16-byte alignment.
77853         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
77854         correction with front_misalign.
77856 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
77859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
77860         Likewise.
77861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
77862         Likewise.
77863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
77864         Likewise.
77865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
77866         Likewise.
77867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
77868         Likewise.
77869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
77870         Likewise.
77871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
77872         Likewise.
77873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
77874         Likewise.
77875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
77876         Likewise.
77877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
77878         Likewise.
77879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
77880         Likewise.
77881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
77882         Likewise.
77884         * scripts/data/c++-types-x32-linux-gnu.data: New file.
77885         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
77887 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77889         [BZ #10846]
77890         [BZ #14036]
77891         * math/libm-test.inc (exp_test): Add test from bug 14036.
77892         (pow_test): Add test from bug 10846.
77894         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
77895         and other flags.
77896         (special_function): Do not include flags in test name.
77897         (parse_args): Likewise.
77898         * sysdeps/i386/fpu/libm-test-ulps: Update.
77899         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77900         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77901         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
77902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77904         * math/gen-libm-test.pl (%beautify): Add entries for underflow
77905         exceptions.
77906         * math/libm-test.inc ("Philosophy"): Update comment about
77907         exception testing.
77908         (UNDERFLOW_EXCEPTION): New macro.
77909         (UNDERFLOW_EXCEPTION_OK): Likewise.
77910         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
77911         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
77912         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
77913         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
77914         (INVALID_EXCEPTION_OK): Update value.
77915         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77916         (OVERFLOW_EXCEPTION_OK): Likewise.
77917         (IGNORE_ZERO_INF_SIGN): Likewise.
77918         (test_exceptions): Handle underflow exceptions.
77919         (acos_test): Update for underflow exception expectations.
77920         (cexp_test): Likewise.
77921         (clog_test): Likewise.
77922         (clog10_test): Likewise.
77923         (csqrt_test): Likewise.
77924         (ctan_test): Likewise.
77925         (ctanh_test): Likewise.
77926         (exp_test): Likewise.
77927         (exp10_test): Likewise.
77928         (exp2_test): Likewise.
77929         (expm1_test): Likewise.
77930         (fma_test): Likewise.
77931         (j0_test): Likewise.
77932         (jn_test): Likewise.
77933         (nexttoward_test): Likewise.
77934         (pow_test): Likewise.
77935         (scalbn_test): Likewise.
77936         (scalbln_test): Likewise.
77937         (tan_test): Likewise.
77938         (y1_test): Likewise.
77939         * sysdeps/i386/fpu/libm-test-ulps: Update.
77940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77942 2012-05-23  David S. Miller  <davem@davemloft.net>
77944         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77945         (__libc_sigaction): Remove unused local variables.
77947 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77949         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77951 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77953         mktime: avoid signed integer overflow
77954         * time/mktime.c (__mktime_internal): Do not mishandle the case
77955         where diff == INT_MIN.
77957         mktime: simplify computation of average
77958         * time/mktime.c (ranged_convert): Use new time_t_avg function
77959         instead of rolling our own (probably-slower) code.
77961         mktime: do not assume signed right shift propagates sign bit
77962         * time/mktime.c (isdst_differ): New static function.
77963         (__mktime_internal): No need to normalize tm_isdst now.
77964         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77965         tm_isdst values.
77967         mktime: merge another wrapv change from gnulib
77968         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77969         from some compilers.
77971         mktime: remove incorrect attempt at unusual arithmetics
77972         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77973         The code didn't really work on such machines anyway.
77974         (TYPE_MINIMUM): Assume two's complement.
77975         (twos_complement_arithmetic): Verify that long_int and time_t
77976         are two's complement (or unsigned, in the latter case).
77978         mktime: check signed shifts on long_int and time_t, too
77979         * time/mktime.c (SHR): Check that shifts work as desired
77980         on the types long_int and time_t too, as SHR is used on
77981         such types.
77983         mktime: do not assume 'long' is wide enough
77984         * time/mktime.c (verify): Move decl up.
77985         (long_int): New type.
77986         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77987         to remove assumption in the code that 'long' is wide enough to
77988         store year values.  This assumption is not true on x32 and on
77989         some non-glibc platforms.
77991         mktime: merge wrapv change from gnulib
77992         * time/mktime.c (WRAPV): New macro.
77993         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77994         (guess_time_tm, __mktime_internal): Do not assume that signed
77995         integer overflow wraps around; modern compilers generate code
77996         where this assumption is no longer valid.
77998 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78000         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78001         Replace "jmp L(pseudo_end)" with "ret".
78002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
78003         Likewise.
78005 2012-05-23  Andreas Jaeger  <aj@suse.de>
78007         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
78008         * sysdeps/unix/sysv/linux/poll.c: Remove file.
78010 2012-05-23  Andreas Jaeger  <aj@suse.de>
78011             Maximilian Attems  <max@stro.at>
78013         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
78014         New macros.
78016 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78018         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
78019         code so that pseudo_end is just ret and the stack pointer is
78020         correct also for static library in error case.
78022 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
78024         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
78025         move to syscalls.list.
78026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
78027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
78028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
78029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
78031         * manual/install.texi (Running make install): Do not mention Linux
78032         kernel version for which pt_chown is not needed.
78033         (Linux): Do not mention problems with nscd with 2.0 kernels.
78034         * INSTALL: Regenerated.
78036 2012-05-23  Andreas Jaeger  <aj@suse.de>
78038         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
78039         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
78040         macro.
78041         * sysdeps/unix/sysv/linux/s390/bits/mman.h
78042         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78043         * sysdeps/unix/sysv/linux/sh/bits/mman.h
78044         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78045         * sysdeps/unix/sysv/linux/i386/bits/mman.h
78046         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78047         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
78048         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78049         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
78050         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78051         * sysdeps/unix/sysv/linux/bits/in.h
78052         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
78054 2012-05-22  Roland McGrath  <roland@hack.frob.com>
78056         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
78057         (PREPARE_VERSION): Just use assert instead, it will be elided
78058         under [NDEBUG] anyway.
78060 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78062         * sysdeps/unix/sysv/linux/Makefile: Include
78063         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
78064         (sysdep_routines): Remove sysctl.
78065         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
78066         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
78067         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
78068         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
78069         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
78071 2012-05-22  Andreas Jaeger  <aj@suse.de>
78073         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
78074         that pseudo_end is just ret and the stack pointer is correct also
78075         for static library in error case.
78077 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
78079         [BZ #14122]
78080         * nss/nsswitch.c (defconfig_entries): New variable.
78081         (__nss_database_lookup): Don't leak defconfig entries.
78082         (nss_parse_service_list): Don't leak on error paths.
78083         (free_database_entries): New function.
78084         (free_defconfig): New function.
78085         (free_mem): Move common code to free_database_entries.
78087 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78089         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
78090         Add arch_prctl.
78091         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
78093         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
78094         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
78095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
78096         New macro.
78097         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
78098         (INTERNAL_SYSCALL_TYPES): Likewise.
78099         (LOAD_ARGS_TYPES_[1-6]): Likewise.
78100         (LOAD_REGS_TYPES_[1-6]): Likewise.
78101         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
78102         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
78104 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78106         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
78107         copysignl for GLIBC_2_0.
78108         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
78109         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
78110         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
78111         logbl for GLIBC_2_0.
78112         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
78113         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
78115 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78117         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
78118         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78120         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78121         Use "neg %eax".
78123         * time/mktime.c: Update copyright years.
78125 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
78127         mktime: merge comment-quoting-style change from gnulib
78128         * time/mktime.c: Quote 'like this' in comments.
78129         The GNU coding standards suggest that we no longer quote `like this',
78130         as "`" and "'" are typically rendered asymmetrically nowadays.
78131         The typical gnulib style is to quote 'like this' when quoting
78132         code, and "like this" when quoting English.
78134         * time/mktime.c (compile-command): Add "-I.".
78136         mktime: merge mktime-internal.h change from gnulib
78137         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
78139         mktime: merge time_r change from gnulib
78140         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
78142         mktime: merge DEBUG change from gnulib
78143         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
78144         case system <time.h> has a #define.
78146         mktime: merge <sys/types.h> change from gnulib
78147         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
78148         since <time.t> is now guaranteed to define time_t.
78150         mktime: merge HAVE_CONFIG_H change from gnulib
78151         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
78153 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78156         Use "neg %eax".
78158         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
78159         __rlim_t cast.
78160         (struct rusage): Use anonymous union to pad each field to
78161         __syscall_slong_t.
78163 2012-05-21  David S. Miller  <davem@davemloft.net>
78165         * Makefules (o-iterator): Remove .s cases.
78166         (compile-command.s): Delete.
78167         (COMPILE.s): Delete.
78168         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
78170 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
78172         * configure.in (libc_cv_predef_stack_protector): Only consider
78173         "foobar" and "__stack_chk_fail" lines in libc_undefs.
78174         * configure: Regenerated.
78176 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78179         New macro.  Use R*LP on int and pointer.
78180         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78181         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78182         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78183         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78185         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78186         [__WORDSIZE_TIME64_COMPAT32] instead of
78187         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78188         (struct utmp): Likewise.
78189         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78190         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78191         Renamed to ...
78192         (__WORDSIZE_TIME64_COMPAT32): This.
78193         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78194         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78195         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78196         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78197         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78198         (__WORDSIZE_TIME64_COMPAT32): New macro.
78200 2012-05-21  Andreas Jaeger  <aj@suse.de>
78202         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
78203         only if [SHARED]. Add prototype for __wcschr_ia32.
78205 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78207         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
78208         of %rbp unmolested in the jmp_buf while mangling the low bits.
78209         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
78210         unmolested high bits of %rbp while demangling the low bits.
78211         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78213 2012-05-21  Andreas Jaeger  <aj@suse.de>
78215         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
78216         * sunrpc/svc_simple.c: Use it for registerrpc.
78217         * sunrpc/xcrypt.c: Use it for passwd2des.
78219         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78221 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78223         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
78224         Don't define if [__SYSCALL_WORDSIZE != 32].
78225         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
78226         New macro.
78228 2012-05-21  Bruno Haible  <bruno@clisp.org>
78229             Andreas Jaeger  <aj@suse.de>
78231         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
78232         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
78233         inptr and inend for must_buffer_ch.
78234         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
78235         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
78236         * stdio-common/Makefile (tests): Remove bug15.
78237         (bug15-ENV): Remove macro.
78238         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
78239         anymore.
78241 2012-05-19  Andreas Jaeger  <aj@suse.de>
78242             Roland McGrath  <roland@hack.frob.com>
78244         * manual/contrib.texi: Completely rewritten. It contains now an
78245         alphabetical list of contributors and their contributions.
78247 2012-05-21  Richard Henderson  <rth@twiddle.net>
78249         * misc/getauxval.c (__getauxval): Use unsigned long int.
78250         * misc/sys/auxv.h: Include <sys/cdefs.h>.
78251         (getauxval): Use unsigned long int.
78253 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78255         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78257 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78259         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
78260         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
78261         __alignof__ (long double).
78263 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78267 2012-05-20  Richard Henderson  <rth@twiddle.net>
78269         * misc/getauxval.c: New file.
78270         * misc/sys/auxv.h: New file.
78271         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
78272         (routines): Add getauxval.
78273         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
78274         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
78275         * elf/dl-sysdep.c (_dl_auxv): Remove.
78276         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78277         * elf/dl-support.c (_dl_auxv): New variable.
78278         (_dl_aux_init): Initialize it.
78279         * manual/startup.texi (Auxiliary Vector): New node.
78280         * sysdeps/generic/bits/hwcap.h: New file.
78281         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78282         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
78283         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78284         * sysdeps/sparc/sysdep.h: ... here.  Include it.
78285         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78286         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78288         Update.
78289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78292         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78298 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78302 2012-05-19  David S. Miller  <davem@davemloft.net>
78304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78306 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78308         [BZ #14123]
78309         * math/s_ccosh.c: Include <float.h>
78310         (__ccosh): Avoid internal overflow calculating sinh and cosh
78311         values before multiplying by sin and cos values.
78312         * math/s_ccoshf.c: Likewise.
78313         * math/s_ccoshl.c: Likewise.
78314         * math/s_csin.c: Likewise.
78315         * math/s_csinf.c: Likewise.
78316         * math/s_csinl.c: Likewise.
78317         * math/s_csinh.c: Likewise.
78318         * math/s_csinhf.c: Likewise.
78319         * math/s_csinhl.c: Likewise.
78320         * math/libm-test.inc (ccos_test): Add more tests.
78321         (ccosh_test): Likewise.
78322         (csin_test): Likewise.
78323         (csinh_test): Likewise.
78324         * sysdeps/i386/fpu/libm-test-ulps: Update.
78325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78327 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78329         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78330         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78332         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78334 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78336         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78337         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78338         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78339         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78340         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78341         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78342         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78343         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78344         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78345         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78346         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78347         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78348         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78349         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78350         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78351         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78352         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78353         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78354         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78355         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78356         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78357         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78358         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78359         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78360         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78361         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78362         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78363         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78364         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78365         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78366         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78368 2012-05-18  Andreas Jaeger  <aj@suse.de>
78370         * csu/.gitignore: Delete.
78372 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78374         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78375         (timex): Use __syscall_slong_t.
78377 2012-05-18  Andreas Jaeger  <aj@suse.de>
78378             Carlos O'Donell  <carlos_odonell@mentor.com>
78380         * manual/install.texi (Configuring and compiling): Update
78381         description about files modified in the source directory.
78382         * INSTALL: Regenerated.
78384 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78386         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78387         value.  Use "or" to set return value to -1.
78388         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78389         negate return value.
78391 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78393         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78394         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78395         failure if the compiler has Graphite support disabled.
78396         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78397         Likewise.
78398         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78399         (CFLAGS-memmove.c): Likewise.
78400         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78401         Likewise.
78403 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78405         * sysdeps/x86_64/x32/_itoa.h: New file.
78407         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78408         getdents system call only if kernel and user dirents have the
78409         same d_ino and d_off.
78411         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78412         LLONG_MAX != LONG_MAX.
78413         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78414         (_fitoa_word): Likewise.
78416         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78417         years.
78418         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78419         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78420         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78422         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78423         include <bits/wordsize.h>.  Check __x86_64__ instead of
78424         __WORDSIZE.
78425         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78426         if __x86_64__ is defined.  Use anonymous union on fpstate.
78428         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78429         anonymous union.
78431 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78433         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78434         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78435         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78436         Refer to _rtld_local_ro instead of _rtld_global_ro.
78437         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78438         Likewise.
78439         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78440         Likewise.
78441         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78442         Likewise.
78443         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78444         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78445         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78447         [BZ #10882]
78448         * sysdeps/powerpc/powerpc32/dl-machine.c
78449         (__elf_machine_runtime_setup) [PROF]: Don't reference
78450         _dl_prof_resolve.
78452 2012-05-18  Andreas Jaeger  <aj@suse.de>
78454         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78455         function only available for GCCs before 3.4 since GCC 3.4
78456         introduced a builtin.
78457         (lrint): Likewise.
78458         (llrintf): Likewise.
78459         (llrint): Likewise.
78460         (fmaxf): Likewise.
78461         (fmax): Likewise.
78462         (fminf): Likewise.
78463         (fmin): Likewise.
78464         (rint): Likewise.
78465         (rintf): Likewise.
78466         (nearbyint): Likewise.
78467         (nearbyintf): Likewise.
78468         (ceil): Likewise.
78469         (ceilf): Likewise.
78470         (floor): Likewise.
78471         (floorf): Likewise.
78473 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78475         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78476         on both fields and cast pointer to __syscall_ulong_t.
78478         * bits/types.h (__fsword_t): New type.
78479         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78480         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78482         (__FSWORD_T_TYPE): Likewise.
78483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78484         (__FSWORD_T_TYPE): Likewise.
78485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78486         (__FSWORD_T_TYPE): Likewise.
78487         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78488         (__FSWORD_T_TYPE): Likewise.
78489         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78490         __SWORD_TYPE with __fsword_t.
78491         (statfs64): Likewise.
78493 2012-05-17  David S. Miller  <davem@davemloft.net>
78495         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78497 2012-05-17  Andreas Jaeger  <aj@suse.de>
78499         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78500         warning.
78502 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78504         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78506 2012-05-17  Andreas Jaeger  <aj@suse.de>
78508         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78509         when it is used.
78511 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78513         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78515 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78517         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78518         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78520 2012-05-17  Andreas Jaeger  <aj@suse.de>
78521             Carlos O'Donell  <carlos_odonell@mentor.com>
78523         [BZ #14059]
78524         * sysdeps/x86_64/multiarch/init-arch.h
78525         (bit_YMM_Usable): Rename to...
78526         (bit_AVX_Usable): ... this.
78527         (bit_FMA4_Usable): New macro.
78528         (bit_XMM_state): New macro.
78529         (bit_YMM_state): New macro.
78530         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78531         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78532         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78533         (CPUID_OSXSAVE): New macro.
78534         (CPUID_AVX): New macro.
78535         (CPUID_FMA4): New macro.
78536         (index_YMM_Usable): Rename to...
78537         (index_AVX_Usable): ... this.
78538         (HAS_AVX): Use HAS_ARCH_FEATURE.
78539         (HAS_FMA4): Likewise.
78540         (HAS_YMM_USABLE): Remove.
78541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78542         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78543         are present.
78544         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78545         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78546         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78547         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78548         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78550 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78552         * math/libm-test.c: Support platforms without multiple rounding modes.
78553         * math/bug-nextafter.c: Support platforms without FP exceptions.
78554         * math/bug-nexttoward.c: Likewise.
78555         * math/test-fenv.c: Likewise.
78556         * math/test-misc.c: Likewise.
78557         * stdlib/bug-getcontext.c: Likewise.
78559 2012-05-17  Andreas Jaeger  <aj@suse.de>
78561         * manual/examples/search.c (critter_cmp): Change signature to
78562         avoid warnings.
78563         * manual/string.texi (Collation Functions): Likewise.
78565 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78567         * bits/types.h: Fold copyright years.
78568         * bits/typesizes.h: Likewise.
78569         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78570         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78571         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78572         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78573         * time/time.h: Likewise.
78575 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78577         [BZ #208]
78578         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78579         in instead of returning them.  Return void.
78580         (__libc_mallinfo): Accumulate over all arenas.
78581         (__malloc_stats): Adjust for change in int_mallinfo interface.
78583 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78585         [BZ #10375]
78586         * configure.in (NM): Add AC_CHECK_TOOL for it.
78587         (libc_extra_cflags): New substituted variable.
78588         Check for -fstack-protector being used implicitly.
78589         * configure: Regenerated.
78590         * config.make.in (config-extra-cflags): New variable,
78591         gets @libc_extra_cflags@.
78592         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78594         [BZ #10375]
78595         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78596         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78597         * configure: Regenerated.
78598         * config.make.in (CPPUNDEFS): New substituted variable.
78599         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78600         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78601         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78603 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78605         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78606         (mq_attr): Use __syscall_slong_t.
78608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78610         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78611         Check __x86_64__ instead of __WORDSIZE.
78612         (_STAT_VER_LINUX): Likewise.
78613         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78614         __syscall_ulong_t and __syscall_slong_t.
78615         (stat64): Likewise.
78617 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78619         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78621 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78623         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78625 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78627         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78628         __syscall_ulong_t.
78630         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78631         include <bits/wordsize.h>.  Check __x86_64__ instead of
78632         __WORDSIZE.
78633         (greg_t): Use "__extension__ long long int" if __x86_64__ is
78634         defined.
78635         (mcontext_t): Replace "unsigned long" with "unsigned long long".
78637         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78638         include <bits/wordsize.h>.  Check __x86_64__ instead of
78639         __WORDSIZE.
78640         (user_regs_struct): Use "__extension__ unsigned long long"
78641         instead of "unsigned long" if __x86_64__ is defined.
78642         (user): Likewise.  Pad after pointer field if __ILP32__ is
78643         defined.
78645 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
78647         * configure.in (makeinfo): Require version 4.5 or later.  Allow
78648         versions 5 to 9.
78649         * configure: Regenerated.
78650         * manual/install.texi (texinfo): Increase version requirement to
78651         4.5 or later.
78652         * INSTALL: Regenerated.
78654         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78656 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78658         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78660         * sysdeps/x86_64/x32/ffs.c: New file.
78662         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78663         __syscall_ulong_t.
78664         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78665         defined.  Use __syscall_ulong_t.
78666         (shminfo): Use __syscall_ulong_t.
78667         (shm_info): Likewise.
78669         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78670         __syscall_ulong_t.
78672         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78673         <bits/wordsize.h>.
78674         (msgqnum_t): Use __syscall_ulong_t.
78675         (msglen_t): Likewise.
78676         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
78677         __syscall_ulong_t.
78679         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78680         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78682         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
78684         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
78685         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
78687         * sysvipc/sys/msg.h (msgbuf): Replace long int with
78688         __syscall_slong_t.
78690         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
78691         include <bits/wordsize.h>.  Check __x86_64__ instead of
78692         __WORDSIZE.
78694         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
78695         "unsigned long long int" if __x86_64__ is defined.
78696         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
78698         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
78699         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78700         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
78702         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
78703         <stdint.h>.
78704         (GET_PC): Cast to uintptr_t first.
78705         (GET_FRAME): Likewise.
78706         (GET_STACK): Likewise.
78708         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
78709         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
78710         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
78711         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
78712         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
78713         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
78714         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
78715         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
78716         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
78717         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
78718         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
78719         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
78720         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78721         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
78722         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
78723         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
78724         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
78725         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
78726         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
78727         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
78728         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
78729         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
78730         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
78731         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
78732         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
78733         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
78734         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
78735         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
78736         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
78738 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
78740         * Makerules (+depfiles): Also collect depfiles from .oS in
78741         $(extra-objs).
78742         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
78743         .oS, $(libnldbl-routines)).
78745         * Makerules (native-compile-mkdep-flags): Define.
78746         * sunrpc/Makefile (extra-objs): Add $(addprefix
78747         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
78748         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
78749         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
78750         calling $(make-target-directory).
78752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78754         * bits/types.h (__snseconds_t): Removed.
78755         * time/time.h (struct timespec): Replace __snseconds_t with
78756         __syscall_slong_t.
78757         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
78758         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
78759         Likewise.
78760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78761         (__SNSECONDS_T_TYPE): Likewise.
78762         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78763         (__SNSECONDS_T_TYPE): Likewise.
78764         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78765         (__SNSECONDS_T_TYPE): Likewise.
78767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78769         * sysdeps/mach/hurd/bits/typesizes.h
78770         (__SYSCALL_SLONG_TYPE): New macro.
78771         (__SYSCALL_ULONG_TYPE): Likewise.
78773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78775         * bits/types.h (__syscall_slong_t): New type.
78776         (__syscall_ulong_t): Likewise.
78778         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
78779         (__SYSCALL_ULONG_TYPE): Likewise.
78780         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78781         (__SYSCALL_SLONG_TYPE): Likewise.
78782         (__SYSCALL_ULONG_TYPE): Likewise.
78783         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78784         (__SYSCALL_SLONG_TYPE): Likewise.
78785         (__SYSCALL_ULONG_TYPE): Likewise.
78786         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78787         (__SYSCALL_SLONG_TYPE): Likewise.
78788         (__SYSCALL_ULONG_TYPE): Likewise.
78790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78792         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
78793         Add sigaltstack-offsets.sym.
78794         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
78795         <sigaltstack-offsets.h>.
78796         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
78797         longjmp_msg pointer.
78798         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
78799         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
78800         signal stack.
78801         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
78803 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78805         * elf/stackguard-macros.h: Remove file.
78806         * sysdeps/generic/stackguard-macros.h: New file.
78807         * sysdeps/i386/stackguard-macros.h: Likewise.
78808         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
78809         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
78810         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
78811         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
78812         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
78813         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
78814         * sysdeps/x86_64/stackguard-macros.h: Likewise.
78815         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
78816         <elf/stackguard-macros.h>.
78818         [BZ #14109]
78819         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
78820         __aligned__ in attribute.
78821         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
78822         (gregset_t): Likewise.
78824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78826         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
78827         * sysdeps/x86_64/64/Implies-after: Here.  New file.
78828         * sysdeps/x86_64/x32/Implies-after: New file.
78830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78832         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
78833         and access return value for _dl_profile_fixup.  Use R10_LP to
78834         load frame size.
78836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78838         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
78840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78842         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
78843         * sysdeps/x86_64/x32/sysdep.h: New file.
78845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78847         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
78848         * sysdeps/x86_64/setjmp.S: Likewise.
78850 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78852         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
78853         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
78854         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
78855         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
78856         remove unused global constant.
78858 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
78860         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
78861         include of <not-cancel.h>.
78863 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78865         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78867 2012-05-15  Jeff Law  <law@redhat.com>
78868             Andreas Jaeger  <aj@suse.de>
78870         [BZ #13594]
78871         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
78872         out from...
78873         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
78874         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
78875         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
78876         code changing __hst_map_handle.map.
78878 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78880         * configure.in (sysnames): Look for Implies-before and Implies-after
78881         files.
78882         * configure: Regenerated.
78884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78886         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
78887         8-byte data alignment with LP_SIZE alignment.
78889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78891         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
78892         into R10_LP.
78894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78896         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
78898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78900         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
78901         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
78902         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
78903         Likewise.
78904         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78908         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
78909         (stackinfo_sub_sp): Likewise.
78911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78913         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
78914         RAX_LP.
78916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78918         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78919         into R*_LP.
78921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78923         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78924         sizes into R*_LP.
78926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78928         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78932         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78933         into R11_LP and load __x86_64_shared_cache_size_half into
78934         R8_LP.
78936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78938         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78939         R8_LP.
78941 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78944         logb for POWER7.
78945         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78946         logbf for POWER7.
78947         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78948         logbl for POWER7.
78949         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78950         powerpc32/power7/fpu/s_logb.c via #include.
78951         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78952         powerpc32/power7/fpu/s_logbf.c via #include.
78953         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78954         powerpc32/power7/fpu/s_logbl.c via #include.
78956 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78958         * README.libm: Remove file.
78960 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78962         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78963         count for x32.  Use R*_LP and omit operand-size suffix.
78965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78967         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78968         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78969         * sysdeps/x86_64/x32/shlib-versions: New file.
78971 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78973         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78974         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78975         Use _dl_fatal_printf instead.
78977 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78979         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78980         set if not set by the user.  Do not allow for being unset.
78981         * sysdeps/unix/sysv/linux/configure: Regenerated.
78983 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78985         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78986         the `q' suffix from lea and replace .quad with ASM_ADDR.
78988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78991         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78992         instead of $17.
78993         (PTR_DEMANGLE): Likewise.
78995 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78997         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78998         (LP_OP): Likewise.
78999         (ASM_ADDR): Likewise.
79000         (RAX_LP): Likewise.
79001         (RBP_LP): Likewise.
79002         (RBX_LP): Likewise.
79003         (RCX_LP): Likewise.
79004         (RDI_LP): Likewise.
79005         (RSI_LP): Likewise.
79006         (RSP_LP): Likewise.
79007         (R8_LP): Likewise.
79008         (R9_LP): Likewise.
79009         (R10_LP): Likewise.
79010         (R10_LP): Likewise.
79011         (R11_LP): Likewise.
79012         (R12_LP): Likewise.
79013         (R13_LP): Likewise.
79014         (R14_LP): Likewise.
79015         (R15_LP): Likewise.
79017 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79019         * sysdeps/x86_64/x32/dl-machine.h: New file.
79021 2012-05-14  Andreas Jaeger  <aj@suse.de>
79023         * manual/Makefile (subdir): Remove export of subdir.
79024         (all): Remove target.
79025         (.PHONY): Remove all from list.
79026         (mkinstalldirs): Remove.
79027         (.PHONY): Remove installdirs from list.
79028         ($(inst_infodir)/libc.info): Use make-target-directory.
79029         (installdirs): Remove.
79030         (subdir_%): Remove.
79031         (glibc-targets): Remove.
79032         (lib): Remove.
79033         (stubs): Remove.
79034         ($(objpfx)stubs ../po/manual.pot): Remove.
79035         ($(objpfx)stamp%): Remove.
79036         (make-target-directory): Remove.
79037         (subdir_install): Remove.
79038         (routines): Remove.
79039         (aux): Remove.
79040         (sources): Remove.
79041         (objects): Remove.
79042         (headers): Remove.
79044         [BZ #13750]
79045         * manual/.gitignore: Remove, it's not needed anymore.
79046         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
79047         all files in it.
79048         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
79049         directory.
79050         (texis): Renamed to $(objpfx)texis.
79051         (texis-path): New, contains path to generated files.
79052         (chapters.%): Use texis-path for complete path, add extra argument
79053         libc-texinfo.sh.
79054         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79055         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
79056         (summary,texi, stamp-summary): Use complete path of
79057         files. Generate files in build dir.
79058         (dir-add.texi): Build in build dir.
79059         (libm-err.texi,stamp-libm-err): Likewise.
79060         (version.texi, stamp-version): Likewise.
79061         (.%c.texi): Likewise.
79062         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
79063         (mostlyclean): Remove target.
79064         (realclean): Remove target.
79065         (generated): Add new variable with contents from mostlyclean and
79066         realclean, remove entries duplicated in common-mostlyclean, add
79067         stamp-libm-err and stamp-version.
79068         (generated-dirs): Add libc directory.
79069         ($(inst_infodir)/libc.info): Install files from build dir.
79071         * manual/install.texi (Configuring and compiling): Adjust since
79072         the info files are not part of the tar ball anymore.
79074 2012-05-14  Andreas Jaeger  <aj@suse.de>
79076         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
79077         variable.
79079 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79081         [BZ #13717]
79082         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79083         to 2.2.0 where earlier.
79084         * sysdeps/unix/sysv/linux/configure: Regenerated.
79085         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
79086         Remove conditional code.
79087         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
79088         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
79089         Remove conditional code.
79090         [!__NR_lchown]: Likewise.
79091         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79092         [__NR_lchown]: Likewise.
79093         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
79094         comment referencing __ASSUME_LCHOWN_SYSCALL.
79095         * sysdeps/unix/sysv/linux/i386/sigaction.c
79096         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79097         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79098         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79099         Remove conditional code.
79100         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
79101         (__protocol_available): Remove #if 0 code.
79102         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
79103         conditional code.
79104         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
79105         * sysdeps/unix/sysv/linux/kernel-features.h
79106         (__ASSUME_GETCWD_SYSCALL): Don't define.
79107         (__ASSUME_REALTIME_SIGNALS): Likewise.
79108         (__ASSUME_PREAD_SYSCALL): Likewise.
79109         (__ASSUME_PWRITE_SYSCALL): Likewise.
79110         (__ASSUME_POLL_SYSCALL): Likewise.
79111         (__ASSUME_LCHOWN_SYSCALL): Likewise.
79112         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
79113         non-SPARC.
79114         (__ASSUME_SIOCGIFNAME): Don't define.
79115         (__ASSUME_MSG_NOSIGNAL): Likewise.
79116         (__ASSUME_SENDFILE): Define unconditionally.
79117         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
79118         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
79119         conditional code.
79120         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
79121         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
79122         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79123         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79124         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
79125         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79126         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
79128         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79129         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
79131         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79132         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
79134         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79135         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
79137         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79138         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
79140         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79141         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
79143         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79144         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
79146         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79147         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
79149         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79150         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79151         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79152         Remove conditional code.
79153         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79154         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79155         Remove conditional code.
79156         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79157         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
79158         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
79159         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79160         Remove conditional code.
79161         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79162         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
79163         Remove conditional code.
79164         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79165         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
79166         Remove conditional code.
79167         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79168         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79169         Remove conditional code.
79170         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79171         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79172         Remove conditional code.
79173         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79174         * sysdeps/unix/sysv/linux/sh/pwrite64.c
79175         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79176         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79177         * sysdeps/unix/sysv/linux/sigaction.c
79178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79180         * sysdeps/unix/sysv/linux/sigpending.c
79181         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79182         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79183         * sysdeps/unix/sysv/linux/sigprocmask.c
79184         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79185         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79186         * sysdeps/unix/sysv/linux/sigsuspend.c
79187         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79188         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79189         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79190         (__libc_missing_rt_sigs): Remove.
79191         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79192         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79193         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79194         Remove conditional code.
79195         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79196         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
79197         return 1.
79198         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
79199         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
79200         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
79201         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
79203 2012-05-14  Andreas Jaeger  <aj@suse.de>
79205         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
79206         it's not used in glibc.
79207         (__coshm1): Likewise.
79208         (__acosh1p): Likewise.
79209         (__sgn): Likewise.
79211         * manual/string.texi (Copying and Concatenation): Add missing
79212         variable in concat example.
79213         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
79215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79217         [BZ #14103]
79218         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
79219         __builtin_clzl with __builtin_clzll.
79221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79223         [BZ #14104]
79224         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
79225         libc_freeres_ptr.
79227 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79229         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
79230         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
79231         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
79232         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
79234 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
79236         * NEWS: Update ia64 info.
79238 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
79240         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
79241         used as bcopy.
79243 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
79245         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
79246         * sysdeps/unix/syscalls.list (dup3): Likewise.
79247         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
79248         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
79250 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79252         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
79253         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
79255 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79257         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
79258         thread pointer.
79259         (TLS_IE): Use mov/add instead of movq/addq to load thread
79260         pointer.
79261         (TLS_GD_PREFIX): New.
79262         (TLS_GD): Use it.
79264 2012-05-11  David S. Miller  <davem@davemloft.net>
79266         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
79267         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
79268         (_FPU_SETCW): Likewise.
79270 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79272         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
79273         is 32-byte aligned.
79275 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
79277         [BZ #11837]
79278         * iconvdata/gb18030.c: Update tables.
79279         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
79280         characters specially.
79281         (BODY for TO_LOOP): Add encoding of missing ranges.
79283 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
79285         [BZ #13673]
79286         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79287         * sysdeps/mach/hurd/dup3.c: Likewise.
79288         * sysdeps/mach/hurd/readlinkat.c: Likewise.
79289         * sysdeps/powerpc/memmove.c:: Likewise.
79291 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79294         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79296 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79298         * elf/elf.h (R_X86_64_RELATIVE64): New.
79299         (R_X86_64_NUM): Updated.
79300         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79301         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
79302         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79303         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79304         tst-quad1pie tst-quad2pie
79305         (modules-names): Add tst-quadmod1 tst-quadmod2.
79306         ($(objpfx)tst-quad1): New dependency.
79307         ($(objpfx)tst-quad2): Likewise.
79308         ($(objpfx)tst-quad1pie): Likewise.
79309         ($(objpfx)tst-quad2pie): Likewise.
79310         * sysdeps/x86_64/tst-quad1.c: New file.
79311         * sysdeps/x86_64/tst-quad1pie.c: New file.
79312         * sysdeps/x86_64/tst-quad2.c: Likewise.
79313         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79314         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79315         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79316         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79317         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79319 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79321         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79322         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79323         * streams/stropts.h (t_scalar_t): Define type.
79325         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79326         (_PATH_PRESERVE): Set to "/var/lib".
79327         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79329         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79330         instead of int.
79332         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79333         if __dir_mkfile succeeded.
79335         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79336         checking for _hurd_dtablesize.  Unlock it right after having
79337         finished _hurd_dtable allocation.
79339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79341         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79342         * sysdeps/mach/hurd/configure: Regenerated.
79343         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79344         special-casing to...
79345         * sysdeps/gnu/configure.in: ... this new file.
79346         * sysdeps/unix/sysv/linux/configure: Regenerated.
79347         * sysdeps/gnu/configure: New generated file.
79349         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79350         for Linux: use nsec instead of usec, as well as:
79351         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79352         members of type struct timespec.
79353         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79354         New macros.
79355         (struct stat64): Likewise.
79356         (_STATBUF_ST_NSEC): New macro.
79357         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79359         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79360         __strtoul_internal rather than strtoul.
79362 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79364         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79365         and reject them.
79367 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79369         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79370         which preserves existing values.
79371         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79373 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79375         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79376         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79377         greater than FD_SETSIZE.
79379 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79381         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79382         allocated, call __vm_protect to finish enabling the existing space, and
79383         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79384         allocate the remainder.
79386 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79388         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79389         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79391 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79393         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79394         sysdeps/mach/hurd/readlink.c.
79396         * posix/tst-sysconf.c (posix_options): Only use
79397         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79398         _POSIX_SYNCHRONIZED_IO when they are defined
79399         * sysdeps/mach/hurd/bits/posix_opt.h:
79400         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79401         (_XOPEN_REALTIME): Undefine macro.
79402         (_XOPEN_REALTIME_THREADS): Undefine macro.
79403         (_XOPEN_SHM): Undefine macro.
79404         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79405         macro to -1.
79406         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79407         macro to -1.
79408         (_POSIX_ASYNC_IO): Undefine macro.
79409         (_POSIX_PRIORITIZED_IO): Undefine macro.
79410         (_POSIX_SPIN_LOCKS): Define macro to -1.
79412         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79413         SA_NODEFER, SA_RESETHAND.
79414         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79415         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79416         F_DUPFD_CLOEXEC.
79418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79420         * elf/Makefile (pldd-modules): Define unconditionally.
79422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79424         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79426 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79428         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79429         Return ENOENT when name is empty.
79430         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79432 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79434         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79436         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79438 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79440         Fix mlock in all cases except non-readable pages.
79441         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79442         instead of VM_PROT_ALL as parameter to __vm_wire function.
79444         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79445         (__mkdir): When path is `/', just fail with EEXIST.
79446         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79450         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79451         <sys/uio.h> (for writev).
79452         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79453         and <sys/param.h> (for MIN).
79455 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79457         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79458         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79459         if interrupted.
79461 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79463         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79464         Depend on against $(link-rpcuserlibs).
79466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79468         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79469         (__libc_stack_end): Do not use attribute_relro.
79470         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79471         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79472         to libthread-provided value.
79473         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79474         attribute_relro.
79476 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79478         [BZ #3748]
79479         * bits/libc-lock.h (__libc_once_get): New macro.
79480         * sysdeps/mach/bits/libc-lock.h: Likewise.
79481         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79482         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79483         instead of using implementation details.
79485         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79486         * libio/freopen.c: Likewise.
79487         * libio/freopen64.c: Likewise.
79488         * misc/syslog.c: Likewise.
79489         * nscd/connections.c: Likewise.
79490         * nscd/netgroupcache.c: Likewise.
79491         * sysdeps/posix/getcwd.c: Likewise.
79493 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79495         * math/w_ilogbf.c: Add #include <limits.h>.
79497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79499         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79500         path instead of returning without unlocking.
79502         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79503         immediate-write ioctls.
79504         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79508         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79509         __builtin_frame_address instead of making assumptions about the
79510         location of the return address relative to DATA.  Force early load of
79511         the return address.
79512         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79513         __builtin_frame_address.
79515         dup3 for GNU Hurd.
79516         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79517         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79518         implement dup3 and do some further code clean-ups.
79519         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79520         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79522 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79524         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79526         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79527         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79528         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79529         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79530         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79531         d->port.lock.
79533         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79534         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79535         when handler == SIG_ERR, not when handler != SIG_ERR.
79537 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79539         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79540         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79541         definitions.
79543         accept4 for GNU Hurd.
79544         * include/sys/socket.h (__libc_accept4): New prototype.
79545         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79546         to implement __libc_accept4.
79547         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79548         __libc_accept4.
79549         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79551         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79552         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79553         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79554         signal-defines.sym.
79556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79558         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79560 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79562         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79563         assertion on O_CLOEXEC flag.
79564         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79565         * hurd/intern-fd.c: Likewise.
79566         * hurd/port2fd.c: Likewise.
79568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79570         [BZ #3906]
79571         * bits/in.h (IPV6_PKTINFO): Define new macro.
79572         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79574 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79576         [BZ #13954]
79577         [BZ #13955]
79578         [BZ #13956]
79579         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79580         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79581         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79582         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79583         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79584         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79585         * math/libm-test.inc (logb_test) : Additional logb tests.
79587 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79588             Andreas Jaeger  <aj@suse.de>
79590         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79591         * configure: Regenerated.
79592         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79593         * config.make.in (link-obsolete-rpc): New substituted variable.
79594         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79595         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79596         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79597         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79598         so that libc.a contains the symbols.
79599         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79600         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79601         * sunrpc/auth_none.c: Likewise.
79602         * sunrpc/auth_unix.c: Likewise.
79603         * sunrpc/authdes_prot.c: Likewise.
79604         * sunrpc/authuxprot.c: Likewise.
79605         * sunrpc/clnt_gen.c: Likewise.
79606         * sunrpc/clnt_perr.c: Likewise.
79607         * sunrpc/clnt_raw.c: Likewise.
79608         * sunrpc/clnt_simp.c: Likewise.
79609         * sunrpc/clnt_tcp.c: Likewise.
79610         * sunrpc/clnt_udp.c: Likewise.
79611         * sunrpc/clnt_unix.c: Likewise.
79612         * sunrpc/des_crypt.c: Likewise.
79613         * sunrpc/des_soft.c: Likewise.
79614         * sunrpc/get_myaddr.c: Likewise.
79615         * sunrpc/key_call.c: Likewise.
79616         * sunrpc/key_prot.c: Likewise.
79617         * sunrpc/netname.c: Likewise.
79618         * sunrpc/pm_getmaps.c: Likewise.
79619         * sunrpc/pm_getport.c: Likewise.
79620         * sunrpc/pmap_clnt.c: Likewise.
79621         * sunrpc/pmap_prot.c: Likewise.
79622         * sunrpc/pmap_prot2.c: Likewise.
79623         * sunrpc/pmap_rmt.c: Likewise.
79624         * sunrpc/publickey.c: Likewise.
79625         * sunrpc/rpc_cmsg.c: Likewise.
79626         * sunrpc/rpc_common.c: Likewise.
79627         * sunrpc/rpc_dtable.c: Likewise.
79628         * sunrpc/rpc_prot.c: Likewise.
79629         * sunrpc/rpc_thread.c: Likewise.
79630         * sunrpc/rtime.c: Likewise.
79631         * sunrpc/svc.c: Likewise.
79632         * sunrpc/svc_auth.c: Likewise.
79633         * sunrpc/svc_raw.c: Likewise.
79634         * sunrpc/svc_run.c: Likewise.
79635         * sunrpc/svc_tcp.c: Likewise.
79636         * sunrpc/svc_udp.c: Likewise.
79637         * sunrpc/svc_unix.c: Likewise.
79638         * sunrpc/svcauth_des.c: Likewise.
79639         * sunrpc/xcrypt.c: Likewise.
79640         * sunrpc/xdr.c: Likewise.
79641         * sunrpc/xdr_array.c: Likewise.
79642         * sunrpc/xdr_float.c: Likewise.
79643         * sunrpc/xdr_intXX_t.c: Likewise.
79644         * sunrpc/xdr_mem.c: Likewise.
79645         * sunrpc/xdr_rec.c: Likewise.
79646         * sunrpc/xdr_ref.c: Likewise.
79647         * sunrpc/xdr_sizeof.c: Likewise.
79648         * sunrpc/xdr_stdio.c: Likewise.
79650 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79652         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79653         change.  Update copyright years.
79655 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79657         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79659 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
79660             Joseph Myers  <joseph@codesourcery.com>
79661             Paul Pluzhnikov  <ppluzhnikov@google.com>
79663         [BZ #14012]
79664         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79665         requiring rpcgen.
79666         [cross-compiling] (extra-libs): Likewise.
79667         [cross-compiling] (extra-libs-others): Likewise.
79668         [cross-compiling] (librpcsvc-routines): Likewise.
79669         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79670         [cross-compiling] (omit-deps): Likewise.
79671         (sunrpc-CPPFLAGS): New variable.
79672         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79673         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79674         (cross-rpcgen-objs): New variable.
79675         (extra-objs): Append $(cross-rpcgen-objs).
79676         ($(cross-rpcgen-objs)): New rule.
79677         ($(objpfx)cross-rpcgen): Likewise.
79678         (rpcgen-cmd): Define to use $(built-program-file).  Expand
79679         comment.
79680         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79681         ($(objpfx)x%.stmp): Likewise.
79682         * sunrpc/proto.h [IS_IN_build] (_): Define.
79683         [IS_IN_build] (_libc_intl_domainname): Likewise.
79685 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79687         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
79688         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
79689         and R_X86_64_TPOFF64.
79691 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79693         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
79694         sysdeps/unix/sysv/syscalls.list.
79695         (stime): Likewise.
79696         (utime): Likewise.
79697         * sysdeps/unix/sysv/syscalls.list: Remove file.
79699 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
79701         [BZ #3440]
79702         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
79703         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
79704         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
79705         (__LC_IDENTIFICATION): Make these macros useful in #if
79706         expressions, as required by C99.
79708 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
79710         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
79711         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
79712         after this.
79714 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
79716         * stdlib/longlong.h: Updated from GCC.
79718 2012-05-09  Andreas Jaeger  <aj@suse.de>
79720         * nscd/nscd.c (run_modes): Make named enum, reorder so that
79721         default is first entry.
79722         (run_mode): Set type.
79723         (main): Remove informal message about syslog.
79724         (options): Fix typo.
79726         [BZ #14053]
79727         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
79728         to asm.
79729         (lrint): Likewise.
79730         (llrintf): Likewise.
79731         (llrint): Likewise.
79732         (rint): Likewise.
79733         (rintf): Likewise.
79734         (nearbyint): Likewise.
79735         (nearbyintf): Likewise.
79737 2012-05-09  Andreas Jaeger  <aj@suse.de>
79738             Pedro Alves  <palves@redhat.com>
79740         * nscd/nscd.c (run_mode): Use enum.
79741         (main): Cleanup coding style issue.
79743 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
79744             Andreas Jaeger  <aj@suse.de>
79746         * nscd/nscd.c (go_background): Replaced with...
79747         (run_mode): ... this.
79748         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
79749         (options): Add -F --foreground.
79750         (main): Implement it.
79751         (parse_opt): Parse it.
79753 2012-05-09  Andreas Jaeger  <aj@suse.de>
79755         [BZ #14083]
79756         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
79757         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
79758         -Wconversion warning.
79759         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
79760         Likewise.
79762 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
79764         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
79765         == 0.
79766         (LC_ALL): Use macro-int-constant.
79767         (LC_COLLATE): Likewise.
79768         (LC_CTYPE): Likewise.
79769         (LC_MESSAGES): Likewise.
79770         (LC_MONETARY): Likewise.
79771         (LC_NUMERIC): Likewise.
79772         (LC_TIME): Likewise.
79773         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
79774         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79775         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79776         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
79777         Specify type.
79778         [C99-based standards] (float_t): Expect type.
79779         [C99-based standards] (double_t): Expect type.
79780         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
79781         type.
79782         [C99-based standards] (HUGE_VALL): Likewise.
79783         [C99-based standards] (INFINITY): Likewise.
79784         [C99-based standards] (NAN): Likewise.
79785         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
79786         [C99-based standards] (FP_NAN): Likewise.
79787         [C99-based standards] (FP_NORMAL): Likewise.
79788         [C99-based standards] (FP_SUBNORMAL): Likewise.
79789         [C99-based standards] (FP_ZERO): Likewise.
79790         [C99-based standards] (FP_FAST_FMA): Use
79791         optional-macro-int-constant.  Specify type.  Require == 1.
79792         [C99-based standards] (FP_FAST_FMAF): Likewise.
79793         [C99-based standards] (FP_FAST_FMAL): Likewise.
79794         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
79795         [C99-based standards] (FP_ILOGBNAN): Likewise.
79796         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
79797         Specify type.
79798         [C99-based standards] (MATH_ERREXCEPT): Likewise.
79799         [C99-based standards] (math_errhandling): Specify type.
79800         [ISO99 || ISO11] (signgam): Do not allow.
79801         [non-C99-based standards] (copysignf): Do not allow.
79802         [non-C99-based standards] (exp2f): Likewise.
79803         [non-C99-based standards] (log2f): Likewise.
79804         [non-C99-based standards] (modff): Allow.
79805         [non-C99-based standards] (erff): Do not allow.
79806         [non-C99-based standards] (erfcf): Likewise.
79807         [non-C99-based standards] (gammaf): Likewise.
79808         [non-C99-based standards] (hypotf): Likewise.
79809         [non-C99-based standards] (j0f): Likewise.
79810         [non-C99-based standards] (j1f): Likewise.
79811         [non-C99-based standards] (jnf): Likewise.
79812         [non-C99-based standards] (lgammaf): Likewise.
79813         [non-C99-based standards] (tgammaf): Likewise.
79814         [non-C99-based standards] (y0f): Likewise.
79815         [non-C99-based standards] (y1f): Likewise.
79816         [non-C99-based standards] (ynf): Likewise.
79817         [non-C99-based standards] (isnanf): Likewise.
79818         [non-C99-based standards] (acoshf): Likewise.
79819         [non-C99-based standards] (asinhf): Likewise.
79820         [non-C99-based standards] (atanhf): Likewise.
79821         [non-C99-based standards] (cbrtf): Likewise.
79822         [non-C99-based standards] (expm1f): Likewise.
79823         [non-C99-based standards] (ilogbf): Likewise.
79824         [non-C99-based standards] (log1pf): Likewise.
79825         [non-C99-based standards] (logbf): Likewise.
79826         [non-C99-based standards] (nextafterf): Likewise.
79827         [non-C99-based standards] (remainderf): Likewise.
79828         [non-C99-based standards] (rintf): Likewise.
79829         [non-C99-based standards] (scalbf): Likewise.
79830         [non-C99-based standards] (copysignl): Likewise.
79831         [non-C99-based standards] (exp2l): Likewise.
79832         [non-C99-based standards] (log2l): Likewise.
79833         [non-C99-based standards] (modfl): Allow.
79834         [non-C99-based standards] (erfl): Do not allow.
79835         [non-C99-based standards] (erfcl): Likewise.
79836         [non-C99-based standards] (gammal): Likewise.
79837         [non-C99-based standards] (hypotl): Likewise.
79838         [non-C99-based standards] (j0l): Likewise.
79839         [non-C99-based standards] (j1l): Likewise.
79840         [non-C99-based standards] (jnl): Likewise.
79841         [non-C99-based standards] (lgammal): Likewise.
79842         [non-C99-based standards] (tgammal): Likewise.
79843         [non-C99-based standards] (y0l): Likewise.
79844         [non-C99-based standards] (y1l): Likewise.
79845         [non-C99-based standards] (ynl): Likewise.
79846         [non-C99-based standards] (isnanl): Likewise.
79847         [non-C99-based standards] (acoshl): Likewise.
79848         [non-C99-based standards] (asinhl): Likewise.
79849         [non-C99-based standards] (atanhl): Likewise.
79850         [non-C99-based standards] (cbrtl): Likewise.
79851         [non-C99-based standards] (expm1l): Likewise.
79852         [non-C99-based standards] (ilogbl): Likewise.
79853         [non-C99-based standards] (log1pl): Likewise.
79854         [non-C99-based standards] (logbl): Likewise.
79855         [non-C99-based standards] (nextafterl): Likewise.
79856         [non-C99-based standards] (remainderl): Likewise.
79857         [non-C99-based standards] (rintl): Likewise.
79858         [non-C99-based standards] (scalbl): Likewise.
79859         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79860         [non-C99-based standards] (FP_*): Do not allow.
79861         [C99-based standards] (FP_*): Change to
79862         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79863         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79864         allow.
79865         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
79866         (SIG_ERR): Likewise.
79867         [X/Open-based standards] (SIG_HOLD): Likewise.
79868         (SIG_IGN): Likewise.
79869         (SIGABRT): Use macro-int-constant.  Specify type.  Require
79870         positive value.
79871         (SIGFPE): Likewise.
79872         (SIGILL): Likewise.
79873         (SIGINT): Likewise.
79874         (SIGSEGV): Likewise.
79875         (SIGTER): Likewise.
79876         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
79877         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
79878         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
79879         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
79880         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
79881         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
79882         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
79883         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
79884         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
79885         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
79886         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
79887         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
79888         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
79889         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
79890         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
79891         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
79892         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
79893         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
79894         [X/Open-based standards] (SIGTRAP): Likewise.
79895         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
79896         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
79897         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
79898         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
79899         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79900         allow.
79902 2012-05-08  Ian Wienand  <ianw@vmware.com>
79904         [BZ #14080]
79905         * time/tzset.c (__tzset_parse_tz): Update default rules for
79906         daylight time changes in the Energy Policy Act of 2005.
79908 2012-05-09  Andreas Jaeger  <aj@suse.de>
79910         [BZ #13983]
79911         * elf/ldconfig.c (parse_conf): Change string to make clear that
79912         ldconfig only issued a warning if ld.so.conf does not exist.
79914 2012-05-08  David S. Miller  <davem@davemloft.net>
79916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
79917         movxtod instead of popping the value on the stack.
79919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79921 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
79923         * config.h.in: Add HAVE_ARM_PCS_VFP.
79925 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
79927         [BZ #13979]
79928         * include/features.h: Warn if user requests __FORTIFY_SOURCE
79929         checking but the checks are disabled for any reason.
79931 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
79933         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79934         and ELF64_R_TYPE with ELFW(R_TYPE).
79936 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
79938         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79939         (ulimit): Likewise.
79941         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79942         (settimeofday): Likewise.
79944 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
79946         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
79947         a struct th_u2 inside the union, and move tu_block/tu_code into
79948         a new th_u3 union of tu_block/tu_code inside of that.  Move
79949         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
79950         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79951         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79952         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79953         (th_stuff): Change to th_u1.tu_stuff.
79954         (th_data): Define.
79955         (th_msg): Change to th_u1.th_u2.tu_data.
79957 2012-05-07  David S. Miller  <davem@davemloft.net>
79959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79961         [BZ #14074]
79962         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79963         (SETUP_PIC_REG): Use it.
79964         (SETUP_PIC_REG_LEAF): Use it.
79966 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79968         [BZ #13885]
79969         [BZ #13923]
79970         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79971         USE_AS_EXPM1L.
79972         (EXPL_FINITE): Likewise.
79973         (FLDLOG): Likewise.
79974         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79975         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79976         e_expl.S.
79977         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79978         USE_AS_EXPM1L.
79979         (EXPL_FINITE): Likewise.
79980         (FLDLOG): Likewise.
79981         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79982         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79983         e_expl.S.
79984         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79985         test of -max_value argument for long double.
79986         * sysdeps/i386/fpu/libm-test-ulps: Update.
79987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79989 2012-05-06  David S. Miller  <davem@davemloft.net>
79991         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79992         quad soft-float symbols whose references which are compiler
79993         generated.
79994         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79996 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79998         [BZ #13884]
79999         [BZ #13914]
80000         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80001         USE_AS_EXP10L.
80002         (EXPL_FINITE): Likewise.
80003         (FLDLOG): Likewise.
80004         (c0): Likewise.
80005         (c1): Likewise.
80006         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80007         Adjust comments for base varying.
80008         (__expl_finite): Change alias to EXPL_FINITE.
80009         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
80010         e_expl.S.
80011         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
80012         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
80013         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
80014         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
80015         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80016         USE_AS_EXP10L.
80017         (EXPL_FINITE): Likewise.
80018         (FLDLOG): Likewise.
80019         (c0): Likewise.
80020         (c1): Likewise.
80021         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80022         Adjust comments for base varying.
80023         (__expl_finite): Change alias to EXPL_FINITE.
80024         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
80025         tests for bugs.
80026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80028         [BZ #14064]
80029         * math/libm-test.inc (check_float_internal): Correct ulp
80030         calculation for subnormal expected results.
80032 2012-05-06  Andreas Jaeger  <aj@suse.de>
80034         * Makeconfig (+math-flags): New, set to -frounding-math.
80035         (+cflags): Add +math-flags so that all of glibc gets compiled with
80036         it.
80038         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
80040 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
80042         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
80043         Disable one test.
80045         [BZ #13787]
80046         [BZ #13922]
80047         [BZ #14036]
80048         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
80049         (__ieee754_expl): Allow for and saturate large arguments.
80050         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
80051         (u_threshold): Likewise.
80052         (__exp): Call __ieee754_exp before checking for overflow and
80053         underflow.
80054         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
80055         (u_threshold): Likewise.
80056         (__expf): Call __ieee754_expf before checking for overflow and
80057         underflow.
80058         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
80059         (u_threshold): Likewise.
80060         (__expl): Call __ieee754_expl before checking for overflow and
80061         underflow.
80062         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
80063         (__ieee754_expl): Allow for and saturate large arguments.
80064         * math/libm-test.inc (exp_test): Add another test.  Do not allow
80065         missing overflow exception on overflow.
80066         (expm1_test): Do not allow missing overflow exception on overflow.
80068         * sysdeps/i386/fpu/e_expl.c: Move to ...
80069         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
80070         rather than using inline asm.
80071         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
80072         * sysdeps/x86_64/fpu/e_expl.S: Copy from
80073         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
80075         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
80076         (nice): Likewise.
80077         (poll): Likewise.
80078         (signal): Likewise.
80079         (time): Likewise.
80080         (times): Likewise.
80082 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80084         * sysdeps/unix/syscalls.list (adjtime): Add entry from
80085         sysdeps/unix/common/syscalls.list.
80086         (fchmod): Likewise.
80087         (fchown): Likewise.
80088         (ftruncate): Likewise.
80089         (getrusage): Likewise.
80090         (gettimeofday): Likewise.
80091         (setpgid): Likewise.
80092         (setregid): Likewise.
80093         (setreuid): Likewise.
80094         (sigaction): Likewise.
80095         (truncate): Likewise.
80096         (vhangup): Likewise.
80097         * sysdeps/unix/common/syscalls.list: Remove file.
80098         * sysdeps/unix/bsd/Implies: Don't include unix/common.
80099         * sysdeps/unix/sysv/linux/Implies: Likewise.
80101 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
80103         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
80104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
80105         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
80106         Moved to ...
80107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
80108         Here.
80109         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
80110         to ...
80111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
80112         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
80113         to ...
80114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
80115         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
80116         to ...
80117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
80118         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
80119         to ...
80120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
80121         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80122         to ...
80123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
80124         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
80125         to ...
80126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
80127         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
80128         to ...
80129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
80130         Here.
80131         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
80132         to ...
80133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
80134         Here.
80135         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
80136         to ...
80137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
80138         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
80139         Moved to ...
80140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
80141         Here.
80142         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
80143         to ...
80144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
80146 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80148         * sysdeps/unix/common/bits/dirent.h: Remove file.
80149         * sysdeps/unix/common/bits/fcntl.h: Likewise.
80151         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80152         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
80153         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
80154         * sysdeps/unix/bsd/isatty.c: Likewise.
80155         * sysdeps/unix/bsd/tcdrain.c: Likewise.
80156         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
80157         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
80159 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80161         [BZ #13563]
80162         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
80163         long double comparison inaccuracies.
80164         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
80165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80167 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
80169         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
80170         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
80172 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80174         [BZ #14049]
80175         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80176         nonzero digits before rounding a hex value.
80177         * stdlib/tst-strtod.c (tests): Add another test.
80179 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80181         * sysdeps/s390/fpu/libm-test-ulps: Update.
80183 2012-05-03  Andreas Jaeger  <aj@suse.de>
80185         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80186         does not get optimized out.
80187         (malloc_opt_barrier): New.
80189 2012-05-03  Andreas Jaeger  <aj@suse.de>
80190             Roland McGrath  <roland@hack.frob.com>
80192         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80193         intermediate file deletion.
80194         (generated): Add .symlist files.
80196 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
80198         [BZ #13775]
80199         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
80200         Redirect under this condition.
80201         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80202         [__USE_GNU] (__dprintf_chk): Not under this condition.
80203         [__USE_GNU] (__vdprintf_chk): Likewise.
80204         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
80205         under this condition.
80206         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80207         [__USE_XOPEN2K8] (dprintf): Define under this condition.
80208         [__USE_XOPEN2K8] (vdprintf): Likewise.
80209         [__USE_GNU] (__dprintf_chk): Not under this condition.
80210         [__USE_GNU] (__vdprintf_chk): Likewise.
80211         [__USE_GNU] (dprintf): Likewise.
80212         [__USE_GNU] (vdprintf): Likewise.
80214 2012-05-03  Roland McGrath  <roland@hack.frob.com>
80216         * elf/Makefile (common-generated): Set this instead of generated for
80217         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
80218         $(all-built-dso)-derived lists.
80220 2012-05-03  Andreas Jaeger  <aj@suse.de>
80222         * sysdeps/i386/fpu/libm-test-ulps: Update.
80224         * FAQ: Removed.
80225         * FAQ.in: Likewise.
80226         * scripts/gen-FAQ.pl: Likewise.
80227         * manual/install.texi (Installation): Point to online location of
80228         FAQ.
80229         * Makefile (files-for-dist): Remove FAQ.
80230         (FAQ): Remove.
80232 2012-05-02  Allan McRae  <allan@archlinux.org>
80234         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
80235         (LDFLAGS-reldepmod5.so): Likewise.
80236         (LDFLAGS-reldep6mod1.so): Likewise.
80237         (LDFLAGS-reldep6mod4.so): Likewise.
80238         (LDFLAGS-reldep8mod3.so): Likewise.
80239         (LDFLAGS-unload4mod1.so): Likewise.
80240         (LDFLAGS-unload4mod2.so): Likewise.
80241         (LDFLAGS-tst-initorder): Likewise.
80242         (LDFLAGS-tst-initordera2.so): Likewise.
80243         (LDFLAGS-tst-initordera3.so): Likewise.
80244         (LDFLAGS-tst-initordera4.so): Likewise.
80245         (LDFLAGS-tst-initorderb2.so): Likewise.
80246         (LDFLAGS-noload): Likewise.
80247         (LDFLAGS-next): Likewise.
80248         (LDFLAGS-order2mod1.so): Likewise.
80249         (LDFLAGS-order2mod2.so): Likewise.
80250         (LDFLAGS-tst-initorder2): Likewise.
80251         (LDFLAGS-tst-initorder2a.so): Likewise.
80252         (LDFLAGS-tst-initorder2b.so): Likewise.
80253         (LDFLAGS-tst-initorder2c.so): Likewise.
80254         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
80256 2012-05-02  David S. Miller  <davem@davemloft.net>
80258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80260 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
80262         [BZ #14055]
80263         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
80265 2012-05-02  Andreas Jaeger  <aj@suse.de>
80267         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
80268         since we manipulate rounding mode.
80269         (CPPFLAGS-test-idouble.c): Likewise.
80270         (CPPFLAGS-test-ifloat.c): Likewise.
80271         (CFLAGS-test-ldouble.c): Likewise.
80272         (CFLAGS-test-double.c): Likewise.
80273         (CFLAGS-test-float.c): Likewise.
80274         (CFLAGS-test-misc.c): Likewise.
80275         (CFLAGS-test-test-fenv.c): Likewise.
80277 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80279         [BZ #2550]
80280         [BZ #2570]
80281         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80282         comparisons to determine direction to adjust input.
80284 2012-05-01  Roland McGrath  <roland@hack.frob.com>
80286         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80287         output to the target.
80289         * scripts/localplt.awk: New file.
80290         * elf/Makefile ($(objpfx)check-localplt): Target removed.
80291         (check-localplt-CFLAGS): Variable removed.
80292         ($(all-built-dso:=.jmprel)): New static pattern rule.
80293         (generated): Add those targets.
80294         (localplt-built-dso): New variable.
80295         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80297         * elf/check-localplt.c: File removed.
80299         * scripts/check-execstack.awk: New file.
80300         * elf/Makefile ($(objpfx)check-execstack): Target removed.
80301         (check-execstack-CFLAGS): Variable removed.
80302         ($(objpfx)check-execstack.h): Target removed.
80303         ($(objpfx)execstack-default): New target.
80304         (generated): Add that instead of check-execstack.h.
80305         ($(all-built-dso:=.phdr)): New static pattern rule.
80306         (generated): Add those targets.
80307         * elf/check-execstack.c: File removed.
80309         * scripts/check-textrel.awk: New file.
80310         * elf/Makefile ($(objpfx)check-textrel): Target removed.
80311         (check-textrel-CFLAGS): Variable removed.
80312         (all-built-dso): Use := to define.o
80313         ($(all-built-dso:=.dyn)): New static pattern rule.
80314         (generated): Add those targets.
80315         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80316         * config.make.in (READELF): New substituted variable.
80317         * elf/check-textrel.c: File removed.
80319 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80321         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80322         allow.
80323         * conform/data/ctype.h-data [C99-based standards] (isblank):
80324         Expect function.
80325         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80326         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80327         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80328         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80329         Specify type.  Require positive value.
80330         (EILSEQ): Likewise.
80331         (ERANGE): Likewise.
80332         [ISO || POSIX] (EILSEQ): Do not expect.
80333         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80334         Specify type.  Require positive value.
80335         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80336         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80337         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80338         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80339         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80340         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80341         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80342         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80343         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80344         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80345         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80346         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80347         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80348         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80349         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80350         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80351         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80352         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80353         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80354         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80355         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80356         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80357         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80358         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80359         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80360         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80361         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80362         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80363         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80364         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80365         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80366         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80367         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80368         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80369         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80370         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80371         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80372         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80373         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80374         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80375         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80376         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80377         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80378         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80379         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80380         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80381         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80382         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80383         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80384         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80385         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80386         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80387         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80388         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80389         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80390         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80391         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80392         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80393         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80394         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80395         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80396         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80397         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80398         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80399         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80400         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80401         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80402         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80403         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80404         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80405         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80406         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80407         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80408         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80409         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80410         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80411         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80412         Require >= 2.
80413         (FLT_ROUNDS): Expect as macro, not constant.
80414         (FLT_MANT_DIG): Use macro-int-constant.
80415         (DBL_MANT_DIG): Likewise.
80416         (LDBL_MANT_DIG): Likewise.
80417         (FLT_DIG): Likewise.
80418         (DBL_DIG): Likewise.
80419         (LDBL_DIG): Likewise.
80420         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80421         (DBL_MIN_EXP): Likewise.
80422         (LDBL_MIN_EXP): Likewise.
80423         (FLT_MAX_EXP): Use macro-int-constant.
80424         (DBL_MAX_EXP): Likewise.
80425         (LDBL_MAX_EXP): Likewise.
80426         (FLT_MAX_10_EXP): Likewise.
80427         (DBL_MAX_10_EXP): Likewise.
80428         (LDBL_MAX_10_EXP): Likewise.
80429         (FLT_MAX): Use macro-constant.
80430         (DBL_MAX): Likewise.
80431         (LDBL_MAX): Likewise.
80432         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80433         (DBL_EPSILON): Likewise.
80434         (LDBL_EPSILON): Likewise.
80435         (FLT_MIN): Likewise.
80436         (DBL_MIN): Likewise.
80437         (LDBL_MIN): Likewise.
80438         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80439         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80440         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80441         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80442         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80443         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80444         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80445         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80446         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80447         [ISO11] (FLT_TRUE_MIN): Likewise.
80448         [ISO11] (LDBL_TRUE_MIN): Likewise.
80449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80450         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80451         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80452         (SCHAR_MAX): Likewise.
80453         (UCHAR_MAX): Likewise.
80454         (CHAR_MIN): Likewise.
80455         (CHAR_MAX): Likewise.
80456         (MB_LEN_MAX): Use macro-int-constant.
80457         (SHRT_MIN): Use macro-int-constant.  Specify type.
80458         (SHRT_MAX): Likewise.
80459         (USHRT_MAX): Likewise.
80460         (INT_MAX): Likewise.
80461         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80462         bound negative.
80463         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80464         bound with "U".
80465         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80466         bound with "L".
80467         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80468         bound negative.  Suffix upper bound with "L".
80469         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80470         bound with "UL".
80471         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80472         Specify type.
80473         [C99-based standards] (LLONG_MAX): Likewise.
80474         [C99-based standards] (ULLONG_MAX): Likewise.
80475         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80476         == 0.
80477         [ISO11] (max_align_t): Require type.
80478         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80480         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80481         from $CFLAGS, without defining away __attribute__ calls.
80482         (checknamespace): Use $CFLAGS_namespace.
80484         * conform/conformtest.pl (@keywords): Only include C99 keywords
80485         for standards based on C99 or C11.
80487         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80488         Disable tests.
80489         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80490         UNIX98]: Likewise.
80492         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80493         usability of symbols in #if.
80495         * conform/conformtest.pl: If macro or constant types start
80496         "promoted:", expect the symbol to be of the following type
80497         promoted by the integer promotions.
80499         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80500         in one place.  Also handle "macro-constant".
80502         * conform/conformtest.pl: Only accept expected macro values with
80503         "==".  Parse all "macro" lines in one place.
80504         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80506         * conform/conformtest.pl: Handle braced types on "constant" lines
80507         instead of handling "typed-constant".
80508         * conform/data/signal.h-data: Use "constant" instead of
80509         "typed-constant".
80511         * conform/conformtest.pl: Handle "optional-" at start of lines in
80512         one place rather than duplicating several cases.  Handle each
80513         format of "macro" line with initial "optional-".
80515         * conform/conformtest.pl: Only accept expected constant or
80516         optional-constant values with "==".  Parse all "constant" lines in
80517         one place.  Parse all "optional-constant" lines in one place.
80518         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80519         * conform/data/fmtmsg.h-data: Likewise.
80520         * conform/data/netinet/in.h-data: Likewise.
80521         * conform/data/tar.h-data: Likewise.
80522         * conform/data/limits.h-data: Use "==" form on "constant" and
80523         "optional-constant" lines.
80525         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80526         Use -std=c99 for XOPEN2K.
80527         (@knownproblems): Remove.
80528         (newtoken): Don't check %isknown.
80530         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80531         Do not expect macro.
80532         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80533         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80534         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80535         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80536         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80537         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80538         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80539         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80540         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80541         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80542         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80543         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80544         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80545         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80546         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80547         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80548         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80549         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80550         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80551         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80552         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80553         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80554         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80555         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80556         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80557         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80558         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80559         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80560         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80561         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80562         [XPG3] (acosh): Likewise.
80563         [XPG3] (asinh): Likewise.
80564         [XPG3] (atanh): Likewise.
80565         [XPG3] (cbrt): Likewise.
80566         [XPG3] (expm1): Likewise.
80567         [XPG3] (ilogb): Likewise.
80568         [XPG3] (log1p): Likewise.
80569         [XPG3] (logb): Likewise.
80570         [XPG3] (nextafter): Likewise.
80571         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80572         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80573         [XPG3] (remainder): Likewise.
80574         [XPG3] (rint): Likewise.
80575         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80576         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80577         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80578         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80579         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80580         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80581         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80582         [UNIX98 || XOPEN2K] (scalb): Expect.
80583         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80584         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80585         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80586         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80587         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80588         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80589         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80590         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80591         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80592         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80593         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80594         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80595         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80596         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80597         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80598         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80599         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80600         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80601         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80602         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80603         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80604         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80605         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80606         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80607         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80608         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80609         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80610         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80611         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80612         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80613         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80614         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80615         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80616         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80617         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80618         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80619         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80620         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80621         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80622         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80623         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80624         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80625         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80626         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80627         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80628         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80629         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80630         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80631         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80632         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80633         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80634         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80635         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80636         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80637         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80638         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80639         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80640         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80641         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80642         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80643         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80644         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80645         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80646         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80647         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80648         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80649         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80650         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80651         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80652         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80653         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80654         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80655         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80656         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80657         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80658         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80659         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80660         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80661         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80662         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80663         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80664         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80665         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80666         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80667         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80668         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80669         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80670         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80671         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80672         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80673         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80674         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80675         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80676         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80677         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80678         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80679         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80680         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80681         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
80682         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
80683         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
80684         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
80685         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
80686         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
80687         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
80688         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
80689         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
80690         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
80691         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
80692         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
80693         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
80694         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
80695         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
80696         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
80697         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
80698         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
80699         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
80700         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
80701         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
80702         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
80703         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
80704         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
80705         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
80706         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
80707         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
80708         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
80709         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
80710         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
80711         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
80712         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
80713         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
80714         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
80715         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
80716         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
80717         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
80718         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
80719         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
80721         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
80722         _XOPEN_SOURCE_EXTENDED for XPG4.
80724         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
80726         * Makeconfig (localtime): Remove variable.
80727         (inst_localtime-file): Likewise.
80729 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
80732         Update.
80733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80734         Update.
80735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
80736         Update.
80737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
80738         Update.
80739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
80740         Update.
80741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
80742         Update.
80743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
80744         Update.
80745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
80746         Update.
80747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80748         Update.
80750 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80752         [BZ #2550]
80753         [BZ #2570]
80754         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
80755         comparisons to determine direction to adjust input.
80756         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
80757         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
80758         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
80759         Likewise.
80760         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
80761         Likewise.
80762         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
80763         Likewise.
80764         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
80765         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
80766         Likewise.
80767         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
80768         Likewise.
80769         * math/libm-test.inc (nexttoward_test): Add more tests.
80771 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80773         [BZ #14040]
80774         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
80775         in version GLIBC_2.1, not GLIBC_2.0.
80776         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
80777         Likewise.
80779 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
80781         [BZ #13942]
80782         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
80783         (1 - x) * (1 + x).
80784         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80785         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
80786         * math/libm-test.inc (acos_test): Add more tests.
80787         (asin_test): Likewise.
80788         * sysdeps/i386/fpu/libm-test-ulps: Update.
80789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80791         [BZ #14034]
80792         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
80793         of square root.
80794         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
80795         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80796         * math/libm-test.inc (acos_test_tonearest): New function.
80797         (acos_test_towardzero): Likewise.
80798         (acos_test_downward): Likewise.
80799         (acos_test_upward): Likewise.
80800         (asin_test_tonearest): Likewise.
80801         (asin_test_towardzero): Likewise.
80802         (asin_test_downward): Likewise.
80803         (asin_test_upward): Likewise.
80804         (main): Call the new functions.
80805         * sysdeps/i386/fpu/libm-test-ulps: Update.
80806         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80808         [BZ #13884]
80809         [BZ #13924]
80810         * math/e_exp10.c: Include <float.h>.
80811         (__ieee754_exp10): Handle underflow here rather than multiplying
80812         large negative argument by M_LN10.
80813         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
80814         of __ieee754_expf.
80815         * math/e_exp10l.c: Include <float.h>.
80816         (__ieee754_exp10l): Handle underflow here rather than multiplying
80817         large negative argument by M_LN10l.
80818         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
80819         spurious overflow exception on underflow.
80821 2012-04-29  Marek Polacek  <polacek@redhat.com>
80823         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
80824         (__fortify_function): New macro.
80825         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
80826         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
80827         __extern_always_inline.
80828         * libio/bits/stdio2.h: Likewise.
80829         * libio/bits/stdio.h: Likewise.
80830         * string/string.h: Likewise.
80831         * string/bits/string3.h: Likewise.
80832         * include/stdio.h: Likewise.
80833         * stdlib/bits/stdlib.h: Likewise.
80834         * stdlib/stdlib.h: Likewise.
80835         * rt/bits/mqueue2.h: Likewise.
80836         * rt/mqueue.h: Likewise.
80837         * posix/bits/unistd.h: Likewise.
80838         * posix/unistd.h: Likewise.
80839         * io/bits/poll2.h: Likewise.
80840         * io/bits/fcntl2.h: Likewise.
80841         * io/fcntl.h: Likewise.
80842         * io/sys/poll.h: Likewise.
80843         * misc/bits/syslog.h: Likewise.
80844         * misc/bits/syslog-ldbl.h: Likewise.
80845         * misc/sys/syslog.h: Likewise.
80846         * socket/bits/socket2.h: Likewise.
80847         * socket/sys/socket.h: Likewise.
80848         * debug/tst-chk1.c: Likewise.
80849         * wcsmbs/bits/wchar2.h: Likewise.
80850         * wcsmbs/bits/wchar-ldbl.h: Likewise.
80851         * wcsmbs/wchar.h: Likewise.
80853 2012-04-29  Andreas Jaeger  <aj@suse.de>
80855         * Makerules (tests): Remove enable-check-abi protection.
80856         (check-abi-warn): Remove.
80857         (check-abi-%): Remove check-abi-warn usage.
80859         * configure.in: Remove check-abi configure option.
80860         * configure: Regenerated.
80861         * config.make.in (enable-check-abi): Remove.
80863 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
80865         [BZ #14033]
80866         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
80867         double functions to double *_finite functions.
80869         [BZ #13941]
80870         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
80871         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
80872         LDBL_MIN_EXP.
80873         * stdio-common/Makefile (tests): Add tst-sprintf3.
80874         * stdio-common/tst-sprintf3.c: New file.
80876         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
80877         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
80879 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80881         * conform/conformtest.pl: Remove duplicate typed-constant
80882         handling.
80884 2012-04-28  David S. Miller  <davem@davemloft.net>
80886         * Makerules (%.abilist): Add vpath on sysdep_dirs.
80887         (check-abi-%): Remove AWK script prerequisite and explicit
80888         abilist directory.
80889         (check-abi): Rewrite to just diff the symlist with the abilist.
80890         (config-tls, config-abi-config): Delete, no longer used.
80891         (update-abi-%): Remove AWK script and explicit abilist directory.
80892         (update-abi): Rewrite to simply compare and conditionally copy the
80893         symlist and the sysdep abilist file.  Remove update-abi-config
80894         checks.
80895         * abilist/ld.abilist: Remove.
80896         * abilist/libBrokenLocale.abilist: Remove.
80897         * abilist/libanl.abilist: Remove.
80898         * abilist/libcrypt.abilist: Remove.
80899         * abilist/libdl.abilist: Remove.
80900         * abilist/librt.abilist: Remove.
80901         * abilist/libthread_db.abilist: Remove.
80902         * abilist/libutil.abilist: Remove.
80903         * scripts/extract-abilist.awk: Remove.
80904         * scripts/merge-abilist.awk: Remove.
80905         * sysdeps/generic/libcidn.abilist: New file.
80906         * sysdeps/generic/libnss_compat.abilist: New file.
80907         * sysdeps/generic/libnss_db.abilist: New file.
80908         * sysdeps/generic/libnss_dns.abilist: New file.
80909         * sysdeps/generic/libnss_files.abilist: New file.
80910         * sysdeps/generic/libnss_hesiod.abilist: New file.
80911         * sysdeps/generic/libnss_nis.abilist: New file.
80912         * sysdeps/generic/libnss_nisplus.abilist: New file.
80913         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
80914         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
80915         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
80916         file.
80917         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80918         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80919         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80920         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80921         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80922         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80923         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80924         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80925         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80926         file.
80927         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80928         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80929         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80930         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80931         file.
80932         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80933         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80934         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80935         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80936         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80937         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80938         file.
80939         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80940         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80941         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80942         file.
80943         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80945         New file.
80946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80947         New file.
80948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80949         New file.
80950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80951         New file.
80952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80953         New file.
80954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80955         New file.
80956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80957         New file.
80958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80959         New file.
80960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80961         New file.
80962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80963         New file.
80964         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80965         New file.
80966         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80967         New file.
80968         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80969         New file.
80970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80971         file.
80972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80973         New file.
80974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80975         New file.
80976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80977         file.
80978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80979         New file.
80980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80981         New file.
80982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80983         file.
80984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80985         New file.
80986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80987         New file.
80988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80989         New file.
80990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80991         New file.
80992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80993         New file.
80994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80995         New file.
80996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80998         file.
80999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
81000         New file.
81001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
81002         file.
81003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
81004         file.
81005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
81006         file.
81007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
81008         file.
81009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
81010         file.
81011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
81012         New file.
81013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
81014         file.
81015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
81016         file.
81017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
81018         New file.
81019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
81020         file.
81021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
81022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
81023         file.
81024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
81025         New file.
81026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
81027         file.
81028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
81029         file.
81030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
81031         file.
81032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
81033         file.
81034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
81035         file.
81036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81037         New file.
81038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
81039         file.
81040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
81041         file.
81042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
81043         New file.
81044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
81045         file.
81046         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
81047         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
81048         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
81049         file.
81050         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
81051         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
81052         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
81053         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
81054         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
81055         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
81056         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
81057         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
81058         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
81059         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
81060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
81061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
81062         file.
81063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
81064         New file.
81065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
81066         file.
81067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
81068         file.
81069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
81070         file.
81071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
81072         file.
81073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
81074         file.
81075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
81076         New file.
81077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
81078         New file.
81079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
81080         file.
81081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
81082         New file.
81083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
81084         file.
81085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
81086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
81087         file.
81088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
81089         New file.
81090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
81091         file.
81092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
81093         file.
81094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
81095         file.
81096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
81097         file.
81098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
81099         file.
81100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
81101         New file.
81102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
81103         New file.
81104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
81105         file.
81106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
81107         New file.
81108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
81109         file.
81111 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81113         * conform/conformtest.pl: Fix typo in handling typed-constant from
81114         allow-header.
81116 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81118         * README: Cut down references to pre-2.6 Linux kernels and
81119         Linuxthreads.  Update lists of configurations in libc and ports
81120         and sort alphabetically.  Say "or newer" with Linux kernel version
81121         requirements.
81123         * config.h.in [IS_IN_build]: Allow compiling without optimization.
81125 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
81127         [BZ #887]
81128         * math/libm-test.inc (logb_test_downward): New test to expose
81129         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
81130         rounding mode.
81132 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81134         [BZ #14027]
81135         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
81136         to be done.
81137         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
81138         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
81140 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
81142         * sysdeps/unix/i386/brk.S: Remove file.
81143         * sysdeps/unix/i386/dl-brk.S: Likewise.
81144         * sysdeps/unix/i386/pipe.S: Likewise.
81145         * sysdeps/unix/i386/sigreturn.S: Likewise.
81146         * sysdeps/unix/i386/syscall.S: Likewise.
81147         * sysdeps/unix/i386/vfork.S: Likewise.
81148         * sysdeps/unix/i386/wait.S: Likewise.
81150         * sysdeps/unix/common/tcsendbrk.c: Move to ...
81151         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
81153         * configure.in (arm*-none*): Do not allow without
81154         --enable-hacker-mode.
81155         (netbsd*): Remove case setting base_os.
81156         (386bsd*): Likewise.
81157         (freebsd*): Likewise.
81158         (bsdi*): Likewise.
81159         (osf*): Likewise.
81160         (sunos*): Likewise.
81161         (ultrix*): Likewise.
81162         (newsos*): Likewise.
81163         (dynix*): Likewise.
81164         (*bsd*): Likewise.
81165         (sysv*): Likewise.
81166         (isc*): Likewise.
81167         (esix*): Likewise.
81168         (sco*): Likewise.
81169         (minix*): Likewise.
81170         (irix4*): Likewise.
81171         (irix6*): Likewise.
81172         (solaris[2-9]*): Likewise.
81173         (none): Likewise.
81174         * configure: Regenerated.
81176 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81178         [BZ #11521]
81179         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81180         overflow or cancellation in calculating denominator.
81181         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81182         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81183         down expression to avoid unexpected rounding in newer GCCs.
81184         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81186 2012-04-26  David S. Miller  <davem@davemloft.net>
81188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81189         long-double compat symbols.
81190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
81197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
81198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
81199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
81200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
81201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
81202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81204 2012-04-25  David S. Miller  <davem@davemloft.net>
81206         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
81207         HWCAP_* values only after the memory barriers have been defined.
81208         (atomic_full_barrier): Define.
81209         (atomic_read_barrier): Define.
81210         (atomic_write_barrier): Define.
81212 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
81214         * shlib-versions: Add libgcc_s version information.
81215         * sysdeps/generic/libgcc_s.h: Remove.
81216         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
81217         libgcc_s.h.
81218         * sysdeps/gnu/unwind-resume.c: Likewise.
81219         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
81221 2012-04-25  David S. Miller  <davem@davemloft.net>
81223         * sysdeps/unix/sparc/brk.S: Delete.
81224         * sysdeps/unix/sparc/dl-brk.S: Delete.
81225         * sysdeps/unix/sparc/pipe.S: Delete.
81226         * sysdeps/unix/sparc/sysdep.S: Delete.
81227         * sysdeps/unix/sparc/sysdep.h: Delete.
81228         * sysdeps/unix/sparc/vfork.S: Delete.
81229         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
81230         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81231         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
81232         (ret_ERRVAL, r0, r1, MOVE): Define.
81233         (JUMPTARGET): Remove.
81234         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
81235         sysdeps/unix/sparc/sysdep.h
81236         (ENTRY, END): Remove.
81237         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81239 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
81241         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
81242         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
81243         -DIS_IN_build.
81245         * timezone/README: Update upstream location and email address for
81246         tzcode and tzdata.
81247         * timezone/zdump.c: Update from tzcode 2012b.
81248         * timezone/zic.c: Likewise.
81250         * configure.in (libc_cv_as_needed): Remove test.
81251         * configure: Regenerated.
81252         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
81253         conditional definition.
81254         [$(have-as-needed) != yes] (no-as-needed): Likewise.
81255         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81256         * config.make.in (have-as-needed): Remove variable.
81258 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
81259             Paul Pluzhnikov  <ppluzhnikov@google.com>
81261         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
81262         strings correctly.
81264 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
81266         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
81267         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
81268         * sysdeps/sh/strlen.S: Likewise.
81270 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81272         * sysdeps/unix/fork.S: Remove file.
81273         * sysdeps/unix/i386/fork.S: Likewise.
81274         * sysdeps/unix/sparc/fork.S: Likewise.
81276         * sysdeps/unix/system.c: Remove file.
81277         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81279         * sysdeps/unix/getegid.S: Remove file.
81280         * sysdeps/unix/geteuid.S: Likewise.
81282 2012-04-24  Roland McGrath  <roland@hack.frob.com>
81284         * scripts/check-localplt.awk: New file.
81285         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81286         of diff.
81287         * scripts/data/localplt-generic.data: Add a comment.
81289         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81290         NODE when __dir_mkfile failed.
81291         * sysdeps/mach/hurd/symlinkat.c: Likewise.
81292         Reported by Ludovic Courtès <ludo@gnu.org>.
81294 2012-04-24  Andreas Jaeger  <aj@suse.de>
81296         * Makerules (common-clean): Also remove gen-as-const-headers
81297         files.
81299 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81301         * Makerules (native-compile): Do not change working directory for
81302         build.  Use $(OUTPUT_OPTION) in command.
81303         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81305 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81307         [BZ #13886]
81308         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81309         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81310         * math/libm-test.inc (floor_test): Add more tests.
81311         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81313 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81315         * sysdeps/unix/getdents.c: Remove file.
81316         * sysdeps/unix/sysv/getdents.c: Likewise.
81317         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81319         * sysdeps/unix/syscalls.list (madvise): Add syscall from
81320         sysdeps/unix/mman/syscalls.list.
81321         (mmap): Likewise.
81322         (mprotect): Likewise.
81323         (msync): Likewise.
81324         (munmap): Likewise.
81325         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81326         * sysdeps/unix/mman/syscalls.list: Remove.
81327         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81329         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81330         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81331         * configure: Regenerated.
81332         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81333         $(libgcc_s_suffix).
81334         * config.make.in (libgcc_s_suffix): Remove variable.
81336 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81338         * sysdeps/unix/sysv/gethostname.c: Move to ...
81339         * sysdeps/posix/gethostname.c: ... here.
81341         * sysdeps/unix/execve.S: Remove file.
81343         * sysdeps/unix/_exit.S: Remove file.
81345 2012-04-23  Andreas Jaeger  <aj@suse.de>
81347         [BZ #13739]
81348         * manual/Makefile: Remove make dist support, there's no
81349         need for a stand-alone documentation tar ball.
81350         (TEXI2DVI): Define always, it's not in Makeconfig.
81351         (dist): Removed.
81352         (tar-it): Removed.
81353         (edition): Removed.
81354         (glibc-doc-$(edition).tar): Removed
81355         (%.Z): Removed.
81356         (%.gz): Removed.
81357         (%.uu): Removed.
81358         (ETAGS): Remove, it's in Makeconfig.
81359         (move-if-change): Remove, it's in Makeconfig.
81361 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81363         [BZ #13970]
81364         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81365         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81366         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81367         (strtod_l, strtof_l, strtold_l): Remove __wur.
81368         It is not necessarily an error to ignore strtol's return value.
81369         One can reliably look at the stored endptr to decide whether
81370         the number had valid syntax.
81372 2012-04-21  Andreas Jaeger  <aj@suse.de>
81374         [BZ #13739]
81375         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81377 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81379         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81380         * sysdeps/unix/sysv/Versions: Remove file.
81382 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81384         [BZ #13927]
81385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81387 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81389         [BZ #7064]
81390         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81391         version from __vm86.
81393 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81395         * sysdeps/unix/common/lxstat.c: Remove file.
81396         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81398         * sysdeps/unix/sysv/Makefile: Remove file.
81400         * sysdeps/unix/sysv/direct.h: Remove file.
81402         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81403         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81404         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81405         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81406         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81407         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81408         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81410         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81412         * sysdeps/unix/xmknod.c: Remove file.
81413         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81415         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81417         * sysdeps/unix/sysv/i386/time.S: Remove file.
81419         * sysdeps/unix/fxstat.c: Remove file.
81420         * sysdeps/unix/xstat.c: Likewise.
81421         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81423         * sysdeps/unix/sysv/sigaction.c: Remove file.
81425         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81426         (sysdep_headers): Remove variable.
81427         [termio.h not in sysdep_headers] (generated): Likewise.
81428         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81429         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81430         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81431         * sysdeps/unix/sysv/tcflow.c: Likewise.
81432         * sysdeps/unix/sysv/tcflush.c: Likewise.
81433         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81434         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81435         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81436         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81437         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81439         * sysdeps/unix/siglist.c: Remove file.
81441         * sysdeps/unix/getppid.S: Remove file.
81443         * sysdeps/unix/mkdir.c: Remove file.
81444         * sysdeps/unix/rmdir.c: Likewise.
81446 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81448         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81449         ERR_MAX value.
81450         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81451         errlist-compat value.
81453 2012-04-18  David S. Miller  <davem@davemloft.net>
81455         * sysdeps/generic/memcopy.h (reg_char): Delete.
81456         * debug/strcat_chk.c: Use char, not reg_char.
81457         * debug/strcpy_chk.c: Likewise.
81458         * debug/strncat_chk.c: Likewise.
81459         * debug/strncpy_chk.c: Likewise.
81460         * string/memchr.c: Likewise.
81461         * string/memrchr.c: Likewise.
81462         * string/rawmemchr.c: Likewise.
81463         * string/strcat.c: Likewise.
81464         * string/strchr.c: Likewise.
81465         * string/strchrnul.c: Likewise.
81466         * string/strcmp.c: Likewise.
81467         * string/strcpy.c: Likewise.
81468         * string/strncat.c: Likewise.
81469         * string/strncmp.c: Likewise.
81470         * string/strncpy.c: Likewise.
81472 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81474         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81475         __builtin_memcopy is called when src and dest ranges are known to not
81476         overlap.
81478 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81480         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81481         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81482         fwd_align_merge macro call.
81483         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81484         bwd_align_merge macro call.
81485         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81487 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81489         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81490         bwd_align_merge macros.
81491         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81492         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81493         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81495 2012-04-18  David S. Miller  <davem@davemloft.net>
81497         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81499 2012-04-18  Andreas Jaeger  <aj@suse.de>
81501         [BZ #6794]
81502         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81503         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81504         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81506         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81507         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81508         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81510         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81511         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81512         Adjust for changed ldbl-128 files.
81514         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81515         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81516         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81518 2012-04-17  David S. Miller  <davem@davemloft.net>
81520         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81522 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81524         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81525         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81526         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81527         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81528         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81529         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81531 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81533         [BZ #6794]
81534         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81535         * math/libm-test.inc: Add ilogb errno and exception tests.
81536         * math/w_ilogb.c: New file: ilogb wrapper.
81537         * math/w_ilogbf.c: New file: ilogbf wrapper.
81538         * math/w_ilogbl.c: New file: ilogbl wrapper.
81539         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81540         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81541         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81542         exception being thrown with 0.0 as argument.
81543         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81544         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81545         exception being thrown with 0.0 as argument.
81546         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81547         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81548         exception being thrown with 0.0 as argument.
81549         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81550         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81551         exception being thrown with 0.0 as argument.
81552         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81553         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81554         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81555         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81556         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81557         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81558         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81559         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81560         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81562 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81564         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81565         with altivec.
81567 2012-04-16  Marek Polacek  <polacek@redhat.com>
81569         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81571 2012-04-16  Marek Polacek  <polacek@redhat.com>
81573         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81574         operands of fdivp instruction.
81576 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81578         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81579         * elf/tst-auditmod3b.c: Likewise.
81580         * elf/tst-auditmod4b.c: Likewise.
81581         * elf/tst-auditmod5b.c: Likewise.
81582         * elf/tst-auditmod6b.c: Likewise.
81583         * elf/tst-auditmod6c.c: Likewise.
81584         * elf/tst-auditmod7b.c: Likewise.
81585         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81586         * sysdeps/x86_64/preconfigure.in: Likewise.
81587         * sysdeps/x86_64/preconfigure: Regenerated.
81589 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81591         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81592         __ILP32__.
81594 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81597         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81599 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81601         [BZ #13973]
81602         * locale/iso-639.def: Fix gl language name. Spotted by
81603         Yaron Shahrabani.
81605 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81607         [BZ #2074]
81608         * libio/libio.h (__io_write_fn): Update comment.
81610 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81612         [BZ #2074]
81613         * stdio.texi (Hook Functions): The user provided writer function
81614         is not allowed to return -1.
81616 2012-04-11  David S. Miller  <davem@davemloft.net>
81618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81620 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
81622         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81623         Add a leading slash to rtkaio.
81625 2012-04-11  Jim Meyering  <meyering@redhat.com>
81627         [BZ #11959]
81628         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81629         It is not necessarily an error to ignore fwrite's return
81630         value.  One can reliably use ferror to test for errors after
81631         the fact.
81633 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81635         * bits/types.h (__snseconds_t): New type.
81636         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81638         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81639         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81640         (__SNSECONDS_T_TYPE): Likewise.
81641         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81642         (__SNSECONDS_T_TYPE): Likewise.
81643         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81644         (__SNSECONDS_T_TYPE): Likewise.
81646 2012-04-10  Andreas Jaeger  <aj@suse.de>
81648         [BZ #2636]
81649         * manual/time.texi (Processor Time): Return type of times is
81650         elapsed real time since an arbitrary point in the past.
81651         (CPU Time): Move CLK_TCK from here...
81652         (Processor Time): ...to here.  Correct description.
81653         * manual/conf.texi (Constants for Sysconf): Correct description of
81654         _SC_CLK_TCK.
81656 2012-04-10  David S. Miller  <davem@davemloft.net>
81658         [BZ #13967]
81659         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81660         where the is a gap between DT_REL(A) and DT_JMPREL.
81662 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81664         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81665         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81666         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81668 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
81670         * elf/dl-support.c (_dl_inhibit_cache): New variable.
81671         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81672         (dl_main): Handle --inhibit-cache.
81673         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81674         _dl_inhibit_cache.
81675         * elf/dl-load.c (_dl_map_object): Use it.
81676         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81678 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81680         [BZ #13872]
81681         * sysdeps/i386/fpu/e_powl.S (p78): New object.
81682         (__ieee754_powl): Saturate large exponents rather than testing for
81683         overflow of y*log2(x).
81684         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81685         * math/libm-test.inc (pow_test): Do not permit spurious overflow
81686         exceptions.
81688         [BZ #11521]
81689         * math/s_ctan.c: Include <float.h>.
81690         (__ctan): Avoid internal overflow or cancellation in calculating
81691         denominator.
81692         * math/s_ctanf.c: Likewise.
81693         * math/s_ctanl.c: Likewise.
81694         * math/s_ctanh.c: Likewise.
81695         * math/s_ctanhf.c: Likewise.
81696         * math/s_ctanhl.c: Likewise.
81697         * math/libm-test.inc (ctan_test): Add more tests.
81698         (ctanh_test): Likewise.
81699         * sysdeps/i386/fpu/libm-test-ulps: Update.
81700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81702 2012-04-09  Andreas Jaeger  <aj@suse.de>
81704         [BZ #6894]
81705         * manual/filesys.texi (Directory Entries): Mention that d_namlen
81706         is an optional BSD extension.
81708         [BZ #10254]
81709         * manual/stdio.texi (Opening Streams): Document additional fopen
81710         parameters.
81712 2012-04-09  Roland McGrath  <roland@hack.frob.com>
81714         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
81715         %eax without telling the compiler.
81717 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
81719         [BZ # 13963]
81720         * manual/install.texi: Use sourceware.org.
81722 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81724         [BZ #13873]
81725         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
81726         (__ieee754_pow): Generate overflow and underflow using huge*huge
81727         and tiny*tiny rather than just returning constant infinity or zero
81728         for large exponents.
81729         * math/libm-test.inc (pow_test): Require overflow exceptions for
81730         applicable cases of large exponents.
81732         [BZ #706]
81733         * sysdeps/i386/fpu/e_pow.S (p10): New object.
81734         (__ieee754_pow): Use iterative multiplication algorithm only for
81735         integer exponents with absolute value below 1024.  Check for odd
81736         integer exponents when using algorithm for real exponents.
81737         * math/libm-test.inc (pow_test): Add more tests.
81738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81740 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
81742         [BZ #13705]
81743         * math/libm-test.inc (exp_test): Do not allow overflow exception
81744         on underflow test.
81746 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
81748         [BZ #13705]
81749         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
81750         instead of __kernel_standard_f.
81752 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
81754         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
81755         * sysdeps/x86_64/memset_chk.S: Likewise.
81757 2012-04-08  Andreas Jaeger  <aj@suse.de>
81759         [BZ #10153]
81760         * manual/startup.texi (Environment Access): Describe return value
81761         for putenv and setenv.
81763         [BZ #6895]
81764         * manual/filesys.texi (Directory Entries): Add description for
81765         DT_LNK.
81767         [BZ #6890]
81768         * manual/filesys.texi (Directory Entries): Clarify that it's file
81769         system not operating system in the description of DT_UNKNOWN.
81771         [BZ #6578]
81772         * manual/syslog.texi (closelog): Fix reference, it's openlog.
81774 2012-04-08  Stephen Compall  <s11@member.fsf.org>
81776         [BZ #6649]
81777         * manual/llio.texi (Opening and Closing Files): Add cross
81778         reference to explain mode argument.
81780 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
81782         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
81783         * sysdeps/x86_64/memset_chk.S: Likewise.
81785 2012-04-07  David S. Miller  <davem@davemloft.net>
81787         * elf/elf.h (R_SPARC_WDISP10): Define.
81788         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
81789         R_SPARC_SIZE32.
81790         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
81791         R_SPARC_SIZE64 and R_SPARC_H34.
81793 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
81795         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
81796         conditions and remove no longer applicable assertion.
81798 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81800         * bits/byteswap.h: Include <features.h>.
81801         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81802         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81804 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81806         * bits/byteswap.h (__bswap_16): Removed.
81807         Include <bits/byteswap-16.h> to get __bswap_16.
81808         * sysdeps/i386/bits/byteswap.h: Likewise.
81809         * sysdeps/s390/bits/byteswap.h: Likewise.
81810         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81811         * bits/byteswap-16.h: New file.
81812         * sysdeps/i386/bits/byteswap-16.h: Likewise.
81813         * sysdeps/s390/bits/byteswap-16.h: Likewise.
81814         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
81815         * string/Makefile (headers): Add bits/byteswap-16.h.
81817 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81819         [BZ #13895]
81820         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
81821         extra indirection.
81822         * nss/Makefile (tests-static, tests): Add tst-nss-static.
81823         * nss/tst-nss-static.c: New.
81825 2012-04-06  Robert Millan  <rmh@gnu.org>
81827         [BZ #6486]
81828         * manual/llio.texi (File Position Primitive): lseek
81829         refers to WHENCE when it really means OFFSET.
81831 2012-04-06  Andreas Jaeger  <aj@suse.de>
81833         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
81834         strncmp declarations.
81836         * abilist/libc.abilist: Add __poll and __ppoll.
81838 2012-04-05  David S. Miller  <davem@davemloft.net>
81840         * scripts/check-local-headers.sh: Accept a host triplet in the
81841         path matched by the exclude regexp.
81843         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
81844         definition.
81845         * sysdeps/powerpc/powerpc32/dl-machine.h
81846         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81847         * sysdeps/s390/s390-32/dl-machine.h
81848         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81849         * sysdeps/sparc/sparc32/dl-machine.h
81850         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81851         * sysdeps/sparc/sparc64/dl-machine.h
81852         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81854         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
81855         lazy binding.
81856         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
81857         undefined symbol errors.
81859         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
81860         DT_NEEDED entries.
81862 2012-04-05  Michael Matz  <matz@suse.de>
81864         [BZ #13592]
81865         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
81867 2012-04-05  Andreas Jaeger  <aj@suse.de>
81869         [BZ #13908]
81870         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
81871         comment.
81873 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81875         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
81876         which ROUND is no valid rounding mode.
81878 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81880         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
81881         read again.
81882         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
81884 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81886         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
81887         an exception using FPU order intentionally.
81889 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81891         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
81892         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
81893         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
81894         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
81896 2012-04-05  Simon Josefsson  <simon@josefsson.org>
81898         [BZ #12340]
81899         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
81900         EINVAL when BUFLEN is too smal.
81902 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
81904         [BZ #13553]
81905         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
81906         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
81908 2012-04-03  Andreas Jaeger  <aj@suse.de>
81910         [BZ #13938]
81911         * manual/setjmp.texi (System V contexts): Fix sentence.
81913         [BZ #13926]
81914         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
81915         New macro for this case.
81916         [!__GNUC__] (__bswap_64): New inline function for this case.
81917         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81918         * bits/byteswap.h: Likewise.
81919         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81920         ull, guard with __GLIBC_HAVE_LONG_LONG.
81922         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81923         __GLIBC_HAVE_LONG_LONG.
81925         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81926         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81928 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81930         [BZ #13691]
81931         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81932         inptr and inend, rather than using last_ch.
81934 2012-04-02  David S. Miller  <davem@davemloft.net>
81936         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81937         * stdio-common/printf-parse.h (read_int): Change return type to
81938         'int', return -1 on INT_MAX overflow.
81939         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81940         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
81941         overflows INT_MAX.  Check for overflow of in-format-string precision
81942         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
81943         SIZE_MAX not INT_MAX for integer overflow test.
81944         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81945         skip the construct in the format string but do not record anything.
81946         * stdio-common/bug22.c: Adjust to test both width/prevision
81947         INT_MAX overflow as well as total length INT_MAX overflow.  Check
81948         explicitly for proper errno values.
81950 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81952         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81953         CHAR_MAX.
81954         * string/test-strcmp.c [! WIDE]: Likewise.
81955         * time/tst-mktime2.c: Likewise for INT_MAX.
81956         * string/test-string.h: #include <sys/param.h> for MIN.
81958         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81959         * sysdeps/i386/init-first.c (init): Likewise.
81960         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81961         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81962         * sysdeps/sh/init-first.c (init): Likewise.
81964 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81966         * po/ru.po: Update from translation team.
81967         * po/vi.po: Likewise.
81969 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81971         * resolv/nss_dns/dns-host.c: Merge copyright years.
81973 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81975         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81976         Optimize memcpy with prefetch if
81977         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81978         src, dst pointers have unequal 16 byte alignments.
81980 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81982         [BZ #13928]
81983         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81984         from a CNAME entry and return the minimum ttl for the query.
81985         (gaih_getanswer_slice): Likewise.
81987 2012-03-30  Jeff Law  <law@redhat.com>
81989         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81990         due to long keys.
81991         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81992         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81994         * resolv/nss_dns/dns-host.c: Update copyright year.
81996 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81998         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81999         requests to save a system call.  Fix check that all bytes are sent.
82001         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
82002         comments for sendmmsg.
82004 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
82006         [BZ #13691]
82007         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
82008         with only 1 character between 0x0041 and 0x01b0.
82009         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
82010         * wcsmbs/tst-mbsnrtowcs.c: New file.
82012 2012-03-29  David S. Miller  <davem@davemloft.net>
82014         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82015         small copies by hand.
82017 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
82019         [BZ #13761]
82020         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
82021         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
82022         group memberships.
82024 2012-03-28  David S. Miller  <davem@davemloft.net>
82026         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
82027         that branches into memcpy.
82028         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
82029         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
82030         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
82031         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
82032         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
82033         bits.
82034         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
82035         implementation too.
82036         * sysdeps/sparc/mempcpy.S: New file.
82038         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
82039         the IFUNC routine in the libc case.
82040         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82042         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
82043         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
82044         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
82045         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82046         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
82047         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
82048         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
82049         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82051         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
82052         loop to 256 bytes instead of 64 bytes and fix test signedness.
82054         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
82055         * sysdeps/sparc/sparc32/Makefile: rather than here...
82056         * sysdeps/sparc/sparc64/Makefile: and here.
82058 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
82060         * malloc/mallocbug.c: Avoid warnings about unused variables.
82062 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
82064         [BZ #13760]
82065         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
82066         in the right place. Discard and retry query if response is
82067         larger than input buffer size.
82069 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
82071         [BZ #369]
82072         [BZ #2678]
82073         [BZ #3866]
82074         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
82075         x for large integer exponent.
82076         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
82077         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
82078         sign of result as needed afterwards.
82079         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82080         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
82081         result for underflowing pow the same as for overflow.
82082         (__kernel_standard_l): Handle powl overflow and underflow here
82083         rather than calling __kernel_standard.
82084         * math/libm-test.inc (pow_test): Add more tests.
82086         [BZ #3868]
82087         [BZ #13879]
82088         [BZ #13910]
82089         [BZ #13911]
82090         [BZ #13912]
82091         [BZ #13913]
82092         [BZ #13915]
82093         [BZ #13916]
82094         [BZ #13917]
82095         [BZ #13918]
82096         [BZ #13919]
82097         [BZ #13920]
82098         [BZ #13921]
82099         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
82100         * sysdeps/ieee754/k_standard.c: Include <float.h>.
82101         (__kernel_standard_l): New function.
82102         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
82103         __kernel_standard.
82104         * math/w_acosl.c (__acosl): Likewise.
82105         * math/w_asinl.c (__asinl): Likewise.
82106         * math/w_atan2l.c (__atan2l): Likewise.
82107         * math/w_atanhl.c (__atanhl): Likewise.
82108         * math/w_coshl.c (__coshl): Likewise.
82109         * math/w_exp10l.c (__exp10l): Likewise.
82110         * math/w_exp2l.c (__exp2l): Likewise.
82111         * math/w_fmodl.c (__fmodl): Likewise.
82112         * math/w_hypotl.c (__hypotl): Likewise.
82113         * math/w_j0l.c (__j0l, __y0l): Likewise.
82114         * math/w_j1l.c (__j1l, __y1l): Likewise.
82115         * math/w_jnl.c (__jnl, __ynl): Likewise.
82116         * math/w_lgammal.c (__lgammal): Likewise.
82117         * math/w_log10l.c (__log10l): Likewise.
82118         * math/w_log2l.c (__log2l): Likewise.
82119         * math/w_logl.c (__logl): Likewise.
82120         * math/w_powl.c (__powl): Likewise.
82121         * math/w_remainderl.c (__remainderl): Likewise.
82122         * math/w_scalbl.c (sysv_scalbl): Likewise.
82123         * math/w_sinhl.c (__sinhl): Likewise.
82124         * math/w_sqrtl.c (__sqrtl): Likewise.
82125         * math/w_tgammal.c (__tgammal): Likewise.
82126         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
82127         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
82128         * math/libm-test.inc (acos_test): Add more tests.
82129         (acosh_test): Likewise.
82130         (asin_test): Likewise.
82131         (atanh_test): Likewise.
82132         (exp_test): Likewise.
82133         (exp10_test): Likewise.
82134         (exp2_test): Likewise.
82135         (expm1_test): Likewise.
82136         (lgamma_test): Likewise.
82137         (log_test): Likewise.
82138         (log10_test): Likewise.
82139         (log1p_test): Likewise.
82140         (log2_test): Likewise.
82141         (pow_test): Do not allow some spurious overflow exceptions.
82142         (sqrt_test): Add more tests.
82143         (tgamma_test): Likewise.
82144         (y0_test): Likewise.
82145         (y1_test): Likewise.
82146         (yn_test): Likewise.
82148 2012-03-27  Anton Blanchard  <anton@samba.org>
82150         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
82151         MAP_HUGETLB.
82152         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82153         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82154         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82156 2012-03-27  David S. Miller  <davem@davemloft.net>
82158         * conform/Makefile: Run run-conformtest.sh using $(BASH).
82160         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
82161         have-as-vis3 check.
82163 2012-03-27  Andreas Jaeger  <aj@suse.de>
82165         * sysdeps/x86_64/elf/configure.in: Moved to ...
82166         * sysdeps/x86_64/configure.in: ... here.
82167         * sysdeps/x86_64/elf/start.S: Moved to ...
82168         * sysdeps/x86_64/start.S: ... here.
82169         * sysdeps/x86_64/elf/configure: Delete.
82171         * sysdeps/x86_64/configure.in: Merge contents from
82172         sysdeps/i386/configure.in (without i686 check).
82174         * sysdeps/i386/elf/Versions: Merge into ...
82175         * sysdeps/i386/Versions: ... this.
82176         * sysdeps/i386/elf/Versions: Delete file.
82177         * sysdeps/i386/elf/start.S: Moved to ...
82178         * sysdeps/i386/start.S: ...here.
82179         * sysdeps/i386/elf/configure.in: Merge into...
82180         * sysdeps/i386/configure.in: ...here.
82181         * sysdeps/i386/elf/configure.in: Delete file.
82182         * sysdeps/i386/elf/configure: Delete file.
82184         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82185         * debug/backtracesyms.c: ... here.
82186         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82187         * debug/backtracesymsfd.c: ... here.
82188         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82189         * sysdeps/generic/ifunc-sel.h: ... here.
82191         * sysdeps/unix/i386/start.c: Delete file.
82192         * sysdeps/unix/sparc/start.c: Delete file.
82193         * sysdeps/unix/start.c: Delete file.
82195         * sysdeps/sh/elf/configure.in: Moved to ...
82196         * sysdeps/sh/configure.in: ... here.
82197         * sysdeps/sh/elf/start.S: Moved to ...
82198         * sysdeps/sh/start.S: ... here.
82199         * sysdeps/sh/elf/configure: Delete file.
82201         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
82202         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
82203         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
82204         * sysdeps/powerpc/powerpc64/entry.h: ... here.
82205         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
82206         * sysdeps/powerpc/powerpc64/start.S: here.
82207         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
82208         * sysdeps/powerpc/powerpc64/Makefile: ... this.
82209         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
82210         * sysdeps/powerpc/powerpc64/configure.in: ... this.
82211         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
82213         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
82214         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
82215         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
82216         * sysdeps/powerpc/powerpc32/start.S: ... here.
82217         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
82218         * sysdeps/powerpc/powerpc32/configure.in: ... this.
82219         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
82221         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
82222         * sysdeps/powerpc/ifunc-sel.h: ... here.
82223         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
82224         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
82226         * sysdeps/sparc/elf/configure.in: Moved to ...
82227         * sysdeps/sparc/configure.in: ... here.
82228         * sysdeps/sparc/elf/configure: Delete file.
82229         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
82230         * sysdeps/sparc/sparc32/start.S: ... here.
82231         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
82232         * sysdeps/sparc/sparc64/start.S: ... here.
82233         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
82234         * sysdeps/sparc/sparc32/Makefile: ... this.
82235         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
82236         * sysdeps/sparc/sparc64/Makefile: ... this.
82238         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
82239         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
82240         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
82241         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
82242         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
82243         * sysdeps/s390/s390-32/setjmp.S: ... here.
82244         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
82245         * sysdeps/s390/s390-32/configure.in: ... here.
82246         * sysdeps/s390/s390-32/elf/configure: Delete file.
82247         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
82248         * sysdeps/s390/s390-32/start.S: ... here.
82250         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
82251         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
82252         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
82253         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
82254         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
82255         * sysdeps/s390/s390-64/setjmp.S: ... here.
82256         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
82257         * sysdeps/s390/s390-64/configure.in: ... here
82258         * sysdeps/s390/s390-64/elf/configure: Delete file.
82259         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
82260         * sysdeps/s390/s390-64/start.S: ... here.
82261         * sysdeps/s390/s390-64/elf/configure: Delete.
82263         * configure.in: Remove support for elf directories in sysdeps.
82265         * configure: Regenerated.
82266         * sysdeps/i386/configure: Regenerated.
82267         * sysdeps/powerpc/powerpc32/configure: Regenerated.
82268         * sysdeps/powerpc/powerpc64/configure: Regenerated.
82269         * sysdeps/s390/s390-32/configure: Regenerated.
82270         * sysdeps/s390/s390-64/configure: Regenerated.
82271         * sysdeps/sh/configure: Regenerated.
82272         * sysdeps/sparc/configure: Regenerated.
82273         * sysdeps/x86_64/configure: Regenerated.
82275 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
82277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82279         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82280         denormal result into account.
82282 2012-03-25  Roland McGrath  <roland@hack.frob.com>
82284         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82285         Reported by Allan McRae <allan@archlinux.org>.
82287 2012-03-23  Jeff Law  <law@redhat.com>
82289         * nss/getnssent.c (__nss_getent): Fix typo.
82291 2012-03-23  David S. Miller  <davem@davemloft.net>
82293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82295 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
82297         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82298         to pad to uint64_t for each field.
82299         (dl_tls_index): Replace unsigned long with uint64_t.
82301 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
82302         Paul Pluzhnikov  <ppluzhnikov@google.com>
82304         [BZ #6528]
82305         * grp/Makefile (otherlibs): Don't set it.
82306         * inet/Makefile (otherlibs): Likewise.
82307         * login/Makefile (otherlibs): Likewise.
82308         * nscd/Makefile (otherlibs): Likewise.
82309         * posix/Makefile (otherlibs): Likewise.
82310         * pwd/Makefile (otherlibs): Likewise.
82311         * rt/Makefile (otherlibs): Likewise.
82312         * sunrpc/Makefile (otherlibs): Likewise.
82313         * nss/Makefile (otherlibs): Likewise.
82314         Add libnss_files to routines and static-only-routines.
82315         ($(objpfx)getent): Remove rule.
82316         * resolv/Makefile: Add libnss_dns and libresolv to routines and
82317         static-only-routines.
82319 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82321         [BZ #13892]
82322         * math/s_cexp.c: Include <float.h>.
82323         (__cexp): Handle exp result overflowing not necessarily
82324         overflowing both real and imaginary parts of result.
82325         * math/s_cexpf.c: Likewise.
82326         * math/s_cexpl.c: Likewise.
82327         * math/libm-test.inc (cexp_test): Add more tests.
82328         * sysdeps/i386/fpu/libm-test-ulps: Update.
82329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82331 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82333         * include/link.h (ELFW): New macro.
82334         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82335         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82337 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82339         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82340         with uint64_t.
82342 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82344         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82345         declaration.
82346         (struct La_x32_retval): Likewise.
82348 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82350         * sysdeps/x86_64/preconfigure.in: New file.
82351         * sysdeps/x86_64/preconfigure: New generated file.
82353 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82355         [BZ #13824]
82356         * math/e_exp2l.c: Include <float.h>.
82357         (__ieee754_exp2l): Handle overflow and underflow cases
82358         separately.  Only pass fractional part of argument to
82359         __ieee754_expl.
82360         * math/libm-test.inc (exp2_test): Add more tests.
82362         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82363         negating x to take absolute value.
82364         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82365         Likewise.
82366         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82367         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82368         Likewise.
82369         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82370         computing low part if x was negated.
82371         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82373 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82375         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82376         la_x32_gnu_pltexit.
82377         (pltexit): Cast int_retval to ptrdiff_t.
82378         * elf/tst-auditmod3b.c: Likewise.
82379         * elf/tst-auditmod4b.c: Likewise.
82380         * elf/tst-auditmod5b.c: Likewise.
82381         * elf/tst-auditmod6b.c: Likewise.
82382         * elf/tst-auditmod6c.c: Likewise.
82383         * elf/tst-auditmod7b.c: Likewise.
82385         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82386         and x32_gnu_pltexit.
82388         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82389         __ELF_NATIVE_CLASS.
82390         (La_x32_regs): New macro.
82391         (La_x32_retval): Likewise.
82392         (la_x32_gnu_pltenter): New function prototype.
82393         (la_x32_gnu_pltexit): Likewise.
82395 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82397         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82398         exponent.
82400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82402         * configure.in (libc_cv_cc_nofma): Check for option to disable
82403         generation of FMA instructions.
82404         * configure: Regenerate.
82405         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82406         * sysdeps/ieee754/dbl-64/Makefile: New file.
82407         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82408         Remove brandred-fma4.
82409         (CFLAGS-brandred-fma4.c): Remove.
82410         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82411         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82412         define.
82413         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82414         define.
82416 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82418         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82419         LLONG_MAX != LONG_MAX.
82420         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82421         (_fitoa_word): Likewise.
82422         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82423         LLONG_MAX != LONG_MAX.
82424         * stdio-common/_itowa.h: Include <_itoa.h>.
82425         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82426         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82427         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82428         only if not defined.
82429         (_ITOA_WORD_TYPE): Likewise.
82430         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82431         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82433 2012-03-21  David S. Miller  <davem@davemloft.net>
82435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82437 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82439         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82440         of x86_64 when setting libc_cv_slibdir, libdir and
82441         libc_cv_localedir.
82442         * sysdeps/unix/sysv/linux/configure: Regenerated.
82444 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82446         * manual/lang.texi (Old Varargs): Remove section.
82447         (How Variadic): Update menu.
82448         (va_start): Do not mention varargs.h.
82450 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82451             Joseph Myers  <joseph@codesourcery.com>
82453         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82454         link test.
82455         * configure: Regenerated.
82457 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82459         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82460         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82461         conformtest.pl
82463 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82465         * NOTES: Remove.
82466         * Makefile (files-for-dist): Remove NOTES.
82467         (NOTES): Remove rule.
82468         * README: Don't refer to NOTES.
82469         * manual/creature.texi: Don't include macros.texi.
82470         * manual/intro.texi (creature.texi): Remove comment referring to
82471         NOTES.
82473         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82474         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82475         * configure: Regenerated.
82476         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82477         LIBC_TRY_CC_OPTION.
82478         (libc_cv_as_i686): Likewise.
82479         (libc_cv_cc_avx): Likewise.
82480         (libc_cv_cc_sse2avx): Likewise.
82481         (libc_cv_cc_fma4): Likewise.
82482         (libc_cv_cc_novzeroupper): Likewise.
82483         * sysdeps/i386/configure: Regenerated.
82485         [BZ #13883]
82486         * sysdeps/i386/fpu/s_cexp.S: Remove.
82487         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82488         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82489         * math/libm-test.inc (cexp_test): Add more tests.
82490         * sysdeps/i386/fpu/libm-test-ulps: Update.
82491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82493 2012-03-21  Allan McRae  <allan@archlinux.org>
82495         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82497 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82499         [BZ #13871]
82500         * math/w_exp2.c: Do not include <float.h>.
82501         (o_threshold, u_threshold): Remove.
82502         (__exp2): Calculate result before checking finiteness and calling
82503         __kernel_standard.
82504         * math/w_exp2f.c: Likewise.
82505         * math/w_exp2l.c: Likewise.
82506         * math/libm-test.inc (exp2_test): Require overflow exception for
82507         1e6 input.
82509         [BZ #3866]
82510         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82511         range of signed 64-bit integers before using fistpll.  Remove
82512         checks for whether integers fit in mantissa bits.
82513         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82514         the range of signed 32-bit integers before using fistpl.  Remove
82515         checks for whether integers fit in mantissa bits.
82516         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82517         (__ieee754_powl): Test for y outside the range of signed 64-bit
82518         integers before using fistpll.  Reduce 64-bit values to 63-bit
82519         ones as needed.
82520         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82521         divide-by-zero is raised for zero to large negative powers.
82522         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82523         (__ieee754_powl): Test for y outside the range of signed 64-bit
82524         integers before using fistpll.  Reduce 64-bit values to 63-bit
82525         ones as needed.
82526         * math/libm-test.inc (pow_test): Add more tests.
82528 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82530         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82531         <stdio-common/_itoa.h>.
82532         * debug/segfault.c: Likewise.
82533         * elf/dl-cache.c: Likewise.
82534         * elf/dl-minimal.c: Likewise.
82535         * elf/dl-misc.c: Likewise.
82536         * elf/dl-sysdep.c: Likewise.
82537         * elf/dl-version.c: Likewise.
82538         * elf/rtld.c: Likewise.
82539         * hurd/hurdsock.c: Likewise.
82540         * hurd/lookup-retry.c: Likewise.
82541         * malloc/malloc.c: Likewise.
82542         * malloc/mtrace.c: Likewise.
82543         * nscd/nscd_getgr_r.c: Likewise.
82544         * nscd/nscd_getpw_r.c: Likewise.
82545         * nscd/nscd_getserv_r.c: Likewise.
82546         * posix/getopt_init.c: Likewise.
82547         * posix/wordexp.c: Likewise.
82548         * stdio-common/_itoa.c: Likewise.
82549         * stdio-common/printf_fphex.c: Likewise.
82550         * stdio-common/vfprintf.c: Likewise.
82551         * string/_strerror.c: Likewise.
82552         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82553         * sysdeps/i386/i686/hp-timing.h: Likewise.
82554         * sysdeps/mach/_strerror.c: Likewise.
82555         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82556         * sysdeps/mach/hurd/sethostid.c: Likewise.
82557         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82558         * sysdeps/mach/xpg-strerror.c: Likewise.
82559         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82560         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82561         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82562         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82563         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82564         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82565         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82566         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82567         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82568         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82569         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82570         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82571         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82572         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82573         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82574         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82575         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82576         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82577         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82578         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82579         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82581         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82583         * stdio-common/_itoa.h: Moved to ...
82584         * sysdeps/generic/_itoa.h: Here.
82586         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82588         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82589         instead of "_itoa.h" and "_itowa.h".
82590         * stdio-common/vfprintf.: Likewise.
82592 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82594         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82595         <bits/wordsize.h>.
82596         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82597         (__signbit): Likewise.
82598         (llrintf): Likewise.
82599         (llrint): Likewise.
82601 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82603         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82604         __WORDSIZE != 64.
82606 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82608         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82609         OVERFLOW_EXCEPTION_OK.
82610         * math/libm-test.inc ("Philosophy"): Update comment about
82611         exception testing.
82612         (OVERFLOW_EXCEPTION): Define.
82613         (OVERFLOW_EXCEPTION_OK): Likewise.
82614         (INVALID_EXCEPTION_OK): Renumber.
82615         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82616         (IGNORE_ZERO_INF_SIGN): Likewise.
82617         (test_exceptions): Handle FE_OVERFLOW.
82618         (exp10_test): Expect overflow exceptions.
82619         (exp2_test): Likewise.
82620         (expm1_test): Likewise.
82621         (nextafter_test): Likewise.
82622         (pow_test): Likewise.
82623         (scalbn_test): Likewise.
82624         (scalbln_test): Likewise.
82626 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82628         * sysdeps/x86_64/bits/atomic.h
82629         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82630         64bit integer.
82631         (atomic_exchange_acq): Likewise.
82632         (__arch_exchange_and_add_body): Likewise.
82633         (__arch_add_body): Likewise.
82634         (atomic_add_negative): Likewise.
82635         (atomic_add_zero): Likewise.
82637 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82639         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82640         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82642 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82644         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82645         Check __x86_64__ instead of __WORDSIZE.
82647 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82649         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82651 2012-03-19  David S. Miller  <davem@davemloft.net>
82653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82655         * sysdeps/sparc/fpu/fenv_private.h: New file.
82656         * sysdeps/sparc/fpu/math_private.h: Use it.
82657         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82658         Remove.
82659         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82660         (libc_feholdexcept_setroundl): Remove.
82661         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82662         Remove.
82663         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82664         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82666 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82668         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82669         int64_t instead of long int.
82670         (INSERT_WORDS64): Likewise.
82672 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82674         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82675         _Unwind_GetCFA return to _Unwind_Ptr first.
82677 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
82679         [BZ #13629]
82680         * math/s_clog.c: Include <float.h>.
82681         (__clog): Scale large or subnormal inputs.
82682         * math/s_clogf.c: Likewise.
82683         * math/s_clogl.c: Likewise.
82684         * math/s_clog10.c: Include <float.h>.
82685         (M_LOG10_2): Define.
82686         (__clog10): Scale large or subnormal inputs.
82687         * math/s_clog10f.c: Likewise.
82688         * math/s_clog10l.c: Likewise.
82689         * math/libm-test.inc (clog_test): Add more tests.
82690         (clog10_test): Likewise.
82691         * sysdeps/i386/fpu/libm-test-ulps: Update.
82692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82694         [BZ #11451]
82695         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
82696         x and y.
82697         * math/libm-test.inc (atan2_test): Add another test.
82699         * Makerules (common-objdir-compile): Remove.
82700         * sysdeps/unix/Makefile (config-generated): Do not add
82701         $(unix-generated) to variable.
82702         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
82703         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
82704         Remove rule.
82705         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
82706         Likewise.
82707         [generic bits/local_lim.h] (before-compile): Do not append to
82708         variable.
82709         [generic bits/local_lim.h] (common-generated): Likewise.
82710         [generic sys/param.h] (before-compile): Do not append to variable.
82711         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
82712         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
82713         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
82714         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
82715         include.
82716         [generic sys/param.h] (sys/param.h-includes): Remove variable.
82717         [generic sys/param.h] (sys/param.h-includes): Remove rule.
82718         [generic sys/param.h] ($(addprefix
82719         $(common-objpfx),$(sys/param.h-includes))): Likewise.
82720         [generic sys/param.h] (common-generated): Do not append to
82721         variable.
82722         [generic sys/param.h] (sysdep_headers): Likewise.
82723         [generic bits/errno.h] (before-compile): Do not append to
82724         variable.
82725         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
82726         rule.
82727         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
82728         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
82729         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
82730         [generic bits/errno.h] (common-generated): Do not append to
82731         variable.
82732         [generic bits/ioctls.h] (before-compile): Do not append to
82733         variable.
82734         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
82735         rule.
82736         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
82737         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
82738         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
82739         rule.
82740         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
82741         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
82742         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
82743         [generic bits/ioctls.h] (common-generated): Do not append to
82744         variable.
82745         [generic sys/syscall.h] (syscall.h): Remove variable.
82746         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
82747         rule.
82748         [generic sys/syscall.h] (before-compile): Do not append to
82749         variable.
82750         [generic sys/syscall.h] (common-generated): Likewise.
82751         * sysdeps/unix/errnos-tmpl.c: Remove file.
82752         * sysdeps/unix/errnos.awk: Likewise.
82753         * sysdeps/unix/ioctls-tmpl.c: Likewise.
82754         * sysdeps/unix/ioctls.awk: Likewise.
82755         * sysdeps/unix/mk-local_lim.c: Likewise.
82756         * sysdeps/unix/snarf-ioctls: Likewise.
82758 2012-03-19  Richard Henderson  <rth@twiddle.net>
82760         * sysdeps/i386/fpu/fenv_private.h: New file.
82761         * sysdeps/i386/fpu/math_private.h: Use it.
82762         (math_opt_barrier, math_force_eval): Remove.
82763         (libc_feholdexcept_setround_53bit): Remove.
82764         (libc_feupdateenv_53bit): Remove.
82765         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82766         (math_opt_barrier, math_force_eval): Remove.
82767         (libc_feholdexcept): Remove.
82768         (libc_feholdexcept_setround): Remove.
82769         (libc_fetestexcept, libc_fesetenv): Remove.
82770         (libc_feupdateenv_test): Remove.
82771         (libc_feupdateenv, libc_feholdsetround): Remove.
82772         (libc_feresetround): Remove.
82774         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
82775         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
82777         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
82778         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
82779         (libc_feupdateenv_testl): New.
82780         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
82781         (libc_feupdateenv_testf): New.
82782         (libc_feupdateenv): Use libc_feupdateenv_test.
82783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
82784         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
82786         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
82787         (libc_feholdsetroundf, libc_feholdsetroundl): New.
82788         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
82789         (libc_feresetround_noex): New.
82790         (libc_feresetround_noexf): New.
82791         (libc_feresetround_noexl): New.
82792         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
82793         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
82794         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
82795         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
82796         SET_RESTORE_ROUND.
82797         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
82798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
82799         (__cos): Likewise.
82800         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
82801         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
82802         SET_RESTORE_ROUND_NOEX.
82803         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
82804         SET_RESTORE_ROUND_NOEXF.
82805         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
82806         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
82807         (libc_feholdsetroundf): New.
82808         (libc_feresetround, libc_feresetroundf): New.
82810         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
82811         (libc_feholdexcept_setround_53bit): Convert from macro to function.
82812         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
82814         * sysdeps/generic/math_private.h: Include <fenv.h>.
82815         (default_libc_feholdexcept): New.
82816         (default_libc_feholdexcept_setround): New.
82817         (default_libc_fesetenv, default_libc_feupdateenv): New.
82818         (libc_feholdexcept): Only define if undefined.
82819         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
82820         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
82821         (libc_feholdexcept_setroundl): Likewise.
82822         (libc_feholdexcept_setround_53bit): Likewise.
82823         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
82824         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
82825         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
82826         (libc_feupdateenv_53bit): Likewise.
82827         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
82828         (libc_feholdexcept): Convert from macro to inline function.
82829         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
82830         (libc_fesetenv, libc_feupdateenv): Likewise.
82832         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
82833         not previously defined.
82834         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
82835         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
82836         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
82837         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
82838         * sysdeps/ieee754/flt-32/math_private.h: New file.
82839         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
82840         math_private.h below SET_FLOAT_WORD.
82841         (__isnan, __isinf_ns, __finite): Remove.
82842         (__isnanf, __isinf_nsf, __finitef): Remove.
82844 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
82846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82848 2012-03-17  David S. Miller  <davem@davemloft.net>
82850         [BZ #6471]
82851         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
82852         for 2.16.
82854 2012-03-16  David S. Miller  <davem@davemloft.net>
82856         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
82857         warnings.
82859         [BZ #6471]
82860         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
82861         properly.
82862         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
82863         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
82864         sysdep_routines when subdir is sysvipc.
82865         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
82866         __getshmlba helper.
82868         * sysdeps/sparc/fpu/libm-test/ulps: Update.
82870 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82872         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
82873         [__LP64__].
82875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82877         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
82878         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
82879         (__lround): Renamed to ...
82880         (__llround): This.  Replace long int with long long int.
82881         Define lround functions as aliases of llround functions.
82882         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
82884 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82886         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
82887         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
82888         adresses to uintptr_t.  Replace "long int" and "unsigned long
82889         int" with "greg_t" on va_arg.
82891 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82893         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
82894         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
82896         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
82897         Move e_machine check before EI_CLASS check.  Handle x32
82898         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
82899         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
82900         SKIP_EM_IA_64 and include
82901         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
82903         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
82904         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
82905         (add_system_dir): New macro.
82907         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
82908         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
82910 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82912         [BZ #2551]
82913         [BZ #2552]
82914         [BZ #2553]
82915         [BZ #2554]
82916         [BZ #2562]
82917         [BZ #2563]
82918         [BZ #2565]
82919         [BZ #2566]
82920         [BZ #2576]
82921         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82922         (y0): Likewise.
82923         * math/w_j0f.c (j0f): Likewise.
82924         (y0f): Likewise.
82925         * math/w_j0l.c (__j0l): Likewise.
82926         (__y0l): Likewise.
82927         * math/w_j1.c (j1): Likewise.
82928         (y1): Likewise.
82929         * math/w_j1f.c (j1f): Likewise.
82930         (y1f): Likewise.
82931         * math/w_j1l.c (__j1l): Likewise.
82932         (__y1l): Likewise.
82933         * math/w_jn.c (jn): Likewise.
82934         (yn): Likewise.
82935         * math/w_jnf.c (jnf): Likewise.
82936         (ynf): Likewise.
82937         * math/w_jnl.c (__jnl): Likewise.
82938         (__ynl): Likewise.
82939         * math/libm-test.inc (j0_test): Add more tests.
82940         (j1_test): Likewise.
82941         (jn_test): Likewise.  Add trailing semicolon to existing test.
82942         (y0_test): Likewise.
82943         (y1_test): Likewise.
82944         * sysdeps/i386/fpu/libm-test-ulps: Update.
82945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82947         [BZ #13851]
82948         [BZ #13854]
82949         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82950         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82951         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82952         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82953         (__tanl): Set errno for infinite argument.
82954         * sysdeps/i386/fpu/mptan.c: Remove.
82955         * sysdeps/i386/fpu/s_tan.S: Likewise.
82956         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82957         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82958         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82959         * math/libm-test.inc (tan_test): Add more tests and enable more
82960         tests for double and long double.
82961         * sysdeps/i386/fpu/libm-test-ulps: Update.
82962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82964 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82966         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82967         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82969 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82971         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82972         * configure.in: Use it for both main tree and add-ons.
82973         * configure: Regenerated.
82975 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82977         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82979 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82981         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82982         in comment.
82984         [BZ #13851]
82985         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82986         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82987         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82988         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82989         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82990         infinite argument.
82991         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82992         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82993         != 0 for prec == 2.
82994         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82995         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82996         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82997         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82998         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82999         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
83000         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
83001         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
83002         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
83003         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
83004         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
83005         * math/libm-test.inc (cos_test): Add more tests and enable more
83006         tests for long double.
83007         (sin_test): Likewise.
83008         (sincos_test): Likewise.
83009         * sysdeps/i386/fpu/libm-test-ulps: Update.
83010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83012 2012-03-16  David S. Miller  <davem@davemloft.net>
83014         * sysdeps/sparc/fpu/math_private.h: New file.
83016 2012-03-15  David S. Miller  <davem@davemloft.net>
83018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
83019         file.
83020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
83021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
83022         file.
83023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
83024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
83025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
83026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
83027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
83028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
83029         sysdep routines.
83030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83032         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
83033         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
83035         * sysdeps/sparc/sparc-ifunc.h: New file.
83036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
83037         sparc-ifunc.h
83038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
83040         Likewise.
83041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
83042         Likewise.
83043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
83044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
83045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
83047         Likewise.
83048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
83050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
83052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
83053         Likewise.
83054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
83055         Likewise.
83056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
83058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
83059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
83060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
83061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
83062         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
83063         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
83064         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
83065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
83066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
83067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
83068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
83070         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
83071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
83072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
83073         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
83074         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
83075         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
83076         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
83077         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
83078         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
83079         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
83081 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83083         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
83084         scaling.
83085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83087 2012-03-15  Andreas Jaeger  <aj@suse.de>
83089         [BZ #13852]
83090         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
83091         ieee754/flt-32 implementation for sin, cos and sincos.
83092         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
83093         * sysdeps/i386/fpu/s_cosf.S: Likewise.
83094         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
83095         * sysdeps/i386/fpu/s_sinf.S: Likewise.
83096         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
83097         ieee754/flt-32 implementation for tan.
83099         * math/libm-test.inc (cos_test): Enable some large input tests for
83100         float as well
83101         (sin_test): Likewise.
83102         (sincos_test): Likewise.
83103         (tan_test): Add tests for large input.
83105         * sysdeps/i386/fpu/libm-test-ulps: Update.
83107 2012-03-15  Andreas Jaeger  <aj@suse.de>
83109         [BZ #13658]
83110         * math/libm-test.inc (cos_test): Add more test cases.
83111         (sin_test): Likewise.
83112         (sincos_test): Likewise.
83114 2012-03-15  Andreas Jaeger  <aj@suse.de>
83116         [BZ #13837]
83117         * math/libm-test.inc (cos_test): Add a test case for large input
83118         value.
83119         (sin_test): Likewise.
83120         (sincos_test): Likewise.
83122 2012-03-15  Andreas Jaeger  <aj@suse.de>
83123             Joseph Myers  <joseph@codesourcery.com>
83125         [BZ #13658]
83126         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
83127         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
83128         * sysdeps/i386/fpu/branred.c: Likewise.
83129         * sysdeps/i386/fpu/dosincos.c: Likewise.
83130         * sysdeps/i386/fpu/mpa.c: Likewise.
83131         * sysdeps/i386/fpu/s_cos.S: Likewise.
83132         * sysdeps/i386/fpu/s_sin.S: Likewise.
83133         * sysdeps/i386/fpu/s_sincos.S: Likewise.
83134         * sysdeps/i386/fpu/sincos32.c: Likewise.
83136         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
83137         Define.
83138         (libc_feupdateenv_53bit): Define.
83139         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
83140         Define.
83141         (libc_feupdateenv_53bit): Define.
83143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
83144         53 bit (without extend i386 double precision).
83146         * math/libm-test.inc (sincos_test): Add tests for large input.
83147         (sin): Likewise.
83148         (cos): Likewise.
83150         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
83152 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83156 2012-03-15  David S. Miller  <davem@davemloft.net>
83158         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
83159         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
83160         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
83161         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
83162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
83163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
83164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
83165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
83166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
83167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
83168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
83169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
83170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
83171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
83172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
83173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
83174         file.
83175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83177         file.
83178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83180         file.
83181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83183         file.
83184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83185         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83186         fmin/fmax sysdep routines.
83187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83189 2012-03-14  David S. Miller  <davem@davemloft.net>
83191         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83194         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83195         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83196         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
83197         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
83198         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
83199         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83200         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
83201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
83202         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
83203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
83204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
83205         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
83206         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
83207         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
83208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
83209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
83210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
83211         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
83212         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
83213         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
83214         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
83215         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
83216         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
83217         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
83218         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
83219         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
83220         routines.
83221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
83222         file.
83223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
83224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
83225         file.
83226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
83227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
83228         file.
83229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
83230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
83231         file.
83232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
83233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
83234         file.
83235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
83236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
83237         file.
83238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
83239         file.
83240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
83241         file.
83242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
83243         file.
83244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
83245         New file.
83246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
83247         file.
83248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
83249         file.
83250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
83252         file.
83253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
83254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
83255         file.
83256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
83257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
83258         file.
83259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
83260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
83261         VIS3 routines.
83263         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
83264         New file.
83266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83268         * sysdeps/sparc/configure.in: New file.
83269         * sysdeps/sparc/configure: Generate.
83270         * configure.in (libc_cv_sparc_as_vis3): Substitute.
83271         * configure: Regenerate.
83272         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
83273         * config.make.in (have-as-vis3): New.
83274         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
83275         available use -Av9d instead of -Av9a.
83276         * sysdeps/sparc/sparc64/Makefile: Likewise.
83277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83279         New file.
83280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83281         file.
83282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83283         New file.
83284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83285         file.
83286         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83287         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83288         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83289         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83290         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83292         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83293         fzeros/fnegs to load 0x80000000 into a float register instead of
83294         using the stack.
83295         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83297 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83300         bits/syscall.h.
83301         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83302         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83303         ($(inst_includedir)/bits/syscall.h): Remove rule.
83304         ($(objpfx)bits/syscall.d): Include instead of
83305         $(objpfx)syscall-list.d.
83306         (generated): Change syscall-list.h and syscall-list.d to
83307         bits/syscall.h and bits/syscall.d.
83309 2012-03-14  Roland McGrath  <roland@hack.frob.com>
83311         [BZ #13846]
83312         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83314 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83316         [BZ #13841]
83317         * math/s_csqrt.c: Include <float.h>.
83318         (__csqrt): Scale large or subnormal inputs.
83319         * math/s_csqrtf.c: Likewise.
83320         * math/s_csqrtl.c: Likewise.
83321         * math/libm-test.inc (csqrt_test): Add more tests.
83322         * sysdeps/i386/fpu/libm-test-ulps: Update.
83323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83325         [BZ #13840]
83326         * math/libm-test.inc (hypot_test): Add more tests.
83328 2012-03-13  David S. Miller  <davem@davemloft.net>
83330         [BZ #13840]
83331         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83332         double-precision for the calculation instead of scaling.
83334 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83336         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83337         manipulate bits before adding and subtracting TWO52[sx].
83338         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83339         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83340         Likewise.
83341         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83343 2012-03-13  David S. Miller  <davem@davemloft.net>
83345         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83346         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83347         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83348         rtld-global-offsets.h
83349         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83351         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83352         large parameters.
83354         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83356         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83357         'err' in the ifdef scope in which it is actually used.
83359         * nss/nss_db/db-init.c: Include string.h
83361 2012-03-12  David S. Miller  <davem@davemloft.net>
83363         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83364         masking out of the most significant byte of random value used.
83365         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83366         Fix coding style in previous change.
83368         * sysdeps/unix/sysv/linux/kernel-features.h
83369         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83370         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83371         expression.
83372         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83373         later.
83375 2012-03-11  David S. Miller  <davem@davemloft.net>
83377         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83378         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83379         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83380         for 'resultvar' otherwise things get truncated on 64-bit.
83382         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83383         Fix masking out of the most significant byte of random value used.
83385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83387 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83391 2012-03-09  David S. Miller  <davem@davemloft.net>
83393         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83394         variables with appropriate CPP guards.
83395         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83396         from the frame pointer, not the stack pointer.  Correct layout
83397         comments.  Fix test on resulting framesize and the management of
83398         the outregs buffer for pltexit.  Preserve floating point return
83399         values across _dl_call_pltexit call.
83400         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83401         framesize and the management of the outregs buffer for pltexit.
83402         Preserve floating point return values across _dl_call_pltexit
83403         call.
83404         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83405         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83406         (la_sparc64_gnu_pltexit): New functions.
83407         (print_exit): Fix format string for return register value.
83409 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83411         * sunrpc/Makefile (others): Add rpcgen.
83412         ($(objpfx)rpcgen): Remove special build rule and dependency on
83413         libc.
83414         * sunrpc/rpcgen.c: New file.
83416 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83418         [BZ #13673]
83419         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83420         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83421         * sysdeps/i386/crti.S: Likewise.
83422         * sysdeps/i386/crtn.S: Likewise.
83423         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83424         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83425         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83426         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83427         * sysdeps/sh/crti.S: Likewise.
83428         * sysdeps/sh/crtn.S: Likewise.
83429         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83431         [BZ #13673]
83432         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83433         with URL.
83434         * locale/programs/locfile-kw.gperf: Likewise.
83435         * locale/programs/charmap-kw.h: Regenerated.
83436         * locale/programs/locfile-kw.h: Likewise.
83438         [BZ #13673]
83439         * intl/plural.y: Replace FSF snail mail address with URL.
83440         * intl/plural.c: Regenerated.
83442 2012-03-09  Richard Henderson  <rth@twiddle.net>
83444         * include/math_private.h: Remove file.
83445         * math/math_private.h: Move file ...
83446         * sysdeps/generic/math_private.h: ... here.
83448         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83449         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83450         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83452         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83453         and <math_private.h>.
83454         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83455         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83456         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83457         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83458         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83459         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83460         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83461         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83462         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83463         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83464         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83465         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83466         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83467         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83468         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83469         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83470         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83471         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83472         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83473         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83474         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83475         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83476         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83477         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83478         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83479         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83480         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83481         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83483         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83484         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83485         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83486         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83487         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83488         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83489         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83490         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83491         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83492         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83493         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83494         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83495         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83496         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83497         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83498         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83499         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83500         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83501         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83502         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83503         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83504         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83505         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83506         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83507         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83508         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83509         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83510         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83511         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83512         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83513         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83514         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83515         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83516         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83517         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83518         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83519         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83520         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83521         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83522         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83523         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83524         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83525         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83526         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83527         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83528         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83530         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83531         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83532         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83533         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83534         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83535         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83536         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83537         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83538         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83539         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83540         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83541         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83542         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83543         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83544         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83545         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83546         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83547         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83548         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83549         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83550         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83551         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83552         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83553         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83554         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83555         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83556         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83557         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83558         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83559         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83560         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83561         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83562         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83563         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83564         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83565         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83566         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83567         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83568         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83569         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83570         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83571         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83572         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83573         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83574         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83575         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83576         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83577         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83578         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83579         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83580         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83581         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83582         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83583         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83584         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83585         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83586         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83587         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83588         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83589         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83590         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83591         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83592         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83593         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83594         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83595         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83596         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83597         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83598         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83599         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83600         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83601         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83602         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83603         * sysdeps/ieee754/k_standard.c: Likewise.
83604         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83605         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83606         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83607         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83608         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83609         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83610         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83611         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83612         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83613         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83614         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83615         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83616         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83617         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83618         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83619         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83620         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83621         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83622         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83623         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83624         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83625         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83626         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83627         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83628         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83629         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83630         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83631         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83632         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83633         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83634         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83635         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83636         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83637         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83638         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83639         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83640         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83641         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83642         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83643         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83644         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83645         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83646         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83647         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83648         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83649         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83650         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83651         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83652         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83653         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83654         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83655         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83656         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83657         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83658         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83659         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83660         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83661         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83662         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83663         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83664         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83665         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83666         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83667         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83668         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83669         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83670         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83671         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83672         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83673         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83674         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83675         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83676         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83677         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83678         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83679         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83680         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83681         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83682         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83683         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
83684         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
83685         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
83686         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83687         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83688         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
83689         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83690         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83691         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
83692         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
83693         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83694         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
83695         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83696         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
83697         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
83698         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83699         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83700         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
83701         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
83702         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
83703         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
83704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83705         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83706         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83707         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83708         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
83709         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83710         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83711         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
83712         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
83713         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83714         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83715         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83716         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83717         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83718         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83719         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83720         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83721         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83722         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83723         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83724         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83725         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83726         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83727         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83728         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83729         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
83730         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83731         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83732         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83733         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83734         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83735         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83736         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83737         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
83738         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83739         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83740         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
83741         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
83742         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83743         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
83744         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
83745         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83746         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
83747         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
83748         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83749         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83750         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83751         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83752         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83753         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
83754         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83755         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83756         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83757         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83758         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
83759         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
83760         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83761         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83762         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83763         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
83764         * sysdeps/ieee754/s_lib_version.c: Likewise.
83765         * sysdeps/ieee754/s_matherr.c: Likewise.
83766         * sysdeps/ieee754/s_signgam.c: Likewise.
83767         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83768         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83769         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
83770         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
83771         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
83772         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
83773         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
83774         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
83775         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
83776         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
83777         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83778         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
83779         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83780         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83781         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
83782         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
83783         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
83784         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
83785         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
83786         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83787         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83789 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83791         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
83792         * sunrpc/rpc_main.c: Likewise.
83793         * sunrpc/rpc_svcout.c: Likewise.
83795 2012-03-09  David S. Miller  <davem@davemloft.net>
83797         * include/math_private.h: New file.
83799 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83801         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
83802         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
83803         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
83804         from <bits/socket_type.h>.
83805         (enum __socket_type): Don't define here.
83806         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
83807         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83808         bits/socket_type.h.
83810         [BZ #13566]
83811         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
83812         checking __USE_GNU.
83814         * Makerules ($(inst_includedir)/%.h): New rule.
83815         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
83816         (install-others): Remove variable setting.
83817         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
83819 2012-03-08  Richard Henderson  <rth@twiddle.net>
83821         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
83822         from macro to inline function; merge with the
83823         !__LIBC_INTERNAL_MATH_INLINES version.
83824         (__ieee754_sqrtf): Likewise.
83826         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
83827         to inline function.
83828         (__rintf, __floor, __floorf): Likewise.
83830         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
83831         macro to inline function.
83832         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
83834         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
83835         not <math/math_private.h>.
83837 2012-03-08  David S. Miller  <davem@davemloft.net>
83839         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
83840         copyright year.
83841         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
83843 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
83845         * resolv/gai_misc.c (handle_requests): Fix struct timespec
83846         normalization.
83847         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
83848         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
83850 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
83852         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
83853         be defined individually, they must be defined as a block.  Define
83854         S for printing a string instead of hidint the different by using a
83855         macro for adding the 'l'.
83856         * stdio-common/tst-fphex-wide.c: Adjust.
83858 2012-03-07  Marek Polacek  <polacek@redhat.com>
83860         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
83862 2012-03-08  Marek Polacek  <polacek@redhat.com>
83864         [BZ #13806]
83865         * stdio-common/Makefile (tests): Add tst-fphex-wide.
83866         * stdio-common/tst-fphex.c: Define a few macros to make the
83867         test reusable.  Use them.
83868         * stdio-common/tst-fphex-wide.c: New file.
83870 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
83872         [BZ #6911]
83873         * manual/macros.texi (gnusystems): New macro.
83874         (nongnusystems): Likewise.
83875         (gnulinuxhurdsystems): Likewise.
83876         (gnuhurdsystems): Likewise..
83877         (gnulinuxsystems): Likewise.
83878         * manual/charset.texi: Use new macros or @theglibc{} to refer to
83879         variants of the GNU system, not "GNU system".
83880         * manual/conf.texi: Likewise.
83881         * manual/errno.texi: Likewise.  Update example of errno macro
83882         expansion.
83883         * manual/filesys.texi: Likewise.
83884         (getumask): Document as specific to GNU/Hurd.
83885         * manual/install.texi: Likewise.  Reword some references to
83886         GNU/Linux.
83887         * manual/intro.texi: Likewise.
83888         * manual/io.texi: Likewise.
83889         (File Name Portability): Detail which constraints are inapplicable
83890         to all GNU systems and which are only inapplicable to GNU/Hurd.
83891         * manual/job.texi: Likewise.
83892         * manual/llio.texi: Likewise.
83893         (O_NOCTTY): Document as present on GNU/Linux.
83894         * manual/maint.texi: Likewise.
83895         * manual/memory.texi: Likewise.
83896         * manual/pattern.texi: Likewise.
83897         * manual/pipe.texi: Likewise.
83898         * manual/process.texi: Likewise.
83899         * manual/resource.texi: Likewise.
83900         (RUSAGE_CHILDREN): Remove statement about specifying a particular
83901         child on GNU/Hurd.
83902         * manual/setjmp.texi: Likewise.
83903         * manual/signal.texi: Likewise.
83904         * manual/startup.texi: Likewise.
83905         * manual/stdio.texi: Likewise.
83906         * manual/terminal.texi: Likewise.
83907         (ONLCR): Document as POSIX.
83908         (OXTABS): Document availability on GNU/Linux as XTABS.
83909         (ONOEOT): Document availability separately from other bits.
83910         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
83911         * manual/time.texi: Likewise.
83912         * manual/users.texi: Likewise.
83913         * INSTALL: Regenerated.
83914         * sysdeps/gnu/errlist.c: Regenerated.
83916         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
83917         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83918         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
83919         puts.
83920         * configure: Regenerated.
83922 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
83924         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83925         default includes instead of AC_HEADER_CHECK.
83926         * sysdeps/i386/configure: Regenerated.
83928         [BZ #10716]
83929         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83930         * math/s_cacoshf.c (__cacoshf): Likewise.
83931         * math/s_cacoshl.c (__cacoshl): Likewise.
83932         * math/s_casinh.c (__casinh): Set signs of result from argument.
83933         * math/s_casinhf.c (__casinhf): Likewise.
83934         * math/s_casinhl.c (__casinhl): Likewise.
83935         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83936         (casinh_test): Add more tests.
83937         * sysdeps/i386/fpu/libm-test-ulps: Update.
83938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83940 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
83942         * po/zh_TW.po: Update from translation team.
83944         * login/Makefile (distribute): Remove variable.
83945         * catgets/Makefile: Likewise.
83946         * mach/Makefile: Likewise.
83947         * malloc/Makefile: Likewise.
83948         * misc/Makefile: Likewise.
83949         * iconv/Makefile: Likewise.
83950         * nscd/Makefile: Likewise.
83951         * hurd/Makefile: Likewise.
83952         * manual/Makefile: Likewise.
83953         * locale/Makefile: Likewise.
83954         * intl/Makefile: Likewise.
83955         * conform/Makefile: Likewise.
83956         * nss/Makefile: Likewise.
83957         * time/Makefile: Likewise.
83958         * soft-fp/Makefile: Likewise.
83959         * dirent/Makefile: Likewise.
83960         * gmon/Makefile: Likewise.
83961         * po/Makefile: Likewise.
83962         * rt/Makefile: Likewise.
83963         * socket/Makefile: Likewise.
83964         * math/Makefile: Likewise.
83965         * signal/Makefile: Likewise.
83966         * debug/Makefile: Likewise.
83967         * elf/Makefile: Likewise.
83968         * timezone/Makefile: Likewise.
83969         * stdlib/Makefile: Likewise.
83970         * iconvdata/Makefile: Likewise.
83971         * sunrpc/Makefile: Likewise.
83972         * io/Makefile: Likewise.
83973         * argp/Makefile: Likewise.
83974         * inet/Makefile: Likewise.
83975         * hesiod/Makefile: Likewise.
83976         * grp/Makefile: Likewise.
83977         * csu/Makefile: Likewise.
83978         * wctype/Makefile: Likewise.
83979         * crypt/Makefile: Likewise.
83980         * libio/Makefile: Likewise.
83981         * string/Makefile: Likewise.
83982         * nis/Makefile: Likewise.
83983         * resolv/Makefile: Likewise.
83984         * stdio-common/Makefile: Likewise.
83985         * wcsmbs/Makefile: Likewise.
83986         * dlfcn/Makefile: Likewise.
83987         * posix/Makefile: Likewise.
83989         [BZ #6959]
83990         * timezone/Makefile: Don't install timezone files, just the programs
83991         and scripts.
83993 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83995         * nss/databases.def: Add missing gshadow entry.
83997         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83999 2012-03-06  Marek Polacek  <polacek@redhat.com>
84001         [BZ #13726]
84002         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
84003         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
84004         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
84005         * stdio-common/tst-long-dbl-fphex.c: New file.
84007 2012-03-06  David S. Miller  <davem@davemloft.net>
84009         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84010         (set_obp_int): New function.
84011         (get_obp_int): New function.
84012         (__get_clockfreq_via_dev_openprom): Likewise.
84013         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
84014         Avoid unused variable warnings on 'val' and use builtin_expect.
84015         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
84016         __builtin_expect.
84017         (INLINE_CLONE_SYSCALL): Likewise.
84019 2012-03-05  David S. Miller  <davem@davemloft.net>
84021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84023 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
84025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84027         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
84028         only for |x| >= 40.
84029         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84031 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
84033         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
84034         Replace gettimeofday with __vdso_gettimeofday.
84036         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84037         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
84038         __vdso_clock_gettime and __vdso_getcpu.
84040         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
84041         time with __vdso_time.
84043 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84045         * manual/lang.texi (size_t): Note types to which size_t may be
84046         equivalent with the GNU C Library, but do not describe when
84047         differences between them are significant.
84049 2012-03-05  Andreas Jaeger  <aj@suse.de>
84051         * sysdeps/i386/fpu/libm-test-ulps: Update.
84053 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84055         [BZ #3976]
84056         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
84057         (__ieee754_pow): Save and restore rounding mode and use
84058         round-to-nearest for main computations.
84059         * math/libm-test.inc (pow_test_tonearest): New function.
84060         (pow_test_towardzero): Likewise.
84061         (pow_test_downward): Likewise.
84062         (pow_test_upward): Likewise.
84063         (main): Call the new functions.
84064         * sysdeps/i386/fpu/libm-test-ulps: Update.
84065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84067         [BZ #3976]
84068         * math/libm-test.inc (cosh_test_tonearest): New function.
84069         (cosh_test_towardzero): Likewise.
84070         (cosh_test_downward): Likewise.
84071         (cosh_test_upward): Likewise.
84072         (sinh_test_tonearest): Likewise.
84073         (sinh_test_towardzero): Likewise.
84074         (sinh_test_downward): Likewise.
84075         (sinh_test_upward): Likewise.
84076         (main): Call the new functions.
84077         * sysdeps/i386/fpu/libm-test-ulps: Update.
84078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84080 2012-03-05  Tom de Vries  <tom@codesourcery.com>
84082         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
84083         default stack guard is set in last bytes.
84084         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
84086 2012-03-05  Kees Cook  <keescook@chromium.org>
84088         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
84090         [BZ #13656]
84091         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
84092         possibly allocate from heap instead of stack.
84093         * stdio-common/bug-vfprintf-nargs.c: New file.
84094         * stdio-common/Makefile (tests): Add nargs overflow test.
84096 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
84098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84100 2012-03-03  Marek Polacek  <polacek@redhat.com>
84102         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
84103         * math/math_private.h: Likewise.
84104         * stdlib/tst-strtod.c: Likewise.
84105         * sysdeps/i386/i486/bits/atomic.h: Likewise.
84106         * sysdeps/x86_64/bits/atomic.h: Likewise.
84108 2012-03-02  David S. Miller  <davem@davemloft.net>
84110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
84111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
84112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
84113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84114         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
84115         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
84116         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
84117         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
84119 2012-03-02  Roland McGrath  <roland@hack.frob.com>
84121         [BZ #13792]
84122         * manual/examples/README: New file, says the example source files
84123         can be used under GPL>=2.
84124         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
84125         line containing just "*/".
84126         * manual/examples/add.c: Add copyright header (GPL>=2).
84127         * manual/examples/argp-ex1.c: Likewise.
84128         * manual/examples/argp-ex2.c: Likewise.
84129         * manual/examples/argp-ex3.c: Likewise.
84130         * manual/examples/argp-ex4.c: Likewise.
84131         * manual/examples/atexit.c: Likewise.
84132         * manual/examples/db.c: Likewise.
84133         * manual/examples/dir.c: Likewise.
84134         * manual/examples/dir2.c: Likewise.
84135         * manual/examples/execinfo.c: Likewise.
84136         * manual/examples/filecli.c: Likewise.
84137         * manual/examples/filesrv.c: Likewise.
84138         * manual/examples/fmtmsgexpl.c: Likewise.
84139         * manual/examples/genpass.c: Likewise.
84140         * manual/examples/inetcli.c: Likewise.
84141         * manual/examples/inetsrv.c: Likewise.
84142         * manual/examples/isockad.c: Likewise.
84143         * manual/examples/longopt.c: Likewise.
84144         * manual/examples/memopen.c: Likewise.
84145         * manual/examples/memstrm.c: Likewise.
84146         * manual/examples/mkfsock.c: Likewise.
84147         * manual/examples/mkisock.c: Likewise.
84148         * manual/examples/mygetpass.c: Likewise.
84149         * manual/examples/pipe.c: Likewise.
84150         * manual/examples/popen.c: Likewise.
84151         * manual/examples/rprintf.c: Likewise.
84152         * manual/examples/search.c: Likewise.
84153         * manual/examples/select.c: Likewise.
84154         * manual/examples/setjmp.c: Likewise.
84155         * manual/examples/sigh1.c: Likewise.
84156         * manual/examples/sigusr.c: Likewise.
84157         * manual/examples/stpcpy.c: Likewise.
84158         * manual/examples/strdupa.c: Likewise.
84159         * manual/examples/strftim.c: Likewise.
84160         * manual/examples/strncat.c: Likewise.
84161         * manual/examples/subopt.c: Likewise.
84162         * manual/examples/swapcontext.c: Likewise.
84163         * manual/examples/termios.c: Likewise.
84164         * manual/examples/testopt.c: Likewise.
84165         * manual/examples/testpass.c: Likewise.
84166         * manual/examples/timeval_subtract.c: Likewise.
84168         [BZ #13792]
84169         * manual/time.texi (Elapsed Time): Move timeval_subtract example
84170         function to ...
84171         * manual/timeval_subtract.c.texi: ... here, new file.
84173 2012-03-02  David S. Miller  <davem@davemloft.net>
84175         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84177 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
84179         [BZ #3976]
84180         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84181         (__sin): Save and restore rounding mode and use round-to-nearest
84182         for all computations.
84183         (__cos): Save and restore rounding mode and use round-to-nearest
84184         for all computations.
84185         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84186         <fenv.h>.
84187         (tan): Save and restore rounding mode and use round-to-nearest for
84188         all computations.
84189         * math/libm-test.inc (cos_test_tonearest): New function.
84190         (cos_test_towardzero): Likewise.
84191         (cos_test_downward): Likewise.
84192         (cos_test_upward): Likewise.
84193         (sin_test_tonearest): Likewise.
84194         (sin_test_towardzero): Likewise.
84195         (sin_test_downward): Likewise.
84196         (sin_test_upward): Likewise.
84197         (tan_test_tonearest): Likewise.
84198         (tan_test_towardzero): Likewise.
84199         (tan_test_downward): Likewise.
84200         (tan_test_upward): Likewise.
84201         (main): Call the new functions.
84202         * sysdeps/i386/fpu/libm-test-ulps: Update.
84203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84205         [BZ #10135]
84206         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
84207         small n, then large n, before computing and testing k+n.
84208         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
84209         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
84210         Likewise.
84211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
84212         Likewise.
84213         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
84214         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
84215         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
84216         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
84217         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
84218         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
84219         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
84220         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
84221         * math/libm-test.inc (scalbn_test): Add more tests.
84222         (scalbln_test): Likewise.
84224         * manual/filesys.texi (mode_t): Describe constraints on size and
84225         signedness, not exact equivalence to a particular type.
84226         (ino_t): Likewise.
84227         (ino64_t): Likewise.
84228         (dev_t): Likewise.
84229         (nlink_t): Likewise.
84230         (blkcnt_t): Likewise.
84231         (blkcnt64_t): Likewise.
84232         * manual/llio.texi (off_t): Likewise.
84234         [BZ #3976]
84235         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
84236         (__ieee754_exp): Save and restore rounding mode and use
84237         round-to-nearest for all computations.
84238         * math/libm-test.inc (exp_test_tonearest): New function.
84239         (exp_test_towardzero): Likewise.
84240         (exp_test_downward): Likewise.
84241         (exp_test_upward): Likewise.
84242         (main): Call the new functions.
84243         * sysdeps/i386/fpu/libm-test-ulps: Update.
84244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84246 2012-03-01  Chris Demetriou  <cgd@google.com>
84248         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84249         have predictable order.
84251 2012-03-01  David S. Miller  <davem@davemloft.net>
84253         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
84255         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
84256         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
84257         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
84258         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
84260         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
84261         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
84262         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
84263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
84264         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
84265         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
84266         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
84267         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
84268         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
84270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84272         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
84273         * sysdeps/sparc/fpu/libm-test-ulps: to here.
84274         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84276         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84277         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84278         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84279         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84280         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84281         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84282         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84283         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84284         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84285         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84286         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84287         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84289         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84290         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84292         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84293         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84294         * sysdeps/sparc/elf/configure: Regenerated.
84296 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
84298         * configure.in (AS, LD): Require binutils 2.20 or later.
84299         * configure: Regenerated.
84300         * manual/install.texi (Tools for Compilation): Give binutils 2.20
84301         as required minimum version.
84302         * INSTALL: Regenerated.
84304         [BZ #2541]
84305         [BZ #4108]
84306         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84307         before squaring exponent.
84308         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84309         bottom long double and 27 bits of top long double before squaring
84310         exponent.
84311         * math/libm-test.inc (erfc_test): Add more tests.
84312         * sysdeps/i386/fpu/libm-test-ulps: Update.
84313         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84316 2012-03-01  Kai Tietz  <ktietz@redhat.com>
84318         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84319         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84320         containing bit-fields.
84321         * soft-fp/extended.h (_FP_UNION_E): Likewise.
84322         * soft-fp/single.h (_FP_UNION_S): Likewise.
84323         * soft-fp/double.h (_FP_UNION_D): Likewise.
84325 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84327         [BZ #13786]
84328         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84329         not include ../strcmp.S.
84330         [USE_AS_STRNCASECMP_L]: Likewise.
84331         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84332         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84333         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84334         (__strncasecmp_l_ia32): Define as alias to
84335         __strncasecmp_l_nonascii.
84337         [BZ #5794]
84338         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84339         * sysdeps/i386/fpu/libm-test-ulps: Update.
84340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84342         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84345 2012-02-29  Jeff Law  <law@redhat.com>
84347         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84348         out of bounds read.
84350 2012-02-29  Marek Polacek  <polacek@redhat.com>
84352         [BZ #13706]
84353         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84354         * elf/Makefile: Add rules to run tst-unused-dep.out.
84356 2012-02-28  David S. Miller  <davem@davemloft.net>
84358         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84359         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84360         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84361         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84362         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84363         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84365 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84367         * math/libm-test.inc (llround_test): Move one test from
84368         lround_test.  Use TEST_f_L in moved test.
84369         (lround_test): Move misplaced test to llround_test.  Add testcase
84370         from bug 2561.
84372 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84374         * sysdeps/x86_64/fpu/e_expf.S: New file.
84375         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84377 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84379         [BZ #13637]
84380         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84381         of remain_len that may cause incomplete multi-byte character and
84382         false match.
84383         * posix/bug-regex33.c: New file.
84384         * posix/Makefile (tests): Add bug-regex33.
84386 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84388         * manual/macros.texi: New file.
84389         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84390         * manual/libc.texinfo: Include macros.texi.
84391         * manual/creatute.texi: Likewise.
84392         * manual/install.texi: Likewise.
84393         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84394         @glibcadj{} in references to the GNU C Library.
84395         * manual/charset.texi: Likewise.
84396         * manual/conf.texi: Likewise.
84397         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84398         when not using those macros.
84399         * manual/creature.texi: Likewise.
84400         * manual/crypt.texi: Likewise.
84401         * manual/errno.texi: Likewise.
84402         * manual/filesys.texi: Likewise.
84403         * manual/header.texi: Likewise.
84404         * manual/install.texi: Likewise.
84405         * manual/intro.texi: Likewise.
84406         * manual/io.texi: Likewise.
84407         * manual/job.texi: Likewise.
84408         * manual/lang.texi: Likewise.
84409         * manual/libc.texiinfo: Likewise.
84410         * manual/llio.texi: Likewise.
84411         * manual/locale.texi: Likewise.
84412         * manual/maint.texi: Likewise.
84413         * manual/math.texi: Likewise.
84414         * manual/memory.texi: Likewise.
84415         * manual/message.texi: Likewise.
84416         * manual/nss.texi: Likewise.
84417         * manual/pattern.texi: Likewise.
84418         * manual/process.texi: Likewise.
84419         * manual/resource.texi: Likewise.
84420         * manual/search.texi: Likewise.
84421         * manual/setjmp.texi: Likewise.
84422         * manual/signal.texi: Likewise.
84423         * manual/socket.texi: Likewise.
84424         * manual/startup.texi: Likewise.
84425         * manual/stdio.texi: Likewise.
84426         * manual/string.texi: Likewise.
84427         * manual/sysinfo.texi: Likewise.
84428         * manual/syslog.texi: Likewise.
84429         * manual/terminal.texi: Likewise.
84430         * manual/time.texi: Likewise.
84431         * manual/users.texi: Likewise.
84432         * INSTALL: Regenerated.
84433         * NOTES: Regenerated.
84434         * sysdeps/gnu/errlist.c: Regenerated.
84436 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84438         * include/dirent.h: Include <dirstream.h> before
84439         <dirent/dirent.h>.
84441 2012-02-28  David S. Miller  <davem@davemloft.net>
84443         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84444         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84445         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84446         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84448 2012-02-27  David S. Miller  <davem@davemloft.net>
84450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84452         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84453         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84456         frame pointer instead of stack pointer relative arg slot.
84457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84458         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84459         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84461 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84463         [BZ #3992]
84464         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84466 2012-02-27  David S. Miller  <davem@davemloft.net>
84468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84472         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84473         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84474         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84475         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84477 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84479         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84480         later.  Allow versions 5-9.
84481         * configure: Regenerated.
84482         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84483         required minimum version and 4.6 as recommended version.  Do not
84484         mention bugs in GCC 2.7 and 2.8.
84485         * INSTALL: Regenerated.
84487 2012-02-27  David S. Miller  <davem@davemloft.net>
84489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84493         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84494         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84495         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84496         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84498         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84499         manipulate bits before adding and subtracting TWO112[sx].
84500         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84502 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84504         [BZ #13775]
84505         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84506         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84507         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84508         being in POSIX, because they are in 1003.1-2008.
84510         * rt/tst-aio.c: Include <fcntl.h>.
84511         * rt/tst-aio7.c: Likewise.
84512         * rt/tst-aio64.c: Likewise.
84514         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84516 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84518         * manual/install.texi (--with-headers): Describe headers as
84519         interface headers, not private headers.
84520         (Specific advice for GNU/Linux systems): Describe use of headers
84521         from "make headers_install", not private headers from older
84522         kernels.
84523         * INSTALL: Regenerated.
84524         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84525         Change to 2.6.19.
84526         * sysdeps/unix/sysv/linux/configure: Regenerated.
84528         * manual/llio.texi (fclean): Remove documentation.
84530         * manual/Makefile (libc-texi-generated): New variable.  Include
84531         version.texi.
84532         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84533         $(libc-texi-generated), not duplicated list of files.
84534         (version.texi, stamp-version): New rules.
84535         (realclean): Remove $(libc-texi-generated), not individual files
84536         from that list.  Do not remove dir-add.texinfo.
84537         * manual/libc.texinfo: Comment out uses of edition numbers and
84538         references to printed manual.  Remove last-updated dates.
84539         (EDITION): Comment out.
84540         (ISBN): Likewise.
84541         (VERSION, UPDATED): Remove.
84542         (version.texi): Include.
84544 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84546         * sysdeps/posix/spawni.c: Include <signal.h>.
84547         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84548         * sysdeps/pthread/aio_fsync.c: Likewise.
84550 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84552         * conform/Makefile (tests): Run only when not cross-compiling and
84553         when fast-check is not defined.
84555         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84556         * conform/data/limits.h-data: Fixes for POSIX2008.
84557         * conform/run-conformtest.sh: Run all tests.
84558         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84559         headers.
84560         * include/bits/dlfcn.h: Likewise.
84561         * include/langinfo.h: Likewise.
84562         * include/monetary.h: Likewise.
84563         * include/sys/poll.h: Likewise.
84565         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84566         for __USE_GNU.
84567         * posix/spawn.h: Define __need_sigset_t.
84568         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84569         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84570         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84571         to get sigevent_t only.
84572         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84573         only for __USE_GNU.
84574         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84575         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84576         process_vm_writev only for __USE_GNU.
84577         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84579         * conform/Makefile: For now ignore errors from run-conformtest.
84580         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84581         POSIX to avoid namespace pollution.  Don't prepend headers.
84582         * conform/data/aio.h-data: Fixes for POSIX testing.
84583         * conform/data/fcntl.h-data: Likewise.
84584         * conform/data/glob.h-data: Likewise.
84585         * conform/data/grp.h-data: Likewise.
84586         * conform/data/pthread.h-data: Likewise.
84587         * conform/data/pwd.h-data: Likewise.
84588         * conform/data/signal.h-data: Likewise.
84589         * conform/data/spawn.h-data: Likewise.
84590         * conform/data/stdio.h-data: Likewise.
84591         * conform/data/stdlib.h-data: Likewise.
84592         * conform/data/stropts.h-data: Likewise.
84593         * conform/data/sys/mman.h-data: Likewise.
84594         * conform/data/sys/stat.h-data: Likewise.
84595         * conform/data/sys/types.h-data: Likewise.
84596         * conform/data/sys/wait.h-data: Likewise.
84597         * conform/data/time.h-data: Likewise.
84598         * conform/data/unistd.h-data: Likewise.
84599         * conform/data/utime.h-data: Likewise.
84601         * io/sys/stat.h: fchmod was always in POSIX.
84602         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84603         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84604         * rt/aio.h: Define __need_timespec before including <time.h>.
84605         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84606         struct.  Add forward declaration of pthread_attr_t and use it in
84607         sigevent.
84608         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84609         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84610         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84611         always remove CLK_TCK definition.
84613 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84615         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84617 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84619         * conform/run-conformtest.sh: New file.
84620         * conform/Makefile: Run run-conformtest for tests.
84621         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
84622         support.
84624         * conform/data/uchar.h-data: New file.
84625         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84626         * conform/data/arpa/inet.h-data: Likewise.
84627         * conform/data/assert.h-data: Likewise.
84628         * conform/data/complex.h-data: Likewise.
84629         * conform/data/cpio.h-data: Likewise.
84630         * conform/data/ctype.h-data: Likewise.
84631         * conform/data/dirent.h-data: Likewise.
84632         * conform/data/dlfcn.h-data: Likewise.
84633         * conform/data/errno.h-data: Likewise.
84634         * conform/data/fcntl.h-data: Likewise.
84635         * conform/data/float.h-data: Likewise.
84636         * conform/data/fmtmsg.h-data: Likewise.
84637         * conform/data/fnmatch.h-data: Likewise.
84638         * conform/data/ftw.h-data: Likewise.
84639         * conform/data/glob.h-data: Likewise.
84640         * conform/data/grp.h-data: Likewise.
84641         * conform/data/iconv.h-data: Likewise.
84642         * conform/data/inttypes.h-data: Likewise.
84643         * conform/data/langinfo.h-data: Likewise.
84644         * conform/data/libgen.h-data: Likewise.
84645         * conform/data/limits.h-data: Likewise.
84646         * conform/data/locale.h-data: Likewise.
84647         * conform/data/math.h-data: Likewise.
84648         * conform/data/monetary.h-data: Likewise.
84649         * conform/data/mqueue.h-data: Likewise.
84650         * conform/data/ndbm.h-data: Likewise.
84651         * conform/data/net/if.h-data: Likewise.
84652         * conform/data/netdb.h-data: Likewise.
84653         * conform/data/netinet/in.h-data: Likewise.
84654         * conform/data/nl_types.h-data: Likewise.
84655         * conform/data/poll.h-data: Likewise.
84656         * conform/data/pthread.h-data: Likewise.
84657         * conform/data/pwd.h-data: Likewise.
84658         * conform/data/regex.h-data: Likewise.
84659         * conform/data/sched.h-data: Likewise.
84660         * conform/data/search.h-data: Likewise.
84661         * conform/data/semaphore.h-data: Likewise.
84662         * conform/data/setjmp.h-data: Likewise.
84663         * conform/data/signal.h-data: Likewise.
84664         * conform/data/spawn.h-data: Likewise.
84665         * conform/data/stdarg.h-data: Likewise.
84666         * conform/data/stdio.h-data: Likewise.
84667         * conform/data/stdlib.h-data: Likewise.
84668         * conform/data/string.h-data: Likewise.
84669         * conform/data/strings.h-data: Likewise.
84670         * conform/data/stropts.h-data: Likewise.
84671         * conform/data/sys/ipc.h-data: Likewise.
84672         * conform/data/sys/mman.h-data: Likewise.
84673         * conform/data/sys/msg.h-data: Likewise.
84674         * conform/data/sys/resource.h-data: Likewise.
84675         * conform/data/sys/select.h-data: Likewise.
84676         * conform/data/sys/sem.h-data: Likewise.
84677         * conform/data/sys/shm.h-data: Likewise.
84678         * conform/data/sys/socket.h-data: Likewise.
84679         * conform/data/sys/stat.h-data: Likewise.
84680         * conform/data/sys/statvfs.h-data: Likewise.
84681         * conform/data/sys/time.h-data: Likewise.
84682         * conform/data/sys/timeb.h-data: Likewise.
84683         * conform/data/sys/times.h-data: Likewise.
84684         * conform/data/sys/types.h-data: Likewise.
84685         * conform/data/sys/uio.h-data: Likewise.
84686         * conform/data/sys/un.h-data: Likewise.
84687         * conform/data/sys/utsname.h-data: Likewise.
84688         * conform/data/sys/wait.h-data: Likewise.
84689         * conform/data/syslog.h-data: Likewise.
84690         * conform/data/tar.h-data: Likewise.
84691         * conform/data/termios.h-data: Likewise.
84692         * conform/data/utime.h-data: Likewise.
84693         * conform/data/utmpx.h-data: Likewise.
84694         * conform/data/varargs.h-data: Likewise.
84695         * conform/data/wchar.h-data: Likewise.
84696         * conform/data/wctype.h-data: Likewise.
84697         * conform/data/wordexp.h-data: Likewise.
84699         * include/stropts.h: New file.
84700         * include/uchar.h: New file.
84701         * include/aio.h: Changes to allow conformtest.pl to use the headers.
84702         * include/assert.h: Likewise.
84703         * include/ctype.h: Likewise.
84704         * include/dirent.h: Likewise.
84705         * include/dlfcn.h: Likewise.
84706         * include/fcntl.h: Likewise.
84707         * include/fnmatch.h: Likewise.
84708         * include/glob.h: Likewise.
84709         * include/grp.h: Likewise.
84710         * include/libio.h: Likewise.
84711         * include/locale.h: Likewise.
84712         * include/math.h: Likewise.
84713         * include/net/if.h: Likewise.
84714         * include/netdb.h: Likewise.
84715         * include/netinet/in.h: Likewise.
84716         * include/pthread.h: Likewise.
84717         * include/pwd.h: Likewise.
84718         * include/regex.h: Likewise.
84719         * include/sched.h: Likewise.
84720         * include/search.h: Likewise.
84721         * include/setjmp.h: Likewise.
84722         * include/signal.h: Likewise.
84723         * include/stdio.h: Likewise.
84724         * include/stdlib.h: Likewise.
84725         * include/string.h: Likewise.
84726         * include/sys/cdefs.h: Likewise.
84727         * include/sys/mman.h: Likewise.
84728         * include/sys/msg.h: Likewise.
84729         * include/sys/resource.h: Likewise.
84730         * include/sys/select.h: Likewise.
84731         * include/sys/socket.h: Likewise.
84732         * include/sys/stat.h: Likewise.
84733         * include/sys/statvfs.h: Likewise.
84734         * include/sys/time.h: Likewise.
84735         * include/sys/times.h: Likewise.
84736         * include/sys/uio.h: Likewise.
84737         * include/sys/utsname.h: Likewise.
84738         * include/sys/wait.h: Likewise.
84739         * include/termios.h: Likewise.
84740         * include/time.h: Likewise.
84741         * include/ulimit.h: Likewise.
84742         * include/unistd.h: Likewise.
84743         * include/utime.h: Likewise.
84744         * include/wchar.h: Likewise.
84745         * include/wctype.h: Likewise.
84746         * include/wordexp.h: Likewise.
84748         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
84750         * time/time.h: TIME_UTC must be a macro.
84751         Make timespec_get available for ISO C11 only as well.
84753 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
84755         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
84756         Reported by Peng Haitao <penght@cn.fujitsu.com>.
84758 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84760         * configure.in: Use -o not -a in test for unsupported multi-arch.
84762 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84764         * manual/texinfo.tex: Update to version 2012-01-19.16.
84766 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84768         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
84770 2012-02-24  Roland McGrath  <roland@hack.frob.com>
84772         [BZ #13738]
84773         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
84774         * manual/fdl-1.3.texi: New file.
84775         * manual/fdl-1.1.texi: File removed.
84777         [BZ #13738]
84778         * manual/libc.texinfo (FDL_VERSION): New @set.
84779         Use it for mention of FDL in cover text.
84780         (Documentation License): Use it in @include file name.
84782 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84783             Roland McGrath  <roland@hack.frob.com>
84785         [BZ #5461]
84786         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
84787         (not LONG_LONG_MAX and LONG_LONG_MIN.
84788         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
84789         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
84790         name.
84791         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
84793 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84795         [BZ #2547]
84796         [BZ #11365]
84797         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
84798         manipulate bits before adding and subtracting TWO23[sx].
84799         * math/libm-test.inc (nearbyint_test): Add more tests.
84801 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84803         [BZ #2548]
84804         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
84805         bits before adding and subtracting TWO23[sx].
84806         * math/libm-test.inc (rint_test): Add more tests.
84807         (rint_test_tonearest): Likewise.
84808         (rint_test_towardzero): Likewise.
84809         (rint_test_downward): Likewise.
84810         (rint_test_upward: Likewise.
84812 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84814         [BZ #10110]
84815         * include/stdc-predef.h: New file.  Extracted from features.h.
84816         * include/features.h: Include stdc-predef.h.
84817         * Makefile (headers): Add stdc-predef.h.
84818         * CONFORMANCE (Compiler limitations): Update.
84820 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84822         * manual/libc.texinfo (VERSION, UPDATED): Revert.
84824 2012-02-21  David S. Miller  <davem@davemloft.net>
84826         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
84827         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84829 2012-02-20  David S. Miller  <davem@davemloft.net>
84831         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
84832         using a normal save/restore sequence, rather than allocating a
84833         dummy stack frame just to store a frame pointer and restore.
84834         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84836 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84838         * manual/install.texi: Fix stray word in line-wrapped comment.
84840 2012-02-20  David S. Miller  <davem@davemloft.net>
84842         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
84843         both binutils and gcc support GOTDATA.
84845         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
84846         "rd %pc" in the PIC register setup sequences.
84848         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
84849         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
84850         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84851         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
84852         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84854         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84855         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
84857         (SYSCALL_ERROR_HANDLER): Likewise.
84858         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84859         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84860         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
84861         (SYSCALL_ERROR_HANDLER): Likewise.
84863         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
84864         (HAVE_GCC_GOTDATA): New.
84865         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
84866         relocation support in both binutils and gcc.
84867         * sysdeps/sparc/elf/configure: Regenerate.
84869         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
84870         * sysdeps/sparc/sparc32/elf/configure: Delete.
84871         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
84872         * sysdeps/sparc/sparc64/elf/configure: Delete.
84873         * sysdeps/sparc/elf/configure.in: New file.
84874         * sysdeps/sparc/elf/configure: Generate.
84876         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
84877         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
84878         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84879         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
84880         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
84882 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84884         * manual/install.texi: Do not mention specific glibc version
84885         numbers.
84886         * manual/libc.texinfo (VERSION, UPDATED): Update.
84887         (@copying): Use @copyright{} and range of years.
84889 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84891         [BZ #13695]
84892         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
84893         [crti.S not in sysdirs] (generated): Do not append.
84894         [crti.S not in sysdirs] (omit-deps): Likewise.
84895         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
84896         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
84897         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
84898         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
84899         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
84900         Likewise.
84901         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
84902         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
84903         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
84904         * csu/defs.awk: Remove file.
84905         * sysdeps/generic/initfini.c: Likewise.
84906         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
84907         variable.
84908         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
84909         Likewise.
84911 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84913         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
84914         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
84915         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
84916         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
84917         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84918         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84919         <bits/epoll.h>.
84920         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84921         (__EPOLL_PACKED): Define to empty if not defined by
84922         <bits/epoll.h>.
84923         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84925         bits/epoll.h.
84927 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84929         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84930         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84931         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84932         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84933         <bits/timerfd.h>.
84934         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84936         bits/timerfd.h.
84938 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84940         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84941         in C locale.
84942         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84943         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84944         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84947 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
84949         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84950         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84952 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84954         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84955         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84956         defined.
84957         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84958         Likewise.
84959         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84960         entry for 2.16.
84962 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84964         * math/w_acos.c: Use non-signaling floating-point comparisons.
84965         * math/w_acosf.c: Likewise.
84966         * math/w_acosh.c: Likewise.
84967         * math/w_acoshf.c: Likewise.
84968         * math/w_acoshl.c: Likewise.
84969         * math/w_acosl.c: Likewise.
84970         * math/w_asin.c: Likewise.
84971         * math/w_asinf.c: Likewise.
84972         * math/w_asinl.c: Likewise.
84973         * math/w_atanh.c: Likewise.
84974         * math/w_atanhf.c: Likewise.
84975         * math/w_atanhl.c: Likewise.
84976         * math/w_exp2.c: Likewise.
84977         * math/w_exp2f.c: Likewise.
84978         * math/w_exp2l.c: Likewise.
84979         * math/w_j0.c: Likewise.
84980         * math/w_j0f.c: Likewise.
84981         * math/w_j0l.c: Likewise.
84982         * math/w_j1.c: Likewise.
84983         * math/w_j1f.c: Likewise.
84984         * math/w_j1l.c: Likewise.
84985         * math/w_jn.c: Likewise.
84986         * math/w_jnf.c: Likewise.
84987         * math/w_log.c: Likewise.
84988         * math/w_log10.c: Likewise.
84989         * math/w_log10f.c: Likewise.
84990         * math/w_log10l.c: Likewise.
84991         * math/w_log2.c: Likewise.
84992         * math/w_log2f.c: Likewise.
84993         * math/w_log2l.c: Likewise.
84994         * math/w_logf.c: Likewise.
84995         * math/w_logl.c: Likewise.
84996         * math/w_sqrt.c: Likewise.
84997         * math/w_sqrtf.c: Likewise.
84998         * math/w_sqrtl.c: Likewise.
84999         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85000         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
85001         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85002         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85003         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85005 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85007         [BZ #9739]
85008         * manual/string.texi (strnlen): Use correct parameter name in
85009         equivalent expression.
85011 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85013         [BZ #11174]
85014         * manual/users.texi (seteuid): Consistently use neweuid for
85015         argument name.
85017 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85019         [BZ #13704]
85020         * manual/nss.texi (Services in the NSS configuration): Correct
85021         list of services in example configuration file.
85023 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
85025         [BZ #11322]
85026         * manual/arith.texi: Remove statements about negative zero
85027         behaving identically to zero.
85029 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85031         [BZ #5993]
85032         * manual/install.texi: Do not document upgrading from libc5.
85034 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85036         [BZ #4596]
85037         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
85039 2012-02-18  David S. Miller  <davem@davemloft.net>
85041         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
85042         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
85043         %o7 across the call.
85044         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
85045         instead.
85046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
85047         SETUP_PIC_REG_LEAF.
85048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85049         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
85050         * sysdeps/sparc/crtn.S: Likewise.
85052 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
85054         * aout/Makefile: Remove.
85056 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
85058         [BZ #13058]
85059         * manual/examples/argp-ex1.c (main): Format definition in GNU
85060         style.
85061         * manual/examples/argp-ex2.c (main): Likewise.
85062         * manual/examples/argp-ex3.c (main): Likewise.
85063         * manual/examples/argp-ex4.c (main): Likewise.
85064         * manual/examples/longopt.c (main): Use new-style prototype
85065         definition.
85066         * manual/examples/strncat.c (main): Specify return type and use
85067         (void) for arguments.
85068         * manual/examples/subopt.c (main): Use char **argv argument.
85070 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85072         [BZ #5077]
85073         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
85074         rounding modes.
85076 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
85078         [BZ #6907]
85079         * manual/string.texi (strchr): Change when strchrnul is
85080         recommended.
85082 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
85084         [BZ #174]
85085         * manual/locale.texi (setlocale): Document LOCPATH.
85087 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85089         [BZ #10210]
85090         * manual/process.texi (execle): Move @dots{} before last argument.
85092 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
85094         [BZ #12047]
85095         * manual/charset.texi (Generic Charset Conversion): Fix typo
85096         (LC_TYPE -> LC_CTYPE).
85098 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
85100         [BZ #5805]
85101         * manual/arith.texi (scalbn): Use @var{} on parameter names.
85102         (scalbnf): Likewise.
85103         (scalbnl): Likewise.
85104         (scalbln): Likewise.
85105         (scalblnf): Likewise.
85106         (scalblnl): Likewise.
85107         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
85108         (vwarnx): Likewise.
85109         (verr): Likewise.
85110         (verrx): Likewise.
85111         * manual/filesys.texi (telldir): Use braces around return type.
85112         * manual/llio.texi (mmap): Add space after comma.
85113         (mmap64): Likewise.
85114         * manual/math.texi (jn): Use @var{} on parameter names.
85115         (jnf): Likewise.
85116         (jnl): Likewise.
85117         (yn): Likewise.
85118         (ynf): Likewise.
85119         (ynl): Likewise.
85120         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
85121         line.
85122         * manual/resource.texi (ulimit): Use @dots{} instead of literal
85123         "...".
85124         (sched_get_priority_min): Remove semicolon on @deftypefun line.
85125         (sched_get_priority_max): Likewise.
85126         * manual/signal.texi (sigvec): Add space after comma.
85127         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
85128         names.
85129         (if_indextoname): Likewise.
85130         (if_freenameindex): Likewise.
85131         (sendto): Use ',' instead of '.' in prototype.
85132         * manual/startup.texi (syscall): Use @dots{} instead of literal
85133         "...".
85134         * manual/stdio.texi (__fpending): Separate initial words of
85135         paragraph from @deftypefun line.
85136         * manual/syslog.texi (syslog): Use @dots{} instead of literal
85137         "...".
85138         (vsyslog): Use @var{} on parameter names.
85139         * manual/terminal.texi (stty): Use @var{} on parameter names.
85140         * manual/users.texi (getutmp): Use @var{} on parameter names.
85141         (getutmpx): Likewise.
85143 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85145         [BZ #6884]
85146         * manual/stdio.texi (fopen): Fix typos in description of
85147         ",ccs=STRING".
85149 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
85151         [BZ #4026]
85152         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
85153         get clock_id definition.
85155 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
85157         [BZ #4822]
85158         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
85159         (madvise): Cast every argument to void on its own.
85161 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85163         [BZ #9902]
85164         * manual/startup.texi (Exit Status): Fix typo.
85166 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85168         [BZ #10140]
85169         * manual/examples/argp-ex1.c: Include <stdlib.h>.
85170         * manual/examples/argp-ex2.c: Likewise.
85171         * manual/examples/argp-ex3.c: Likewise.
85173 2012-02-16  Richard Henderson  <rth@redhat.com>
85175         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85176         * sysdeps/s390/s390-32/initfini.c: Remove.
85177         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85178         * sysdeps/s390/s390-64/initfini.c: Remove.
85180 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
85182         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85183         compiler output for sysdeps/generic/initfini.c.
85184         * sysdeps/sh/elf/initfini.c: Remove file.
85186 2012-02-16  David S. Miller  <davem@davemloft.net>
85188         [BZ #11494]
85189         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85191         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85192         * sysdeps/sparc/crti.S: New file.
85193         * sysdeps/sparc/crtn.S: New file.
85194         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85195         * sysdeps/sparc/sparc64/Makefile: Likewise.
85197 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
85199         [BZ #3335]
85200         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
85202 2012-02-15  Roland McGrath  <roland@hack.frob.com>
85204         [BZ #4822]
85205         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
85207         * mach/devstream.c (cookie_io_functions_t): Macro removed.
85208         (write, read, close): Likewise.
85209         Patch by Aurelien Jarno <aurelien@aurel32.net>.
85211 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
85213         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
85214         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
85215         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
85216         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
85217         <bits/signalfd.h>.
85218         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
85219         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85220         bits/signalfd.h.
85222 2012-02-14  Marek Polacek  <polacek@redhat.com>
85224         * sysdeps/x86_64/crti.S: New file.
85225         * sysdeps/x86_64/crtn.S: New file.
85226         * sysdeps/x86_64/elf/initfini.c: Remove file.
85228 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85230         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
85231         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
85232         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
85233         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
85234         <bits/inotify.h>.
85235         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
85236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85237         bits/inotify.h.
85239 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85241         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
85242         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
85243         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
85244         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
85245         <bits/eventfd.h>.
85246         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
85247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85248         bits/eventfd.h.
85250 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
85252         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
85253         __feraiseexcept instead of feraiseexcept.
85255         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
85256         nanosleep invocations.
85257         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
85258         strings, and add error checking for a nanosleep invocations.
85260 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
85262         Replace FSF snail mail address with URLs, as per GNU coding standards.
85263         Most of the snail mail addresses were wrong anyway, and omitting
85264         them makes the source code easier to maintain.  Almost all of the
85265         changes are to license notices and to locale LC_IDENTIFICATION
85266         addresses, except for this one:
85267         * manual/libc.texinfo: In "Published by", give the FSF's URL,
85268         not its snail mail address.
85270 2012-02-09  Richard Henderson  <rth@twiddle.net>
85272         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
85273         of kernel-features.h.
85275         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85277 2012-02-08  Marek Polacek  <polacek@redhat.com>
85279         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85280         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85281         * sysdeps/gnu/_G_config.h: Likewise.
85282         * sysdeps/generic/_G_config.h: Likewise.
85284 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
85286         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85287         tests.
85288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85290         * sysdeps/powerpc/powerpc32/crti.S: New file.
85291         * sysdeps/powerpc/powerpc32/crtn.S: New file.
85292         * sysdeps/powerpc/powerpc64/crti.S: New file.
85293         * sysdeps/powerpc/powerpc64/crtn.S: New file.
85295         * Makeconfig (have-initfini): Don't set.
85296         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85297         * configure.in (nopic_initfini): Don't substitute.
85298         * config.h.in (HAVE_INITFINI): Don't #undef.
85299         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85300         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85302 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
85304         Support crti.S and crtn.S provided directly by architectures.
85305         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85306         [crti.S in sysdirs] (omit-deps): Likewise.
85307         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85308         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85309         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85310         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85311         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85312         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85313         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85314         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85315         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85316         compiler output for sysdeps/generic/initfini.c.
85317         * sysdeps/i386/elf/Makefile: Remove file.
85318         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85320 2012-02-07  Marek Polacek  <polacek@redhat.com>
85322         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85323         * sysdeps/gnu/_G_config.h: Likewise.
85324         * sysdeps/mach/hurd/_G_config.h: Likewise.
85326 2012-02-07  Marek Polacek  <polacek@redhat.com>
85328         * math/Makefile (tests): Add tst-CMPLX2.
85329         * math/tst-CMPLX2.c: New file.
85331 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85333         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85335         * math/libm-test.inc (jn_test): Add missing L suffix.
85337 2012-02-06  Marek Polacek  <polacek@redhat.com>
85339         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85340         * sysdeps/i386/fpu/e_powf.S: Likewise.
85341         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85342         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85343         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85344         * sysdeps/i386/fpu/e_pow.S: Likewise.
85345         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85346         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85347         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85348         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85349         * sysdeps/i386/fpu/e_log2.S: Likewise.
85350         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85351         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85352         * sysdeps/i386/fpu/e_powl.S: Likewise.
85353         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85354         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85355         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85356         * sysdeps/i386/fpu/e_logl.S: Likewise.
85357         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85358         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85359         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85360         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85361         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85362         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85363         * sysdeps/i386/fpu/e_log.S: Likewise.
85364         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85365         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85366         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85367         * sysdeps/i386/fpu/e_logf.S: Likewise.
85368         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85369         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85370         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85371         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85372         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85373         * sysdeps/i386/fpu/e_log10.S: Likewise.
85374         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85375         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85376         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85377         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85378         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85379         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85380         * sysdeps/i386/asm-syntax.h: Likewise.
85381         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85382         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85383         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85384         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85385         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85386         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85387         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85388         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85389         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85390         * sysdeps/powerpc/sysdep.h: Likewise.
85391         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85392         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85394 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85396         [BZ #411]
85397         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85399 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85401         * sysdeps/i386/sysdep.h: Include <features.h>.
85402         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85403         version.
85405 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85407         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85408         Define.
85409         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85410         LOAD_PIC_REG_STR.
85412 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85414         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85415         (SETUP_PIC_REG): Use GET_PC_THUNK.
85416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85417         macro.
85419 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85421         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85422         for non-PIC compilation.
85423         (SETUP_PIC_REG): Add .p2align directive.
85424         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85425         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85426         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85427         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85428         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85429         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85430         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85431         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85432         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85433         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85434         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85435         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85436         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85437         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85438         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85439         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85440         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85441         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85442         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85443         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85444         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85445         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85446         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85447         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85448         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85450         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85451         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85452         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85453         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85454         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85455         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85456         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85457         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85458         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85459         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85460         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85461         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85462         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85463         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85464         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85466 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85468         * math/tst-CMPLX.c: Include <stdio.h>.
85470 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85472         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85473         float.
85474         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85475         * sysdeps/sparc/bits/mathdef.h: Likewise.
85477 2012-01-31  Marek Polacek  <polacek@redhat.com>
85479         * libio/libio.h: Don't define _PARAMS.
85480         * locale/programs/config.h: Don't define PARAMS.
85481         * stdlib/strtol_l.c: Likewise.
85482         (__strtol_l): Remove PARAMS from the prototype.
85484 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85486         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85487         names.  Just use the correct names.  Remove unnecessary wrapper
85488         functions.
85489         * malloc/arena.c: Likewise.
85490         * malloc/hooks.c: Likewise.
85492         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85493         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85494         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85496 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85498         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85499         into tail calls.
85500         (update_get_addr): New function.
85501         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85502         GET_ADDR_MODULE parameter.
85504 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85506         * crypt/cert.c: Remove __STDC__ conditionals.
85507         * crypt/crypt-entry.c: Likewise.
85508         * crypt/crypt_util.c: Likewise.
85509         * libio/filedoalloc.c: Likewise.
85510         * libio/fileops.c: Likewise.
85511         * libio/genops.c: Likewise.
85512         * libio/iofclose.c: Likewise.
85513         * libio/iofdopen.c: Likewise.
85514         * libio/iofopen.c: Likewise.
85515         * libio/iofopen64.c: Likewise.
85516         * libio/iogetdelim.c: Likewise.
85517         * libio/iopopen.c: Likewise.
85518         * libio/obprintf.c: Likewise.
85519         * libio/oldfileops.c: Likewise.
85520         * libio/oldiofclose.c: Likewise.
85521         * libio/oldiofdopen.c: Likewise.
85522         * libio/oldiofopen.c: Likewise.
85523         * libio/oldiopopen.c: Likewise.
85524         * libio/wfiledoalloc.c: Likewise.
85525         * libio/wgenops.c: Likewise.
85526         * locale/programs/xmalloc.c: Likewise.
85527         * misc/syslog.c: Likewise.
85528         * stdio-common/xbug.c: Likewise.
85529         * string/memchr.c: Likewise.
85530         * string/memcmp.c: Likewise.
85531         * string/memrchr.c: Likewise.
85532         * string/rawmemchr.c: Likewise.
85533         * sysdeps/posix/getcwd.c: Likewise.
85534         * time/strftime_l.c: Likewise.
85536 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85538         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85539         * config.make.in (config-cflags-sse2avx): Define.
85540         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85541         Fix typo.
85543 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85545         * scripts/config.guess: Update from upstream config git repository.
85546         * scripts/config.sub: Likewise.
85548 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85550         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85551         (EM_NUM): Update.
85552         (R_TILEPRO_*, R_TILEGX_*): New macros.
85554         * scripts/firstversions.awk: Fix bug in version range handling.
85556         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85558         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85560         * include/sys/epoll.h: New file.
85561         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85562         libc_hidden_def.
85564 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85566         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85567         Avoid unnecessary __WORDSIZE == 64 test.
85568         (fmaxf): Use VEX format if possible.
85569         (fmax): Likewise.
85570         (fminf): Likewise.
85571         (fmin): Likewise.
85573         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85574         * math/math_private.h: Remove libc_fegetround* and
85575         libc_fesetround*.
85576         * sysdeps/i386/configure.in: Check for -msse2avx.
85577         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85578         also if SSE2AVX is defined.
85579         Remove libc_fegetround* and libc_fesetround*.
85580         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85581         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85582         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85583         of HAS_YMM_USABLE.
85584         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85585         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85586         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85587         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85588         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85590         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85592 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85594         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85595         size is not set.
85596         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85598 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85600         [BZ #13618]
85601         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85602         relocation.
85603         * Makeconfig (libm): Define.
85604         * elf/Makefile: Add rules to build and run tst-relsort1.
85605         * elf/tst-relsort1.c: New file.
85606         * elf/tst-relsort1mod1.c: New file.
85607         * elf/tst-relsort1mod2.c: New file.
85609 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85611         * math/s_ldexp.c: Remove __STDC__ conditionals.
85612         * math/s_ldexpf.c: Likewise.
85613         * math/s_ldexpl.c: Likewise.
85614         * math/s_nextafter.c: Likewise.
85615         * math/s_nexttowardf.c: Likewise.
85616         * math/s_significand.c: Likewise.
85617         * math/s_significandf.c: Likewise.
85618         * math/s_significandl.c: Likewise.
85619         * math/w_jnl.c: Likewise.
85620         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85621         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85622         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85623         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85624         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85625         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85626         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85627         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85628         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85629         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85630         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85631         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85632         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85633         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85634         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85635         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85636         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85637         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85638         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85639         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85640         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85641         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85642         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85643         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85644         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85645         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85646         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85647         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85648         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85649         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85650         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85651         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85652         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85653         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85654         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85655         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85656         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85657         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85658         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85659         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85660         * sysdeps/ieee754/k_standard.c: Likewise.
85661         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85662         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85663         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85664         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85665         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85666         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85667         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85668         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85669         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85670         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85671         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85672         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85673         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85674         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85675         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85676         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85677         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85678         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85679         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85680         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85681         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85682         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85683         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85684         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85685         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85686         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85687         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85688         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85689         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85690         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85691         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85692         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
85693         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85694         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85695         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85696         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85697         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
85698         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85699         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85700         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
85701         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
85702         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85703         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
85704         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
85705         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85706         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
85707         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
85708         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85709         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85710         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
85711         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
85712         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85713         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85714         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85715         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85716         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85717         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
85718         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85719         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85720         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85721         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85722         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85723         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85724         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85725         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85726         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85727         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85728         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85729         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85730         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85731         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85732         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85733         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85734         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85735         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85736         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85737         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85738         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85739         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85740         * sysdeps/ieee754/s_matherr.c: Likewise.
85741         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85742         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85743         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85744         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85746 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85748         * crypt/md5.h: Remove __STDC__ conditionals.
85749         * libio/libioP.h: Likewise.
85750         * locale/programs/config.h: Likewise.
85751         * sysdeps/generic/sysdep.h: Likewise.
85752         * sysdeps/i386/asm-syntax.h: Likewise.
85753         * sysdeps/s390/asm-syntax.h: Likewise.
85754         * sysdeps/unix/sysdep.h: Likewise.
85755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
85756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
85758 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85760         * libio/libio.h: Remove __STDC__ conditionals.
85761         * malloc/obstack.h: Likewise.
85762         * math/complex.h: Likewise.
85763         * math/math.h: Likewise.
85764         * sysdeps/generic/_G_config.h: Likewise.
85765         * sysdeps/gnu/_G_config.h: Likewise.
85766         * sysdeps/mach/hurd/_G_config.h: Likewise.
85767         * sysdeps/powerpc/bits/mathdef.h: Likewise.
85768         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85769         * sysdeps/sparc/bits/mathdef.h: Likewise.
85771 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
85773         [BZ #13583]
85774         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
85775         Clean up HAS_* macros.
85776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
85777         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
85778         possible.
85779         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
85780         HAS_AVX.
85781         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85782         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85783         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85784         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85785         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85787 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
85789         * elf/tst-unique3.cc (gets): Remove declaration.
85790         * elf/tst-unique3lib.cc (gets): Likewise.
85791         * elf/tst-unique3lib2.cc (gets): Likewise.
85792         * elf/tst-unique4.cc (gets): Likewise.
85794 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
85796         * include/stdio.h: Add C++ protection.  Add gets declarations and
85797         definitions.
85798         * debug/tst-chk1.c: Don't declare gets here.
85799         * stdio-common/tst-gets.c: Likewise.
85801 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85803         * posix/glob: Remove directory.
85805 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85807         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
85809 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
85811         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
85812         of the non-standard EPFNOSUPPORT.
85814 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85816         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
85817         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
85818         ANYWHERE set to 1 only on KERN_NO_SPACE error.
85820 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
85822         * wcsmbs/uchar.h: Test __STDC_VERSION__.
85824 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
85826         * nscd/aicache.c (addhstaiX): Do not cache negative results of
85827         transient errors.
85828         * nscd/grpcache.c (cache_addgr): Likewise.
85829         * nscd/hstcache.c (cache_addhst): Likewise.
85830         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85831         * nscd/pwdcache.c (cache_addpw): Likewise.
85832         * nscd/servicescache.c (cache_addserv): Likewise.
85834 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
85836         * malloc/malloc.c: Various cleanups.
85837         * malloc/hooks.c: Likewise.
85839         * stdlib/Makefile (tests): Add bug-fmtmsg1.
85840         * stdlib/bug-fmtmsg1.c: New file.
85842         * stdlib/fmtmsg.c (init): Add missing unlock.
85843         Patch by Peng Haitao <penght@cn.fujitsu.com>.
85845 2012-01-12  Marek Polacek  <polacek@redhat.com>
85847         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
85848         and _GNU_SOURCE.
85850 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85852         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
85853         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
85854         macro to ensure uniqueness of label name.
85855         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85856         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85858 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
85860         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
85862         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
85863         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85864         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85865         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
85867 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
85869         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
85871         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
85872         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85873         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85875         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
85877         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
85878         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85879         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85880         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
85882         * math/bits/math-finite.h: Add ldexp support.
85884 2012-01-10  Marek Polacek  <polacek@redhat.com>
85886         * locale/programs/localedef.h (show_archive_content): Add noreturn
85887         attribute.
85889 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
85891         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
85893 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85895         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
85897         * io/Makefile (headers): Add bits/poll2.h.
85899 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
85901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
85902         typo #include statement.
85904 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85906         * include/sys/cdefs.h: Define __attribute_alloc_size.
85907         * catgets/gencat.c: Add alloc_size attribute and apply consistently
85908         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
85909         * elf/pldd.c: Likewise.
85910         * iconv/iconv_charmap.c: Likewise.
85911         * iconv/iconvconfig.c: Likewise.
85912         * iconv/strtab.c: Likewise.
85913         * locale/programs/locale.c: Likewise.
85914         * locale/programs/localedef.h: Likewise.
85915         * locale/programs/simple-hash.c: Likewise.
85916         * nscd/nscd.h: Likewise.
85917         * nss/makedb.c: Likewise.
85918         * sysdeps/generic/ldconfig.h: Likewise.
85919         * locale/programs/localedef.c: Remove xmalloc prototype.
85920         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85922 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85924         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85925         appropriate.
85927 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85929         * math/Makefile (tests): Add tst-CMPLX.
85930         * math/tst-CMPLX.c: New file.
85932         * math/complex.h (CMPLXL): Fix typo.
85934         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85935         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85936         GLIBC_2.16.
85937         * debug/tst-chk1.c: Add poll and ppoll tests.
85938         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85939         * include/sys/poll.h: Add hidden proto for ppoll.
85940         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85941         * sysdeps/mach/hurd/ppoll.c: Likewise.
85942         * io/ppoll.c: Likewise.
85943         * debug/poll_chk.c: New file.
85944         * debug/ppoll_chk.c: New file.
85945         * include/bits/poll2.h: New file.
85946         * io/bits/poll2.h: New file.
85948         [BZ #1350]
85949         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85951         * configure.in: static is always set to yes.  Remove.
85952         * config.make.in: Don't set build-static.
85953         * Makeconfig: Remove use of build-static.
85954         * dlfcn/Makefile: Likewise.
85955         * elf/Makefile: Likewise.
85956         * math/Makefile: Likewise.
85957         * misc/Makefile: Likewise.
85958         * nptl/Makefile: Likewise.
85959         * sysdeps/mach/hurd/Makefile: Likewise.
85961         * configure.in: PWD_P is not used anymore.
85962         * config.make.in: Remove PWD_P entry.
85964         * configure.in: Remove last remnants of RANLIB.
85965         No need to check for signed size_t anymore.
85966         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85967         and IA-64.
85968         Remove __builtin_expect test because we require at least gcc 3.4.
85969         * aclocal.m4: Likewise.
85971         * wcsmbs/mbrtoc16.c: Implement using towc function.
85972         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85973         * wcsmbs/wcsmbsload.c: Likewise.
85974         * iconv/gconv_simple.c: Likewise.
85975         * iconv/gconv_int.h: Likewise.
85976         * iconv/gconv_builtin.h: Likewise.
85977         * iconv/iconv_prog.c: Remove CHAR16 handling.
85979         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85981         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85983         * configure.in: Remove --with-elf and --enable-bounded options.
85984         Dont set base_machine for ia64.  More non-ELF conditions removed.
85985         Remove testing and setting of leading underscore information.
85986         * config.make.in (build-bounded): Set to no.
85987         * config.h.in: Remove NO_UNDERSCORES entry.
85988         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85989         them.
85990         * csu/start.c: Remove !NO_UNDERSCORE code.
85991         * locale/localeinfo.h: Likewise.
85992         * sysdeps/generic/machine-gmon.h: Likewise.
85993         * sysdeps/generic/sysdep.h: Likewise.
85994         * sysdeps/i386/sysdep.h: Likewise.
85995         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85996         * sysdeps/mach/sysdep.h: Likewise.
85997         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85998         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85999         * sysdeps/sh/sysdep.h: Likewise.
86000         * sysdeps/sparc/sparc32/alloca.S: Likewise.
86001         * sysdeps/unix/i386/sysdep.S: Likewise.
86002         * sysdeps/unix/sparc/start.c: Likewise.
86003         * sysdeps/unix/sparc/sysdep.S: Likewise.
86004         * sysdeps/unix/sparc/sysdep.h: Likewise.
86005         * sysdeps/unix/start.c: Likewise.
86006         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86007         * sysdeps/x86_64/sysdep.h: Likewise.
86009 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
86011         [BZ #13553]
86012         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
86013         for non-gcc.
86014         * argp/argp-fmtstream.h: Use const instead __const.
86015         * argp/argp.h: Likewise.
86016         * assert/assert.h: Likewise.
86017         * bits/fenv.h: Likewise.
86018         * bits/sched.h: Likewise.
86019         * bits/sigset.h: Likewise.
86020         * bits/sigthread.h: Likewise.
86021         * catgets/nl_types.h: Likewise.
86022         * conform/data/pthread.h-data: Likewise.
86023         * crypt/crypt-private.h: Likewise.
86024         * crypt/crypt.h: Likewise.
86025         * crypt/crypt_util.c: Likewise.
86026         * ctype/ctype.h: Likewise.
86027         * debug/execinfo.h: Likewise.
86028         * debug/mbsnrtowcs_chk.c: Likewise.
86029         * debug/mbsrtowcs_chk.c: Likewise.
86030         * debug/wcsnrtombs_chk.c: Likewise.
86031         * debug/wcsrtombs_chk.c: Likewise.
86032         * debug/wcstombs_chk.c: Likewise.
86033         * dirent/dirent.h: Likewise.
86034         * dlfcn/dlfcn.h: Likewise.
86035         * elf/neededtest4.c: Likewise.
86036         * grp/grp.h: Likewise.
86037         * gshadow/gshadow.h: Likewise.
86038         * iconv/gconv.h: Likewise.
86039         * iconv/gconv_int.h: Likewise.
86040         * iconv/gconv_simple.c: Likewise.
86041         * iconv/iconv.h: Likewise.
86042         * iconv/loop.c: Likewise.
86043         * iconv/skeleton.c: Likewise.
86044         * include/aio.h: Likewise.
86045         * include/aliases.h: Likewise.
86046         * include/argz.h: Likewise.
86047         * include/arpa/inet.h: Likewise.
86048         * include/assert.h: Likewise.
86049         * include/dirent.h: Likewise.
86050         * include/dlfcn.h: Likewise.
86051         * include/execinfo.h: Likewise.
86052         * include/fcntl.h: Likewise.
86053         * include/fenv.h: Likewise.
86054         * include/glob.h: Likewise.
86055         * include/grp.h: Likewise.
86056         * include/libintl.h: Likewise.
86057         * include/mntent.h: Likewise.
86058         * include/netdb.h: Likewise.
86059         * include/pwd.h: Likewise.
86060         * include/rpc/netdb.h: Likewise.
86061         * include/sched.h: Likewise.
86062         * include/search.h: Likewise.
86063         * include/shadow.h: Likewise.
86064         * include/signal.h: Likewise.
86065         * include/stdio.h: Likewise.
86066         * include/stdlib.h: Likewise.
86067         * include/string.h: Likewise.
86068         * include/sys/socket.h: Likewise.
86069         * include/sys/stat.h: Likewise.
86070         * include/sys/statfs.h: Likewise.
86071         * include/sys/statvfs.h: Likewise.
86072         * include/sys/syslog.h: Likewise.
86073         * include/sys/time.h: Likewise.
86074         * include/sys/uio.h: Likewise.
86075         * include/time.h: Likewise.
86076         * include/unistd.h: Likewise.
86077         * include/utmp.h: Likewise.
86078         * include/wchar.h: Likewise.
86079         * include/wctype.h: Likewise.
86080         * inet/aliases.h: Likewise.
86081         * inet/arpa/inet.h: Likewise.
86082         * inet/netinet/ether.h: Likewise.
86083         * inet/netinet/in.h: Likewise.
86084         * intl/libintl.h: Likewise.
86085         * io/bits/fcntl2.h: Likewise.
86086         * io/fcntl.h: Likewise.
86087         * io/ftw.h: Likewise.
86088         * io/sys/poll.h: Likewise.
86089         * io/sys/stat.h: Likewise.
86090         * io/sys/statfs.h: Likewise.
86091         * io/sys/statvfs.h: Likewise.
86092         * io/utime.h: Likewise.
86093         * libio/bits/stdio.h: Likewise.
86094         * libio/bits/stdio2.h: Likewise.
86095         * libio/libio.h: Likewise.
86096         * libio/libioP.h: Likewise.
86097         * libio/stdio.h: Likewise.
86098         * locale/lc-ctype.c: Likewise.
86099         * locale/locale.h: Likewise.
86100         * login/utmp.h: Likewise.
86101         * malloc/arena.c: Likewise.
86102         * malloc/malloc.c: Likewise.
86103         * malloc/malloc.h: Likewise.
86104         * malloc/mcheck.c: Likewise.
86105         * malloc/mtrace.c: Likewise.
86106         * math/bits/mathcalls.h: Likewise.
86107         * math/fenv.h: Likewise.
86108         * math/math_private.h: Likewise.
86109         * misc/bits/error.h: Likewise.
86110         * misc/bits/syslog.h: Likewise.
86111         * misc/err.h: Likewise.
86112         * misc/error.h: Likewise.
86113         * misc/fstab.h: Likewise.
86114         * misc/mntent.h: Likewise.
86115         * misc/regexp.h: Likewise.
86116         * misc/search.h: Likewise.
86117         * misc/sgtty.h: Likewise.
86118         * misc/sys/mman.h: Likewise.
86119         * misc/sys/syslog.h: Likewise.
86120         * misc/sys/uio.h: Likewise.
86121         * misc/sys/xattr.h: Likewise.
86122         * misc/ttyent.h: Likewise.
86123         * nis/rpcsvc/ypclnt.h: Likewise.
86124         * nss/nss.h: Likewise.
86125         * posix/bits/unistd.h: Likewise.
86126         * posix/fnmatch.h: Likewise.
86127         * posix/glob.h: Likewise.
86128         * posix/sched.h: Likewise.
86129         * posix/spawn.h: Likewise.
86130         * posix/sys/wait.h: Likewise.
86131         * posix/unistd.h: Likewise.
86132         * posix/wordexp.h: Likewise.
86133         * pwd/pwd.h: Likewise.
86134         * resolv/netdb.h: Likewise.
86135         * resource/sys/resource.h: Likewise.
86136         * rt/aio.h: Likewise.
86137         * rt/bits/mqueue2.h: Likewise.
86138         * rt/mqueue.h: Likewise.
86139         * shadow/shadow.h: Likewise.
86140         * signal/signal.h: Likewise.
86141         * socket/send.c: Likewise.
86142         * socket/sendto.c: Likewise.
86143         * socket/sys/socket.h: Likewise.
86144         * stdio-common/printf.h: Likewise.
86145         * stdlib/bits/stdlib.h: Likewise.
86146         * stdlib/fmtmsg.h: Likewise.
86147         * stdlib/monetary.h: Likewise.
86148         * stdlib/stdlib.h: Likewise.
86149         * stdlib/ucontext.h: Likewise.
86150         * streams/stropts.h: Likewise.
86151         * string/argz.h: Likewise.
86152         * string/bits/string2.h: Likewise.
86153         * string/string.h: Likewise.
86154         * string/strings.h: Likewise.
86155         * sunrpc/rpc/auth.h: Likewise.
86156         * sunrpc/rpc/auth_des.h: Likewise.
86157         * sunrpc/rpc/clnt.h: Likewise.
86158         * sunrpc/rpc/netdb.h: Likewise.
86159         * sunrpc/rpc/pmap_clnt.h: Likewise.
86160         * sunrpc/rpc/xdr.h: Likewise.
86161         * sysdeps/generic/inttypes.h: Likewise.
86162         * sysdeps/generic/net/if.h: Likewise.
86163         * sysdeps/generic/sys/swap.h: Likewise.
86164         * sysdeps/gnu/net/if.h: Likewise.
86165         * sysdeps/gnu/utmpx.h: Likewise.
86166         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
86167         * sysdeps/i386/i486/bits/string.h: Likewise.
86168         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
86169         * sysdeps/s390/bits/string.h: Likewise.
86170         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
86171         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
86172         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
86173         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
86174         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
86175         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86176         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86177         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86178         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86179         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86180         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86181         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86182         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86183         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86184         * sysdeps/unix/sysv/linux/readv.c: Likewise.
86185         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86186         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86187         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86188         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86189         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86190         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86191         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86192         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86193         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86194         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86195         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86196         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
86197         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86198         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
86199         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
86200         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
86201         * sysvipc/sys/ipc.h: Likewise.
86202         * sysvipc/sys/msg.h: Likewise.
86203         * sysvipc/sys/sem.h: Likewise.
86204         * sysvipc/sys/shm.h: Likewise.
86205         * termios/termios.h: Likewise.
86206         * time/sys/time.h: Likewise.
86207         * time/time.h: Likewise.
86208         * wcsmbs/bits/wchar2.h: Likewise.
86209         * wcsmbs/uchar.h: Likewise.
86210         * wcsmbs/wchar.h: Likewise.
86211         * wctype/wctype.h: Likewise.
86213         [BZ #13551]
86214         * Makeconfig: Remove all but ELF support including AIX support.
86215         * Makerules: Likewise.
86216         * config.h.in: Likewise.
86217         * config.make.in: Likewise.
86218         * configure: Likewise.
86219         * configure.in: Likewise.
86220         * csu/Makefile: Likewise.
86221         * csu/version.c: Likewise.
86222         * debug/Makefile: Likewise.
86223         * dlfcn/Makefile: Likewise.
86224         * elf/Makefile: Likewise.
86225         * extra-lib.mk: Likewise.
86226         * iconv/Makefile: Likewise.
86227         * include/libc-symbols.h: Likewise.
86228         * include/shlib-compat.h: Likewise.
86229         * resolv/Makefile: Likewise.
86230         * resolv/res_libc.c: Likewise.
86231         * rt/Makefile: Likewise.
86232         * sysdeps/i386/asm-syntax.h: Likewise.
86233         * sysdeps/i386/sysdep.h: Likewise.
86234         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86235         * sysdeps/mach/sysdep.h: Likewise.
86236         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
86237         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
86238         * sysdeps/s390/asm-syntax.h: Likewise.
86239         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86240         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86241         * sysdeps/sh/sysdep.h: Likewise.
86242         * sysdeps/unix/sparc/sysdep.h: Likewise.
86243         * sysdeps/wordsize-32/divdi3.c: Likewise.
86244         * sysdeps/x86_64/sysdep.h: Likewise.
86246         * argp/Versions: Remove _argp_unlock_xxx.
86248         [BZ #13559]
86249         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
86250         * abilist/libBrokenLocale.abilist: Likewise.
86251         * abilist/libanl.abilist: Likewise.
86252         * abilist/libc.abilist: Likewise.
86253         * abilist/libcrypt.abilist: Likewise.
86254         * abilist/libdl.abilist: Likewise.
86255         * abilist/libm.abilist: Likewise.
86256         * abilist/libnsl.abilist: Likewise.
86257         * abilist/libpthread.abilist: Likewise.
86258         * abilist/libresolv.abilist: Likewise.
86259         * abilist/librt.abilist: Likewise.
86260         * abilist/libthread_db.abilist: Likewise.
86261         * abilist/libutil.abilist: Likewise.
86262         * abilist/libnss_db.abilist: New file.
86264         * scripts/abilist.awk: Add support for indirect functions.
86266         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
86268         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
86270         * shlib-versions: Remove entries for ports architectures.
86272         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
86273         files in ports.
86274         * elf/stackguard-macros.h: Remove support for IA-64.
86275         * elf/tst-auditmod1.c: Likewise.
86276         * sysdeps/generic/ldsodefs.h: Likewise.
86278         * sysdeps/unix/sysv/linux/configure.in: Ports should define
86279         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86280         configure files.
86282         [BZ #13552]
86283         * configure.in: Remove --enable-omitfp support.
86284         * FAQ.in: Adjust.
86285         * config.make.in: Likewise.
86286         * Makeconfig: Likewise.
86287         * manual/install.texi: Likewise.
86289         In case anyone cares, the IA-64 architecture could move to ports.
86290         * sysdeps/ia64/*: Removed.
86291         * sysdeps/unix/sysv/linux/ia64/*: Removed.
86292         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86294         [BZ #13555]
86295         * configure.in: Remove entries for unsupported architectures.
86297         [BZ #13533]
86298         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86299         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
86300         routines.
86301         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86302         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86303         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
86304         fall back to using wcrtomb.
86305         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86306         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
86307         renaming.
86308         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86309         * wcsmbs/tst-c16c32-1.c: New file.
86311         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86312         local variable.
86314         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86316         * elf/tst-unique3.cc: Add explicit declaration of gets.
86317         * elf/tst-unique3lib.cc: Likewise.
86318         * elf/tst-unique3lib2.cc: Likewise.
86319         * elf/tst-unique4.cc: Likewise.
86321         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86323 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
86325         [BZ #13566]
86326         * assert/assert.h (static_assert): Don't define for C++.
86327         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86328         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86330 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86332         * iconv/loop.c (single loop): Fix assertion in storing of
86333         remaining bytes.
86335         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86337 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86339         * posix/getconf.c: Update copyright year.
86340         * nss/getent.c: Likewise.
86341         * nss/makedb.c: Likewise.
86342         * iconv/iconvconfig.c: Likewise.
86343         * iconv/iconv_prog.c: Likewise.
86344         * elf/ldconfig.c: Likewise.
86345         * elf/pldd.c: Likewise.
86346         * elf/sotruss.ksh: Likewise.
86347         * catgets/gencat.c: Likewise.
86348         * csu/version.c: Likewise.
86349         * elf/ldd.bash.in: Likewise.
86350         * elf/sprof.c (print_version): Likewise.
86351         * locale/programs/locale.c: Likewise.
86352         * locale/programs/localedef.c: Likewise.
86353         * login/programs/pt_chown.c: Likewise.
86354         * nscd/nscd.c (print_version): Likewise.
86355         * debug/xtrace.sh: Likewise.
86356         * malloc/memusage.sh: Likewise.
86357         * malloc/mtrace.pl: Likewise.
86358         * debug/catchsegv.sh: Likewise.
86360 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86362         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86363         pure attribute.
86365 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86367         [BZ #13533]
86368         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86369         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86370         transformations.
86371         * iconv/gconv_int.h: Likewise.
86372         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86373         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86374         from libc for GLIBC_2.16.
86375         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86376         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86377         * wcsmbs/uchar.h: Really define mbstate_t.
86378         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86379         * wcsmbs/c16rtomb.c: New file.
86380         * wcsmbs/mbrtoc16.c: New file.
86381         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86382         for C/POSIX locale.
86383         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86384         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86386         * wcsmbs/wchar.h: Add missing __restrict.
86388 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86390         [BZ #13532]
86391         * time/Makefile (routines): Add timespec_get.
86392         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86393         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86394         timespec for ISO C11.
86395         * time/timespec_get.c: New file.
86396         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86397         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86399         [BZ #13531]
86400         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86401         * stdlib/stdlib.h: Declare aligned_alloc.
86402         * Versions.def: Add GLIBC_2.16 for libc.
86403         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86405         [BZ 13527]
86406         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86407         ISO C11.
86409         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86410         code.
86412         [BZ #13528]
86413         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86415         [BZ #13529]
86416         * assert/assert.h (static_assert): Define.
86418         * version.h: Update for 2.16 development version.
86420         [BZ #13526]
86421         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86422         _ISOC11_SOURCE.
86424         * version.h (RELEASE): Bump for 2.15 release.
86425         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86427         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86428         Patch by Marek Polacek <mpolacek@redhat.com>.
86430         * bits/byteswap.h: Protect long long constants with __extension__.
86431         * sysdeps/i386/bits/byteswap.h: Likewise.
86432         * sysdeps/ia64/bits/byteswap.h: Likewise.
86433         * sysdeps/s390/bits/byteswap.h: Likewise.
86434         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86436 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86438         [BZ #13540]
86439         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86440         destination buffer.
86441         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86443 2011-12-23  Marek Polacek  <polacek@redhat.com>
86445         * elf/dl-addr.c (determine_info): Add inline keyword.
86446         * elf/tst-auditmod4b.c (check_avx): Likewise.
86447         * elf/tst-auditmod6b.c (check_avx): Likewise.
86448         * elf/tst-auditmod6c.c (check_avx): Likewise.
86449         * elf/tst-auditmod7b.c (check_avx): Likewise.
86451 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86453         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86454         !__SSE_MATH__.
86456 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86458         [BZ #13540]
86459         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86460         processing for last bytes.
86462 2011-08-06  Bruno Haible  <bruno@clisp.org>
86464         [BZ #13061]
86465         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86466         U+0385, not to U+1FEE.
86468         [BZ #13062]
86469         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86470         entry for U+00A5 U+0301.
86472 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86474         [BZ #13166]
86475         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86476         buffer for the output is too small.
86478         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86479         optimization.
86481         [BZ #13185]
86482         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86483         SSE flags if possible.
86485 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86487         [BZ #13540]
86488         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86489         processing for last bytes.
86491 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86493         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86494         (syscall-list-default-options, syscall-list-default-condition)
86495         (syscall-list-includes): Define.
86496         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86497         list of ABIs and options and #if conditions for each ABI.  Do not
86498         handle common syscalls between ABIs specially.
86499         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86500         Remove.
86501         (syscall-list-variants, syscall-list-32bit-options)
86502         (syscall-list-32bit-condition, syscall-list-64bit-options)
86503         (syscall-list-64bit-condition): Define.
86504         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86505         (syscall-list-variants, syscall-list-32bit-options)
86506         (syscall-list-32bit-condition, syscall-list-64bit-options)
86507         (syscall-list-64bit-condition): Define.
86508         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86509         Remove.
86510         (syscall-list-variants, syscall-list-32bit-options)
86511         (syscall-list-32bit-condition, syscall-list-64bit-options)
86512         (syscall-list-64bit-condition): Define.
86513         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86514         Remove.
86515         (syscall-list-variants, syscall-list-32bit-options)
86516         (syscall-list-32bit-condition, syscall-list-64bit-options)
86517         (syscall-list-64bit-condition): Define.
86519 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86521         * locale/iso-639.def: Add brx entry.
86523         [BZ #13328]
86524         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86525         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86527         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86528         __feraiseexcept_renamed.
86530 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86532         [BZ #13538]
86533         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86534         EPOLLET with unsigned values.
86535         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86536         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86538         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86539         to large cancellation.
86540         * math/s_cacoshf.c: Likewise.
86541         * math/s_cacoshl.c: Likewise.
86543 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86545         [BZ #13305]
86546         [BZ #12786]
86547         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86548         * math/s_cacoshf.c: Likewise.
86549         * math/s_cacoshl.c: Likewise.
86551 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86553         [BZ #13439]
86554         * iconv/gconv.h: Define __GCONV_SWAP.
86555         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86556         * iconvdata/utf-16.c: Likewise.
86557         * iconvdata/utf-32.c: Likewise.
86559 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86561         [BZ #13524]
86562         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86563         numerator after shifting it by one limb.
86565 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86567         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86568         under [__USE_EXTERN_INLINES].
86570 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86572         [BZ #13446]
86573         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86575 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86577         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86578         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86579         optimized code.
86580         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86581         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86582         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86583         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86584         for strncasecmp/strncasecmp_l compilation.
86585         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86586         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86588 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86590         [BZ #13484]
86591         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86592         of __asm__.
86594 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86596         [BZ #13506]
86597         * time/tzfile.c (__tzfile_read): Check values from file header.
86599 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86601         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86602         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86603         * powerpc/powerpc32/dl-start.S: Likewise.
86604         * powerpc/powerpc32/elf/start.S: Likewise.
86605         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86606         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86607         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86608         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86609         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86610         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86611         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86612         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86613         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86614         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86615         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86616         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86617         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86618         * powerpc/powerpc32/memset.S: Likewise.
86619         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86620         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86621         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86622         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86623         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86624         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86625         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86626         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86627         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86628         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86629         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86630         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86631         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86633 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86635         * math/libm-test.inc: Added more nearbyint tests.
86636         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86637         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86638         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86639         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86641 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
86643         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86644         FD_CLOEXEC.
86646 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86648         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86649         Add wcscpy-ssse3 wcscpy-c.
86650         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86651         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86652         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86653         * sysdeps/x86_64/wcschr.S: New file.
86654         * sysdeps/x86_64/wcsrchr.S: New file.
86655         * string/test-strcmp.c: Remove checking of wcscmp function for
86656         wrong alignments.
86657         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86658         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86659         wcsrchr-sse2 wcsrchr-c.
86660         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86661         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86662         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86663         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86664         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86665         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86666         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86667         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86668         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86669         * wcsmbc/wcschr.c (WCSCHR): New macro.
86671 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86673         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86674         * wcsmbs/test-wcsrchr.c: New file.
86675         * string/test-strrchr.c: Add wcsrchr support.
86676         (WIDE): New macro.
86677         * wcsmbs/test-wcscpy.c: New file.
86678         * string/test-strcpy.c: Add wcscpy support.
86679         (WIDE): New macro.
86681 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
86683         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
86684         the inner loop.
86686 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
86688         [BZ #13472]
86689         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
86691 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
86693         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
86694         Minor optimizations.
86696         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
86697         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
86698         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
86700 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
86702         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
86703         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
86704         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
86705         for gcc to avoid warnings.
86706         * inet/Makefile (tests): Add tst-checks.
86707         * inet/tst-checks.c: New file.
86709         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
86710         warning.
86712         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
86713         __wmemcmp_sse2.
86715         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
86716         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
86718         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
86720 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
86722         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
86723         problem.
86725         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
86727 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
86729         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
86730         conditional on GCC version.
86731         (__arch_compare_and_exchange_val_8_acq)
86732         (__arch_compare_and_exchange_val_16_acq)
86733         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
86734         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
86735         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
86737 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
86739         * sysdeps/sh/backtrace.c: New file.
86741 2011-12-02  Andreas Schwab  <schwab@redhat.com>
86743         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
86744         parenthesis.
86746 2011-12-01  Andreas Schwab  <schwab@redhat.com>
86748         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
86749         falling back to utime.
86751 2011-11-30  Andreas Schwab  <schwab@redhat.com>
86753         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
86754         expectations for float.
86756 2011-11-29  Andreas Schwab  <schwab@redhat.com>
86758         * locale/weight.h (findidx): Add parameter len.
86759         * locale/weightwc.h (findidx): Likewise.
86760         * posix/fnmatch_loop.c (FCT): Adjust caller.
86761         * posix/regcomp.c (build_equiv_class): Likewise.
86762         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
86763         * posix/regexec.c (check_node_accept_bytes): Likewise.
86764         * string/strcoll_l.c (STRCOLL): Likewise.
86765         * string/strxfrm_l.c (STRXFRM): Likewise.
86767 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
86769         * Makefile.in: Remove CVSOPT handling.
86770         * configure.in: Remove use of AC_REVISION.
86771         * iconvdata/Makefile (distribute): No need to filter out CVS.
86772         * scripts/list-sources.sh: Remove CVS, subversion and monotone
86773         handling.
86775 2011-11-16  Andreas Schwab  <schwab@redhat.com>
86777         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
86778         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
86779         [USE_AS_STRNCASECMP_L]: Likewise.
86780         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
86781         NO_TLS_DIRECT_SEG_REFS.
86782         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
86783         Fix argument offsets for non-PIC.
86784         [USE_AS_STRNCASECMP_L]: Likewise.
86785         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
86786         NO_TLS_DIRECT_SEG_REFS.
86788 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86790         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
86791         O_CLOEXEC.
86792         * locale/loadlocale.c (_nl_load_locale): Likewise.
86794 2011-11-15  Andreas Schwab  <schwab@redhat.com>
86796         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
86797         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
86798         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
86799         (SYSCALL_GETTIME): Set errno on error.
86801         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
86802         count references to noai6ai_cached.
86804 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86806         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
86808         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
86809         FD_CLOEXEC for /proc/self/maps.
86811         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
86812         FD_CLOEXEC for /proc/meminfo.
86814         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
86815         gai.conf.
86817         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
86818         FD_CLOEXEC for given file.
86820         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
86822         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
86823         FD_CLOEXEC for /etc/hosts.
86824         (_gethtent): Likewise.
86826         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
86828         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
86829         cancellation and set FD_CLOEXEC for /etc/netgroup.
86831         * nss/nss_files/files-key.c (search): Don't allow cancellation when
86832         reading /etc/publickey.
86834         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
86835         allow cancellation when reading /etc/group.
86837         * nss/nss_files/files-alias.c (internal_setent): Don't allow
86838         cancellation.
86839         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
86841         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
86842         when using data file.
86844         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
86846         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
86847         (write_nis_obj): Use "c" and "e" in fopen.
86849         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
86851         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
86853         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
86855         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
86857         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
86858         locale.alias.
86860         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
86862         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
86864         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
86866         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
86867         file parsing and set FD_CLOEXEC.
86869 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86871         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
86873 2011-11-14  Andreas Schwab  <schwab@redhat.com>
86875         * malloc/arena.c (arena_get2): Don't call reused_arena when
86876         _int_new_arena failed.
86878 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86880         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
86881         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
86882         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
86883         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86884         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86885         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
86886         to compile strcasecmp and strncasecmp.
86887         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
86888         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
86890         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
86892 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
86894         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
86895         locale-defines.sym to gen-as-const-headers.
86896         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
86897         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
86898         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
86899         to compile strcasecmp and strncasecmp.
86900         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
86901         strcasecmp_l and strncasecmp_l.
86902         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
86903         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
86904         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
86905         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
86906         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
86907         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
86908         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
86909         * sysdeps/i386/i686/multiarch/strncase.S: New file.
86910         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
86911         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
86912         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
86914 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
86916         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
86917         result of SYSDEP_GETTIME_CPU to retval.
86918         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86919         parameter list to macro.  Remove trailing semicolon.  Adjust users.
86921         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86922         variable.
86924         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86925         mantissa words.
86926         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86928         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86929         from unused variable.
86931         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86932         DWARF definitions.
86933         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86934         for assembling.
86936         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86937         over namespaces.
86939         * sunrpc/rpc_prot.c (rejected): Fix case value.
86941         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86942         unsigned long long int to avoid warnings in shift.
86944         * posix/regex_internal.c (re_string_reconstruct): Actually use result
86945         of use of trans.
86946         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86947         variable tmp.
86949         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86950         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86951         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86953         * nis/nis_table.c (nis_list): Use variable of correct type for
86954         result of __follow_path call.
86956 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86958         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86959         of math functions ceil, trunc, floor, round, and sqrt, when
86960         avaliable on the platform.
86961         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86962         name clash.
86963         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86964         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86965         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86967 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86969         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86970         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86972 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86974         * include/unistd.h: Fix __readlink return type.
86975         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86977 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86979         * stdlib/ucontext.h: Undo last change for makecontext.
86981 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86983         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86985         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86986         * setjmp/setjmp.h: Mark functions as non-leaf.
86987         * setjmp/bits/setjmp2.h: Likewise.
86988         * stdlib/ucontext.h: Likewise.
86990 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86992         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86993         (reused_arena): Don't check arena limit.
86994         (arena_get2): Atomically check arena limit.
86996 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86998         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86999         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
87001         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
87002         instructions.
87004 2011-11-07  Andreas Schwab  <schwab@redhat.com>
87006         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
87007         handler when locking.
87009         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87010         Fix size of allocated buffer.
87012 2011-11-04  Andreas Schwab  <schwab@redhat.com>
87014         [BZ #10103]
87015         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
87016         declarations for long double functions.
87017         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
87019         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
87021 2011-11-03  Andreas Schwab  <schwab@redhat.com>
87023         * nscd/nscd.c (main): Don't start AVC thread until credentials are
87024         installed.
87026         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
87027         is disabled.
87029 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87031         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
87033 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
87035         * include/alloca.h (stackinfo_alloca_round): Define.
87036         (extend_alloca): Use it.
87037         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
87038         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
87039         here.
87041         * scripts/check-local-headers.sh: Ignore libaudit.h.
87043         * nscd/Makefile (extra-objs): Make recursively expanded.
87045 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
87047         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
87048         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
87050         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
87051         * posix/tst-rfc3484-2.c: Likewise.
87052         * posix/tst-rfc3484-3.c: Likewise.
87054         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87055         process_vm_writev.
87056         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
87057         process_vm_writev.
87058         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
87059         process_vm_writev from libc using GLIBC_2.15 version.
87061         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
87063 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
87065         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
87066         stack usage.
87068 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
87070         [BZ #13367]
87071         * nss/getent.c (initgroups_keys): Show error message in case no group
87072         names are given.
87074         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
87075         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
87076         __bump_nl_timestamp.
87077         * nscd/connections (nscd_init): When host database is served open
87078         netlink socket and request notification about configuration changes.
87079         (main_loop_poll): Track netlink file descriptor and bump timestamp
87080         in case data becomes available.
87081         (main_loop_epoll): Likewise.
87082         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
87083         (database_pers_head): Add extra_data fileds.
87084         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
87085         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
87086         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
87087         Adjust caller.
87088         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
87089         in6ai data, call __free_in6ai.
87090         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
87091         Add -DHAVE_NETLINK.
87092         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
87093         interface information.  Reuse previous data if netlink timestamp
87094         is not changed.
87095         (__bump_nl_timestamp): New function.
87096         (__free_in6ai): New function.
87098 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
87100         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
87101         close_not_cancel_no_status here.
87102         (__check_pf): Reorganize code a bit to not call close twice if OOM.
87104 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87106         [BZ #13276]
87107         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
87108         return value.
87110         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
87111         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
87112         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
87114 2011-07-03  Andreas Jaeger  <aj@suse.de>
87116         [BZ #10709]
87117         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
87118         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
87119         * math/libm-test.inc (sin_test): Add test case.
87121 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87123         [BZ #13337]
87124         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
87125         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87127         * elf/chroot_canon.c (chroot_canon): Cleanups.
87129         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
87131         [BZ #13335]
87132         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
87133         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87135         * string/test-strchr.c: Make usable for strchrnul testing.
87136         * string/test-strchrnul.c: New file.
87137         * string/Makefile (strop-tests): Add strchrnul.
87139         * po/it.po: Update from translation team.
87140         * po/es.po: Likewise.
87142 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
87144         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87145         the three constants needed as parameters.  Drop the others.
87146         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
87147         __m128i_strloadu_tolower.
87148         Create and initialize variable zero and use it in all the places
87149         where _mm_setzero_si128 was used.
87151         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
87152         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
87153         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
87154         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
87155         anymore.
87156         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
87157         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
87158         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
87159         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
87160         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
87161         __mpranred, __mptan.
87162         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
87163         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
87164         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
87165         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
87166         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
87167         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
87168         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
87169         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
87170         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
87172 2011-10-28  Andreas Schwab  <schwab@redhat.com>
87174         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
87175         redefine if SHARED.
87176         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87179         wide char related routines to wcsmbs subdir.
87181 2011-10-27  Andreas Schwab  <schwab@redhat.com>
87183         [BZ #13344]
87184         * misc/sys/cdefs.h (__THROWNL): Define.
87185         * posix/unistd.h: Use __THREADNL instead of __THREAD
87186         for memory synchronization functions.
87188 2011-10-26  Roland McGrath  <roland@hack.frob.com>
87190         [BZ #13349]
87191         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87192         doesn't exist.
87193         * manual/stdio.texi (Obstack Streams): Node removed.
87195 2011-10-26  Andreas Schwab  <schwab@redhat.com>
87197         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
87198         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87199         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87201         * math/math_private.h (math_force_eval): Allow non-addressable
87202         arguments.
87203         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
87205 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87207         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
87208         file is not needed.
87210         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
87211         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
87212         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87213         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87214         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87215         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87216         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87217         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
87218         Add AVX variants.
87219         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
87220         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
87221         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
87222         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
87223         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
87224         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
87225         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
87226         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
87227         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
87228         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
87229         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
87230         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
87231         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
87232         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
87233         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
87234         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
87235         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
87236         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
87237         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
87239         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
87240         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
87242         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
87243         place.  Use VEX encoding when compiling for AVX.
87245 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87247         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
87248         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
87250         * string/test-strchr.c (do_test): Don't generate NUL bytes.
87252 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87254         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
87255         useless if() expression.
87256         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87257         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87258         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87259         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87260         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87261         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87262         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87263         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87264         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87265         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87266         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87267         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87268         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87269         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87270         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87271         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87272         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87273         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87274         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87276         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87278 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87280         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87281         condition.
87282         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87284 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87286         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87287         .text section.  Avoid duplicate constants.
87288         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87289         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87290         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87291         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87292         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87293         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87294         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87295         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87296         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87297         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87298         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87299         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87300         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87301         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87302         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87303         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87304         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87305         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87306         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87307         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87308         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87309         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87310         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87311         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87312         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87313         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87314         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87315         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87316         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87317         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87318         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87319         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87320         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87321         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87322         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87323         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87324         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87325         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87326         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87327         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87328         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87329         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87330         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87331         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87332         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87334 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87336         * sysdeps/x86_64/dla.h: Move to ...
87337         * sysdeps/x86_64/fpu/dla.h: ...here.
87338         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87339         situations.  Use __builtin_fma only for gcc 4.6 and up.
87341         * config.make.in: Add have-mfma4 entry.
87342         * configure.in: Substitute libc_cv_cc_fma4.
87343         * math/Makefile (dbl-only-routines): Add sincostab.
87344         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87345         Use __sincostab not sincos.
87346         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87347         name is a macro.
87348         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87349         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87350         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87351         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87352         using __copysign.
87353         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87354         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87355         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87356         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87357         and __inv.
87358         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87359         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87360         __copysign.
87361         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87362         define aliases when function name is a macro.
87363         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87364         sysdeps/ieee754/dbl-64/sincos.tbl.
87365         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87366         fma4-enabled routines.
87367         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87368         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87369         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87370         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87371         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87372         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87373         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87374         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87375         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87376         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87377         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87378         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87379         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87380         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87381         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87382         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87383         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87384         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87385         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87386         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87387         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87388         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87389         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87390         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87391         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87392         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87393         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87394         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87395         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87396         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87398         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87399         rename.
87400         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87401         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87404         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87409 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87411         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87413 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87415         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87417         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87418         prediction.
87419         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87421         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87422         Remove unused variable magic_bits.
87423         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87425         * string/strnlen.c: Define and use STRNLEN macro.
87426         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87427         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87428         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87429         * wcsmbs/wcslen.c: Define and use WCSLEN.
87430         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87431         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87432         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87433         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87434         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87435         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87436         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87438 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87441         strnlen-sse2-no-bsf.
87442         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87443         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87444         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87445         Add strnlen support.
87446         (USE_AS_STRNLEN): New macro.
87447         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87448         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87449         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87450         * sysdeps/x86_64/wcslen.S: New file.
87452 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87454         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87455         XMM-moves are used for copying on small sizes.
87457 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87459         * wcsmbs/Makefile (strop-tests): Add wcschr.
87460         * wcsmbs/test-wcschr.c: New file.
87461         * string/test-strchr.c: Update.
87462         Add wcschr support.
87463         (WIDE): New macro.
87465 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87467         * wcsmbs/Makefile (strop-tests): Add wcslen.
87468         * wcsmbs/test-wcslen.c: New file.
87469         * string/test-strlen.c: Update.
87470         Add wcslen support.
87471         (WIDE): New macro.
87473 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87475         * po/it.po: Update from translation team.
87477 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87479         * sysdeps/x86_64/wcscmp.S: Update.
87480         Fix wrong comparison semantics.
87481         wcscmp shall use signed comparison not unsigned.
87482         Don't use substraction to avoid overflow bug.
87483         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87484         * wcsmbc/wcscmp.c: Likewise.
87485         * string/test-strcmp.c: Likewise.
87486         Add new tests to check cases with negative values.
87488 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87490         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87491         * sysdeps/x86_64/dla.h: ...here.  New file.
87492         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87493         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87494         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87495         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87496         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87497         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87499         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87500         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87502 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87504         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87505         __ynl_finite aliases.
87507 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87511         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87512         define DLA_FMA.
87513         [DLA_FMA] (EMULV): Use DLA_FMA.
87514         [DLA_FMA] (MUL12): Use EMULV.
87515         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87516         that are not needed.
87517         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87518         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87519         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87520         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87521         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87522         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87523         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87525 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87527         * math/s_nan.c: Undef __nan.
87528         * math/s_nanf.c: Undef __nanf.
87529         * math/s_nanl.c: Undef __nanl.
87530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87531         "math_private.h".
87533 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87535         * math/s_catan.c: Add branch predictions.
87536         * math/s_catanf.c: Likewise.
87537         * math/s_catanh.c: Likewise.
87538         * math/s_catanhf.c: Likewise.
87539         * math/s_catanhl.c: Likewise.
87540         * math/s_catanl.c: Likewise.
87541         * math/s_cexp.c: Likewise.
87542         * math/s_cexpf.c: Likewise.
87543         * math/s_cexpl.c: Likewise.
87544         * math/s_clog.c: Likewise.
87545         * math/s_clog10.c: Likewise.
87546         * math/s_clog10f.c: Likewise.
87547         * math/s_clog10l.c: Likewise.
87548         * math/s_clogf.c: Likewise.
87549         * math/s_clogl.c: Likewise.
87550         * math/s_csqrt.c: Likewise.
87551         * math/s_csqrtf.c: Likewise.
87552         * math/s_csqrtl.c: Likewise.
87553         * math/s_ctanf.c: Likewise.
87554         * math/s_ctanh.c: Likewise.
87555         * math/s_ctanhf.c: Likewise.
87556         * math/s_ctanhl.c: Likewise.
87557         * math/s_ctanl.c: Likewise.
87559         * math/math_private.h: Define __nan, __nanf, __nanl.
87560         * math/s_cacosh.c: Include <math_private.h>.
87561         * math/s_cacoshl.c: Likewise.
87562         * math/s_casinh.c: Likewise.
87563         * math/s_casinhf.c: Likewise.
87564         * math/s_casinhl.c: Likewise.
87565         * math/s_ccos.c: Rely entire on ccosh.
87566         * math/s_ccosf.c: Rely entire on ccoshf.
87567         * math/s_ccosl.c: Rely entirely on ccoshl.
87568         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87569         Remove tests for FE_INVALID.
87570         * math/s_ccoshf.c: Likewise.
87571         * math/s_ccoshl.c: Likewise.
87572         * math/s_csin.c: Likewise.
87573         * math/s_csinf.c: Likewise.
87574         * math/s_csinh.c Likewise.
87575         * math/s_csinhf.c: Likewise.
87576         * math/s_csinhl.c: Likewise.
87577         * math/s_csinl.c: Likewise.
87578         * math/s_ctan.c: Likewise.
87579         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87580         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87581         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87583 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87586         compilation problems.
87588         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87589         __builtin_expect.
87591 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87593         * sysdeps/i386/configure.in: Test for -mfma4 option.
87594         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87595         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87596         COMMON_CPUID_INDEX_80000001.
87597         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87598         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87599         use it if FMA3 is not supported.
87600         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87602         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87603         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87605 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87607         [BZ #12892]
87608         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87609         it would create a cycle with a link time dependency.
87611 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87613         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87614         instruction.
87615         * string/Makefile (strop-tests): Add rawmemchr.
87616         * string/test-rawmemchr.c: New file.
87618         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87619         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
87620         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
87621         when compiling str{,n}casecmp and when AVX is available.  Hook up
87622         new optimized code in initializers.
87624 2011-10-19  Andreas Schwab  <schwab@redhat.com>
87626         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87627         __feraiseexcept instead of feraiseexcept.
87629 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
87631         * math/math_private.h: Define defaults for libc_fetestexcept and
87632         libc_feupdateenv.
87633         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87634         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87635         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87636         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87637         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87638         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87639         libc_fetestexcept and libc_feupdateenv.
87641         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87642         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87643         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87644         * sysdeps/x86_64/fpu/math_private.h: Define special version of
87645         libc_feholdexcept_setround.
87647         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87648         Add s_nearbyint-c and s_nearbyintf-c.
87649         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87650         nearbyintf inlines.
87651         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87652         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87653         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87654         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87656         * math/math_private.h: Define defaults for libc_fegetround,
87657         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87658         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87659         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87660         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87661         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87662         standard functions.
87663         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87664         Remove comments and hacks for old compiler versions.
87665         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87666         libc_fegetround, libc_fesetround, libc_feholdexcept, and
87667         libc_feholdexceptl.
87669 2011-10-18  Andreas Schwab  <schwab@redhat.com>
87671         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87672         (__feraiseexcept_renamed): Add __NTH.
87673         (feraiseexcept): Add __NTH.  Rename local variables to fix
87674         namespace violations.
87676 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
87678         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87680         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
87682         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
87683         recently added interfaces.
87684         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
87686         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
87687         about macro parameter expansion.
87689         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
87690         __NO_MATH_INLINES is defined.  Cleanups.
87692         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
87693         and __floorf is target has SSE4.1.
87694         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
87695         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
87696         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
87697         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
87699         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
87700         name.
87701         (floorf): Likewise.
87703         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
87705 2011-10-17  Andreas Schwab  <schwab@redhat.com>
87707         * misc/sys/cdefs.h: Fix last change.
87709         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
87710         database lookup.
87712 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
87714         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
87716         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
87717         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87718         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87719         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87720         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87721         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87722         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87723         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87724         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87725         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
87726         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
87727         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
87728         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
87729         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
87730         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
87731         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
87732         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
87733         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
87734         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
87735         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
87736         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
87737         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
87739         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
87740         ceil, ceilf, floor, floorf.
87742         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
87743         Perform IRELATIVE relocations last.
87745         * elf/do-rel.h: Add another parameter nrelative, replacing the
87746         local variable with the same name.  Change name of the function
87747         to end in Rel or Rela (uppercase).
87748         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
87749         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
87750         elf_dynamic_do_##reloc function.
87752 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87754         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
87755         is sufficient, at least on modern CPUs.
87757         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
87759         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
87760         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
87762         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
87763         __expl_finite.
87764         * math/bits/math-finite.h: Add entries for exp.
87765         * math/e_expl.c: Add __*_finite alias.
87766         * sysdeps/i386/fpu/e_exp.S: Likewise.
87767         * sysdeps/i386/fpu/e_expf.S: Likewise.
87768         * sysdeps/i386/fpu/e_expl.c: Likewise.
87769         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87770         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87771         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
87772         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
87773         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
87774         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87775         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87777         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
87778         is sufficient, at least on modern CPUs.
87780         * ctype/ctype-info.c (__ctype_init): Define.
87781         * include/ctype.h (__ctype_init): Declare.
87782         (__ctype_b_loc): The variable is always initialized.
87783         (__ctype_toupper_loc): Likewise.
87784         (__ctype_tolower_loc): Likewise.
87785         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
87786         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
87788 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
87790         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
87792         * configure.in: Also look in $cxxmachine/include for C++ system
87793         headers.
87795 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87797         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
87798         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
87799         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
87800         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
87801         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
87802         (USE_AS_WMEMCMP): New macro.
87803         Fixing indents.
87804         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
87805         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
87806         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
87807         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
87808         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87809         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
87810         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
87811         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
87812         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
87813         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
87814         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
87815         (USE_AS_WMEMCMP): New macro.
87816         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
87817         * sysdeps/string/test-memcmp.c: Update.
87818         Fix simple_wmemcmp.
87819         Add new tests.
87820         * wcsmbs/wmemcmp.c: Update.
87821         (WMEMCMP): New macro.
87822         Fix overflow bug.
87824 2011-10-12  Andreas Jaeger  <aj@suse.de>
87826         [BZ #13268]
87827         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
87829 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87831         * libio/iofwide.c (do_length): Avoid warning.
87833         * ctype/ctype.h (__isctype_f): Add missing __THROW.
87835 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
87837         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
87839         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
87840         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
87841         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
87842         * sysdeps/i386/i686/fpu/e_log.S: New file.
87843         * sysdeps/i386/i686/fpu/e_logf.S: New file.
87844         * sysdeps/i386/i686/fpu/e_logl.S: New file.
87846         * ctype/ctype.h: Add support for inlined isXXX functions when
87847         compiling C++ code.
87849 2011-10-14  Andreas Schwab  <schwab@redhat.com>
87851         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87853         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
87855 2011-10-13  Roland McGrath  <roland@hack.frob.com>
87857         [BZ #13291]
87858         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
87860 2011-10-13  Andreas Schwab  <schwab@redhat.com>
87862         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
87863         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
87864         feraiseexcept.
87866         * sysdeps/x86_64/memrchr.S: Check for zero size.
87868         * string/stratcliff.c: Add memrchr tests.
87870 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87872         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87873         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
87874         rawmemchr-sse2 rawmemchr-sse2-bsf.
87875         * sysdeps/i386/i686/multiarch/memchr.S: New file.
87876         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
87877         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
87878         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
87879         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
87880         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
87881         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
87882         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
87883         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
87884         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
87885         * string/memrchr.c (MEMRCHR): New macro.
87887 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
87889         Add integration with gcc's -ffinite-math-only and optimize wrapper
87890         functions in libm.
87891         * Versions.def: Define GLIBC_2.15 version for libm.
87892         * math/Makefile (headers): Add bits/math-finite.h.
87893         * math/bits/math-finite.h: New file.
87894         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
87895         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
87896         * math/e_acoshl.c: Add __*_finite alias.
87897         * math/e_acosl.c: Likewise.
87898         * math/e_asinl.c: Likewise.
87899         * math/e_atan2l.c: Likewise.
87900         * math/e_atanhl.c: Likewise.
87901         * math/e_coshl.c: Likewise.
87902         * math/e_exp10.c: Likewise.
87903         * math/e_exp10f.c: Likewise.
87904         * math/e_exp10l.c: Likewise.
87905         * math/e_exp2l.c: Likewise.
87906         * math/e_fmodl.c: Likewise.
87907         * math/e_gammal_r.c: Likewise.
87908         * math/e_hypotl.c: Likewise.
87909         * math/e_j0l.c: Likewise.
87910         * math/e_j1l.c: Likewise.
87911         * math/e_jnl.c: Likewise.
87912         * math/e_lgammal_r.c: Likewise.
87913         * math/e_log10l.c: Likewise.
87914         * math/e_log2l.c: Likewise.
87915         * math/e_logl.c: Likewise.
87916         * math/e_powl.c: Likewise.
87917         * math/e_sinhl.c: Likewise.
87918         * math/e_sqrtl.c: Likewise.
87919         * math/e_scalb.c: Completely rewritten and optimized.
87920         * math/e_scalbf.c: Likewise.
87921         * math/e_scalbl.c: Likewise.
87922         * math/w_acos.c: Likewise.
87923         * math/w_acosf.c: Likewise.
87924         * math/w_acosl.c: Likewise.
87925         * math/w_acosh.c: Likewise.
87926         * math/w_acoshf.c: Likewise.
87927         * math/w_acoshl.c: Likewise.
87928         * math/w_asin.c: Likewise.
87929         * math/w_asinf.c: Likewise.
87930         * math/w_asinl.c: Likewise.
87931         * math/w_atan2.c: Likewise.
87932         * math/w_atan2f.c: Likewise.
87933         * math/w_atan2l.c: Likewise.
87934         * math/w_atanh.c: Likewise.
87935         * math/w_atanhf.c: Likewise.
87936         * math/w_atanhl.c: Likewise.
87937         * math/w_exp10.c: Likewise.
87938         * math/w_exp10f.c: Likewise.
87939         * math/w_exp10l.c: Likewise.
87940         * math/w_fmod.c: Likewise.
87941         * math/w_fmodf.c: Likewise.
87942         * math/w_fmodl.c: Likewise.
87943         * math/w_j0.c: Likewise.
87944         * math/w_j0f.c: Likewise.
87945         * math/w_j0l.c: Likewise.
87946         * math/w_j1.c: Likewise.
87947         * math/w_j1f.c: Likewise.
87948         * math/w_j1l.c: Likewise.
87949         * math/w_jn.c: Likewise.
87950         * math/w_jnf.c: Likewise.
87951         * math/w_log.c: Likewise.
87952         * math/w_logf.c: Likewise.
87953         * math/w_logl.c: Likewise.
87954         * math/w_log10.c: Likewise.
87955         * math/w_log10f.c: Likewise.
87956         * math/w_log10l.c: Likewise.
87957         * math/w_log2.c: Likewise.
87958         * math/w_log2f.c: Likewise.
87959         * math/w_log2l.c: Likewise.
87960         * math/w_pow.c: Likewise.
87961         * math/w_powf.c: Likewise.
87962         * math/w_powl.c: Likewise.
87963         * math/w_remainder.c: Likewise.
87964         * math/w_remainderf.c: Likewise.
87965         * math/w_remainderl.c: Likewise.
87966         * math/w_scalb.c: Likewise.
87967         * math/w_scalbf.c: Likewise.
87968         * math/w_scalbl.c: Likewise.
87969         * math/w_sqrt.c: Likewise.
87970         * math/w_sqrtf.c: Likewise.
87971         * math/w_sqrtl.c: Likewise.
87972         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87973         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87974         used.
87975         * math/math_private.h: Declare __kernel_standard_f.
87976         * math/w_cosh.c: Remove cruft and optimize a bit.
87977         * math/w_coshf.c: Likewise.
87978         * math/w_coshl.c: Likewise.
87979         * math/w_exp2.c: Likewise.
87980         * math/w_exp2f.c: Likewise.
87981         * math/w_exp2l.c: Likewise.
87982         * math/w_hypot.c: Likewise.
87983         * math/w_hypotf.c: Likewise.
87984         * math/w_hypotl.c: Likewise.
87985         * math/w_lgamma.c: Likewise.
87986         * math/w_lgamma_r.c: Likewise.
87987         * math/w_lgammaf.c: Likewise.
87988         * math/w_lgammaf_r.c: Likewise.
87989         * math/w_lgammal.c: Likewise.
87990         * math/w_lgammal_r.c: Likewise.
87991         * math/w_sinh.c: Likewise.
87992         * math/w_sinhf.c: Likewise.
87993         * math/w_sinhl.c: Likewise.
87994         * math/w_tgamma.c: Likewise.
87995         * math/w_tgammaf.c: Likewise.
87996         * math/w_tgammal.c: Likewise.
87997         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87998         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87999         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
88000         Minor optimizations.  Pretty printing.  Remove cruft.
88001         * sysdeps/i386/fpu/e_acosf.S: Likewise.
88002         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88003         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88004         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88005         * sysdeps/i386/fpu/e_acosl.c: Likewise.
88006         * sysdeps/i386/fpu/e_asin.S: Likewise.
88007         * sysdeps/i386/fpu/e_asinf.S: Likewise.
88008         * sysdeps/i386/fpu/e_atan2.S: Likewise.
88009         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
88010         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
88011         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88012         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88013         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88014         * sysdeps/i386/fpu/e_exp10.S: Likewise.
88015         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
88016         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
88017         * sysdeps/i386/fpu/e_exp2.S: Likewise.
88018         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
88019         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
88020         * sysdeps/i386/fpu/e_fmod.S: Likewise.
88021         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
88022         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
88023         * sysdeps/i386/fpu/e_hypot.S: Likewise.
88024         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
88025         * sysdeps/i386/fpu/e_log.S: Likewise.
88026         * sysdeps/i386/fpu/e_log10.S: Likewise.
88027         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88028         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88029         * sysdeps/i386/fpu/e_log2.S: Likewise.
88030         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88031         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88032         * sysdeps/i386/fpu/e_logf.S: Likewise.
88033         * sysdeps/i386/fpu/e_logl.S: Likewise.
88034         * sysdeps/i386/fpu/e_pow.S: Likewise.
88035         * sysdeps/i386/fpu/e_powf.S: Likewise.
88036         * sysdeps/i386/fpu/e_powl.S: Likewise.
88037         * sysdeps/i386/fpu/e_remainder.S: Likewise.
88038         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
88039         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
88040         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88041         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88042         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88043         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
88044         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
88045         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
88046         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
88047         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88048         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88049         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
88050         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88051         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
88052         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
88053         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
88054         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88055         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
88056         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
88057         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
88058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88059         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88060         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
88061         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88062         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
88063         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
88064         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88065         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88066         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
88067         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
88068         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88069         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88070         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
88071         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
88072         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88073         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
88074         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
88075         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
88076         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88077         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
88078         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88079         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
88080         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
88081         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
88082         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
88083         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
88084         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
88085         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
88086         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
88087         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
88088         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
88089         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
88090         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88091         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
88092         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
88093         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
88094         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88095         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
88096         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
88097         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
88098         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
88099         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88100         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
88101         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
88102         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
88103         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
88104         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
88105         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
88106         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
88107         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
88108         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88110         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
88111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
88112         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
88113         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
88114         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
88115         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
88116         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
88117         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
88118         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
88119         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
88120         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
88121         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88122         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
88123         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
88124         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88125         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
88126         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88127         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
88128         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
88129         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88130         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88131         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
88132         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88133         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
88134         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
88135         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
88136         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88137         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
88138         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
88139         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
88140         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88141         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88142         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88143         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
88144         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
88145         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
88146         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
88147         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
88148         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
88149         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
88150         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88151         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88152         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88153         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88154         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
88155         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88156         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
88157         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
88158         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
88159         (__isnanf): Likewise.
88160         (__isinf_ns): Likewise.
88161         (__isinf_nsf): Likewise.
88162         (__finite): Likewise.
88163         (__finitef): Likewise.
88164         (__ieee754_sqrt): Define as macro.
88165         (__ieee754_sqrtf): Define as macro.
88166         (__ieee754_sqrtl): Define as macro.
88167         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
88168         inlined copy.
88169         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
88170         __FINITE_MATH_ONLY__ consistent.
88171         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
88173 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
88175         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88176         of rawmemchr.
88178         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88180 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
88182         * po/ja.po: Update from translation team.
88184 2011-10-08  Roland McGrath  <roland@hack.frob.com>
88186         * locale/programs/locarchive.c (prepare_address_space): New function.
88187         (create_archive, enlarge_archive, open_archive): Use it.
88189         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88190         inside [SHARED], where it is used.
88192         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88194         * nss/getent.c (netgroup_keys): Remove unused variable.
88195         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
88197 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
88199         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
88200         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
88201         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
88202         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
88203         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
88204         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
88205         * math/Makefile (libm-calls): Add s_isinf_ns.
88206         * math/divtc3.c: Use __isinf_nsl instead of isinf.
88207         * math/multc3.c: Likewise.
88208         * math/s_casin.c: Likewise.
88209         * math/s_casinf.c: Likewise.
88210         * math/s_casinl.c: Likewise.
88211         * math/s_ccos.c: Likewise.
88212         * math/s_ccosf.c: Likewise.
88213         * math/s_ccosl.c: Likewise.
88214         * math/s_ctan.c: Likewise.
88215         * math/s_ctanf.c: Likewise.
88216         * math/s_ctanh.c: Likewise.
88217         * math/s_ctanhf.c: Likewise.
88218         * math/s_ctanhl.c: Likewise.
88219         * math/s_ctanl.c: Likewise.
88220         * math/w_fmod.c: Likewise.
88221         * math/w_fmodf.c: Likewise.
88222         * math/w_fmodl.c: Likewise.
88223         * math/w_remainder.c: Likewise.
88224         * math/w_remainderf.c: Likewise.
88225         * math/w_remainderl.c: Likewise.
88226         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
88227         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
88228         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
88229         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
88230         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
88231         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
88232         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
88233         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
88235         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
88236         of the number.
88237         * stdio-common/printf_fphex.c: Likewise.
88238         * stdio-common/printf_size.c: Likewise.
88240         * math/e_exp10.c: Include math_private.h using <...> not "...".
88241         * math/e_exp10f.c: Likewise.
88242         * math/e_exp10l.c: Likewise.
88243         * math/e_exp2l.c: Likewise.
88244         * math/e_j0l.c: Likewise.
88245         * math/e_j1l.c: Likewise.
88246         * math/e_jnl.c: Likewise.
88247         * math/e_lgammal_r.c: Likewise.
88248         * math/e_rem_pio2l.c: Likewise.
88249         * math/e_scalb.c: Likewise.
88250         * math/e_scalbf.c: Likewise.
88251         * math/e_scalbl.c: Likewise.
88252         * math/k_cosl.c: Likewise.
88253         * math/k_sinl.c: Likewise.
88254         * math/k_tanl.c: Likewise.
88255         * math/s_cacoshf.c: Likewise.
88256         * math/s_catan.c: Likewise.
88257         * math/s_catanf.c: Likewise.
88258         * math/s_catanh.c: Likewise.
88259         * math/s_catanhf.c: Likewise.
88260         * math/s_catanhl.c: Likewise.
88261         * math/s_catanl.c: Likewise.
88262         * math/s_ccosh.c: Likewise.
88263         * math/s_ccoshf.c: Likewise.
88264         * math/s_ccoshl.c: Likewise.
88265         * math/s_cexp.c: Likewise.
88266         * math/s_cexpf.c: Likewise.
88267         * math/s_cexpl.c: Likewise.
88268         * math/s_clog.c: Likewise.
88269         * math/s_clog10.c: Likewise.
88270         * math/s_clog10f.c: Likewise.
88271         * math/s_clog10l.c: Likewise.
88272         * math/s_clogf.c: Likewise.
88273         * math/s_clogl.c: Likewise.
88274         * math/s_csin.c: Likewise.
88275         * math/s_csinf.c: Likewise.
88276         * math/s_csinh.c: Likewise.
88277         * math/s_csinhf.c: Likewise.
88278         * math/s_csinhl.c: Likewise.
88279         * math/s_csinl.c: Likewise.
88280         * math/s_csqrt.c: Likewise.
88281         * math/s_csqrtf.c: Likewise.
88282         * math/s_csqrtl.c: Likewise.
88283         * math/s_ctan.c: Likewise.
88284         * math/s_ctanf.c: Likewise.
88285         * math/s_ctanh.c: Likewise.
88286         * math/s_ctanhf.c: Likewise.
88287         * math/s_ctanhl.c: Likewise.
88288         * math/s_ctanl.c: Likewise.
88289         * math/s_ldexp.c: Likewise.
88290         * math/s_ldexpf.c: Likewise.
88291         * math/s_ldexpl.c: Likewise.
88292         * math/s_significand.c: Likewise.
88293         * math/s_significandf.c: Likewise.
88294         * math/s_significandl.c: Likewise.
88295         * math/w_acos.c: Likewise.
88296         * math/w_acosf.c: Likewise.
88297         * math/w_acosh.c: Likewise.
88298         * math/w_acoshf.c: Likewise.
88299         * math/w_acoshl.c: Likewise.
88300         * math/w_acosl.c: Likewise.
88301         * math/w_asin.c: Likewise.
88302         * math/w_asinf.c: Likewise.
88303         * math/w_asinl.c: Likewise.
88304         * math/w_atan2.c: Likewise.
88305         * math/w_atan2f.c: Likewise.
88306         * math/w_atan2l.c: Likewise.
88307         * math/w_atanh.c: Likewise.
88308         * math/w_atanhf.c: Likewise.
88309         * math/w_atanhl.c: Likewise.
88310         * math/w_cosh.c: Likewise.
88311         * math/w_coshf.c: Likewise.
88312         * math/w_coshl.c: Likewise.
88313         * math/w_dremf.c: Likewise.
88314         * math/w_exp10.c: Likewise.
88315         * math/w_exp10f.c: Likewise.
88316         * math/w_exp10l.c: Likewise.
88317         * math/w_exp2.c: Likewise.
88318         * math/w_exp2f.c: Likewise.
88319         * math/w_fmod.c: Likewise.
88320         * math/w_fmodf.c: Likewise.
88321         * math/w_fmodl.c: Likewise.
88322         * math/w_hypot.c: Likewise.
88323         * math/w_hypotf.c: Likewise.
88324         * math/w_hypotl.c: Likewise.
88325         * math/w_j0.c: Likewise.
88326         * math/w_j0f.c: Likewise.
88327         * math/w_j0l.c: Likewise.
88328         * math/w_j1.c: Likewise.
88329         * math/w_j1f.c: Likewise.
88330         * math/w_j1l.c: Likewise.
88331         * math/w_jn.c: Likewise.
88332         * math/w_jnf.c: Likewise.
88333         * math/w_jnl.c: Likewise.
88334         * math/w_lgamma.c: Likewise.
88335         * math/w_lgamma_r.c: Likewise.
88336         * math/w_lgammaf.c: Likewise.
88337         * math/w_lgammaf_r.c: Likewise.
88338         * math/w_lgammal.c: Likewise.
88339         * math/w_lgammal_r.c: Likewise.
88340         * math/w_log.c: Likewise.
88341         * math/w_log10.c: Likewise.
88342         * math/w_log10f.c: Likewise.
88343         * math/w_log10l.c: Likewise.
88344         * math/w_log2.c: Likewise.
88345         * math/w_log2f.c: Likewise.
88346         * math/w_log2l.c: Likewise.
88347         * math/w_logf.c: Likewise.
88348         * math/w_logl.c: Likewise.
88349         * math/w_pow.c: Likewise.
88350         * math/w_powf.c: Likewise.
88351         * math/w_powl.c: Likewise.
88352         * math/w_remainder.c: Likewise.
88353         * math/w_remainderf.c: Likewise.
88354         * math/w_remainderl.c: Likewise.
88355         * math/w_scalb.c: Likewise.
88356         * math/w_scalbf.c: Likewise.
88357         * math/w_scalbl.c: Likewise.
88358         * math/w_sinh.c: Likewise.
88359         * math/w_sinhf.c: Likewise.
88360         * math/w_sinhl.c: Likewise.
88361         * math/w_sqrt.c: Likewise.
88362         * math/w_sqrtf.c: Likewise.
88363         * math/w_sqrtl.c: Likewise.
88364         * math/w_tgamma.c: Likewise.
88365         * math/w_tgammaf.c: Likewise.
88366         * math/w_tgammal.c: Likewise.
88368         * po/ja.po: Update from translation team.
88370 2011-09-29  Andreas Jaeger  <aj@suse.de>
88372         [BZ #13179]
88373         * sunrpc/netname.c (netname2host): Fix logic.
88375         [BZ #6779]
88376         [BZ #6783]
88377         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88378         correctly.
88379         * math/w_remainder.c (__remainder): Likewise.
88380         * math/w_remainderf.c (__remainderf): Likewise.
88381         * math/libm-test.inc (remainder_test): Add test cases.
88383 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88385         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88386         sdiv_qrnnd.
88388 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88390         * string/test-memcmp.c: Avoid unncessary #defines.
88391         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88393 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88395         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88396         Use new sse2 version for core i3 - i7 as it's faster
88397         than sse42 version.
88398         (bit_Prefer_PMINUB_for_stringop): New.
88399         * sysdeps/x86_64/rawmemchr.S: Update.
88400         Replace with faster SSE2 version.
88401         * sysdeps/x86_64/memrchr.S: New file.
88402         * sysdeps/x86_64/memchr.S: Update.
88403         Replace with faster SSE2 version.
88405 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88407         * elf/dl-load.c (lose): Add cast to avoid warning.
88409 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88411         * po/ca.po: Update from translation team.
88413         * inet/getnetgrent_r.c: Hook up nscd.
88414         * nscd/Makefile (routines): Add nscd_netgroup.
88415         (nscd-modules): Add netgroupcache.
88416         (CFLAGS-netgroupcache.c): Define.
88417         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88418         (cache_search): Add const to second parameter.
88419         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88420         INNETGR.
88421         (dbs): Add netgrdb entry.
88422         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88423         (verify_persistent_db): Handle netgrdb.
88424         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88425         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88426         GETFDNETGR.
88427         (netgroup_response_header): Define.
88428         (innetgroup_response_header): Define.
88429         (datahead): Add netgroup_response_header and innetgroup_response_header
88430         elements.
88431         * nscd/nscd.conf: Add entries for netgroup cache.
88432         * nscd/nscd.h (dbtype): Add netgrdb.
88433         (_PATH_NSCD_NETGROUP_DB): Define.
88434         (netgroup_iov_disabled): Declare.
88435         (xmalloc, xcalloc, xrealloc): Move declarations here.
88436         (cache_search): Adjust prototype.
88437         Add netgroup-related prototypes.
88438         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88439         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88440         (__nscd_innetgr): Declare.
88441         * nscd/selinux.c (perms): Use access_vector_t as element type and
88442         add netgroup-related initializers.
88443         * nscd/netgroupcache.c: New file.
88444         * nscd/nscd_netgroup.c: New file.
88445         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88446         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88447         For four parameters use innetgr.
88448         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88449         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88450         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88451         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88453         * nscd/connections.c (register_traced_file): Don't register file
88454         for disabled databases.
88456 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88458         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88460         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88461         from tree and freeing node.
88463 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88465         * nss/nsswitch.c (__nss_database_lookup): Handle
88466         nss_parse_service_list out of memory case.
88468 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88470         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88471         out of memory case.
88473 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88475         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88476         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88477         pass it down.
88478         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88479         elf_machine_rela, elf_machine_lazy_rel.
88480         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88481         (ELF_DYNAMIC_DO_REL): Likewise.
88482         (ELF_DYNAMIC_DO_RELA): Likewise.
88483         (ELF_DYNAMIC_RELOCATE): Likewise.
88484         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88485         to ELF_DYNAMIC_DO_REL.
88486         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88487         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88488         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88489         elf_machine_rela.
88490         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88491         skip_ifunc, don't call ifunc function if non-zero.
88492         (elf_machine_rela): Likewise.
88493         (elf_machine_lazy_rel): Likewise.
88494         (elf_machine_lazy_rela): Likewise.
88495         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88496         (elf_machine_lazy_rel): Likewise.
88497         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88498         Likewise.
88499         (elf_machine_lazy_rel): Likewise.
88500         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88501         Likewise.
88502         (elf_machine_lazy_rel): Likewise.
88503         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88504         (elf_machine_lazy_rel): Likewise.
88505         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88506         (elf_machine_lazy_rel): Likewise.
88507         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88508         (elf_machine_lazy_rel): Likewise.
88509         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88510         (elf_machine_lazy_rel): Likewise.
88511         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88512         (elf_machine_lazy_rel): Likewise.
88513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88514         (elf_machine_lazy_rel): Likewise.
88516 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88518         * nss/nss_files/files-init.c (_nss_files_init): Use static
88519         initialization for all the *_traced_file variables.
88521 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88523         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88525 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88527         [BZ #13226]
88528         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88530 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88532         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88533         Reread the line before reparsing it.
88535 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88537         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88539 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88540             Maxim Kuvyrkov  <maxim@codesourcery.com>
88541             Joseph Myers  <joseph@codesourcery.com>
88543         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88544         if needed for __stack_chk_guard.
88546 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88548         * sysdeps/posix/spawni.c (script_execute): Always define it.
88549         It will be optimized away if unused.
88550         (maybe_script_execute): New function.
88551         (__spawni): Call it.
88553         * Makerules: Don't include tls.make.
88554         (config-tls): Always set to thread.
88555         * tls.make.c: File removed.
88557 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88559         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88560         * config.make.in (CPPFLAGS-config): New substituted variable.
88562 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88564         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88566         [BZ #13192]
88567         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88568         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88570 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88572         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88573         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88574         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88575         (CALL_FAIL): Likewise.
88576         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88577         (CALL_FAIL): Macro removed.
88578         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88580 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88582         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88583         for __FINITE_MATH_ONLY__ == 1.
88585 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88587         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88588         __ieee754_sqrt instead of sqrt.
88589         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88590         __ieee754_sqrtf instead of sqrtf.
88591         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88592         __floorf instead of floorf.
88593         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88594         __floorf, __truncf instead of floorf, truncf.
88596 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88598         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88600         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88601         __extern_always_inline.
88602         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88603         32-bit.
88605 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88607         * elf/rtld.c (dl_main): Also relocate in dependency order when
88608         doing symbol dependency testing.
88610 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88613         Always define `refsym'.
88615 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88617         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88618         (__FD_ELT): Renamed from __FDELT.
88619         * misc/bits/select2.h (__FD_ELT): Likewise.
88620         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88621         __FD_MASK instead of __FDELT, __FDMASK.
88622         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88623         Likewise.
88624         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88625         Likewise.
88627         * elf/Makefile (gen-ldd): Fix pattern.
88629         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88630         (init_tls): Likewise.
88632 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
88634         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88636 2011-09-12  Andreas Schwab  <schwab@redhat.com>
88638         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88639         `struct cmsghdr *' instead of `void *'.
88640         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88641         Likewise.
88643 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
88645         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88646         if non-absolute.
88647         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88648         ldd_rewrite_script.
88650 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
88652         * configure.in: Remove --with-tls option.
88653         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88654         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88655         out in case it is missing.
88656         * sysdeps/ia64/elf/configure.in: Likewise.
88657         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88658         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88659         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88660         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88661         * sysdeps/sh/elf/configure.in: Likewise.
88662         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88663         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88664         * sysdeps/x86_64/elf/configure.in: Likewise.
88665         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88666         * sysdeps/mach/hurd/tls.h: Likewise.
88668         [BZ #13067]
88669         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88671         [BZ #13090]
88672         * configure.in: Fix use of AC_INIT.
88674         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88676 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
88678         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88679         __set_errno.
88680         * malloc/hooks.c: Likewise.
88682         [BZ #11929]
88683         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
88684         variables statically.
88685         (narenas): Initialize.
88686         (list_lock): Initialize.
88687         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
88688         initializtion of main_arena and list_lock.  Small cleanups.
88689         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
88690         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
88691         Add initializers to main_arena and mp_.
88692         (malloc_state): Remove pagesize member.  Change all users to use
88693         GLRO(dl_pagesize).
88695         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
88696         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
88697         is always initialized.
88699         * malloc/malloc.c: Removed unused configurations and dead code.
88700         * malloc/arena.c: Likewise.
88701         * malloc/hooks.c: Likewise.
88702         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
88704         * include/tls.h: Removed.  USE___THREAD must always be defined.
88705         * bits/libc-tsd.h: Don't handle !USE___THREAD.
88706         * elf/dl-libc.c: Likewise.
88707         * elf/dl-tsd.c: Likewise.
88708         * include/errno.h: Likewise.
88709         * include/netdb.h: Likewise.
88710         * include/resolv.h: Likewise.
88711         * inet/herrno-loc.c: Likewise.
88712         * inet/herrno.c: Likewise.
88713         * malloc/arena.c: Likewise.
88714         * malloc/hooks.c: Likewise.
88715         * malloc/malloc.c: Likewise.
88716         * resolv/res-state.c: Likewise.
88717         * resolv/res_libc.c: Likewise.
88718         * sysdeps/i386/dl-machine.h: Likewise.
88719         * sysdeps/ia64/dl-machine.h: Likewise.
88720         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
88721         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
88722         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
88723         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
88724         * sysdeps/sh/dl-machine.h: Likewise.
88725         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
88726         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
88727         * sysdeps/unix/i386/sysdep.S: Likewise.
88728         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
88729         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
88730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
88731         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
88732         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
88733         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
88734         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88735         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
88736         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88737         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
88738         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88739         * sysdeps/x86_64/dl-machine.h: Likewise.
88740         * tls.make.c: Likewise.
88742         * configure.in: Remove --with-__thread option.  Make tests for
88743         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
88744         tls_model attribute fail if no support is available.  Remove
88745         USE_IN_LIBIO.
88746         * Makeconfig: Adjust for dropped configure option.  All features are
88747         now mandatory.
88748         * Makerules: Likewise.
88749         * Versions.def: Likewise.
88750         * argp/argp-fmtstream.c: Likewise.
88751         * argp/argp-fmtstream.h: Likewise.
88752         * argp/argp-help.c: Likewise.
88753         * assert/assert.c: Likewise.
88754         * config.h.in: Likewise.
88755         * config.make.in: Likewise.
88756         * configure: Likewise.
88757         * configure.in: Likewise.
88758         * csu/Versions: Likewise.
88759         * csu/init.c: Likewise.
88760         * elf/tst-audit2.c: Likewise.
88761         * elf/tst-tls10.c: Likewise.
88762         * elf/tst-tls10.h: Likewise.
88763         * elf/tst-tls11.c: Likewise.
88764         * elf/tst-tls12.c: Likewise.
88765         * elf/tst-tls14.c: Likewise.
88766         * elf/tst-tlsmod11.c: Likewise.
88767         * elf/tst-tlsmod12.c: Likewise.
88768         * elf/tst-tlsmod13.c: Likewise.
88769         * elf/tst-tlsmod13a.c: Likewise.
88770         * elf/tst-tlsmod14a.c: Likewise.
88771         * elf/tst-tlsmod15b.c: Likewise.
88772         * elf/tst-tlsmod16a.c: Likewise.
88773         * elf/tst-tlsmod16b.c: Likewise.
88774         * elf/tst-tlsmod7.c: Likewise.
88775         * elf/tst-tlsmod8.c: Likewise.
88776         * elf/tst-tlsmod9.c: Likewise.
88777         * gmon/gmon.c: Likewise.
88778         * grp/fgetgrent_r.c: Likewise.
88779         * grp/putgrent.c: Likewise.
88780         * hurd/fopenport.c: Likewise.
88781         * include/libc-symbols.h: Likewise.
88782         * include/tls.h: Likewise.
88783         * intl/gettextP.h: Likewise.
88784         * intl/loadinfo.h: Likewise.
88785         * locale/global-locale.c: Likewise.
88786         * locale/localeinfo.h: Likewise.
88787         * mach/devstream.c: Likewise.
88788         * malloc/arena.c: Likewise.
88789         * malloc/set-freeres.c: Likewise.
88790         * misc/err.c: Likewise.
88791         * misc/getttyent.c: Likewise.
88792         * misc/mntent_r.c: Likewise.
88793         * posix/getopt.c: Likewise.
88794         * posix/wordexp.c: Likewise.
88795         * pwd/fgetpwent_r.c: Likewise.
88796         * resolv/Versions: Likewise.
88797         * resolv/res_hconf.c: Likewise.
88798         * shadow/fgetspent_r.c: Likewise.
88799         * shadow/putspent.c: Likewise.
88800         * stdio-common/printf_fphex.c: Likewise.
88801         * stdio-common/tmpfile.c: Likewise.
88802         * stdlib/abort.c: Likewise.
88803         * stdlib/fmtmsg.c: Likewise.
88804         * sunrpc/auth_unix.c: Likewise.
88805         * sunrpc/clnt_perr.c: Likewise.
88806         * sunrpc/clnt_tcp.c: Likewise.
88807         * sunrpc/clnt_udp.c: Likewise.
88808         * sunrpc/clnt_unix.c: Likewise.
88809         * sunrpc/openchild.c: Likewise.
88810         * sunrpc/svc_simple.c: Likewise.
88811         * sunrpc/svc_tcp.c: Likewise.
88812         * sunrpc/svc_udp.c: Likewise.
88813         * sunrpc/svc_unix.c: Likewise.
88814         * sunrpc/xdr.c: Likewise.
88815         * sunrpc/xdr_array.c: Likewise.
88816         * sunrpc/xdr_rec.c: Likewise.
88817         * sunrpc/xdr_ref.c: Likewise.
88818         * sunrpc/xdr_stdio.c: Likewise.
88820 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88822         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88824 2011-07-03  Andreas Jaeger  <aj@suse.de>
88826         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
88827         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
88828         regenerate with gen-libm-tests.pl.
88830 2010-05-12  Petr Baudis  <pasky@suse.cz>
88832         [BZ #11589]
88833         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
88834         around j0() zero points by switching to j1().
88835         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88836         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88837         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88838         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88840 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88842         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
88843         instead of 0.
88844         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
88845         instead of 0.
88846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88847         Patch in part by Pavel Roskin <proski@gnu.org>.
88849         [BZ #13138]
88850         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
88851         realloc.
88852         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
88853         Free memory block if necessary.
88855         [BZ #12847]
88856         * libio/genops.c (INTDEF): For string streams the _lock pointer can
88857         be NULL.  Don't lock in this case.
88859 2011-09-09  Roland McGrath  <roland@hack.frob.com>
88861         * elf/elf.h (ELFOSABI_GNU): New macro.
88862         (ELFOSABI_LINUX): Define to that.
88864 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
88866         * string/strncat.c (strncat): Undef the symbol in case it has been
88867         defined in bits/string.h.
88869 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88871         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
88873         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
88874         link map.
88876 2011-08-17  Andreas Jaeger  <aj@suse.de>
88878         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
88880 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
88881             Ian Lance Taylor  <iant@google.com>
88883         * math/libm-test.inc (lround_test): New testcase.
88884         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
88886 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
88888         * Makefile: Remove support for automatic cvs check-ins.
88889         * Makerules: Likewise.
88890         * config.make.in: Likewise.
88891         * configure.in: Likewise.
88892         * intl/Makefile: Likewise.
88893         * locale/Makefile: Likewise.
88894         * po/Makefile: Likewise.
88895         * posix/Makefile: Likewise.
88896         * sysdeps/gnu/Makefile: Likewise.
88897         * sysdeps/mach/hurd/Makefile: Likewise.
88898         * sysdeps/sparc/sparc32/Makefile: Likewise.
88900         [BZ #13118]
88901         * posix/Makefile (bug-regex32-ENV): Define.
88902         Patch by John Stanley <jpsinthemix@verizon.net>.
88904         * misc/Makefile (headers): Add bits/select2.h.
88905         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
88906         * misc/bits/select2.h: New file.
88907         * include/bits/select2.h: New file.
88908         * debug/Makefile (routines): Add fdelt_chk.
88909         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
88910         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
88911         FD_ISSET.
88912         * debug/fdelt_chk.c: New file.
88914         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
88915         * wcsmbs/test-wmemcmp.c: Likewise.
88916         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
88917         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88919 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88921         * string/Makefile (strop-tests): Add memcmp.
88922         * string/test-wmemcmp.c: New file.
88923         * string/test-memcmp.c: Add wmemcmp support.
88925 2011-09-08  Roland McGrath  <roland@hack.frob.com>
88927         [BZ #13153]
88928         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88929         2011-07-19 change.
88931         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88932         garbage value in a __mach_port_mod_refs call in the cases of the
88933         task-self and thread-self ports.
88935 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88937         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88939 2011-09-08  Andreas Schwab  <schwab@redhat.com>
88941         * elf/dl-load.c (lose): Check for non-null L.
88943 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88945         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88947         * elf/dl-libc.c (dlerror_run): Pass back error code from
88948         dl_catch_error.
88950         [BZ #13123]
88951         * elf/dl-load.c (lose): Free l_origin if it is valid.
88953         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88954         names.
88955         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88956         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88957         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88958         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88959         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88960         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88962 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88964         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88965         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88966         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88967         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88968         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88969         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88970         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88971         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88972         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88973         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88975 2011-08-15  Alan Modra  <amodra@gmail.com>
88977         [BZ #13092]
88978         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88979         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88980         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88981         ppc_mcount to static-only-routines.
88982         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88983         __mcount_internal.
88984         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88985         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88987 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88989         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88990         for finite and infinity parameters.
88992 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88994         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88995         and add nop instructions for throughput optimization.
88996         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88998 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
89000         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
89001         aligned copy for power7 with vector-scalar instructions.
89002         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
89004 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
89006         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
89007         AVX check.
89009 2011-09-07  Andreas Schwab  <schwab@redhat.com>
89011         [BZ #13144]
89012         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
89013         last change.
89015 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89017         * sysdeps/unix/sysv/linux/x86_64/init-first.c
89018         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
89019         syscall wrapper around clock_gettime in __vdso_clock_gettime.
89020         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
89021         clock_gettime.
89023 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89025         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
89026         Forgot to demangle the pointer.
89028         * sysdeps/i386/sysdep.h: Define atom_text_section.
89029         * sysdeps/x86_64/sysdep.h: Likewise.
89030         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
89031         section with atom_text_section.
89032         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89033         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89034         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
89035         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89036         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
89038         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
89039         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
89040         already be defined.  Change to take two parameters and don't assign
89041         result to variable.  Adjust all users.
89042         Define INTERNAL_GETTIME if not already defined.
89043         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
89044         call.
89045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
89046         HAVE_CLOCK_GETTIME_VSYSCALL.
89047         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
89049         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
89050         gettimeofday vsyscall, just use time.
89052 2011-09-06  Andreas Schwab  <schwab@redhat.com>
89054         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
89055         <errno.h>.
89057 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89059         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
89060         syscall on x86-64.
89061         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
89062         syscall.
89063         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
89064         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
89065         syscall if possible.
89067 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89069         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
89070         e_ident.  Don't pass to find_mapsXX.
89071         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
89073 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89076         strchr-sse2-no-bsf strrchr-sse2-no-bsf
89077         * sysdeps/x86_64/multiarch/strchr.S: Update.
89078         Check bit_slow_BSF bit.
89079         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
89080         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
89081         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
89083 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89085         [BZ #13134]
89086         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
89087         before glibc 2.15.
89088         (tryshell): Define.
89089         (__spawni): Change last parameter to be flag.  Test
89090         SPAWN_XFLAGS_USE_PATH flag to use path or not.
89091         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
89092         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
89093         * posix/spawni.c: Likewise.
89094         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
89095         * posix/spawnp.c: Likewise.  Change normal version to use
89096         SPAWN_XFLAGS_USE_PATH.
89097         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
89098         SPAWN_XFLAGS_TRY_SHELL.
89100         [BZ #13150]
89101         * posix/glob.h: Remove gcc 1.x support.
89103         [BZ #13068]
89104         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
89106 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89108         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89109         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
89110         strrchr-sse2-bsf
89111         * sysdeps/i386/i686/multiarch/strchr.S: New file.
89112         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
89113         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
89114         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
89115         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
89116         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
89118 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89120         * sysdeps/x86_64/wcscmp.S: New file.
89122         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
89123         wcscmp-c wcscmp-sse2
89124         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
89125         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
89126         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
89127         * wcsmbs/wcscmp.c: Allow renaming.
89129 2011-09-05  David S. Miller  <davem@davemloft.net>
89131         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
89132         stack slot, rather than the struct return pointer slot.
89133         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
89134         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
89135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
89136         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
89138 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89140         * po/ja.po: Update from translation team.
89142         [BZ #13144]
89143         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
89144         kernel in 64-bit binaries.
89146 2011-09-01  David S. Miller  <davem@davemloft.net>
89148         * elf/elf.h (HWCAP_SPARC_*): Move to..
89149         * sysdeps/sparc/sysdep.h: this new file and add new values.
89150         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
89151         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
89152         _DL_HWCAP_COUNT to 24.
89153         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
89154         entries.
89155         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
89156         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
89157         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
89158         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
89159         instead of magic constants.
89160         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
89162 2011-08-31  David S. Miller  <davem@davemloft.net>
89164         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
89165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
89166         Reimplement to do errno handling inline.
89167         (SYSCALL_ERROR_HANDLER): New macro.
89168         (__SYSCALL_STRING): Do not do errno handling in asm.
89169         (__CLONE_SYSCALL_STRING): Delete.
89170         (__INTERNAL_SYSCALL_STRING): Delete.
89171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
89172         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
89173         (PSEUDO): Reimplement to do errno handling inline.
89174         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
89175         (SYSCALL_ERROR_HANDLER): New macro.
89176         (__SYSCALL_STRING): Do not do errno handling in asm.
89177         (__CLONE_SYSCALL_STRING): Delete.
89178         (__INTERNAL_SYSCALL_STRING): Delete.
89179         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89180         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89181         i386.
89182         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89183         (inline_syscall*): Add 'err' argument.
89184         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89185         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89186         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89187         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89189         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89190         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89192 2011-08-30  Andreas Schwab  <schwab@redhat.com>
89194         * elf/rtld.c (dl_main): Relocate objects in dependency order.
89196 2011-08-29  Jiri Olsa <jolsa@redhat.com>
89198         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
89199         directive.
89201 2011-08-24  David S. Miller  <davem@davemloft.net>
89203         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
89205 2011-08-24  Andreas Schwab  <schwab@redhat.com>
89207         * elf/Makefile: Add rules to build and run unload8 test.
89208         * elf/unload8.c: New file.
89209         * elf/unload8mod1.c: New file.
89210         * elf/unload8mod1x.c: New file.
89211         * elf/unload8mod2.c: New file.
89212         * elf/unload8mod3.c: New file.
89214         * elf/dl-close.c (_dl_close_worker): Reset private search list if
89215         it wasn't used.
89217 2011-08-23  David S. Miller  <davem@davemloft.net>
89219         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
89220         subtract stack bias.
89221         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
89222         %sp not %fp in calculations.
89223         (_JMPBUF_UNWINDS_ADJ): Likewise.
89225         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
89226         (aio_suspend): Call it to force an exception region around the
89227         AIO_MISC_WAIT() invocation.
89229 2011-08-23  Andreas Schwab  <schwab@redhat.com>
89231         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
89232         backslash.
89234 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
89236         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
89237         protection macro.
89238         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
89239         and <dl-machine.h>.
89240         (Elf64_FuncDesc): Remove.
89242 2011-08-22  David S. Miller  <davem@davemloft.net>
89244         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
89245         sigaltstack check, add missing cfi directives.
89246         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
89247         missing cfi directives, and sigaltstack handling.
89249 2011-08-16  Andreas Schwab  <schwab@redhat.com>
89251         [BZ #11724]
89252         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
89253         object is seen twice.
89254         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89256         * elf/Makefile (distribute): Add tst-initorder2.c.
89257         (tests): Add tst-initorder2.
89258         (modules-names): Add tst-initorder2a tst-initorder2b
89259         tst-initorder2c tst-initorder2d.  Add rules to build them.
89260         ($(objpfx)tst-initorder2.out): New rule.
89261         * elf/tst-initorder2.c: New file.
89262         * elf/tst-initorder2.exp: New file.
89264 2011-08-22  Andreas Schwab  <schwab@redhat.com>
89266         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
89268         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
89269         dependencies back to end of function.
89271         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89272         $(elfobjdir)/ld.so.
89274 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
89276         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89277         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89278         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89279         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89280         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89281         of __vdso_gettimeofday.
89282         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89283         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
89284         attribute_hidden.
89285         (_libc_vdso_platform_setup): Remove initialization of
89286         __vdso_gettimeofday and __vdso_time.
89288 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89290         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89291         and fgetc_unlocked.
89292         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89293         getc_unlocked.
89295         * elf/dl-open.c (add_to_global): Report additions to the global scope
89296         for LD_DEBUG=scopes.
89297         (dl_open_worker): Also print scope of newly loaded dependencies.
89298         (_dl_show_scope): Indicate if there is no scope.
89300         [BZ #13114]
89301         * stdio-common/Makefile (tests): Add bug24.
89302         * stdio-common/bug24.c: New file.
89304 2011-08-19  Andreas Jaeger  <aj@suse.de>
89306         [BZ #13114]
89307         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89308         non-existant file when using close-on-exec mode.
89310 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89312         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89313         the very first instruction.
89315         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89316         the CFI state in the end.
89317         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89318         inclusion of dl-trampoline.h.
89319         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89321 2011-08-19  Andreas Schwab  <schwab@redhat.com>
89323         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89324         expectations for long double.
89326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89327         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89329 2011-08-14  David S. Miller  <davem@davemloft.net>
89331         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89332         artificual limit depends upon the system page size.
89334 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89336         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89337         * resolv/Makefile: Define CFLAGS-libresolv.
89339 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89341         * nss/makedb.c (compute_tables): Make variables used in nested
89342         function static.
89344 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89346         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89347         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89348         if buffer was too small.
89350         * elf/pldd.c (main): Attach to all threads in the process.
89351         Rewrite /proc handling to use *at functions.
89353 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89355         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89356         specifies first scope to show.
89357         (dl_open_worker): Update callers.  Move printing scope of new
89358         object to before the relocation.
89359         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89360         * sysdeps/generic/ldsodefs.h: Update declaration.
89362         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89363         string for the scope number.
89365 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89367         * nscd/servicescache.c (cache_addserv): Make sure written is always
89368         initialized.
89370 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89372         * sysdeps/i386/i486/bits/atomic.h
89373         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89374         statement expression, so as to suppress "set but not used" warning.
89375         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89377         * string/strncat.c (STRNCAT): Use prototype definition.
89379         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89380         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89381         -Iprograms here.
89382         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89383         (localedef-modules): Add localedef.
89384         (locale-modules): Add locale.
89386         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89387         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89388         to avoid a warning.
89390 2011-08-14  David S. Miller  <davem@davemloft.net>
89392         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89393         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89395 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89397         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89398         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89399         * elf/rtld.c (dl_main): Set l_name of vDSO.
89400         Call _dl_show_scope when DL_DEBUG_SCOPES.
89401         (process_dl_debug): Recognize scopes flag and also set it for all.
89402         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89403         Declare _dl_show_scope.
89405         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89406         (do_dlopen): Pass caller_dlopen to dl_open.
89407         (__libc_dlopen_mode): Initialize caller_dlopen.
89409         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89410         of libc.  Make tolower call locale-independent.  Optimize a bit by
89411         using isdigit instead of isalnum.
89412         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89414 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89416         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89417         was a dependency or dynamically loaded.
89419 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89421         * intl/l10nflist.c: Allow architecture-specific pop function.
89422         * sysdeps/x86_64/l10nflist.c: New file.
89424         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89425         classification.
89427 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89429         * include/dirent.h: Add libc_hidden_proto for scandirat and
89430         scandirat64.  Don't declare __scandirat64.
89431         * dirent/scandirat.c: Add libc_hidden_def.
89432         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89433         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89435 2011-08-10  David S. Miller  <davem@davemloft.net>
89437         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89438         enum.
89439         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89440         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89441         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89443 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89445         * Versions.def [libc]: Add GLIBC_2.15.
89446         * dirent/Makefile (routines): Add scandirat and scandirat64.
89447         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89448         GLIBC_2.15.
89449         * dirent/dirent.h: Declare scandirat and scandirat64.
89450         * dirent/scandirat.c: New file.
89451         * dirent/scandirat64.c: New file.
89452         * sysdeps/wordsize-64/scandirat.c: New file.
89453         * sysdeps/wordsize-64/scandirat64.c: New file.
89454         * dirent/opendir.c: Define opendirat.
89455         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89456         using scandirat.
89457         * dirent/scandir64.c: Adjust for scandir.c change.
89458         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89459         __scandirat64, and __scandir_cancel_handler.
89460         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89461         additional parameter and use openat instead of open (outside of ld.so).
89462         Add new __opendir as wrapper around __opendirat.
89463         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89464         here without requiring old scandirat implementation.
89466 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89468         * dirent/scandir.c (cancel_handler): Renamed to
89469         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89470         defined.  Adjust users.
89471         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89472         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89474 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89476         * string/test-string.h (IMPL): Use __STRING to expand name and then
89477         stringify it.
89479         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89480         of cleanups.
89482 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89484         * string/Makefile: Update.
89485         (strop-tests): Append strncat.
89486         * string/test-wcscmp.c: New file.
89487         New comprehensive test for wcscmp.
89488         * string/test-strcmp.c: Update.
89489         (WIDE): New define.
89491 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89493         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89494         line.
89496 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89499         encoding to ACE if AI_IDN.
89501 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89503         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89504         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89506 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89508         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89509         Fix overflow bug in strncat.
89510         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89512         * string/test-strncat.c: Update.
89513         Add new tests for checking overflow bugs.
89515 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89518         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89519         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89520         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89521         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89522         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89523         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89524         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89525         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89527         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89528         (USE_AS_STRCAT): Define.
89529         Add strcat and strncat support.
89530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89532 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89534         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89535         __n bigger than INT_MAX+1.
89536         (__strncmp_g): Likewise.
89538 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89540         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89541         * libio/stido.h: Likewise.
89543         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89544         (AF_NFC): Define.
89545         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89546         (AF_NFC): Define.
89548         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89549         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89550         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89551         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89552         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89554         [BZ #13021]
89555         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89556         installed.
89558         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89559         typo.
89560         (_dl_x86_64_save_sse): Likewise.
89562 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89564         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89565         OSXSAVE.
89566         (_dl_x86_64_save_sse): Likewise.
89568         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89570         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89572 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89574         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89575         change.
89576         (_dl_x86_64_save_sse): Use correct AVX check.
89578 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89580         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89581         bug in strncpy/strncat.
89582         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89584 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89586         * string/tester.c (test_strcat): Add tests for different alignments
89587         of source and destination.
89588         (test_strncat): Likewise.
89590 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89592         [BZ #12852]
89593         * posix/glob.c (glob): Check passed in values before using them in
89594         expressions to avoid some overflows.
89595         (glob_in_dir): Likewise.
89597         [BZ #13007]
89598         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89599         check for AVX enablement so that we don't crash with old kernels and
89600         new hardware.
89601         * elf/tst-audit4.c: Add same checks here.
89602         * elf/tst-audit6.c: Likewise.
89604         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89606 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89608         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89610 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89612         * po/cs.po: Update from translation team.
89613         * po/bg.po: Likewise.
89615 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89617         * misc/sys/cdefs.h: Add support for const attribute.
89618         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89619         to gnu_dev_{major,minor,makedev} functions.
89621 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
89623         * intl/dcigettext.c (get_output_charset): Add missing bracket.
89625 2011-07-20  Andreas Schwab  <schwab@redhat.com>
89627         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89628         strlen results.
89630 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89632         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89633         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89634         register in order to avoid conflicts with the soft frame pointer
89635         being held in r11 when necessary.
89636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89637         (INTERNAL_VSYSCALL_NCS): Likewise.
89639 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
89641         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89642         * elf/dl-fini.c (_dl_fini): Adjust caller.
89643         * elf/dl-close.c (_dl_close_worker): Likewise.
89644         * sysdeps/generic/ldsodefs.h: Adjust declaration.
89646 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89648         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89649         "aux_cache->nlibs < 0".
89651         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89652         in the reload-count case.
89654 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89657         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89658         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89659         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89660         * sysdeps/x86_64/multiarch/strcat.S: New file.
89661         * sysdeps/x86_64/multiarch/strncat.S: New file.
89662         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89663         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89664         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89665         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89666         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89667         (USE_AS_STRCAT): Define.
89668         Add strcat and strncat support.
89669         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89670         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89671         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89672         * string/strncat.c: Update.
89673         (USE_AS_STRNCAT): Define.
89674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89675         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89676         and i7.
89677         * sysdeps/x86_64/multiarch/init-arch.h
89678         (bit_Prefer_PMINUB_for_stringop): New.
89679         (index_Prefer_PMINUB_for_stringop): Likewise.
89680         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89681         bit_Prefer_PMINUB_for_stringop.
89683 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89685         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
89686         buffer64.
89687         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
89688         of casting of buffer.
89689         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
89690         buffer32 and buffer64.
89691         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
89692         writes instead of casting of buffer.
89693         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
89694         buffer32.
89695         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
89696         casting of buffer.
89698 2011-07-19  Andreas Schwab  <schwab@redhat.com>
89700         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
89702 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89704         * nscd/nscd.c (termination_handler): Don't do anything for a database
89705         if it has not yet been initialized.
89707 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89709         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89711 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89713         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89715 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89717         * po/nl.po: Update from translation team.
89718         * po/sv.po: Likewise.
89720 2011-07-16  Roland McGrath  <roland@hack.frob.com>
89722         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
89723         now disallowed by GCC.
89725         * configure.in (use-default-link): Default to yes if a test -shared
89726         link meets our qualifications.
89727         * configure: Regenerated.
89729         * config.make.in (output-format): New variable.
89730         * configure.in: Check for ld --print-output-format support.
89731         * configure: Regenerated.
89732         * Makerules ($(common-objpfx)format.lds)
89733         [$(output-format) != unknown]: Just use $(output-format),
89734         instead of the linker-script munging.
89736 2011-07-14  Roland McGrath  <roland@hack.frob.com>
89738         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
89739         of $(common-objpfx)shlib.lds.
89740         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
89742         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
89743         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
89745         * configure.in (-z relro check): Adjust test code to add a large
89746         writable data section after it.
89747         * configure: Regenerated.
89749 2011-07-11  Roland McGrath  <roland@hack.frob.com>
89751         * configure.in (-z relro check): Fix test code to make the variable
89752         truly const.
89753         * configure: Regenerated.
89755 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
89757         * nscd/nscd.h (struct traced_file): Define.
89758         (struct database_dyn): Remove inotify_descr, reset_res, and filename
89759         elements.  Add traced_files.
89760         (inotify_fd): Declare.
89761         (register_traced_file): Declare.
89762         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
89763         (inotify_fd): Export.
89764         (resolv_conf_descr): Remove.
89765         (nscd_init): Move inotify descriptor creation to main.
89766         Don't register files for notification here.
89767         (register_traced_file): New function.
89768         (invalidate_cache): Don't use reset_res to determine whether to call
89769         res_init, go through the list of registered files.
89770         (main_loop_poll): The inotify descriptors are now stored in the
89771         structures for the traced files.
89772         (main_loop_epoll): Likewise.
89773         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
89774         to __nss_disable_nscd.
89775         * nscd/cache.c (prune_cache): There is no single inotify descriptor
89776         for a database anymore.  Check the records for all the registered
89777         files instead.
89778         * nss/Makefile (libnss_files-routines): Add files-init.
89779         (libnss_db-routines): Add db-init.
89780         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
89781         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
89782         * nss/nss_db/db-init.c: New file.
89783         * nss/nss_files/files-init.c: New file.
89784         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
89785         __nss_lookup_function.
89786         (__nss_lookup_function): Call nss_load_library.
89787         (nss_load_all_libraries): New function.
89788         (__nss_disable_nscd): Take parameter with callback function for files
89789         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
89790         used for the cached services.
89791         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
89792         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
89793         options for features to all the files in nscd.
89795         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
89797 2011-07-10  Roland McGrath  <roland@hack.frob.com>
89799         * csu/elf-init.c (__libc_csu_init): Comment typo.
89801 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
89803         * po/pl.po: Update from translation team.
89804         * po/ja.po: Likewise.
89805         * po/ru.po: Likewise.
89806         * po/ko.po: Likewise.
89807         * po/fr.po: Likewise.
89809 2011-07-09  Roland McGrath  <roland@hack.frob.com>
89811         * configure.in (.ctors/.dtors header and trailer check):
89812         Use an empirical test on a built program.
89813         * configure: Regenerated.
89815         * configure.in (-z relro check): Use an empirical test on a built DSO.
89816         Detect, but do not require, on ia64.
89817         * configure: Regenerated.
89819         * configure.in (READELF): Find it with AC_CHECK_TOOL.
89820         Update tests that use readelf to use $READELF instead.
89821         * configure: Regenerated.
89823 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
89825         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
89826         if the result is not used.
89828 2011-07-05  Andreas Jaeger  <aj@suse.de>
89830         [BZ #9696]
89831         * stdlib/tst-strtod.c: Add testcase.
89833 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
89835         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
89836         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
89837         The latter has a higher limit.  Take additional parameter to pass to
89838         the new function.
89839         (__pathconf): Pass file to __statfs_link_max.
89840         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
89841         __statfs_link_max.
89842         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
89843         __statfs_link_max.
89845         [BZ #12868]
89846         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
89847         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89848         Handle Lustre.
89849         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
89850         (__statfs_filesize_max): Likewise.
89851         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
89853 2011-07-05  Andreas Jaeger  <aj@suse.de>
89855         * resolv/res_comp.c (dn_skipname): Remove unused variable.
89857 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
89859         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
89860         `status' variable.
89861         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
89862         Likewise.
89864 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
89866         * Makefile (strop-tests): Add strncat.
89867         * string/test-strncat.c: New file.
89869 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
89871         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
89873 2011-06-21  Andreas Jaeger  <aj@suse.de>
89875         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
89876         Copy rule from iconvdata/Makefile.
89878 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89880         [BZ #12922]
89881         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
89882         but no long options are defined, just return 'W'.
89884 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
89886         [BZ #9696]
89887         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
89889 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89891         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
89892         netgroups to read.
89893         (innetgr): Likewise.
89895 2011-07-05  Roland McGrath  <roland@hack.frob.com>
89897         * config.make.in (install_root): Default to $(DESTDIR).
89899 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
89901         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
89903 2011-07-02  Roland McGrath  <roland@hack.frob.com>
89905         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
89907         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
89908         containing directory rather than embedding absolute directory names.
89910         * scripts/check-local-headers.sh: Rewritten using awk.
89911         Match by word, not by line.  Print error messages for matches.
89912         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
89914         * Makerules [shlib-lds-flags empty]:
89915         ($(common-objpfx)libc_pic.opts): New target.
89916         ($(common-objpfx)libc_pic.os.clean): New target.
89917         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89919         * config.make.in (OBJCOPY): New variable.
89920         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89921         * configure: Regenerated.
89923         * config.make.in (use-default-link): New variable.
89924         * configure.in (use_default_link): Grok --with-default-link to set it.
89925         * configure: Regenerated.
89926         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89927         (shlib-lds, shlib-lds-flags): Define to empty.
89929         * Makerules (shlib-lds): New variable.
89930         (shlib-lds-flags): New variable.
89931         (build-shlib, build-moduile, build-module-asneeded): Use it.
89932         ($(common-objpfx)libc.so): Use $(shlib-lds).
89933         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89934         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89936         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89937         DT_FLAGS/DT_FLAGS_1 with zero flags.
89939         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89940         linker script munging.
89942 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
89944         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89945         as 128-bit value.
89946         * crypt/sha512.c (sha512_process_block): Perform total addition using
89947         128-bit if possible.
89948         (__sha512_finish_ctx): Likewise.
89949         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89950         as 64-bit value.
89951         * crypt/sha256.c (SWAP64): Define.
89952         (sha256_process_block): Perform total addition using 64-bit if
89953         possible.
89954         (__sha256_finish_ctx): Likewise.
89956 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89958         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
89959         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89960         * nscd/hstcache.c (cache_addhst): Likewise.
89961         * nscd/grpcache.c (cache_addgr): Likewise.
89962         * nscd/aicache.c (addhstaiX): Likewise.
89963         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89965 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89967         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89968         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89969         * nscd/hstcache.c (cache_addhst): Likewise.
89970         * nscd/grpcache.c (cache_addgr): Likewise.
89971         * nscd/aicache.c (addhstaiX): Likewise.
89973 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89975         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89976         domain only when needed.
89978 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89981         is always restored.
89983 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89985         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89986         are re-adding the entry.
89987         * nscd/servicescache.c (cache_addserv): Likewise.
89989 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89991         * sysdeps/generic/dl-irel.h: fix protection against multiple
89992         inclusions.
89993         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89995 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89997         [BZ #12935]
89998         * malloc/memusage.sh: Fix quoting in message.
89999         * debug/xtrace.sh: Likewise.
90001         * configure.in: Remove support for --experimental-malloc option, make
90002         it the default.
90003         * config.make.in: Likewise.
90004         * malloc/Makefile: Likewise.
90006 2011-06-27  Andreas Schwab  <schwab@redhat.com>
90008         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
90009         two-byte characters.
90011 2011-06-27  Roland McGrath  <roland@hack.frob.com>
90013         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
90014         AC_CACHE_CHECK invocation.
90015         * configure: Regenerated.
90017         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
90019 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
90021         [BZ #12350]
90022         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
90023         bit from old_res_options.
90025         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
90027         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
90028         value type for setfct.
90030 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
90032         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90033         __gettimeofday instead of gettimeofday.
90035 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
90037         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
90039 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
90041         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
90043         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
90044         info.
90046 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90049         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90050         strcpy-sse2-unaligned strncpy-sse2-unaligned
90051         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
90052         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
90053         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
90054         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
90055         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
90056         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
90057         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
90058         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
90059         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
90060         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
90061         (STRCPY): Support SSE2 and SSSE3 versions.
90063 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
90065         [BZ #12874]
90066         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
90067         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
90068         kernels which artificially limit size of requests.
90070 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90072         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90073         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90074         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
90075         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
90076         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
90077         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
90078         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
90079         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
90080         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
90081         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
90082         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
90083         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90084         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
90085         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
90086         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
90087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90088         Enable unaligned load optimization for Intel Core i3, i5 and i7
90089         processors.
90090         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
90091         Define.
90092         (index_Fast_Unaligned_Load): Define.
90093         (HAS_FAST_UNALIGNED_LOAD): Define.
90095 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
90097         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
90099 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90101         [BZ #12907]
90102         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
90103         until it is clear that the information is realy needed.
90104         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
90106 2011-06-22  Andreas Schwab  <schwab@redhat.com>
90108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
90110 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90113         /sys/devices/system/cpu/online if it is usable.
90115         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
90116         reading the information from the /proc filesystem to once a second.
90118 2011-06-21  Andreas Jaeger  <aj@suse.de>
90120         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
90121         NULL after inclusion of kernel headers.
90123 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
90125         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
90126         calls to internal_setent.
90128         [BZ #12885]
90129         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
90130         addresses using gethostbyname4_r ignore IPv4 addresses.
90132         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
90133         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
90135         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
90137 2011-06-20  David S. Miller  <davem@davemloft.net>
90139         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
90140         inclusions.
90141         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
90143         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
90144         (elf_irel): Use it.
90145         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
90146         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
90147         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
90148         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
90149         * sysdeps/x86_64/dl-irel.h: Likewise.
90151         * elf/dl-runtime.c: Use elf_ifunc_invoke.
90152         * elf/dl-sym.c: Likewise.
90154 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90156         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
90157         need to dereference resplen2.
90159 2011-06-14  Andreas Schwab  <schwab@redhat.com>
90161         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
90163 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90165         * Makeconfig: Define vardbdir and inst_vardbdir.
90166         * nss/Makefile: Add rules to install db-Makefile.
90168         * nss/nss_db/db-XXX.c: Cleanup.
90170         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
90171         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
90172         GLIBC_PRIVATE.
90173         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
90174         * nss/makedb.c: Implement -g option to specify that value strings
90175         are generated and should not be added to table iterated over for
90176         get*ent calls.
90177         * nss/nss_db/db-initgroups.c: New file.
90179         * nss/getent.c: Add support for initgroups lookups through getgrouplist
90180         interface.
90182         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90183         (internal_getgrouplist): Adjust to name change.
90184         Update use_initgroups_entry if this is not the first call.
90185         * nss/databases.def: Add initgroups entry.
90187         * nss/makedb.c (compute_tables): Check result of multiple hash table
90188         sizes to minimize maximum chain length.
90190 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
90192         * Versions.def: Add entry for libnss_db.
90193         * shlib-versions: Likewise.
90194         * nss/Makefile: Add rules to build libnss_db.
90195         * nss/Versions: Add libnss_db information.  Organize libnss_files
90196         entries better.
90197         * nss/db-Makefile: Add gshadow support.  Change rules for the new
90198         makedb progra.  Some minor improvements to generate smaller files.
90199         * nss/nss_db/nss_db.h: Move NSS database header data structures to
90200         here from...
90201         * nss/makedb.c: ...here.
90202         Improve database format to be smaller and require less memory at
90203         runtime.
90204         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
90205         db anymore.
90206         * nss/nss_db/db-netgrp.c: Likewise.
90207         * nss/nss_db/db-open.c: Likewise.
90208         * nss/nss_files/flies-XXX.x: Adjust comments.
90209         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
90210         * nss/nss_files/files-grp.c: Likewise.
90211         * nss/nss_files/files-hosts.c: Likewise.
90212         * nss/nss_files/files-network.c: Likewise.
90213         * nss/nss_files/files-proto.c: Likewise.
90214         * nss/nss_files/files-pwd.c: Likewise.
90215         * nss/nss_files/files-rpc.c: Likewise.
90216         * nss/nss_files/files-service.c: Likewise.
90217         * nss/nss_files/files-sgrp.c: Likewise.
90218         * nss/nss_files/files-spwd.c: Likewise.
90219         * nss/nss_db/db-alias.c: Removed.
90220         * nss/nss_db/dummy-db.h: Removed.
90222 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
90224         * nss/makedb.c: Rewritten to not use database library.
90225         * nss/Makefile: Update to build new makedb program.
90227 2011-06-14  Andreas Jaeger  <aj@suse.de>
90229         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
90230         memset declaration.
90232 2011-06-10  Andreas Schwab  <schwab@redhat.com>
90234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
90235         tmpbuf.
90237 2011-06-10  Roland McGrath  <roland@hack.frob.com>
90239         * Makerules (shlib.lds): Fail if the linker script comes out empty.
90240         * elf/Makefile ($(objpfx)ld.so): Likewise.
90242         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90243         Don't list ld.so twice in dependencies.
90245         * posix/bug-regex31.c: Include <stdlib.h>.
90247         * nscd/hstcache.c (cache_addhst): Remove unused variable.
90249         * nis/nss_compat/compat-spwd.c
90250         (getspent_next_nss_netgr): Remove unused variable.
90251         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
90253         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
90254         nonmembers" output to use the right array.
90256         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
90258         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
90260         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
90261         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
90262         * catgets/gencat.c (read_input_file): Likewise.
90263         * locale/programs/locarchive.c (enlarge_archive): Likewise.
90265         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
90266         variable definition inside #if's controlling its use.
90268         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90270         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
90272         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
90274         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
90275         unreachable code.
90277         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90279         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90280         * configure: Regenerated.
90282         * Makerules: Revert last change.
90283         * elf/Makefile: Likewise.
90285 2011-06-09  Roland McGrath  <roland@hack.frob.com>
90287         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90288         * elf/Makefile ($(objpfx)librtld.os): Likewise.
90289         (reloc-link): Likewise.
90291 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
90293         * elf/Makefile: Add rules to build pldd.
90294         * elf/pldd.c: New file.
90295         * elf/pldd-xx.c: New file.
90297 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
90299         * version.h: Update for 2.15 development version.
90301 2011-06-07  David S. Miller  <davem@davemloft.net>
90303         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90304         ifuncs.
90305         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90306         elf_machine_lazy_rel): Likewise.
90307         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90308         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90309         elf_machine_lazy_rel): Likewise.
90310         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90311         dl_hwcap via passed in argument.
90312         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90313         Likewise.
90315 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90317         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
90319 2011-06-06  Roland McGrath  <roland@hack.frob.com>
90321         [BZ #12849]
90322         * manual/fdl-1.1.texi: New file, verbatim from:
90323         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90324         * manual/lgpl-2.1.texi: New file, verbatim from:
90325         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90326         * manual/Makefile (licenses): New variable, list those new file names.
90327         (texis): Use it.
90328         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90330         * manual/fdl.texi: File removed.
90331         * manual/lesser.texi: File removed.
90332         * manual/libc.texinfo (Copying, Documentation License):
90333         Use new @include file names, put @appendix directive before @include.
90335 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90337         [BZ #12841]
90338         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90339         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90340         (mq_open): Add __NTH.
90342 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90345         Assume Intel Core i3/i5/i7 processor if AVX is available.
90347 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90349         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90350         typo.
90352 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90354         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90355         memory.  Use alloca_account.  Fix memory leak when retrying.
90357 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90359         * version.h (RELEASE): Bump for 2.14 release.
90360         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90362         * config.make.in (RANLIB): Remove entry.
90364 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90366         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90367         (libc.pot): Work around missing support for .ksh extension in xgettext.
90369         [BZ #12684]
90370         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90371         if both request failed.
90372         (send_dg): In case of server errors clear resplen or *resplen2.
90374         [BZ #12454]
90375         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90376         when there are multiple maps.
90377         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90378         (_dl_fini): Remove test here.
90380         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90382 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90384         [BZ #12350]
90385         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90386         bit from old_res_options.
90387         (gaih_inet): Likewise.
90389         [BZ #11099]
90390         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90391         as signed.
90393         * resolv/res_init.c (res_setoptions): Make the code more compact.
90395         [BZ #11558]
90396         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90397         set RES_USEVC.
90399         [BZ #11634]
90400         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90402         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90404         [BZ #11781]
90405         * malloc/malloc.h: Declare malloc hook variables as volatile.
90407         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90408         in last patch.
90410         [BZ #11799]
90411         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90412         raise in the comment.
90413         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90415         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90417 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90419         [BZ #12811]
90420         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90421         grow the buffers more if it already has to be sufficient.
90422         (build_wcs_upper_buffer): Likewise.
90423         * posix/regexec.c (check_matching): Likewise.
90424         (clean_state_log_if_needed): Likewise.
90425         (extend_buffers): Don't enlarge buffers beyond size of the input
90426         buffer.
90427         Patches mostly by Emil Wojak <emil@wojak.eu>.
90428         * posix/bug-regex32.c: New file.
90429         * posix/Makefile (tests): Add bug-regex32.
90431         * locale/findlocale.c (_nl_find_locale): Return right away if
90432         _nl_explode_name failed.
90433         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90435         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90437         * debug/xtrace.sh: Unify messages.
90438         * malloc/memusage.sh: Likewise.
90440         [BZ #12813]
90441         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90442         time symbol from vDSO.  Substitute with vsyscall if not available.
90443         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90444         __vdso_time.
90446         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90447         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90448         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90449         Add sendmmsg and internal_sendmmsg.
90450         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90451         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90452         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90454         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90455         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90456         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90458 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90460         [BZ #12813]
90461         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90462         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90463         available.
90464         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90465         __vdso_getcpu.
90467         [BZ #12814]
90468         * iconvdata/Makefile (tests): Add bug-iconv9.
90469         * iconvdata/bug-iconv9.c: New file.
90471 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90473         [BZ #12814]
90474         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90476 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90478         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90479         (struct user_regs_struct): Change intcs field back to cs.
90481 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90483         * po/ja.po: Update from translation team.
90485 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90487         [BZ #12795]
90488         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90489         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90491 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90493         * stdlib/longlong.h: Update from GCC.
90495 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90497         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90498         parameter name.
90499         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90500         Add parameter name.
90501         (__sysconf): Pass it down.
90503 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90505         [BZ #12671]
90506         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90507         some situations.
90508         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90509         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90510         add in in __libc_use_alloca calls.  Adjust callers.
90511         (glob): Use malloc in some situations.
90513         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90514         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90515         pltexit.
90517 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90519         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90520         and CLOCK_BOOTTIME_ALARM.
90522         [BZ #12782]
90523         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90524         is returned.
90526         * string/_strerror.c (__strerror_r): Print negative errors as signed
90527         numbers.
90529         [BZ #12777]
90530         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90531         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90532         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90534         * configure.in: Fix typo in redirection and correct removal of test
90535         files in two cases.
90537         [BZ #12788]
90538         * locale/setlocale.c (new_composite_name): Fix test to check for
90539         identical name of all categories.
90541         [BZ #12792]
90542         * libio/filedoalloc.c (local_isatty): New function.
90543         (_IO_file_doallocate): Use local_isatty.
90544         * stdio-common/perror.c (perror): In case a new stream is used
90545         forward the stream error.
90546         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90547         error flag.
90549 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90551         [BZ #11884]
90552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90553         alloca.
90554         * include/alloca.h (extend_alloca_account): Define.
90556         [BZ #11857]
90557         * posix/regex.h: Fix comments with documentation of user-accessible
90558         fields after compilation and describe correct free'ing of pattern
90559         after re_compile_pattern.
90560         Patch by Reuben Thomas <rrt@sc3d.org>.
90562 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90564         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90565         and -mno-altivec to prevent the compiler from using Altivec and/or
90566         VSX instructions when the corresponding registers are not available.
90568 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90570         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90572 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90574         * libio/freopen.c (freopen): Use __dup2, not dup2.
90575         * libio/freopen64.c (freopen64): Likewise.
90577 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90579         [BZ #12775]
90580         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90581         * math/Makefile (tests): Add test-powl.
90582         (CFLAGS-test-powl.c): Define.
90583         * math/test-powl.c: New file.
90585 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90587         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90589 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90591         [BZ #11837]
90592         * iconvdata/gb18030.c: Update to GB18020-2005.
90594 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90596         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90597         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90598         Patch by Aharon Robbins <arnold@skeeve.com>.
90600         [BZ #11892]
90601         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90602         on the stack.
90604         [BZ #11895]
90605         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90606         through underflows.
90608         [BZ #12766]
90609         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90610         point to strings before performing equality test for error_one_per_line
90611         mode.
90613         [BZ #11697]
90614         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90616         [BZ #11820]
90617         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90618         (struct user_fpregs_struct): Avoid __uint*_t types.
90620         [BZ #6420]
90621         * malloc/mtrace.c (tr_where): Add additional parameter to point to
90622         symbol info.  Use it instead of calling _dl_addr locally.
90623         (lock_and_info): New function.
90624         (tr_freehook): Call lock_and_info and pass symbol info as additional
90625         parameter to tr_where.
90626         (tr_mallochook): Likewise.
90627         (tr_reallochook): Likewise.
90628         (tr_memalignhook): Likewise.
90630         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
90631         used and couldn't be at all thread-safe.
90633 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
90635         * libio/freopen.c (freopen): Don't close old file descriptor
90636         before the new one is opened.  Instead dup the new file descriptor
90637         to the old one after the new stream is created.
90638         * libio/freopen64.c (freopen64): Likewise.
90639         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90640         * libio/fileops.c (_IO_new_file_close_it): Handle new
90641         _IO_FLAGS2_NOCLOSE flag.
90642         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90643         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90644         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90645         _IO_FLAGS2_NOCLOSE flag.
90646         * include/unistd.h: Add hidden_proto for dup3.
90647         Define __have_dup3.
90648         * io/dup3.c: Define hidden symbol.
90649         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90651         [BZ #7101]
90652         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90653         when an incomplete long option is used.
90654         * posix/tst-getopt_long1.c: New file.
90655         * posix/Makefile (tests): Add tst-getopt_long1.
90657         [BZ #10138]
90658         * scripts/config.guess: Update from autoconf-2.68.
90659         * scripts/config.sub: Likewise.
90661         [BZ #10157]
90662         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90663         tests into ...
90664         (has_cpuclock): ...this.  New function.
90665         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90666         macro here based on has_cpuclock code.
90668         [BZ #10149]
90669         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90670         First byte (not low byte) is now always NUL.
90671         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90673         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90674         Use non-cancelable interfaces.
90676         [BZ #9809]
90677         * locale/iso-639.def: Add entry for Sorani.
90679         [BZ #11901]
90680         * include/stdlib.h: Move include protection to the right place.
90681         Define abort_msg_s.  Declare __abort_msg with it.
90682         * stdlib/abort.c (__abort_msg): Adjust type.
90683         * assert/assert.c (__assert_fail_base): New function.  Majority
90684         of code from __assert_fail.  Allocate memory for __abort_msg with
90685         mmap.
90686         (__assert_fail): Now call __assert_fail_base.
90687         * assert/assert-perr.c: Remove bulk of implementation.  Use
90688         __assert_fail_base.
90689         * include/assert.hL Declare __assert_fail_base.
90690         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
90691         mmap.
90692         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
90694 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
90696         [BZ #11952]
90697         [BZ #12453]
90698         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
90699         until all modules are registered in the DTV.
90700         * elf/Makefile: Add rules to build and run tst-tls19.
90701         * elf/tst-tls19.c: New file.
90702         * elf/tst-tls19mod1.c: New file.
90703         * elf/tst-tls19mod2.c: New file.
90704         * elf/tst-tls19mod3.c: New file.
90705         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
90707         [BZ #12083]
90708         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
90709         correctly.
90711         [BZ #12601]
90712         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
90713         two-byte sequence errors.
90714         * iconvdata/Makefile (tests): Add bug-iconv8.
90715         * iconvdata/bug-iconv8.c: New file.
90717         [BZ #12626]
90718         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
90719         buf2 definition.
90721         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
90723         [BZ #12432]
90724         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
90725         (dummy_getcfa): New function.
90726         (init): Get _Unwind_GetCFA address, use dummy if not found.
90727         (backtrace_helper): In recursion check, also check whether CFA changes.
90728         (__backtrace): Completely initialize arg.
90730         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
90731         storing incomplete byte sequence in state object.  Avoid testing for
90732         guaranteed too small input if we know there is enough data available.
90734 2011-05-11  Andreas Schwab  <schwab@redhat.com>
90736         * Makeconfig (+link-pie): Indent.
90737         * Rules (binaries-pie): Define if $(have-fpie) and
90738         $(build-shared).
90739         (binaries-shared): Also filter out $(binaries-pie).
90740         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
90741         * nscd/Makefile (others-pie): Add nscd.
90742         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
90743         ($(objpfx)nscd): Remove command override.
90744         * login/Makefile (others-pie): Add pt_chown.
90745         ($(objpfx)pt_chown): Remove command override.
90746         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
90747         remove command overrides.
90749 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
90751         * libio/tst_putwc.c: Fix error messages.
90753         [BZ #12724]
90754         * libio/fileops.c (_IO_new_file_close_it): Always flush when
90755         currently writing and seek to current position when not.
90756         * libio/Makefile (tests): Add bug-fclose1.
90757         * libio/bug-fclose1.c: New file.
90759 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
90761         [BZ #12511]
90762         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
90763         don't set DF_1_NODELETE here.
90764         (do_lookup_x): When entering new entry test for copy relocation
90765         and if necessary set DF_1_NODELETE flag.
90766         * elf/tst-unique4.cc: New file.
90767         * elf/tst-unique4.h: New file.
90768         * elf/tst-unique4lib.cc: New file.
90769         * elf/Makefile: Add rules to build and run tst-unique4.
90770         Patch by Piotr Bury <pbury@goahead.com>.
90772 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
90774         [BZ #12052]
90775         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
90777         [BZ #12625]
90778         * misc/mntent_r.c (addmntent): Flush the stream after the output
90780         [BZ #12393]
90781         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
90782         (is_trusted_path_normalize): Skip initial colon.  Append slash
90783         to empty buffer.  Duplicate is_trusted_path code but allow
90784         constructed patch to be prefix.
90785         (is_dst): Allow $ORIGIN followed by /.
90786         (_dl_dst_substitute): Correct clearing of check_for_trusted.
90787         Correct testing of result of is_trusted_path_normalize
90788         (decompose_rpath): Fix warning.
90790 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
90792         [BZ #11257]
90793         * grp/initgroups.c (internal_getgrouplist): When we found the service
90794         list through the initgroups entry in nsswitch.conf do not always
90795         continue on a successful lookup.  Don't always use the
90796         __nss_group_database value if it is set.
90797         * nss/nsswitch.conf (initgroups): Change action for successful db
90798         lookup to continue for compatibility.
90800 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
90802         [BZ #11532]
90803         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
90804         and CP774 modules.
90805         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
90806         and CP774 modules.
90807         * iconvdata/tst-tables.sh: Likewise.
90808         * iconvdata/cp770.c: New file.
90809         * iconvdata/cp771.c: New file.
90810         * iconvdata/cp772.c: New file.
90811         * iconvdata/cp773.c: New file.
90812         * iconvdata/cp774.c: New file.
90813         * iconvdata/testdata/CP770: New file.
90814         * iconvdata/testdata/CP770..UTF8: New file.
90815         * iconvdata/testdata/CP771: New file.
90816         * iconvdata/testdata/CP771..UTF8: New file.
90817         * iconvdata/testdata/CP772: New file.
90818         * iconvdata/testdata/CP772..UTF8: New file.
90819         * iconvdata/testdata/CP773: New file.
90820         * iconvdata/testdata/CP773..UTF8: New file.
90821         * iconvdata/testdata/CP774: New file.
90822         * iconvdata/testdata/CP774..UTF8: New file.
90824         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
90825         END CHARMAP line.
90826         * iconvdata/gen-8bit-gap.sh: Likewise.
90827         * iconvdata/gen-8bit.sh: Likewise.
90829         * locale/iso-639.def: Add ary entry.
90831         [BZ #11258]
90832         * locale/C-translit.h.in: Add U20A1 transliteration.
90834         [BZ #12178]
90835         * locale/iso-639.def: Add wae entry.
90836         Patch by Kevin Bortis <bortis@translate-wae.ch>.
90838         [BZ #12545]
90839         * locale/programs/localedef.c (construct_output_path): Use ssize_t
90840         for n.
90842         [BZ #12711]
90843         * locale/C-translit.h.in: Add entry for U20B9.
90844         Patch by pravin.d.s@gmail.com.
90846 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
90848         [BZ #12713]
90849         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
90850         ENAMETOOLONG use generic getcwd.
90851         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
90852         in rtld.  Use *stat64.
90853         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
90854         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
90855         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
90856         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
90857         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
90858         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
90859         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
90860         __fstatat64 macros.
90861         * include/dirent.h: Add libc_hidden_proto for rewinddir.
90862         * dirent/rewinddir.c: Add libc_hidden_def.
90863         * sysdeps/mach/hurd/rewinddir.c: Likewise.
90864         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
90866         * include/dirent.h (__alloc_dir): Add flags parameter.
90867         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
90868         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
90869         __alloc_dir.
90870         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
90871         from fdopendir if O_CLOEXEC is already set.
90873 2011-03-15  Alan Modra  <amodra@gmail.com>
90875         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
90876         l_tls_firstbyte_offset non-zero.  Save padding offset in
90877         l_tls_firstbyte_offset for later use.
90878         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
90879         freeing static tls block.
90881 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
90883         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
90884         where #ifdef was intended.  The intent is to prevent ARG_MAX from
90885         being defined by the kernel headers.
90887 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
90889         [BZ #12734]
90890         * resolv/resolv.h: Define RES_NOTLDQUERY.
90891         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
90892         no-tld-query and set RES_NOTLDQUERY.
90893         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
90894         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
90895         modern BIND to search name as TLD unless forbidden.
90897 2011-05-07  Petr Baudis  <pasky@suse.cz>
90898             Ulrich Drepper  <drepper@gmail.com>
90900         [BZ #12393]
90901         * elf/dl-load.c (fillin_rpath): Move trusted path check...
90902         (is_trusted_path): ...to here.
90903         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
90904         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
90905         using is_trusted_path_normalize() in setuid scripts.
90907 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
90909         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
90910         __BEGIN/__END_DECLS.
90912 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
90914         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
90915         NSS_STATUS_NOTFOUND if no record was found.
90917 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90919         * sunrpc/Makefile (headers): Add rpc/netdb.h.
90920         (headers-not-in-tirpc): Remove rpc/netdb.h
90921         * resolv/netdb.h: Revert last change.
90923 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
90925         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90926         circular dependency between libgcc.a and libc.a.
90928 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90930         * resolv/netdb.h: Don't include <rpc/netdb.h>.
90931         * nis/Makefile: Don't install rpcsvc/*.
90932         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90933         instead of <rpc/types.h>.
90934         (MAXHOSTNAMELEN): Define.
90936 2011-05-03  Andreas Schwab  <schwab@redhat.com>
90938         * elf/ldconfig.c (add_dir): Don't crash on empty path.
90940 2011-04-28  Maciej Babinski  <mbabinski@google.com>
90942         [BZ #12714]
90943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90944         gethostbyname4_r when IPv6 results are possible.
90946 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
90948         [BZ #12723]
90949         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90950         _PC_PIPE_BUF handling.
90952 2011-04-30  Bruno Haible  <bruno@clisp.org>
90954         [BZ #12717]
90955         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90956         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90957         to 'int'.
90958         * inet/getnameinfo.c (getnameinfo): Likewise.
90960 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90962         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90963         to groups setting in database lookup.
90964         * nss/nsswitch.conf: Add initgroups entry.
90966 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90968         [BZ #12685]
90969         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90970         mode string.
90971         Patch by Eric Blake <eblake@redhat.com>.
90973 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90975         * sunrpc/Makefile (need-export-routines): Add svc_run.
90976         (routines): Remove svc_run.
90977         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90978         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90979         * sunrpc/svc_run.c (svc_run): Likewise.
90980         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90982 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90984         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90985         problem in reallocation in last patch.
90987 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90989         * sunrpc/Makefile: Move inclusion of Rules.
90991 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90993         * nss/nss_files/files-initgroups.c: New file.
90994         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90995         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90996         _nss_files_initgroups_dyn.
90998 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
91000         * elf/elf.h (R_ARM_IRELATIVE): Define.
91002 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91004         * po/ru.po: Update from translation team.
91006 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91008         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
91009         dependencies.
91011 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
91013         [BZ #12653]
91014         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
91015         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
91016         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
91017         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91018         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
91020 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
91022         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
91023         differing bytes.
91024         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
91025         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
91026         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91028 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91030         [BZ #12420]
91031         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
91032         storing it.
91033         * stdlib/bug-getcontext.c: New file.
91034         * stdlib/Makefile: Add rules to build and run bug-getcontext.
91036 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91038         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
91039         instructions into .machine "z9-109".
91040         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
91041         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
91043 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91045         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
91046         between environment variables and auxiliary vector.
91048 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
91050         * Makefile: Add rules to build linkobj/libc.so.
91051         * include/libc-symbols.h: Define libc_hidden_nolink.
91052         * include/rpc/auth.h: Mark functions which are to be hidden.
91053         * include/rpc/auth_des.h: Likewise.
91054         * include/rpc/auth_unix.h: Likewise.
91055         * include/rpc/clnt.h: Likewise.
91056         * include/rpc/des_crypt.h: Likewise.
91057         * include/rpc/key_prot.h: Likewise.
91058         * include/rpc/pmap_clnt.h: Likewise.
91059         * include/rpc/pmap_prot.h: Likewise.
91060         * include/rpc/pmap_rmt.h: Likewise.
91061         * include/rpc/rpc_msg.h: Likewise.
91062         * include/rpc/svc.h: Likewise.
91063         * include/rpc/svc_auth.h: Likewise.
91064         * include/rpc/xdr.h: Likewise.
91065         * nis/Makefile: Link all DSOs against linkobj/libc.so.
91066         * nss/Makefile: Likewise.
91067         * sunrpc/Makefile: Don't install headers.  Build library with normal
91068         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
91069         * sunrpc/auth_des.c: Hide exported symbols by default, export some
91070         for the compat linking library.  Remove use of INTDEF/INTUSE.
91071         * sunrpc/auth_none.c: Likewise.
91072         * sunrpc/auth_unix.c: Likewise.
91073         * sunrpc/authdes_prot.c: Likewise.
91074         * sunrpc/authuxprot.c: Likewise.
91075         * sunrpc/clnt_gen.c: Likewise.
91076         * sunrpc/clnt_perr.c: Likewise.
91077         * sunrpc/clnt_raw.c: Likewise.
91078         * sunrpc/clnt_simp.c: Likewise.
91079         * sunrpc/clnt_tcp.c: Likewise.
91080         * sunrpc/clnt_udp.c: Likewise.
91081         * sunrpc/clnt_unix.c: Likewise.
91082         * sunrpc/des_crypt.c: Likewise.
91083         * sunrpc/des_soft.c: Likewise.
91084         * sunrpc/get_myaddr.c: Likewise.
91085         * sunrpc/key_call.c: Likewise.
91086         * sunrpc/key_prot.c: Likewise.
91087         * sunrpc/netname.c: Likewise.
91088         * sunrpc/pm_getmaps.c: Likewise.
91089         * sunrpc/pm_getport.c: Likewise.
91090         * sunrpc/pmap_clnt.c: Likewise.
91091         * sunrpc/pmap_prot.c: Likewise.
91092         * sunrpc/pmap_prot2.c: Likewise.
91093         * sunrpc/pmap_rmt.c: Likewise.
91094         * sunrpc/publickey.c: Likewise.
91095         * sunrpc/rpc_cmsg.c: Likewise.
91096         * sunrpc/rpc_common.c: Likewise.
91097         * sunrpc/rpc_dtable.c: Likewise.
91098         * sunrpc/rpc_prot.c: Likewise.
91099         * sunrpc/rpc_thread.c: Likewise.
91100         * sunrpc/rtime.c: Likewise.
91101         * sunrpc/svc.c: Likewise.
91102         * sunrpc/svc_auth.c: Likewise.
91103         * sunrpc/svc_authux.c: Likewise.
91104         * sunrpc/svc_raw.c: Likewise.
91105         * sunrpc/svc_run.c: Likewise.
91106         * sunrpc/svc_simple.c: Likewise.
91107         * sunrpc/svc_tcp.c: Likewise.
91108         * sunrpc/svc_udp.c: Likewise.
91109         * sunrpc/svc_unix.c: Likewise.
91110         * sunrpc/svcauth_des.c: Likewise.
91111         * sunrpc/xcrypt.c: Likewise.
91112         * sunrpc/xdr.c: Likewise.
91113         * sunrpc/xdr_array.c: Likewise.
91114         * sunrpc/xdr_float.c: Likewise.
91115         * sunrpc/xdr_intXX_t.c: Likewise.
91116         * sunrpc/xdr_mem.c: Likewise.
91117         * sunrpc/xdr_rec.c: Likewise.
91118         * sunrpc/xdr_ref.c: Likewise.
91119         * sunrpc/xdr_sizeof.c: Likewise.
91120         * sunrpc/xdr_stdio.c: Likewise.
91122 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
91124         [BZ #12650]
91125         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
91126         * sysdeps/ia64/dl-tls.h: Likewise.
91127         * sysdeps/powerpc/dl-tls.h: Likewise.
91128         * sysdeps/s390/dl-tls.h: Likewise.
91129         * sysdeps/sh/dl-tls.h: Likewise.
91130         * sysdeps/sparc/dl-tls.h: Likewise.
91131         * sysdeps/x86_64/dl-tls.h: Likewise.
91132         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
91134 2011-03-14  Andreas Schwab  <schwab@redhat.com>
91136         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
91137         rpath element also skip the following colon.
91138         (expand_dynamic_string_token): Add is_path parameter and pass
91139         down to DL_DST_REQUIRED and _dl_dst_substitute.
91140         (decompose_rpath): Call expand_dynamic_string_token with
91141         non-zero is_path.  Ignore empty rpaths.
91142         (_dl_map_object_from_fd): Call expand_dynamic_string_token
91143         with zero is_path.
91145 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
91147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
91148         Make cancelable.
91150 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
91152         [BZ #12655]
91153         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
91154         Patch by Filipe David Manana <fdmanana@apache.org>.
91156 2011-04-07  Andreas Schwab  <schwab@redhat.com>
91158         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
91159         Maintain aligned stack.
91160         (CHECK_RSP): Remove unused macro.
91162 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
91164         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
91165         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
91167 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
91169         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
91171         * include/features.h: Mention __USE_XOPEN2K8 in comment.
91173 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
91175         [BZ #12518]
91176         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91177         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91178         * sysdeps/x86_64/memmove.c: New file.
91179         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91180         (memcpy): Renamed to ...
91181         (__new_memcpy): This.
91182         (memcpy): Provide GLIBC_2_14 memcpy.
91183         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91184         (memcpy): Provide GLIBC_2_2_5 memcpy.
91186 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91188         [BZ #12631]
91189         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91191 2011-03-30  Andreas Schwab  <schwab@redhat.com>
91193         * misc/syncfs.c: New file.
91194         * misc/Makefile (routines): Add syncfs.
91195         * posix/unistd.h: Declare syncfs.
91196         * sysdeps/unix/syscalls.list: Add syncfs.
91198 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91200         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
91201         open_by_handle_at.
91202         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91203         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91204         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91205         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91206         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91207         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
91208         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91210 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91212         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
91213         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91214         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
91215         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91216         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91217         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91218         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91220         * io/Makefile: Compile fallocate.c, fallocate64.c, and
91221         sync_file_range.c with -fexceptions.
91222         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
91223         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
91224         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
91225         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
91226         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
91227         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
91228         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
91229         sync_file_range as cancellation point
91230         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
91231         now a wrapper around __call_sync_file_range with cancellation handling.
91232         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
91233         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
91234         function name to __call_sync_file_range.
91235         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
91236         Add call_sync_file_range.
91238 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
91241         bits/timex.h.
91243 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91245         * iconv/iconv.h: Fix typo in comment.
91246         * io/fcntl.h: Likewise.
91247         * libio/stdio.h: Likewise.
91248         * posix/spawn.h: Likewise.
91249         * posix/unistd.h: Likewise.
91250         * stdlib/stdlib.h: Likewise.
91251         * time/time.h: Likewise.
91252         * wcsmbs/wchar.h: Likewise.
91254         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
91255         open_by_handle): Add.
91256         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
91257         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
91258         Augment a few comments.
91259         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91260         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91261         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91263         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91264         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
91265         open_by_handle.
91267         * io/fcntl.h (AT_EMPTY_PATH): Define.
91269 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
91271         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
91272         * sysdeps/unix/sysv/linux/bits/time.h: New file.
91273         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
91274         to...
91275         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
91276         * Versions.def: Add GLIBC_2.14.
91277         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91278         Export.
91280 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
91282         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91283         round counter.
91284         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91286 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
91288         [BZ #12597]
91289         * string/test-strncmp.c (do_page_test): New function.
91290         (check2): Likewise.
91291         (test_main): Call check2.
91292         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91294 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
91296         [BZ #12587]
91297         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91298         Handle cache information in CPU leaf 4.
91299         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91301 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
91303         [BZ #12583]
91304         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91305         character representation.
91306         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91308 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
91310         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91311         END(__isnan) to END(__isnanf) to match function entry point/label
91312         EALIGN(__isnanf,...).
91314 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
91316         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91318 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
91320         [BZ #12510]
91321         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91322         copy from the symbol referenced in the relocation to initialize the
91323         used variable.
91324         Patch by Piotr Bury <pbury@goahead.com>.
91325         * elf/Makefile: Add rules to build and tst-unique3.
91326         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91327         * elf/tst-unique3.cc: New file.
91328         * elf/tst-unique3.h: New file.
91329         * elf/tst-unique3lib.cc: New file.
91330         * elf/tst-unique3lib2.cc: New file.
91332         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91334 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91336         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91337         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91338         to _start.
91340 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91342         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91343         to-be-loaded object along a path to loader is ld.so.
91345 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91346             Ulrich Drepper  <drepper@gmail.com>
91348         * sysdeps/x86_64/memset.S: After aligning destination, code
91349         branches to different locations depending on the value of
91350         misalignment, when multiarch is enabled. Fix this.
91352 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91354         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91355         Set _x86_64_preferred_memory_instruction for AMD processsors.
91356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91357         Set bit_Prefer_SSE_for_memop for AMD processors.
91359 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91361         * libio/fmemopen.c (fmemopen): Optimize a bit.
91363 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91365         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91367 2011-03-03  Roland McGrath  <roland@redhat.com>
91369         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91371 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91373         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91374         __bzero_ultra1 instead of __memset_ultra1.
91376 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91377             Ulrich Drepper  <drepper@gmail.com>
91379         [BZ #12509]
91380         * include/link.h (struct link_map): Add l_orig_initfini.
91381         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91382         returning unsuccessfully.
91383         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91384         close of a file loaded at startup, restore the original l_initfini
91385         list.
91386         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91387         list, store the pointer.
91388         * elf/Makefile ($(objpfx)noload-mem): New rule.
91389         (noload-ENV): Define.
91390         (tests): Add $(objpfx)noload-mem.
91391         * elf/noload.c: Include <memcheck.h>.
91392         (main): Call mtrace.  Close all opened handles.
91394 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91396         [BZ #12454]
91397         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91398         dependencies are missing.
91400 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91402         Fix __if_freereq crash: Unlike the generic version which uses free,
91403         Hurd needs munmap.
91404         * sysdeps/mach/hurd/ifreq.h: New file.
91406 2011-01-27  Petr Baudis  <pasky@suse.cz>
91407             Ulrich Drepper  <drepper@gmail.com>
91409         [BZ 12445]#
91410         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91411         to extend_alloca().
91412         * stdio-common/bug23.c: New file.
91413         * stdio-common/Makefile (tests): Add bug23.
91415 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91416             Ulrich Drepper  <drepper@gmail.com>
91418         [BZ #12489]
91419         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91420         before performing relro protection.  At old place add assertion
91421         to make sure nothing changed.
91423 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91424             Glauber de Oliveira Costa  <glommer@gmail.com>
91426         * elf/elf.h: Add new ARM TLS relocs.
91428 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91431         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91432         cast from r3.
91433         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91434         'tests' variable.
91435         * sysdeps/wordsize-64/tst-writev.c: New file.
91437 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91439         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91440         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91441         insns in _dl_start to prevent a TOC reference before relocs are
91442         resolved.
91444 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91446         [BZ #12469]
91447         * Makeconfig: Remove RANLIB definition.
91448         * Makerules: Don't use RANLIB.
91449         * aclocal.m4: Remove ranlib test.
91450         * configure.in: No need to check for ranlib.
91451         * elf/rtld-Rules: Don't use RANLIB.
91453 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91455         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91456         protection macro.
91457         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91458         inclusion protection macro.
91460         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91461         SIGRTMIN and SIGRTMAX and print information in that case only when
91462         SIGRTMIN is defined.
91464 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91466         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91467         arginfo fn returning -1.
91469         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91470         and thousands string is zero terminated.
91472 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91474         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91475         sysdeps/unix/sysv/linux/bits/socket.h.
91477 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91479         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91480         (__CPU_COUNT): Remove old macros.
91481         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91482         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91483         (__CPU_ALLOC, __CPU_FREE): Add macros.
91484         (__sched_cpualloc, __sched_cpufree): Add declarations.
91486 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91488         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91489         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91490         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91491         (readdhstai): Return value of addhstaiX call.
91492         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91493         (addgrbyX): Return value returned by cache_addgr.
91494         (readdgrbyname): Return value returned by addgrbyX.
91495         (readdgrbygid): Likewise.
91496         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91497         (addpwbyX): Return value returned by cache_addpw.
91498         (readdpwbyname): Return value returned by addhstbyX.
91499         (readdpwbyuid): Likewise.
91500         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91501         (addservbyX): Return value returned by cache_addserv.
91502         (readdservbyname): Return value returned by addservbyX:
91503         (readdservbyport): Likewise.
91504         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91505         (addhstbyX): Return value returned by cache_addhst.
91506         (readdhstbyname): Return value returned by addhstbyX.
91507         (readdhstbyaddr): Likewise.
91508         (readdhstbynamev6): Likewise.
91509         (readdhstbyaddrv6): Likewise.
91510         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91511         (readdinitgroups): Return value returned by addinitgroupsX.
91512         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91513         (prune_cache): Keep track of timeout value of re-added entries.
91514         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91515         * nscd/nscd.h: Adjust prototypes of readd* functions.
91517 2011-02-04  Roland McGrath  <roland@redhat.com>
91519         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91520         (nis_stats): Likewise.
91521         * nis/nis_modify.c (nis_modify): Likewise.
91522         * nis/nis_remove.c (nis_remove): Likewise.
91523         * nis/nis_add.c (nis_add): Likewise.
91525         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91527         * posix/fnmatch_loop.c: Add some consts.
91529         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91531 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91533         [BZ #12460]
91534         * config.make.in (config-cflags-novzeroupper): Define.
91535         * configure.in: Substitute libc_cv_cc_novzeroupper.
91536         * elf/Makefile (AVX-CFLAGS): Define.
91537         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91538         (CFLAGS-tst-auditmod4a.c): Likewise.
91539         (CFLAGS-tst-auditmod4b.c): Likewise.
91540         (CFLAGS-tst-auditmod6b.c): Likewise.
91541         (CFLAGS-tst-auditmod6c.c): Likewise.
91542         (CFLAGS-tst-auditmod7b.c): Likewise.
91543         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91545 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91547         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91548         function to the callback.
91549         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91551 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91553         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91554         of errno.
91556 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91558         [BZ #11724]
91559         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91560         of constructors.
91561         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91562         of destructors.
91563         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91565         [BZ #11724]
91566         * elf/Makefile: Add rules to build and run new test.
91567         * elf/tst-initorder.c: New file.
91568         * elf/tst-initorder.exp: New file.
91569         * elf/tst-initordera1.c: New file.
91570         * elf/tst-initordera2.c: New file.
91571         * elf/tst-initordera3.c: New file.
91572         * elf/tst-initordera4.c: New file.
91573         * elf/tst-initorderb1.c: New file.
91574         * elf/tst-initorderb2.c: New file.
91575         * elf/tst-order-a1.c: New file.
91576         * elf/tst-order-a2.c: New file.
91577         * elf/tst-order-a3.c: New file.
91578         * elf/tst-order-a4.c: New file.
91579         * elf/tst-order-b1.c: New file.
91580         * elf/tst-order-b2.c: New file.
91581         * elf/tst-order-main.c: New file.
91582         New test case by George Gensure <werkt0@gmail.com>.
91584 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91587         decoding ACE if AI_CANONIDN.
91589 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91591         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91593 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91595         * version.h (RELEASE): Bump for 2.13 release.
91596         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91598         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91600         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91601         MADV_NOHUGEPAGE.
91602         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91603         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91604         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91605         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91606         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91607         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91609         * posix/getconf.c: Update copyright year.
91610         * catgets/gencat.c: Likewise.
91611         * csu/version.c: Likewise.
91612         * debug/catchsegv.sh: Likewise.
91613         * debug/xtrace.sh: Likewise.
91614         * elf/ldconfig.c: Likewise.
91615         * elf/ldd.bash.in: Likewise.
91616         * elf/sprof.c (print_version): Likewise.
91617         * iconv/iconv_prog.c: Likewise.
91618         * iconv/iconvconfig.c: Likewise.
91619         * locale/programs/locale.c: Likewise.
91620         * locale/programs/localedef.c: Likewise.
91621         * malloc/memusage.sh: Likewise.
91622         * malloc/mtrace.pl: Likewise.
91623         * nscd/nscd.c (print_version): Likewise.
91624         * nss/getent.c: Likewise.
91626         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91627         PF_CAIF, and PF_ALG.
91628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91630 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
91632         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91633         (modules-names): Use them.
91634         (ifunc-test-modules, ifunc-pie-tests): Define.
91635         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91636         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91637         (test-extras): Likewise.
91638         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91639         $(compile-command.c).
91640         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91641         (all-built-dso): Define.
91642         (check-textrel.out, check-execstack.out): Depend on it.
91644         * configure.in: Don't override --enable-multi-arch.
91646 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
91648         [BZ #6812]
91649         * nscd/hstcache.c (tryagain): Define.
91650         (cache_addhst): Return tryagain not notfound for temporary errors.
91651         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91652         failed.
91654 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
91656         [BZ #10563]
91657         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91658         to make the syscall.
91659         * sysdeps/unix/sysv/linux/setgroups.c: New file.
91661         [BZ #12378]
91662         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91663         and fall back to matching as normal character if the string ends before
91664         the matching ']' is found.  This is what POSIX requires.
91665         * posix/testfnm.c: Adjust test result.
91666         * posix/globtest.sh: Adjust test result.  Add new test.
91667         * posix/tst-fnmatch.input: Likewise.
91668         * posix/tst-fnmatch2.c: Add new test.
91670 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
91672         * elf/Makefile (check-execstack): Revert last change.  Depend on
91673         check-execstack.h.
91674         (check-execstack.h): New target.
91675         (generated): Add check-execstack.h.
91676         * elf/check-execstack.c: Include "check-execstack.h".
91677         (main): Revert last change.
91678         (handle_file): Return zero if GNU_STACK is absent and
91679         DEFAULT_STACK_PERMS doesn't include PF_X.
91681 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
91683         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
91684         in child fails because the descriptor is already closed.
91685         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
91686         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
91687         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
91689         [BZ #12397]
91690         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
91691         syscall.
91693         [BZ #10484]
91694         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
91695         temporary buffer used to handle multi lookups locally.
91696         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
91698 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91700         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
91701         loader is ld.so.
91703 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
91705         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
91706         alignment for SSE2.
91708 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91710         [BZ #12394]
91711         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
91712         characters.  When rounding increased number of integer digits recompute
91713         number of groups.
91714         * stdio-common/tst-grouping.c: New file.
91715         * stdio-common/Makefile: Add rules to build and run tst-grouping.
91717 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
91719         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
91720         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
91722         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
91723         void.
91724         * bits/select.h: Likewise.
91726 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
91728         * po/ja.po: Update from translation team.
91730 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
91732         [BZ #11155]
91733         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
91734         implementation just like for lxstat, fxstatat, et al.
91736 2010-12-27  Jim Meyering  <meyering@redhat.com>
91738         [BZ #12348]
91739         * posix/regexec.c (build_trtable): Return failure indication upon
91740         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
91742 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
91744         [BZ #12201]
91745         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
91746         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
91747         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
91748         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
91750         [BZ #12207]
91751         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
91753         [BZ #12204]
91754         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
91755         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
91757 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
91759         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
91760         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
91761         script has SORT_BY_INIT_PRIORITY.
91762         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
91763         NO_CTORS_DTORS_SECTIONS is defined.
91764         * elf/soinit.c: Likewise.
91765         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
91766         NO_CTORS_DTORS_SECTIONS is defined.
91767         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
91768         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
91769         * sysdeps/sh/init-first.c: Likewise.
91770         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
91772 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
91774         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
91775         always use the slow path.
91777 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
91779         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
91780         similar rule which adds the sysdep directories to the header search in
91781         order to pick up the correct platform stackinfo.h.
91782         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
91783         perform test if it is, otherwise return successfully without testing.
91784         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
91785         DEFAULT_STACK_PERMS define in stackinfo.h.
91786         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
91787         defined in stackinfo.h.
91788         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
91789         DEFAULT_STACK_PERMS defined in stackinfo.h.
91790         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
91791         * sysdeps/ia64/stackinfo.h: Likewise.
91792         * sysdeps/s390/stackinfo.h: Likewise.
91793         * sysdeps/sh/stackinfo.h: Likewise.
91794         * sysdeps/sparc/stackinfo.h: Likewise.
91795         * sysdeps/x86_64/stackinfo.h: Likewise.
91796         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
91797         PF_X for powerpc64.  Retain PF_X for powerpc32.
91799 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
91801         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
91802         accurately.
91803         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
91804         GETDENTS_64BIT_ALIGNED.
91806 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
91808         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
91810 2010-12-10  Andreas Schwab  <schwab@redhat.com>
91812         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
91813         _GNU_SOURCE.
91815         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
91816         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
91817         Remove __restrict.
91818         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
91819         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
91821 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
91823         [BZ #11655]
91824         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
91825         are initialized.
91827 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
91829         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
91831 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
91833         * po/it.po: Update from translation team.
91835 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
91837         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
91838         unused codes.
91840 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
91842         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
91844 2010-11-24  Andreas Schwab  <schwab@redhat.com>
91846         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
91847         specially.
91848         (gaih_getanswer_slice): Likewise.
91850 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
91852         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
91854 2010-05-31  Petr Baudis  <pasky@suse.cz>
91856         [BZ #11149]
91857         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
91858         silently even in the chroot mode.
91860 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
91862         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
91863         last patch a bit.  Pretty printing
91865 2010-05-31  Petr Baudis <pasky@suse.cz>
91867         [BZ #10085]
91868         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
91869         initialization of skip_initgroups_dyn.
91871 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
91873         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
91874         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91876 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
91878         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
91880 2010-11-11  Andreas Schwab  <schwab@redhat.com>
91882         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
91883         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
91884         (tst-fnmatch-ENV): Set MALLOC_TRACE.
91885         ($(objpfx)tst-fnmatch-mem): New rule.
91886         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
91887         * posix/tst-fnmatch.c (main): Call mtrace.
91889 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
91891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91892         Support Intel processor model 6 and model 0x2c.
91894 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
91896         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91897           signed comparison.
91899 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
91901         [BZ #12205]
91902         * string/test-strncasecmp.c (check_result): New function.
91903         (do_one_test): Use it.
91904         (check1): New function.
91905         (test_main): Use it.
91906         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
91907         Support strcasecmp and strncasecmp.
91909 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
91911         [BZ #12194]
91912         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
91913         * sysdeps/x86_64/bits/byteswap.h: Likewise.
91915 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
91917         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91918         IFUNC support.
91919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91920         memset-x86-64.
91921         * sysdeps/x86_64/multiarch/bzero.S: New file.
91922         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91923         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91924         * sysdeps/x86_64/multiarch/memset.S: New file.
91925         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91927         Set bit_Prefer_SSE_for_memop for Intel processors.
91928         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91929         Define.
91930         (index_Prefer_SSE_for_memop): Define.
91931         (HAS_PREFER_SSE_FOR_MEMOP): Define.
91933 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
91935         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91936         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91938 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
91940         [BZ #12191]
91941         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91942         (__x86_64_raw_data_cache_size_half): Likewise.
91943         (__x86_64_raw_shared_cache_size): Likewise.
91944         (__x86_64_raw_shared_cache_size_half): Likewise.
91946         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91947         (__x86_64_raw_data_cache_size_half): Likewise.
91948         (__x86_64_raw_shared_cache_size): Likewise.
91949         (__x86_64_raw_shared_cache_size_half): Likewise.
91950         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91951         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91952         and __x86_64_raw_shared_cache_size_half.  Round
91953         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91954         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91955         to multiple of 256 bytes.
91957 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91959         [BZ #12167]
91960         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91961         of inacessible symlinks.  Verify result of symlink before returning it.
91962         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91963         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91965 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91967         * math/math.h (isinf): Fix typo in comment.
91969 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91971         * po/da.po: Update from translation team.
91973 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91975         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91976         is added to the list.
91978 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91979             Ulrich Drepper  <drepper@gmail.com>
91981         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91982         the global list here.  Move code to...
91983         (_dl_add_to_namespace_list): ...here.  New function.
91984         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91985         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91986         * elf/dl-load.c (lose): Don't remove the element from the list.
91987         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91988         (_dl_map_object): Likewise.
91990 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91992         [BZ #12159]
91993         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91994         into all bytes of SSE register.
91995         Patch by Richard Li <richardpku@gmail.com>.
91997 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91999         [BZ #12140]
92000         * malloc/malloc.c (_int_free): Fill correct number of bytes when
92001         perturbing.
92003 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
92005         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
92006         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
92007         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
92008         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
92009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
92010         submachine.
92011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
92013 2010-10-22  Andreas Schwab  <schwab@redhat.com>
92015         * include/dlfcn.h (__RTLD_SECURE): Define.
92016         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
92017         mode & __RTLD_SECURE instead.
92018         (open_path): Rename preloaded parameter to secure.
92019         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
92020         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
92021         * elf/dl-deps.c (openaux): Likewise.
92022         * elf/rtld.c (struct map_args): Remove is_preloaded.
92023         (map_doit): Don't use it.
92024         (dl_main): Likewise.
92025         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
92026         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
92028 2010-09-09  Andreas Schwab  <schwab@redhat.com>
92030         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
92031         (sysd-rules-targets): Remove duplicates.
92032         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
92033         rtld-%.$o dependency.
92035 2010-10-18  Andreas Schwab  <schwab@redhat.com>
92037         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
92038         _dl_map_object do it.
92040 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
92042         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
92043         fast fma builtins, define the macros in the C99 standard.
92044         (FP_FAST_FMAF): Likewise.
92045         (FP_FAST_FMAL): Likewise.
92046         * sysdeps/x86_64/bits/mathdef.h: Likewise.
92048         * bits/mathdef.h: Update copyright year.
92049         * sysdeps/powerpc/bits/mathdef.h: Likewise.
92051 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
92053         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
92054         builtins, define the macros in the C99 standard.
92055         (FP_FAST_FMAF): Likewise.
92056         (FP_FAST_FMAL): Likewise.
92057         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
92058         multiply/add.
92059         (FP_FAST_FMAF): Likewise.
92061 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
92063         [BZ #3268]
92064         * math/libm-test.inc (fma_test): Some new testcases.
92065         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
92066         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
92067         y and infinite z.  Do multiplication by C already in long double.
92068         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
92070         y and infinite z.  Do bitwise or of inexact bit into u.d.
92071         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
92072         * sysdeps/i386/fpu/s_fmaf.S: Removed.
92073         * sysdeps/i386/fpu/s_fma.S: Removed.
92074         * sysdeps/i386/fpu/s_fmal.S: Removed.
92076 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
92078         [BZ #3268]
92079         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
92080         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
92081         computation is not scheduled after fetestexcept.  Fix value
92082         of minimum denormal long double.
92084 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
92086         [BZ #3268]
92087         * math/libm-test.inc (fma_test): Add some more tests.
92088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
92089         correctly.
92091 2010-10-15  Andreas Schwab  <schwab@redhat.com>
92093         * scripts/data/localplt-s390-linux-gnu.data: New file.
92094         * scripts/data/localplt-s390x-linux-gnu.data: New file.
92096 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
92098         [BZ #3268]
92099         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
92100         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
92101         instead of dbl-64.
92102         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
92103         inlines.
92104         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
92105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
92106         if one of x and y is very large and the other is subnormal.
92107         * sysdeps/s390/fpu/s_fmaf.c: New file.
92108         * sysdeps/s390/fpu/s_fma.c: New file.
92109         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
92110         * sysdeps/powerpc/fpu/s_fma.S: New file.
92111         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
92112         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
92113         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
92115 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
92117         [BZ #3268]
92118         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
92119         fma tests.
92120         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
92121         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
92122         * sysdeps/i386/i686/multiarch/s_fma.c: Include
92123         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
92124         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
92125         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
92126         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
92128 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
92130         [BZ #12078]
92131         * posix/regcomp.c (parse_branch): One more memory leak plugged.
92132         * posix/bug-regex31.input: Add test case.
92134 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92136         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
92137         * posix/bug-regex31.input: New file.
92139         [BZ #12078]
92140         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
92141         (parse_sub_exp): Fix last change, use postorder.
92143         * posix/bug-regex31.c: New file.
92144         * posix/Makefile: Add rules to build and run bug-regex31.
92146         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
92148         [BZ #12078]
92149         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
92151         [BZ #12108]
92152         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
92153         to have entries in sys_siglist.
92155         [BZ #12093]
92156         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
92157         be NULL.
92159 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
92161         [BZ #3268]
92162         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
92163         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
92164         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
92165         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
92166         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
92167         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
92168         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
92169         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
92170         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
92171         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
92172         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
92173         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
92174         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
92175         * math/ftestexcept.c (fetestexcept): Likewise.
92176         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92177         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92178         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92179         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92180         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92181         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92182         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92184 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92186         [BZ #12107]
92187         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92188         newline.
92190 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
92192         * string/bug-strstr1.c: New file.
92193         * string/Makefile: Add rules to build and run bug-strstr1.
92195 2010-10-05  Eric Blake  <eblake@redhat.com>
92197         [BZ #12092]
92198         * string/str-two-way.h (two_way_long_needle): Always clear memory
92199         when skipping input due to the shift table.
92201 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
92203         [BZ #12005]
92204         * malloc/mcheck.c: Handle large requests.
92206         [BZ #12077]
92207         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
92208         for strncmp and strncasecmp.
92209         * string/stratcliff.c: Add tests for strcmp and strncmp.
92210         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92212 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
92214         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
92215         __set_fpscr.
92217 2010-09-30  Andreas Jaeger  <aj@suse.de>
92219         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
92220         (CGROUP_SUPER_MAGIC): Define.
92221         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92222         Handle btrfs and cgroup file systems.
92223         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
92224         Likewise.
92226 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
92228         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
92229         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92231 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92233         [BZ #12067]
92234         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92235         trying to locate the ELF header.
92237 2010-09-27  Andreas Schwab  <schwab@redhat.com>
92239         [BZ #11611]
92240         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
92241         Mask out sign-bit copies when constructing f_fsid.
92243 2010-09-24  Petr Baudis <pasky@suse.cz>
92245         * debug/stack_chk_fail_local.c: Add missing licence exception.
92246         * debug/warning-nop.c: Likewise.
92248 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
92250         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
92251         implementing getdents64 using getdents syscall, set d_type if
92252         __ASSUME_GETDENTS32_D_TYPE.
92254 2010-09-16  Andreas Schwab  <schwab@redhat.com>
92256         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
92257         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92259 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
92261         [BZ #12037]
92262         * posix/unistd.h: Undo change of feature selection for ftruncate from
92263         2010-01-11.
92265 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
92267         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
92268         detection.
92270 2010-09-20  Andreas Schwab  <schwab@redhat.com>
92272         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
92273         fanotify_mark.
92274         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92276 2010-09-14  Andreas Schwab  <schwab@redhat.com>
92278         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92279         variables after CHECK_SP call.
92280         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92282 2010-09-13  Andreas Schwab  <schwab@redhat.com>
92283             Ulrich Drepper  <drepper@redhat.com>
92285         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92286         re-relocationg ld.so.
92287         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92288         _dl_init_paths call.
92289         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
92290         here anymore.
92292 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
92294         * resolv/res_init.c (__res_vinit): Count the default server we added.
92296 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
92297             Ulrich Drepper  <drepper@redhat.com>
92299         [BZ #11968]
92300         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92301         (____longjmp_chk): Use %ebx for saving value across system call.
92302         Add unwind info.
92304 2010-09-06  Andreas Schwab  <schwab@redhat.com>
92306         * manual/Makefile: Don't mix pattern rules with normal rules.
92308 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
92310         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92311         operation.
92312         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92313         * libio/iofopncook.c (_IO_cookie_init): Likewise.
92314         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92315         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92316         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92317         Likewise.
92319 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
92321         [BZ #11979]
92322         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92323         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92325 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
92327         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92328         * sysdeps/x86_64/addmul_1.S: Likewise.
92329         * sysdeps/x86_64/lshift.S: Likewise.
92330         * sysdeps/x86_64/mul_1.S: Likewise.
92331         * sysdeps/x86_64/rshift.S: Likewise.
92332         * sysdeps/x86_64/sub_n.S: Likewise.
92333         * sysdeps/x86_64/submul_1.S: Likewise.
92335 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92337         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92338         Define __sched_param instead of SCHED_* and sched_param when
92339         <bits/sched.h> is included with __need_schedparam defined.
92340         * bits/sched.h [__need_schedparam]
92341         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92342         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92343         (__defined_schedparam): Define to 1.
92344         (__sched_param): New structure, identical to sched_param.
92345         (__need_schedparam): Undefine.
92347 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92349         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92350         (epoll_create1): Declare.
92352         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92354 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92356         [BZ #7066]
92357         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92358         shifting retval into place.
92360 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92362         * nis/rpcsvc/nis.h: Update copyright notice.
92363         * nis/rpcsvc/nis.x: Likewise.
92364         * nis/rpcsvc/nis_callback.h: Likewise.
92365         * nis/rpcsvc/nis_callback.x: Likewise.
92366         * nis/rpcsvc/nis_object.x: Likewise.
92367         * nis/rpcsvc/nis_tags.h: Likewise.
92368         * nis/rpcsvc/yp.h: Likewise.
92369         * nis/rpcsvc/yp.x: Likewise.
92370         * nis/rpcsvc/ypupd.h: Likewise.
92371         * nis/yp_xdr.c: Likewise.
92372         * nis/ypupdate_xdr.c: Likewise.
92374         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92375         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92376         (pmap_getport): Use __libc_rpc_getport.
92377         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92378         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92379         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92381 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92384         fanotify_mark.
92386 2010-08-27  Roland McGrath  <roland@redhat.com>
92388         * sysdeps/i386/i686/multiarch/Makefile
92389         (CFLAGS-varshift.c): New variable.
92391 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92393         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92394         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92396         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92398         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92400 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92402         * sysdeps/x86_64/strlen.S: Unroll the loop.
92403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92404         strlen-sse2 strlen-sse2-bsf.
92405         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92406         __strlen_no_bsf if bit_Slow_BSF is set.
92407         (__strlen_sse42): Removed.
92408         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92409         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92411 2010-08-25  Roland McGrath  <roland@redhat.com>
92413         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92414         * sysdeps/x86_64/multiarch/varshift.c: New file.
92415         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92416         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92417         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92418         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92420 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92422         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92423         strlen-sse2 strlen-sse2-bsf.
92424         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92425         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92426         (__strlen_sse2): Removed.
92427         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92428         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92430         bit_Slow_BSF for Atom.
92431         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92432         (index_Slow_BSF): Define.
92433         (HAS_SLOW_BSF): Define.
92435 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92437         [BZ #10851]
92438         * resolv/res_init.c (__res_vinit): When no server address at all
92439         is given default to loopback.
92441 2010-08-24  Roland McGrath  <roland@redhat.com>
92443         * configure.in: Remove config-name.h generation.
92444         * configure: Regenerated.
92445         * config-name.in: File removed.
92446         * scripts/config-uname.sh: New file.
92447         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92448         ($(objdir)config-name.h): New target.
92450         * sunrpc/rpc_parse.h: Avoid nested comment.
92452 2010-08-24  Richard Henderson  <rth@redhat.com>
92453             Ulrich Drepper  <drepper@redhat.com>
92454             H.J. Lu  <hongjiu.lu@intel.com>
92456         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92458         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92459         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92460         _mm_alignr_epi8 with _mm_loadu_si128.
92461         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92462         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92463         (__m128i_shift_right): Removed.
92464         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92465         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92466         * sysdeps/x86_64/multiarch/varshift.h: New file.
92467         * sysdeps/x86_64/multiarch/varshift.S: New file.
92469 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92471         * configure.in: Move assembler checks to before sysdep dir checking.
92473 2010-08-20  Petr Baudis  <pasky@suse.cz>
92475         * LICENSES: Sync the sunrpc license.
92477 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92479         * sunrpc/auth_des.c: Update copyright notice once again.
92480         * sunrpc/auth_none.c: Likewise.
92481         * sunrpc/auth_unix.c: Likewise.
92482         * sunrpc/authdes_prot.c: Likewise.
92483         * sunrpc/authuxprot.c: Likewise.
92484         * sunrpc/bindrsvprt.c: Likewise.
92485         * sunrpc/clnt_gen.c: Likewise.
92486         * sunrpc/clnt_perr.c: Likewise.
92487         * sunrpc/clnt_raw.c: Likewise.
92488         * sunrpc/clnt_simp.c: Likewise.
92489         * sunrpc/clnt_tcp.c: Likewise.
92490         * sunrpc/clnt_udp.c: Likewise.
92491         * sunrpc/clnt_unix.c: Likewise.
92492         * sunrpc/des_crypt.c: Likewise.
92493         * sunrpc/des_soft.c: Likewise.
92494         * sunrpc/get_myaddr.c: Likewise.
92495         * sunrpc/getrpcport.c: Likewise.
92496         * sunrpc/key_call.c: Likewise.
92497         * sunrpc/key_prot.c: Likewise.
92498         * sunrpc/openchild.c: Likewise.
92499         * sunrpc/pm_getmaps.c: Likewise.
92500         * sunrpc/pm_getport.c: Likewise.
92501         * sunrpc/pmap_clnt.c: Likewise.
92502         * sunrpc/pmap_prot.c: Likewise.
92503         * sunrpc/pmap_prot2.c: Likewise.
92504         * sunrpc/pmap_rmt.c: Likewise.
92505         * sunrpc/rpc/auth.h: Likewise.
92506         * sunrpc/rpc/auth_unix.h: Likewise.
92507         * sunrpc/rpc/clnt.h: Likewise.
92508         * sunrpc/rpc/des_crypt.h: Likewise.
92509         * sunrpc/rpc/key_prot.h: Likewise.
92510         * sunrpc/rpc/netdb.h: Likewise.
92511         * sunrpc/rpc/pmap_clnt.h: Likewise.
92512         * sunrpc/rpc/pmap_prot.h: Likewise.
92513         * sunrpc/rpc/pmap_rmt.h: Likewise.
92514         * sunrpc/rpc/rpc.h: Likewise.
92515         * sunrpc/rpc/rpc_des.h: Likewise.
92516         * sunrpc/rpc/rpc_msg.h: Likewise.
92517         * sunrpc/rpc/svc.h: Likewise.
92518         * sunrpc/rpc/svc_auth.h: Likewise.
92519         * sunrpc/rpc/types.h: Likewise.
92520         * sunrpc/rpc/xdr.h: Likewise.
92521         * sunrpc/rpc_clntout.c: Likewise.
92522         * sunrpc/rpc_cmsg.c: Likewise.
92523         * sunrpc/rpc_common.c: Likewise.
92524         * sunrpc/rpc_cout.c: Likewise.
92525         * sunrpc/rpc_dtable.c: Likewise.
92526         * sunrpc/rpc_hout.c: Likewise.
92527         * sunrpc/rpc_main.c: Likewise.
92528         * sunrpc/rpc_parse.c: Likewise.
92529         * sunrpc/rpc_parse.h: Likewise.
92530         * sunrpc/rpc_prot.c: Likewise.
92531         * sunrpc/rpc_sample.c: Likewise.
92532         * sunrpc/rpc_scan.c: Likewise.
92533         * sunrpc/rpc_scan.h: Likewise.
92534         * sunrpc/rpc_svcout.c: Likewise.
92535         * sunrpc/rpc_tblout.c: Likewise.
92536         * sunrpc/rpc_util.c: Likewise.
92537         * sunrpc/rpc_util.h: Likewise.
92538         * sunrpc/rpcinfo.c: Likewise.
92539         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92540         * sunrpc/rpcsvc/key_prot.x: Likewise.
92541         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92542         * sunrpc/rpcsvc/mount.x: Likewise.
92543         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92544         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92545         * sunrpc/rpcsvc/rex.x: Likewise.
92546         * sunrpc/rpcsvc/rstat.x: Likewise.
92547         * sunrpc/rpcsvc/rusers.x: Likewise.
92548         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92549         * sunrpc/rpcsvc/spray.x: Likewise.
92550         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92551         * sunrpc/rtime.c: Likewise.
92552         * sunrpc/svc.c: Likewise.
92553         * sunrpc/svc_auth.c: Likewise.
92554         * sunrpc/svc_authux.c: Likewise.
92555         * sunrpc/svc_raw.c: Likewise.
92556         * sunrpc/svc_run.c: Likewise.
92557         * sunrpc/svc_simple.c: Likewise.
92558         * sunrpc/svc_tcp.c: Likewise.
92559         * sunrpc/svc_udp.c: Likewise.
92560         * sunrpc/svc_unix.c: Likewise.
92561         * sunrpc/svcauth_des.c: Likewise.
92562         * sunrpc/xcrypt.c: Likewise.
92563         * sunrpc/xdr.c: Likewise.
92564         * sunrpc/xdr_array.c: Likewise.
92565         * sunrpc/xdr_float.c: Likewise.
92566         * sunrpc/xdr_mem.c: Likewise.
92567         * sunrpc/xdr_rec.c: Likewise.
92568         * sunrpc/xdr_ref.c: Likewise.
92569         * sunrpc/xdr_sizeof.c: Likewise.
92570         * sunrpc/xdr_stdio.c: Likewise.
92572         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92573         handling.
92575 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92577         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92579 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92581         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92582         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92583         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92584         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92585         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92586         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92587         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92588         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92590         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92591         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92592         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92593         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92594         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92596 2010-07-26  Anton Blanchard  <anton@samba.org>
92598         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92599         * malloc/arena.c (heap_trim): Likewise.
92601 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92603         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92604         here.  Not...
92605         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92606         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92608 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92610         * sysdeps/i386/elf/Makefile: New file.
92612 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92614         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92615         from fanotify_init.
92616         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92617         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92619 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
92621         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92622         of strncasecmp_l.
92623         * sysdeps/multiarch/strcmp.S: Likewise.
92625 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
92627         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92628         strncase_l-nonascii.
92629         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92630         Add strncase_l-ssse3.
92631         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92632         * sysdeps/x86_64/strcmp.S: Likewise.
92633         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92634         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92635         * sysdeps/x86_64/strncase.S: New file.
92636         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92637         * sysdeps/x86_64/strncase_l.S: New file.
92638         * string/Makefile (strop-tests): Add strncasecmp.
92639         * string/test-strncasecmp.c: New file.
92641         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92642         warning.
92644         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92645         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92647 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92649         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92651 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
92653         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92654         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92655         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92657 2010-05-01  Alan Modra  <amodra@gmail.com>
92659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92660         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92661         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92662         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92663         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92664         tidying.  Don't tail-call __sigjmp_save for static lib.
92665         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92666         save location.
92667         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92668         (CALL_MCOUNT): Add eh info, and nop after bl.
92669         (TAIL_CALL_SYSCALL_ERROR): New macro.
92670         (PSEUDO_RET): Use it.
92671         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92672         Correct save location of integer regs and cr.
92673         (_dl_profile_resolve): Correct cr save location.  Delete nops
92674         after bl when SHARED.  Reduce cfi size a little by better
92675         placement of cfi directives.
92676         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92677         make a stack frame.  Instead use parm save area as a temp.
92678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92679         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
92680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92681         Don't make a stack frame for parent, use parm save area.
92682         Increase child stack frame to 112 bytes.  Don't save unused reg,
92683         and adjust reg usage.  Set up cfi on error recovery and
92684         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
92685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
92686         (__makecontext): Add dummy nop after jump to exit.
92687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
92688         Use correct parm save area and cr save, reduce stack frame.
92689         Correct cfi for possible PSEUDO_RET frame setup.
92690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
92691         Branch to local label emitted by PSEUDO_RET rather than
92692         __syscall_error.
92694 2010-08-12  Andreas Schwab  <schwab@redhat.com>
92696         [BZ #11904]
92697         * locale/programs/locale.c (print_assignment): New function.
92698         (show_locale_vars): Use it.
92700 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
92702         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
92703         field.
92704         (struct statfs64): Likewise.
92705         (_STATFS_F_FLAGS): Define.
92706         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
92707         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92708         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
92709         (ST_VALID): Define locally.
92710         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
92711         __statvfs_getflags, use the provided value.
92712         * sysdeps/unix/sysv/linux/kernel-features.h: Define
92713         __ASSUME_STATFS_F_FLAGS.
92715         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
92717         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
92718         Add sys/fanotify.h.
92719         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
92720         fanotify_mask for GLIBC_2.13.
92721         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
92722         fanotify_init and fanotify_mark.
92723         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92724         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
92726         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
92727         Add prlimit.
92728         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
92729         prlimit64 for GLIBC_2.13.
92730         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
92731         prlimit64.
92732         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
92733         syscall.
92734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
92735         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92736         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
92737         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
92738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
92739         add prlimit alias.
92740         * sysdeps/unix/sysv/linux/prlimit.c: New file.
92742         [BZ #11903]
92743         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
92744         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
92746         * nss/Makefile: Add rules to build and run tst-nss-test1.
92747         * shlib-versions: Add entry for libnss_test1.
92748         * nss/nss_test1.c: New file.
92749         * nss/tst-nss-test1.c: New file.
92751         * nss/nsswitch.c (__nss_database_custom): Define new variable.
92752         (__nss_configure_lookup): Set appropriate entry in
92753         __nss_configure_lookup to true.
92754         * nss/nsswitch.h: Define enum with indeces of databases in
92755         databases and __nss_database_custom arrays.  Declare
92756         __nss_database_custom.
92757         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
92758         to avoid using nscd when custom rules are installed.
92759         * nss/getXXbyYY_r.c: Likewise.
92760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92762         * nss/nss_files/files-parse.c: Whitespace fixes.
92764 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
92766         [BZ #11883]
92767         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
92768         * posix/fnmatch_loop.c: Likewise.
92770 2010-07-17  Andi Kleen  <ak@linux.intel.com>
92772         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
92773         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
92774         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
92775         * Versions.def [GLIBC_2.13]: Add.
92777 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
92779         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92780         Also fail if tpwd after pwuid call is NULL.
92782 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92784         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
92785         when converting to ms.
92787 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92789         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
92790         EOPNOTSUPP errors with ENOTTY.
92791         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
92792         EOPNOTSUPP errors with ENOTTY.
92794 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
92796         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92797         Add strcasecmp_l-ssse3.
92798         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
92799         strcasecmp.
92800         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
92801         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
92802         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92804 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
92806         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92808         * string/Makefile (strop-tests): Add strcasecmp.
92809         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92810         strcasecmp_l-nonascii.
92811         (gen-as-const-headers): Add locale-defines.sym.
92812         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
92813         * sysdeps/x86_64/strcasecmp.S: New file.
92814         * sysdeps/x86_64/strcasecmp_l.S: New file.
92815         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
92816         * sysdeps/x86_64/locale-defines.sym: New file.
92817         * string/test-strcasecmp.c: New file.
92819         * string/test-strcasestr.c: Test both ends of the range of characters.
92820         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92822 2010-07-29  Roland McGrath  <roland@redhat.com>
92824         [BZ #11856]
92825         * manual/locale.texi (Yes-or-No Questions): Fix example code.
92827 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
92829         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
92830         for ld.so.
92832 2010-07-27  Andreas Schwab  <schwab@redhat.com>
92834         * manual/memory.texi (Malloc Tunable Parameters): Document
92835         M_PERTURB.
92837 2010-07-26  Roland McGrath  <roland@redhat.com>
92839         [BZ #11840]
92840         * configure.in (-fgnu89-inline check): Set and substitute
92841         gnu89_inline, not libc_cv_gnu89_inline.
92842         * configure: Regenerated.
92843         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92845 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
92847         * string/test-strnlen.c: New file.
92848         * string/Makefile (strop-tests): Add strnlen.
92849         * string/tester.c (test_strnlen): Add a few more test cases.
92850         * string/tst-strlen.c: Better error reporting.
92852         * sysdeps/x86_64/strnlen.S: New file.
92854 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
92856         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
92857         lower-latency instructions.
92859 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
92861         * string/test-strcasestr.c: New file.
92862         * string/test-strstr.c: New file.
92863         * string/Makefile (strop-tests): Add strstr and strcasestr.
92864         * string/str-two-way.h: Don't undefine MAX.
92865         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92867 2010-07-21  Andreas Schwab  <schwab@redhat.com>
92869         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92870         strcasestr-nonascii.
92871         (CFLAGS-strcasestr-nonascii.c): Define.
92872         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
92873         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
92874         Remove unused attribute.
92876 2010-07-20  Roland McGrath  <roland@redhat.com>
92878         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
92879         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
92880         ld.so.cache was broken.  With it, there is no way to disable dsocaps
92881         like LD_HWCAP_MASK can disable hwcaps.
92883 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92885         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
92887 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
92889         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
92890         call in strcasestr.
92891         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
92892         __strcasestr_sse42_nonascii.
92893         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
92894         strcasestr-nonascii.c.
92895         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
92897 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
92899         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
92900         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
92901         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
92902         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
92904 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
92906         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
92907         fcntl.
92909 2010-07-06  Andreas Schwab  <schwab@redhat.com>
92911         [BZ #11577]
92912         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
92913         dl_signal_cerror.
92915 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
92917         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92918         _PC_PIPE_BUF using F_GETPIPE_SZ.
92920 2010-07-05  Roland McGrath  <roland@redhat.com>
92922         * manual/arith.texi (Rounding Functions): Fix rint description
92923         implicit in round description.
92925 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
92927         * elf/Makefile: Fix linking for a few tests to make recent linker
92928         happy.
92930 2010-06-30  Andreas Schwab  <schwab@redhat.com>
92932         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92933         $(common-objpfx)libc_nonshared.a.
92935 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
92937         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92938         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92939         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92940         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92941         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92942         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92943         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92944         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92959         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92960         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92961         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92962         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92963         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92964         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92965         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92966         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92967         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92968         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92969         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92970         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92986 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92988         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92989         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92990         * string/memmove.c (memmove): Renamed to ...
92991         (MEMMOVE): ...this.  Default to memmove.
92992         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92993         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92994         (END_CHK): Define.
92995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92996         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92997         mempcpy-ssse3-back memmove-ssse3-back.
92998         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92999         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
93000         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
93001         * sysdeps/x86_64/multiarch/memcpy.S: New file.
93002         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
93003         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
93004         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
93005         * sysdeps/x86_64/multiarch/memmove.c: New file.
93006         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
93007         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
93008         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
93009         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
93010         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
93011         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
93012         Define.
93013         (index_Fast_Copy_Backward): Define.
93014         (HAS_ARCH_FEATURE): Define.
93015         (HAS_FAST_REP_STRING): Define.
93016         (HAS_FAST_COPY_BACKWARD): Define.
93018 2010-06-21  Andreas Schwab  <schwab@redhat.com>
93020         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93021         Restore proper fallback handling.
93023 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
93025         [BZ #11701]
93026         * posix/group_member.c (__group_member): Correct checking loop.
93028         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
93029         OOM in getpwuid_r correctly.  Return error number when the caller
93030         should return, otherwise -1.
93031         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
93032         call returning > 0 value.
93033         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
93035 2010-06-07  Andreas Schwab  <schwab@redhat.com>
93037         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
93038         libc_nonshared.a from targets in modules-names.
93040 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
93042         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
93043         requires it.
93045 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
93047         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
93048         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
93049         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
93050         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
93052 2010-06-02  Andreas Schwab  <schwab@redhat.com>
93054         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
93056 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
93058         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
93059         and F_GETPIPE_SZ.
93060         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93061         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93062         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93063         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93064         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93065         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93067 2010-06-14  Roland McGrath  <roland@redhat.com>
93069         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
93071 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
93073         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
93074         __REDIRECT followed by __THROW.
93075         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
93076         * posix/getopt.h (getopt): Likewise.
93078 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93080         * hurd/lookup-at.c (__file_name_lookup_at): Accept
93081         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
93082         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
93083         in AT_FLAGS.
93084         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
93085         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
93087 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
93089         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
93091 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
93093         [BZ #11640]
93094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93095         Properly check family and model.
93097 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
93099         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
93101 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
93103         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
93105 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
93107         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
93108         symbol reference.
93110 2010-05-19  Andreas Schwab  <schwab@redhat.com>
93112         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
93113         symbol reference.
93115 2010-05-21  Andreas Schwab  <schwab@redhat.com>
93117         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
93118         and internal_recvmmsg.
93119         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
93120         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
93121         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
93122         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
93124         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
93125         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
93126         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
93128 2010-05-20  Andreas Schwab  <schwab@redhat.com>
93130         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
93132 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
93134         POWER7 optimizations.
93135         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
93136         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
93138 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
93140         * version.h: Update for 2.13 development version.
93142 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
93144         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
93145         exceptions.  Return 0.
93147 2010-05-07  Roland McGrath  <roland@redhat.com>
93149         * elf/ldconfig.c (main): Add a const.
93151 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
93153         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
93154         (args_options): Add no-idn option.
93155         (ahosts_keys_int): Add idn_flags to ai_flags.
93156         (parse_option): Handle 'i' option to clear idn_flags.
93158         * malloc/malloc.c (_int_free): Possible race in the most recently
93159         added check.  Only act on the data if no current modification
93160         happened.
93162 See ChangeLog.17 for earlier changes.